Skip to content

Commit 652e69a

Browse files
QM Setup page - UX changes update
1 parent 19e9b2e commit 652e69a

7 files changed

Lines changed: 212 additions & 0 deletions

File tree

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
// ------------------------------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All rights reserved.
3+
// Licensed under the MIT License. See License.txt in the project root for license information.
4+
// ------------------------------------------------------------------------------------------------
5+
namespace Microsoft.QualityManagement.Configuration.Result;
6+
7+
/// <summary>
8+
/// Used to help determine which inspection to use when conditional optional lot/serial item tracking based blocking.
9+
/// When evaluating if a document specific transactions are blocked, this determines which inspection(s) are considered.
10+
/// </summary>
11+
enum 20437 "Qlty. Insp. Selection Criteria"
12+
{
13+
Caption = 'Quality Inspection Selection Criteria';
14+
15+
value(0; "Any inspection that matches")
16+
{
17+
Caption = 'Any inspection that matches';
18+
}
19+
value(1; "Only the most recently modified inspection")
20+
{
21+
Caption = 'Only the most recently modified inspection';
22+
}
23+
value(2; "Only the newest inspection/re-inspection")
24+
{
25+
Caption = 'Only the newest inspection/re-inspection';
26+
}
27+
value(3; "Any finished inspection that matches")
28+
{
29+
Caption = 'Any finished inspection that matches';
30+
}
31+
value(4; "Only the most recently modified finished inspection")
32+
{
33+
Caption = 'Only the most recently modified finished inspection';
34+
}
35+
value(5; "Only the newest finished inspection/re-inspection")
36+
{
37+
Caption = 'Only the newest finished inspection/re-inspection';
38+
}
39+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// ------------------------------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All rights reserved.
3+
// Licensed under the MIT License. See License.txt in the project root for license information.
4+
// ------------------------------------------------------------------------------------------------
5+
namespace Microsoft.QualityManagement.Integration.Manufacturing;
6+
7+
/// <summary>
8+
/// Helps determine the behavior of when to create inspections with production output.
9+
/// </summary>
10+
enum 20442 "Prod. Trigger Output Condition"
11+
{
12+
Caption = 'Quality Automatic Production Trigger';
13+
14+
value(0; OnAnyOutput)
15+
{
16+
Caption = 'Any Output Entry (time or quantity)';
17+
}
18+
value(1; OnAnyQuantity)
19+
{
20+
Caption = 'Any Quantity Output';
21+
}
22+
value(2; OnlyWithQuantity)
23+
{
24+
Caption = 'Only with Quantity';
25+
}
26+
value(3; OnlyWithScrap)
27+
{
28+
Caption = 'Only with Scrap';
29+
}
30+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// ------------------------------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All rights reserved.
3+
// Licensed under the MIT License. See License.txt in the project root for license information.
4+
// ------------------------------------------------------------------------------------------------
5+
namespace Microsoft.QualityManagement.Integration.Receiving;
6+
7+
/// <summary>
8+
/// Helps determine how receiving behaviors should occur.
9+
/// </summary>
10+
enum 20452 "Qlty. Purchase Order Trigger"
11+
{
12+
Extensible = true;
13+
Caption = 'Quality Purchase Order Trigger';
14+
15+
value(0; NoTrigger)
16+
{
17+
Caption = 'Never';
18+
}
19+
value(1; OnPurchaseOrderPostReceive)
20+
{
21+
Caption = 'When Purchase Order is received';
22+
}
23+
value(2; OnPurchaseOrderRelease)
24+
{
25+
Caption = 'When Purchase Order is released';
26+
}
27+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// ------------------------------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All rights reserved.
3+
// Licensed under the MIT License. See License.txt in the project root for license information.
4+
// ------------------------------------------------------------------------------------------------
5+
namespace Microsoft.QualityManagement.Integration.Receiving;
6+
7+
/// <summary>
8+
/// Helps determine the trigger for transfer specific reactions.
9+
/// </summary>
10+
enum 20454 "Qlty. Transfer Order Trigger"
11+
{
12+
Extensible = true;
13+
Caption = 'Quality Transfer Order Trigger';
14+
15+
value(0; NoTrigger)
16+
{
17+
Caption = 'Never';
18+
}
19+
value(1; OnTransferOrderPostReceive)
20+
{
21+
Caption = 'When Transfer Order is received';
22+
}
23+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// ------------------------------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All rights reserved.
3+
// Licensed under the MIT License. See License.txt in the project root for license information.
4+
// ------------------------------------------------------------------------------------------------
5+
namespace Microsoft.QualityManagement.Integration.Receiving;
6+
7+
/// <summary>
8+
/// The warehouse receipt behavior to create an inspection.
9+
/// </summary>
10+
enum 20450 "Qlty. Whse. Receipt Trigger"
11+
{
12+
Extensible = true;
13+
Caption = 'Quality Warehouse Receipt Trigger';
14+
15+
value(0; NoTrigger)
16+
{
17+
Caption = 'Never';
18+
}
19+
value(1; OnWarehouseReceiptCreate)
20+
{
21+
Caption = 'When Warehouse Receipt is created';
22+
}
23+
value(2; OnWarehouseReceiptPost)
24+
{
25+
Caption = 'When Warehouse Receipt is posted';
26+
}
27+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// ------------------------------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All rights reserved.
3+
// Licensed under the MIT License. See License.txt in the project root for license information.
4+
// ------------------------------------------------------------------------------------------------
5+
namespace Microsoft.QualityManagement.Setup;
6+
7+
/// <summary>
8+
/// This behavior controls how quality inspections should be created.
9+
/// If extending this make sure to implement OnCustomCreateInspectionBehavior
10+
/// </summary>
11+
enum 20402 "Qlty. Inspect. Creation Option"
12+
{
13+
Caption = 'Quality Inspection Creation Option';
14+
15+
value(0; "Always create new inspection")
16+
{
17+
Caption = 'Always create a new inspection';
18+
}
19+
value(1; "Create re-inspection if matching inspection is finished")
20+
{
21+
Caption = 'Create a re-inspection if a matching inspection is finished';
22+
}
23+
value(2; "Always create re-inspection")
24+
{
25+
Caption = 'Always create a re-inspection';
26+
}
27+
value(3; "Use existing open inspection if available")
28+
{
29+
Caption = 'Use existing open inspection if available';
30+
}
31+
value(4; "Use any existing inspection if available")
32+
{
33+
Caption = 'Use any existing inspection if available';
34+
}
35+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
// ------------------------------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All rights reserved.
3+
// Licensed under the MIT License. See License.txt in the project root for license information.
4+
// ------------------------------------------------------------------------------------------------
5+
namespace Microsoft.QualityManagement.Setup;
6+
7+
/// <summary>
8+
/// Controls how existing inspections are found.
9+
/// In some scenarios it's only about the source record, in others it is only item tracking, and in some it's standard source, document, and template.
10+
/// </summary>
11+
enum 20403 "Qlty. Inspect. Search Criteria"
12+
{
13+
Caption = 'Quality Inspection Search Criteria';
14+
15+
value(0; "By Standard Source Fields")
16+
{
17+
Caption = 'By Standard Source Fields';
18+
}
19+
value(1; "By Source Record")
20+
{
21+
Caption = 'By Source Record';
22+
}
23+
value(2; "By Item Tracking")
24+
{
25+
Caption = 'By Item Tracking';
26+
}
27+
value(3; "By Document and Item only")
28+
{
29+
Caption = 'By Document and Item only';
30+
}
31+
}

0 commit comments

Comments
 (0)