From 0ab8af48f5b29700b6879bbe3897cb121244277b Mon Sep 17 00:00:00 2001 From: Dusan Jakovljevic <134404137+JakovljevicDusan@users.noreply.github.com> Date: Mon, 2 Feb 2026 13:16:21 +0100 Subject: [PATCH 1/2] Hardcoded texts to labels --- .../QltyInspectionTemplateSubf.Page.al | 21 ++--- .../Template/Test/QltyTestCard.Page.al | 21 ++--- .../Test/QltyTestExprCardPart.Page.al | 42 ++++----- .../Template/Test/QltyTestLookup.Page.al | 21 ++--- .../Test/QltyTestNumberCardPart.Page.al | 88 ++++++++++--------- .../Template/Test/QltyTests.Page.al | 21 ++--- .../Document/QltyInspectionSubform.Page.al | 19 ++-- 7 files changed, 122 insertions(+), 111 deletions(-) diff --git a/src/Apps/W1/Quality Management/app/src/Configuration/Template/QltyInspectionTemplateSubf.Page.al b/src/Apps/W1/Quality Management/app/src/Configuration/Template/QltyInspectionTemplateSubf.Page.al index 244f9d76fa..0e82853eee 100644 --- a/src/Apps/W1/Quality Management/app/src/Configuration/Template/QltyInspectionTemplateSubf.Page.al +++ b/src/Apps/W1/Quality Management/app/src/Configuration/Template/QltyInspectionTemplateSubf.Page.al @@ -89,7 +89,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field1_Desc; MatrixArrayConditionDescriptionCellData[1]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Visible = Visible1; Editable = Visible1; @@ -123,7 +123,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field2_Desc; MatrixArrayConditionDescriptionCellData[2]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 2'; Visible = Visible2; Editable = Visible2; @@ -157,7 +157,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field3_Desc; MatrixArrayConditionDescriptionCellData[3]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Visible = Visible3; Editable = Visible3; @@ -191,7 +191,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field4_Desc; MatrixArrayConditionDescriptionCellData[4]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 4'; Visible = Visible4; Editable = Visible4; @@ -225,7 +225,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field5_Desc; MatrixArrayConditionDescriptionCellData[5]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 5'; Visible = Visible5; Editable = Visible5; @@ -259,7 +259,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field6_Desc; MatrixArrayConditionDescriptionCellData[6]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 6'; Visible = Visible6; Editable = Visible6; @@ -293,7 +293,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field7_Desc; MatrixArrayConditionDescriptionCellData[7]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 7'; Visible = Visible7; Editable = Visible7; @@ -327,7 +327,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field8_Desc; MatrixArrayConditionDescriptionCellData[8]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 8'; Visible = Visible8; Editable = Visible8; @@ -361,7 +361,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field9_Desc; MatrixArrayConditionDescriptionCellData[9]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 9'; Visible = Visible9; Editable = Visible9; @@ -395,7 +395,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field10_Desc; MatrixArrayConditionDescriptionCellData[10]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 10'; Visible = Visible10; Editable = Visible10; @@ -477,6 +477,7 @@ page 20403 "Qlty. Inspection Template Subf" Visible8: Boolean; Visible9: Boolean; Visible10: Boolean; + DescriptionLbl: Label 'Description'; trigger OnNewRecord(BelowxRec: Boolean) begin diff --git a/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestCard.Page.al b/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestCard.Page.al index e9419ad068..864d56f0aa 100644 --- a/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestCard.Page.al +++ b/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestCard.Page.al @@ -108,7 +108,7 @@ page 20479 "Qlty. Test Card" } field(Field1_Desc; MatrixArrayConditionDescriptionCellData[1]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' ' + DescriptionLbl; ToolTip = 'Specifies a description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; AboutTitle = 'Result Condition Description'; AboutText = 'A description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; @@ -146,7 +146,7 @@ page 20479 "Qlty. Test Card" } field(Field2_Desc; MatrixArrayConditionDescriptionCellData[2]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' ' + DescriptionLbl; ToolTip = 'Specifies a description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; AboutTitle = 'Result Condition Description'; AboutText = 'A description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; @@ -184,7 +184,7 @@ page 20479 "Qlty. Test Card" } field(Field3_Desc; MatrixArrayConditionDescriptionCellData[3]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' ' + DescriptionLbl; Editable = EditableResult; ToolTip = 'Specifies a description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; AboutTitle = 'Result Condition Description'; @@ -221,7 +221,7 @@ page 20479 "Qlty. Test Card" } field(Field4_Desc; MatrixArrayConditionDescriptionCellData[4]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 4'; Visible = Visible4; Editable = EditableResult; @@ -255,7 +255,7 @@ page 20479 "Qlty. Test Card" } field(Field5_Desc; MatrixArrayConditionDescriptionCellData[5]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 5'; Visible = Visible5; Editable = EditableResult; @@ -289,7 +289,7 @@ page 20479 "Qlty. Test Card" } field(Field6_Desc; MatrixArrayConditionDescriptionCellData[6]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 6'; Visible = Visible6; Editable = EditableResult; @@ -323,7 +323,7 @@ page 20479 "Qlty. Test Card" } field(Field7_Desc; MatrixArrayConditionDescriptionCellData[7]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 7'; Visible = Visible7; Editable = EditableResult; @@ -357,7 +357,7 @@ page 20479 "Qlty. Test Card" } field(Field8_Desc; MatrixArrayConditionDescriptionCellData[8]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 8'; Visible = Visible8; Editable = EditableResult; @@ -391,7 +391,7 @@ page 20479 "Qlty. Test Card" } field(Field9_Desc; MatrixArrayConditionDescriptionCellData[9]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 9'; Visible = Visible9; Editable = EditableResult; @@ -425,7 +425,7 @@ page 20479 "Qlty. Test Card" } field(Field10_Desc; MatrixArrayConditionDescriptionCellData[10]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 10'; Visible = Visible10; Editable = EditableResult; @@ -569,6 +569,7 @@ page 20479 "Qlty. Test Card" EditableResult: Boolean; IsAllowableValuesEditable: Boolean; IsLookupField: Boolean; + DescriptionLbl: Label 'Description'; trigger OnOpenPage() begin diff --git a/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestExprCardPart.Page.al b/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestExprCardPart.Page.al index 83e953499d..6dd4d3051b 100644 --- a/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestExprCardPart.Page.al +++ b/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestExprCardPart.Page.al @@ -119,7 +119,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field1; MatrixArrayConditionCellData[1]) { ColumnSpan = 2; - CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' Cond.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' ' + ConditionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible1; @@ -132,7 +132,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field1_Desc; MatrixArrayConditionDescriptionCellData[1]) { ColumnSpan = 2; - CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible1; @@ -153,7 +153,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field2; MatrixArrayConditionCellData[2]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' Cond.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' ' + ConditionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 2'; Editable = Visible2; @@ -165,7 +165,7 @@ page 20467 "Qlty. Test Expr. Card Part" } field(Field2_Desc; MatrixArrayConditionDescriptionCellData[2]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 2'; Editable = Visible2; @@ -185,7 +185,7 @@ page 20467 "Qlty. Test Expr. Card Part" ShowCaption = false; field(Field3; MatrixArrayConditionCellData[3]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' Cond.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' ' + ConditionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible3; @@ -197,7 +197,7 @@ page 20467 "Qlty. Test Expr. Card Part" } field(Field3_Desc; MatrixArrayConditionDescriptionCellData[3]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible3; @@ -214,7 +214,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field4_Desc; MatrixArrayConditionDescriptionCellData[4]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible4; @@ -229,7 +229,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field4; MatrixArrayConditionCellData[4]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' Cond.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' ' + ConditionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible4; @@ -247,7 +247,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field5_Desc; MatrixArrayConditionDescriptionCellData[5]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible5; @@ -262,7 +262,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field5; MatrixArrayConditionCellData[5]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' Cond.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' ' + ConditionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible5; @@ -280,7 +280,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field6_Desc; MatrixArrayConditionDescriptionCellData[6]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible6; @@ -295,7 +295,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field6; MatrixArrayConditionCellData[6]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' Cond.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' ' + ConditionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible6; @@ -313,7 +313,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field7_Desc; MatrixArrayConditionDescriptionCellData[7]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible7; @@ -328,7 +328,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field7; MatrixArrayConditionCellData[7]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' Cond.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' ' + ConditionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible7; @@ -346,7 +346,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field8_Desc; MatrixArrayConditionDescriptionCellData[8]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible8; @@ -361,7 +361,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field8; MatrixArrayConditionCellData[8]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' Cond.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' ' + ConditionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible8; @@ -379,7 +379,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field9_Desc; MatrixArrayConditionDescriptionCellData[9]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible9; @@ -394,7 +394,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field9; MatrixArrayConditionCellData[9]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' Cond.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' ' + ConditionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible9; @@ -411,7 +411,7 @@ page 20467 "Qlty. Test Expr. Card Part" Visible = Visible10; field(Field10_Desc; MatrixArrayConditionDescriptionCellData[10]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible10; @@ -425,7 +425,7 @@ page 20467 "Qlty. Test Expr. Card Part" ShowCaption = false; field(Field10; MatrixArrayConditionCellData[10]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' Cond.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' ' + ConditionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible10; @@ -461,6 +461,8 @@ page 20467 "Qlty. Test Expr. Card Part" MatrixArrayConditionDescriptionCellData: array[10] of Text; MatrixArrayCaptionSet: array[10] of Text; MatrixVisibleState: array[10] of Boolean; + DescriptionLbl: Label 'Description'; + ConditionLbl: Label 'Condition'; procedure LoadExistingTest(CurrentTest: Code[20]; Update: Boolean) begin diff --git a/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestLookup.Page.al b/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestLookup.Page.al index 4f665618ab..042bdf0a9c 100644 --- a/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestLookup.Page.al +++ b/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestLookup.Page.al @@ -86,7 +86,7 @@ page 20445 "Qlty. Test Lookup" } field(Field1_Desc; MatrixArrayConditionDescriptionCellData[1]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' ' + DescriptionLbl; ToolTip = 'Specifies a description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; AboutTitle = 'Result Condition Description'; AboutText = 'A description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; @@ -114,7 +114,7 @@ page 20445 "Qlty. Test Lookup" } field(Field2_Desc; MatrixArrayConditionDescriptionCellData[2]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' ' + DescriptionLbl; ToolTip = 'Specifies a description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; AboutTitle = 'Result Condition Description'; AboutText = 'A description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; @@ -142,7 +142,7 @@ page 20445 "Qlty. Test Lookup" } field(Field3_Desc; MatrixArrayConditionDescriptionCellData[3]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' ' + DescriptionLbl; Editable = true; ToolTip = 'Specifies a description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; AboutTitle = 'Result Condition Description'; @@ -168,7 +168,7 @@ page 20445 "Qlty. Test Lookup" } field(Field4_Desc; MatrixArrayConditionDescriptionCellData[4]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 4'; Visible = Visible4; Editable = Visible4; @@ -192,7 +192,7 @@ page 20445 "Qlty. Test Lookup" } field(Field5_Desc; MatrixArrayConditionDescriptionCellData[5]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 5'; Visible = Visible5; Editable = Visible5; @@ -216,7 +216,7 @@ page 20445 "Qlty. Test Lookup" } field(Field6_Desc; MatrixArrayConditionDescriptionCellData[6]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 6'; Visible = Visible6; Editable = Visible6; @@ -240,7 +240,7 @@ page 20445 "Qlty. Test Lookup" } field(Field7_Desc; MatrixArrayConditionDescriptionCellData[7]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 7'; Visible = Visible7; Editable = Visible7; @@ -264,7 +264,7 @@ page 20445 "Qlty. Test Lookup" } field(Field8_Desc; MatrixArrayConditionDescriptionCellData[8]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 8'; Visible = Visible8; Editable = Visible8; @@ -288,7 +288,7 @@ page 20445 "Qlty. Test Lookup" } field(Field9_Desc; MatrixArrayConditionDescriptionCellData[9]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 9'; Visible = Visible9; Editable = Visible9; @@ -312,7 +312,7 @@ page 20445 "Qlty. Test Lookup" } field(Field10_Desc; MatrixArrayConditionDescriptionCellData[10]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 10'; Visible = Visible10; Editable = Visible10; @@ -443,6 +443,7 @@ page 20445 "Qlty. Test Lookup" Visible9: Boolean; Visible10: Boolean; IsAllowableValuesEditable: Boolean; + DescriptionLbl: Label 'Description'; trigger OnAfterGetRecord() begin diff --git a/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestNumberCardPart.Page.al b/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestNumberCardPart.Page.al index 8aa671c37c..b0e33cc469 100644 --- a/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestNumberCardPart.Page.al +++ b/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestNumberCardPart.Page.al @@ -172,7 +172,7 @@ page 20434 "Qlty. Test Number Card Part" { ColumnSpan = 2; ApplicationArea = All; - CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' Cond.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' ' + ConditionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible1; @@ -198,7 +198,7 @@ page 20434 "Qlty. Test Number Card Part" ColumnSpan = 2; ApplicationArea = All; ToolTip = 'Specifies the minimum allowed value for this result. '; - CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' Min'; + CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' ' + MinLbl; AutoFormatType = 0; DecimalPlaces = 0 : 5; ShowCaption = true; @@ -214,7 +214,7 @@ page 20434 "Qlty. Test Number Card Part" ColumnSpan = 2; ApplicationArea = All; ToolTip = 'Specifies the maximum allowed value for this result.'; - CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' Max'; + CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' ' + MaxLbl; AutoFormatType = 0; DecimalPlaces = 0 : 5; ShowCaption = true; @@ -230,7 +230,7 @@ page 20434 "Qlty. Test Number Card Part" { ColumnSpan = 2; ApplicationArea = All; - CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible1; @@ -259,7 +259,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field2; MatrixArrayConditionCellData[2]) { ApplicationArea = All; - CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' Cond.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' ' + ConditionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 2'; Editable = Visible2; @@ -282,7 +282,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMin2; MatrixMinValue[2]) { ToolTip = 'Specifies the minimum allowed value for this result. '; - CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' Min'; + CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' ' + MinLbl; ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -296,7 +296,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMax2; MatrixMaxValue[2]) { ToolTip = 'Specifies the maximum allowed value for this result.'; - CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' Max'; + CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' ' + MaxLbl; ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -310,7 +310,7 @@ page 20434 "Qlty. Test Number Card Part" } field(Field2_Desc; MatrixArrayConditionDescriptionCellData[2]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 2'; Editable = Visible2; @@ -337,7 +337,7 @@ page 20434 "Qlty. Test Number Card Part" ShowCaption = false; field(Field3; MatrixArrayConditionCellData[3]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' Cond.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' ' + ConditionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible3; @@ -360,7 +360,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMin3; MatrixMinValue[3]) { ToolTip = 'Specifies the minimum allowed value for this result. '; - CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' Min'; + CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' ' + MinLbl; ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -374,7 +374,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMax3; MatrixMaxValue[3]) { ToolTip = 'Specifies the maximum allowed value for this result.'; - CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' Max'; + CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' ' + MaxLbl; ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -388,7 +388,7 @@ page 20434 "Qlty. Test Number Card Part" } field(Field3_Desc; MatrixArrayConditionDescriptionCellData[3]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible3; @@ -410,7 +410,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field4_Desc; MatrixArrayConditionDescriptionCellData[4]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible4; @@ -431,7 +431,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field4; MatrixArrayConditionCellData[4]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' Cond.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' ' + ConditionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible4; @@ -454,7 +454,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMin4; MatrixMinValue[4]) { ToolTip = 'Specifies the minimum allowed value for this result. '; - CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' Min'; + CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' ' + MinLbl; ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -468,7 +468,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMax4; MatrixMaxValue[4]) { ToolTip = 'Specifies the maximum allowed value for this result.'; - CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' Max'; + CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' ' + MaxLbl; ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -488,7 +488,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field5_Desc; MatrixArrayConditionDescriptionCellData[5]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible5; @@ -509,7 +509,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field5; MatrixArrayConditionCellData[5]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' Cond.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' ' + ConditionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible5; @@ -532,7 +532,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMin5; MatrixMinValue[5]) { ToolTip = 'Specifies the minimum allowed value for this result. '; - CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' Min'; + CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' ' + MinLbl; ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -546,7 +546,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMax5; MatrixMaxValue[5]) { ToolTip = 'Specifies the maximum allowed value for this result.'; - CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' Max'; + CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' ' + MaxLbl; ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -566,7 +566,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field6_Desc; MatrixArrayConditionDescriptionCellData[6]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible6; @@ -587,7 +587,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field6; MatrixArrayConditionCellData[6]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' Cond.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' ' + ConditionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible6; @@ -610,7 +610,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMin6; MatrixMinValue[6]) { ToolTip = 'Specifies the minimum allowed value for this result. '; - CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' Min'; + CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' ' + MinLbl; ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -624,7 +624,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMax6; MatrixMaxValue[6]) { ToolTip = 'Specifies the maximum allowed value for this result.'; - CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' Max'; + CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' ' + MaxLbl; ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -644,7 +644,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field7_Desc; MatrixArrayConditionDescriptionCellData[7]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible7; @@ -665,7 +665,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field7; MatrixArrayConditionCellData[7]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' Cond.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' ' + ConditionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible7; @@ -688,7 +688,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMin7; MatrixMinValue[7]) { ToolTip = 'Specifies the minimum allowed value for this result. '; - CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' Min'; + CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' ' + MinLbl; ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -702,7 +702,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMax7; MatrixMaxValue[7]) { ToolTip = 'Specifies the maximum allowed value for this result.'; - CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' Max'; + CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' ' + MaxLbl; ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -722,7 +722,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field8_Desc; MatrixArrayConditionDescriptionCellData[8]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible8; @@ -743,7 +743,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field8; MatrixArrayConditionCellData[8]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' Cond.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' ' + ConditionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible8; @@ -766,7 +766,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMin8; MatrixMinValue[8]) { ToolTip = 'Specifies the minimum allowed value for this result. '; - CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' Min'; + CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' ' + MinLbl; ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -780,7 +780,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMax8; MatrixMaxValue[8]) { ToolTip = 'Specifies the maximum allowed value for this result.'; - CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' Max'; + CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' ' + MaxLbl; ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -800,7 +800,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field9_Desc; MatrixArrayConditionDescriptionCellData[9]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible9; @@ -821,7 +821,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field9; MatrixArrayConditionCellData[9]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' Cond.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' ' + ConditionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible9; @@ -844,7 +844,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMin9; MatrixMinValue[9]) { ToolTip = 'Specifies the minimum allowed value for this result. '; - CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' Min'; + CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' ' + MinLbl; ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -858,7 +858,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMax9; MatrixMaxValue[9]) { ToolTip = 'Specifies the maximum allowed value for this result.'; - CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' Max'; + CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' ' + MaxLbl; ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -878,7 +878,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field10_Desc; MatrixArrayConditionDescriptionCellData[10]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible10; @@ -899,7 +899,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field10; MatrixArrayConditionCellData[10]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' Cond.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' ' + ConditionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible10; @@ -922,7 +922,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMin10; MatrixMinValue[10]) { ToolTip = 'Specifies the minimum allowed value for this result. '; - CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' Min'; + CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' ' + MinLbl; ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -936,7 +936,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMax10; MatrixMaxValue[10]) { ToolTip = 'Specifies the maximum allowed value for this result.'; - CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' Max'; + CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' ' + MaxLbl; ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -1011,11 +1011,15 @@ page 20434 "Qlty. Test Number Card Part" MatrixArrayCaptionSet: array[10] of Text; MatrixVisibleState: array[10] of Boolean; QltyTestIds: List of [Code[20]]; - SimpleRangeTok: Label '%1..%2', Locked = true, Comment = '%1=Min, %2=max'; + SimpleRangeTok: Label '%1..%2', Locked = true, Comment = '%1=Min, %2=Max'; RangeNonZeroTok: Label '<>0', Locked = true; RangeNonZeroHumanDescriptionTok: Label 'Any entered value.', Locked = true; - RangeHumanDescriptionTok: Label '%1 to %2', Locked = true, Comment = '%1=Min, %2=max'; + RangeHumanDescriptionTok: Label '%1 to %2', Locked = true, Comment = '%1=Min, %2=Max'; DefaultRangeTok: Label '1..100', Locked = true; + DescriptionLbl: Label 'Description'; + ConditionLbl: Label 'Condition'; + MinLbl: Label 'Min'; + MaxLbl: Label 'Max'; procedure LoadExistingTest(CurrentTest: Code[20]) begin diff --git a/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTests.Page.al b/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTests.Page.al index 467a64f686..aece580dbf 100644 --- a/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTests.Page.al +++ b/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTests.Page.al @@ -86,7 +86,7 @@ page 20401 "Qlty. Tests" } field(Field1_Desc; MatrixArrayConditionDescriptionCellData[1]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' ' + DescriptionLbl; ToolTip = 'Specifies a description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; AboutTitle = 'Result Condition Description'; AboutText = 'A description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; @@ -102,7 +102,7 @@ page 20401 "Qlty. Tests" } field(Field2_Desc; MatrixArrayConditionDescriptionCellData[2]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' ' + DescriptionLbl; ToolTip = 'Specifies a description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; AboutTitle = 'Result Condition Description'; AboutText = 'A description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; @@ -118,7 +118,7 @@ page 20401 "Qlty. Tests" } field(Field3_Desc; MatrixArrayConditionDescriptionCellData[3]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' ' + DescriptionLbl; ToolTip = 'Specifies a description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; AboutTitle = 'Result Condition Description'; AboutText = 'A description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; @@ -132,7 +132,7 @@ page 20401 "Qlty. Tests" } field(Field4_Desc; MatrixArrayConditionDescriptionCellData[4]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 4'; Visible = Visible4; } @@ -144,7 +144,7 @@ page 20401 "Qlty. Tests" } field(Field5_Desc; MatrixArrayConditionDescriptionCellData[5]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 5'; Visible = Visible5; } @@ -156,7 +156,7 @@ page 20401 "Qlty. Tests" } field(Field6_Desc; MatrixArrayConditionDescriptionCellData[6]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 6'; Visible = Visible6; } @@ -168,7 +168,7 @@ page 20401 "Qlty. Tests" } field(Field7_Desc; MatrixArrayConditionDescriptionCellData[7]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 7'; Visible = Visible7; } @@ -180,7 +180,7 @@ page 20401 "Qlty. Tests" } field(Field8_Desc; MatrixArrayConditionDescriptionCellData[8]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 8'; Visible = Visible8; } @@ -192,7 +192,7 @@ page 20401 "Qlty. Tests" } field(Field9_Desc; MatrixArrayConditionDescriptionCellData[9]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 9'; Visible = Visible9; } @@ -204,7 +204,7 @@ page 20401 "Qlty. Tests" } field(Field10_Desc; MatrixArrayConditionDescriptionCellData[10]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' ' + DescriptionLbl; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 10'; Visible = Visible10; } @@ -322,6 +322,7 @@ page 20401 "Qlty. Tests" Visible8: Boolean; Visible9: Boolean; Visible10: Boolean; + DescriptionLbl: Label 'Description'; trigger OnOpenPage() begin diff --git a/src/Apps/W1/Quality Management/app/src/Document/QltyInspectionSubform.Page.al b/src/Apps/W1/Quality Management/app/src/Document/QltyInspectionSubform.Page.al index aca2b1fe9b..4e5a7163c8 100644 --- a/src/Apps/W1/Quality Management/app/src/Document/QltyInspectionSubform.Page.al +++ b/src/Apps/W1/Quality Management/app/src/Document/QltyInspectionSubform.Page.al @@ -107,7 +107,7 @@ page 20407 "Qlty. Inspection Subform" } field(Field2_Desc; MatrixArrayConditionDescriptionCellData[2]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' ' + DescriptionLbl; Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 2'; Visible = Visible2; @@ -121,7 +121,7 @@ page 20407 "Qlty. Inspection Subform" } field(Field3_Desc; MatrixArrayConditionDescriptionCellData[3]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' ' + DescriptionLbl; Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Visible = Visible3; @@ -135,7 +135,7 @@ page 20407 "Qlty. Inspection Subform" } field(Field4_Desc; MatrixArrayConditionDescriptionCellData[4]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' ' + DescriptionLbl; Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 4'; Visible = Visible4; @@ -149,7 +149,7 @@ page 20407 "Qlty. Inspection Subform" } field(Field5_Desc; MatrixArrayConditionDescriptionCellData[5]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' ' + DescriptionLbl; Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 5'; Visible = Visible5; @@ -163,7 +163,7 @@ page 20407 "Qlty. Inspection Subform" } field(Field6_Desc; MatrixArrayConditionDescriptionCellData[6]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' ' + DescriptionLbl; Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 6'; Visible = Visible6; @@ -177,7 +177,7 @@ page 20407 "Qlty. Inspection Subform" } field(Field7_Desc; MatrixArrayConditionDescriptionCellData[7]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' ' + DescriptionLbl; Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 7'; Visible = Visible7; @@ -191,7 +191,7 @@ page 20407 "Qlty. Inspection Subform" } field(Field8_Desc; MatrixArrayConditionDescriptionCellData[8]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' ' + DescriptionLbl; Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 8'; Visible = Visible8; @@ -205,7 +205,7 @@ page 20407 "Qlty. Inspection Subform" } field(Field9_Desc; MatrixArrayConditionDescriptionCellData[9]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' ' + DescriptionLbl; Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 9'; Visible = Visible9; @@ -219,7 +219,7 @@ page 20407 "Qlty. Inspection Subform" } field(Field10_Desc; MatrixArrayConditionDescriptionCellData[10]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' Desc.'; + CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' ' + DescriptionLbl; Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 10'; Visible = Visible10; @@ -295,6 +295,7 @@ page 20407 "Qlty. Inspection Subform" RowStyle: Option None,Standard,StandardAccent,Strong,StrongAccent,Attention,AttentionAccent,Favorable,Unfavorable,Ambiguous,Subordinate; RowStyleText: Text; CurrentSelectedInspectionLineTok: Label 'CurrentSelectedInspectionLine', Locked = true; + DescriptionLbl: Label 'Description'; trigger OnOpenPage() begin From 7bdf00db0d7dc6e84a3c5df51b9d9c49c3b3769c Mon Sep 17 00:00:00 2001 From: Dusan Jakovljevic <134404137+JakovljevicDusan@users.noreply.github.com> Date: Mon, 2 Feb 2026 14:03:54 +0100 Subject: [PATCH 2/2] Add 'Condition' to label and improve readability --- .../QltyInspectionTemplateSubf.Page.al | 43 ++++----- .../Template/Test/QltyTestCard.Page.al | 43 ++++----- .../Test/QltyTestExprCardPart.Page.al | 44 +++++----- .../Template/Test/QltyTestLookup.Page.al | 43 ++++----- .../Test/QltyTestNumberCardPart.Page.al | 88 +++++++++---------- .../Template/Test/QltyTests.Page.al | 43 ++++----- .../Document/QltyInspectionSubform.Page.al | 43 ++++----- 7 files changed, 176 insertions(+), 171 deletions(-) diff --git a/src/Apps/W1/Quality Management/app/src/Configuration/Template/QltyInspectionTemplateSubf.Page.al b/src/Apps/W1/Quality Management/app/src/Configuration/Template/QltyInspectionTemplateSubf.Page.al index 0e82853eee..07e30a0c80 100644 --- a/src/Apps/W1/Quality Management/app/src/Configuration/Template/QltyInspectionTemplateSubf.Page.al +++ b/src/Apps/W1/Quality Management/app/src/Configuration/Template/QltyInspectionTemplateSubf.Page.al @@ -72,7 +72,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field1; MatrixArrayConditionCellData[1]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[1]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[1]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Visible = Visible1; Editable = Visible1; @@ -89,7 +89,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field1_Desc; MatrixArrayConditionDescriptionCellData[1]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[1]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Visible = Visible1; Editable = Visible1; @@ -106,7 +106,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field2; MatrixArrayConditionCellData[2]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[2]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[2]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 2'; Visible = Visible2; Editable = Visible2; @@ -123,7 +123,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field2_Desc; MatrixArrayConditionDescriptionCellData[2]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[2]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 2'; Visible = Visible2; Editable = Visible2; @@ -140,7 +140,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field3; MatrixArrayConditionCellData[3]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[3]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[3]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Visible = Visible3; Editable = Visible3; @@ -157,7 +157,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field3_Desc; MatrixArrayConditionDescriptionCellData[3]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[3]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Visible = Visible3; Editable = Visible3; @@ -174,7 +174,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field4; MatrixArrayConditionCellData[4]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[4]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[4]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 4'; Visible = Visible4; Editable = Visible4; @@ -191,7 +191,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field4_Desc; MatrixArrayConditionDescriptionCellData[4]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[4]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 4'; Visible = Visible4; Editable = Visible4; @@ -208,7 +208,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field5; MatrixArrayConditionCellData[5]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[5]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[5]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 5'; Visible = Visible5; Editable = Visible5; @@ -225,7 +225,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field5_Desc; MatrixArrayConditionDescriptionCellData[5]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[5]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 5'; Visible = Visible5; Editable = Visible5; @@ -242,7 +242,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field6; MatrixArrayConditionCellData[6]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[6]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[6]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 6'; Visible = Visible6; Editable = Visible6; @@ -259,7 +259,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field6_Desc; MatrixArrayConditionDescriptionCellData[6]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[6]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 6'; Visible = Visible6; Editable = Visible6; @@ -276,7 +276,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field7; MatrixArrayConditionCellData[7]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[7]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[7]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 7'; Visible = Visible7; Editable = Visible7; @@ -293,7 +293,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field7_Desc; MatrixArrayConditionDescriptionCellData[7]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[7]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 7'; Visible = Visible7; Editable = Visible7; @@ -310,7 +310,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field8; MatrixArrayConditionCellData[8]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[8]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[8]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 8'; Visible = Visible8; Editable = Visible8; @@ -327,7 +327,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field8_Desc; MatrixArrayConditionDescriptionCellData[8]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[8]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 8'; Visible = Visible8; Editable = Visible8; @@ -344,7 +344,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field9; MatrixArrayConditionCellData[9]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[9]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[9]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 9'; Visible = Visible9; Editable = Visible9; @@ -361,7 +361,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field9_Desc; MatrixArrayConditionDescriptionCellData[9]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[9]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 9'; Visible = Visible9; Editable = Visible9; @@ -378,7 +378,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field10; MatrixArrayConditionCellData[10]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[10]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[10]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 10'; Visible = Visible10; Editable = Visible10; @@ -395,7 +395,7 @@ page 20403 "Qlty. Inspection Template Subf" } field(Field10_Desc; MatrixArrayConditionDescriptionCellData[10]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[10]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 10'; Visible = Visible10; Editable = Visible10; @@ -477,7 +477,8 @@ page 20403 "Qlty. Inspection Template Subf" Visible8: Boolean; Visible9: Boolean; Visible10: Boolean; - DescriptionLbl: Label 'Description'; + DescriptionLbl: Label '%1 Description', Comment = '%1 = Matrix field caption'; + ConditionLbl: Label '%1 Condition', Comment = '%1 = Matrix field caption'; trigger OnNewRecord(BelowxRec: Boolean) begin diff --git a/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestCard.Page.al b/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestCard.Page.al index 864d56f0aa..afb731f03f 100644 --- a/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestCard.Page.al +++ b/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestCard.Page.al @@ -89,7 +89,7 @@ page 20479 "Qlty. Test Card" field(Field1; MatrixArrayConditionCellData[1]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[1]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[1]); ToolTip = 'Specifies the passing condition for this result. If you had a result of Pass being 80 to 100, you would then configure 80..100 here.'; AboutTitle = 'Result Condition Expression'; AboutText = 'The passing condition for this result. If you had a result of Pass being 80 to 100, you would then configure 80..100 here.'; @@ -108,7 +108,7 @@ page 20479 "Qlty. Test Card" } field(Field1_Desc; MatrixArrayConditionDescriptionCellData[1]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[1]); ToolTip = 'Specifies a description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; AboutTitle = 'Result Condition Description'; AboutText = 'A description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; @@ -127,7 +127,7 @@ page 20479 "Qlty. Test Card" } field(Field2; MatrixArrayConditionCellData[2]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[2]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[2]); ToolTip = 'Specifies the passing condition for this result. If you had a result of Pass being 80 to 100, you would then configure 80..100 here.'; AboutTitle = 'Result Condition Expression'; AboutText = 'The passing condition for this result. If you had a result of Pass being 80 to 100, you would then configure 80..100 here.'; @@ -146,7 +146,7 @@ page 20479 "Qlty. Test Card" } field(Field2_Desc; MatrixArrayConditionDescriptionCellData[2]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[2]); ToolTip = 'Specifies a description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; AboutTitle = 'Result Condition Description'; AboutText = 'A description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; @@ -165,7 +165,7 @@ page 20479 "Qlty. Test Card" } field(Field3; MatrixArrayConditionCellData[3]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[3]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[3]); ToolTip = 'Specifies the passing condition for this result. If you had a result of Pass being 80 to 100, you would then configure 80..100 here.'; AboutTitle = 'Result Condition Expression'; AboutText = 'The passing condition for this result. If you had a result of Pass being 80 to 100, you would then configure 80..100 here.'; @@ -184,7 +184,7 @@ page 20479 "Qlty. Test Card" } field(Field3_Desc; MatrixArrayConditionDescriptionCellData[3]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[3]); Editable = EditableResult; ToolTip = 'Specifies a description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; AboutTitle = 'Result Condition Description'; @@ -203,7 +203,7 @@ page 20479 "Qlty. Test Card" } field(Field4; MatrixArrayConditionCellData[4]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[4]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[4]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 4'; Visible = Visible4; Editable = EditableResult; @@ -221,7 +221,7 @@ page 20479 "Qlty. Test Card" } field(Field4_Desc; MatrixArrayConditionDescriptionCellData[4]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[4]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 4'; Visible = Visible4; Editable = EditableResult; @@ -238,7 +238,7 @@ page 20479 "Qlty. Test Card" } field(Field5; MatrixArrayConditionCellData[5]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[5]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[5]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 5'; Visible = Visible5; Editable = EditableResult; @@ -255,7 +255,7 @@ page 20479 "Qlty. Test Card" } field(Field5_Desc; MatrixArrayConditionDescriptionCellData[5]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[5]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 5'; Visible = Visible5; Editable = EditableResult; @@ -272,7 +272,7 @@ page 20479 "Qlty. Test Card" } field(Field6; MatrixArrayConditionCellData[6]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[6]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[6]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 6'; Visible = Visible6; Editable = EditableResult; @@ -289,7 +289,7 @@ page 20479 "Qlty. Test Card" } field(Field6_Desc; MatrixArrayConditionDescriptionCellData[6]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[6]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 6'; Visible = Visible6; Editable = EditableResult; @@ -306,7 +306,7 @@ page 20479 "Qlty. Test Card" } field(Field7; MatrixArrayConditionCellData[7]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[7]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[7]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 7'; Visible = Visible7; Editable = EditableResult; @@ -323,7 +323,7 @@ page 20479 "Qlty. Test Card" } field(Field7_Desc; MatrixArrayConditionDescriptionCellData[7]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[7]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 7'; Visible = Visible7; Editable = EditableResult; @@ -340,7 +340,7 @@ page 20479 "Qlty. Test Card" } field(Field8; MatrixArrayConditionCellData[8]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[8]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[8]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 8'; Visible = Visible8; Editable = EditableResult; @@ -357,7 +357,7 @@ page 20479 "Qlty. Test Card" } field(Field8_Desc; MatrixArrayConditionDescriptionCellData[8]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[8]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 8'; Visible = Visible8; Editable = EditableResult; @@ -374,7 +374,7 @@ page 20479 "Qlty. Test Card" } field(Field9; MatrixArrayConditionCellData[9]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[9]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[9]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 9'; Visible = Visible9; Editable = EditableResult; @@ -391,7 +391,7 @@ page 20479 "Qlty. Test Card" } field(Field9_Desc; MatrixArrayConditionDescriptionCellData[9]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[9]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 9'; Visible = Visible9; Editable = EditableResult; @@ -408,7 +408,7 @@ page 20479 "Qlty. Test Card" } field(Field10; MatrixArrayConditionCellData[10]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[10]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[10]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 10'; Visible = Visible10; Editable = EditableResult; @@ -425,7 +425,7 @@ page 20479 "Qlty. Test Card" } field(Field10_Desc; MatrixArrayConditionDescriptionCellData[10]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[10]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 10'; Visible = Visible10; Editable = EditableResult; @@ -569,7 +569,8 @@ page 20479 "Qlty. Test Card" EditableResult: Boolean; IsAllowableValuesEditable: Boolean; IsLookupField: Boolean; - DescriptionLbl: Label 'Description'; + DescriptionLbl: Label '%1 Description', Comment = '%1 = Matrix field caption'; + ConditionLbl: Label '%1 Condition', Comment = '%1 = Matrix field caption'; trigger OnOpenPage() begin diff --git a/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestExprCardPart.Page.al b/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestExprCardPart.Page.al index 6dd4d3051b..993794173e 100644 --- a/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestExprCardPart.Page.al +++ b/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestExprCardPart.Page.al @@ -119,7 +119,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field1; MatrixArrayConditionCellData[1]) { ColumnSpan = 2; - CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' ' + ConditionLbl; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[1]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible1; @@ -132,7 +132,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field1_Desc; MatrixArrayConditionDescriptionCellData[1]) { ColumnSpan = 2; - CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[1]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible1; @@ -153,7 +153,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field2; MatrixArrayConditionCellData[2]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' ' + ConditionLbl; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[2]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 2'; Editable = Visible2; @@ -165,7 +165,7 @@ page 20467 "Qlty. Test Expr. Card Part" } field(Field2_Desc; MatrixArrayConditionDescriptionCellData[2]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[2]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 2'; Editable = Visible2; @@ -185,7 +185,7 @@ page 20467 "Qlty. Test Expr. Card Part" ShowCaption = false; field(Field3; MatrixArrayConditionCellData[3]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' ' + ConditionLbl; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[3]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible3; @@ -197,7 +197,7 @@ page 20467 "Qlty. Test Expr. Card Part" } field(Field3_Desc; MatrixArrayConditionDescriptionCellData[3]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[3]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible3; @@ -214,7 +214,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field4_Desc; MatrixArrayConditionDescriptionCellData[4]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[4]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible4; @@ -229,7 +229,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field4; MatrixArrayConditionCellData[4]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' ' + ConditionLbl; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[4]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible4; @@ -247,7 +247,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field5_Desc; MatrixArrayConditionDescriptionCellData[5]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[5]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible5; @@ -262,7 +262,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field5; MatrixArrayConditionCellData[5]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' ' + ConditionLbl; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[5]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible5; @@ -280,7 +280,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field6_Desc; MatrixArrayConditionDescriptionCellData[6]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[6]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible6; @@ -295,7 +295,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field6; MatrixArrayConditionCellData[6]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' ' + ConditionLbl; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[6]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible6; @@ -313,7 +313,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field7_Desc; MatrixArrayConditionDescriptionCellData[7]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[7]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible7; @@ -328,7 +328,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field7; MatrixArrayConditionCellData[7]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' ' + ConditionLbl; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[7]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible7; @@ -346,7 +346,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field8_Desc; MatrixArrayConditionDescriptionCellData[8]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[8]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible8; @@ -361,7 +361,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field8; MatrixArrayConditionCellData[8]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' ' + ConditionLbl; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[8]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible8; @@ -379,7 +379,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field9_Desc; MatrixArrayConditionDescriptionCellData[9]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[9]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible9; @@ -394,7 +394,7 @@ page 20467 "Qlty. Test Expr. Card Part" field(Field9; MatrixArrayConditionCellData[9]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' ' + ConditionLbl; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[9]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible9; @@ -411,7 +411,7 @@ page 20467 "Qlty. Test Expr. Card Part" Visible = Visible10; field(Field10_Desc; MatrixArrayConditionDescriptionCellData[10]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[10]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible10; @@ -425,7 +425,7 @@ page 20467 "Qlty. Test Expr. Card Part" ShowCaption = false; field(Field10; MatrixArrayConditionCellData[10]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' ' + ConditionLbl; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[10]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible10; @@ -461,8 +461,8 @@ page 20467 "Qlty. Test Expr. Card Part" MatrixArrayConditionDescriptionCellData: array[10] of Text; MatrixArrayCaptionSet: array[10] of Text; MatrixVisibleState: array[10] of Boolean; - DescriptionLbl: Label 'Description'; - ConditionLbl: Label 'Condition'; + DescriptionLbl: Label '%1 Description', Comment = '%1 = Matrix field caption'; + ConditionLbl: Label '%1 Condition', Comment = '%1 = Matrix field caption'; procedure LoadExistingTest(CurrentTest: Code[20]; Update: Boolean) begin diff --git a/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestLookup.Page.al b/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestLookup.Page.al index 042bdf0a9c..836a88c29b 100644 --- a/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestLookup.Page.al +++ b/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestLookup.Page.al @@ -72,7 +72,7 @@ page 20445 "Qlty. Test Lookup" } field(Field1; MatrixArrayConditionCellData[1]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[1]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[1]); ToolTip = 'Specifies the passing condition for this result. If you had a result of Pass being 80 to 100, you would then configure 80..100 here.'; AboutTitle = 'Result Condition Expression'; AboutText = 'The passing condition for this result. If you had a result of Pass being 80 to 100, you would then configure 80..100 here.'; @@ -86,7 +86,7 @@ page 20445 "Qlty. Test Lookup" } field(Field1_Desc; MatrixArrayConditionDescriptionCellData[1]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[1]); ToolTip = 'Specifies a description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; AboutTitle = 'Result Condition Description'; AboutText = 'A description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; @@ -100,7 +100,7 @@ page 20445 "Qlty. Test Lookup" } field(Field2; MatrixArrayConditionCellData[2]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[2]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[2]); ToolTip = 'Specifies the passing condition for this result. If you had a result of Pass being 80 to 100, you would then configure 80..100 here.'; AboutTitle = 'Result Condition Expression'; AboutText = 'The passing condition for this result. If you had a result of Pass being 80 to 100, you would then configure 80..100 here.'; @@ -114,7 +114,7 @@ page 20445 "Qlty. Test Lookup" } field(Field2_Desc; MatrixArrayConditionDescriptionCellData[2]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[2]); ToolTip = 'Specifies a description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; AboutTitle = 'Result Condition Description'; AboutText = 'A description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; @@ -128,7 +128,7 @@ page 20445 "Qlty. Test Lookup" } field(Field3; MatrixArrayConditionCellData[3]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[3]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[3]); ToolTip = 'Specifies the passing condition for this result. If you had a result of Pass being 80 to 100, you would then configure 80..100 here.'; AboutTitle = 'Result Condition Expression'; AboutText = 'The passing condition for this result. If you had a result of Pass being 80 to 100, you would then configure 80..100 here.'; @@ -142,7 +142,7 @@ page 20445 "Qlty. Test Lookup" } field(Field3_Desc; MatrixArrayConditionDescriptionCellData[3]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[3]); Editable = true; ToolTip = 'Specifies a description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; AboutTitle = 'Result Condition Description'; @@ -156,7 +156,7 @@ page 20445 "Qlty. Test Lookup" } field(Field4; MatrixArrayConditionCellData[4]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[4]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[4]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 4'; Visible = Visible4; Editable = Visible4; @@ -168,7 +168,7 @@ page 20445 "Qlty. Test Lookup" } field(Field4_Desc; MatrixArrayConditionDescriptionCellData[4]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[4]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 4'; Visible = Visible4; Editable = Visible4; @@ -180,7 +180,7 @@ page 20445 "Qlty. Test Lookup" } field(Field5; MatrixArrayConditionCellData[5]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[5]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[5]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 5'; Visible = Visible5; Editable = Visible5; @@ -192,7 +192,7 @@ page 20445 "Qlty. Test Lookup" } field(Field5_Desc; MatrixArrayConditionDescriptionCellData[5]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[5]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 5'; Visible = Visible5; Editable = Visible5; @@ -204,7 +204,7 @@ page 20445 "Qlty. Test Lookup" } field(Field6; MatrixArrayConditionCellData[6]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[6]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[6]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 6'; Visible = Visible6; Editable = Visible6; @@ -216,7 +216,7 @@ page 20445 "Qlty. Test Lookup" } field(Field6_Desc; MatrixArrayConditionDescriptionCellData[6]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[6]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 6'; Visible = Visible6; Editable = Visible6; @@ -228,7 +228,7 @@ page 20445 "Qlty. Test Lookup" } field(Field7; MatrixArrayConditionCellData[7]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[7]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[7]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 7'; Visible = Visible7; Editable = Visible7; @@ -240,7 +240,7 @@ page 20445 "Qlty. Test Lookup" } field(Field7_Desc; MatrixArrayConditionDescriptionCellData[7]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[7]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 7'; Visible = Visible7; Editable = Visible7; @@ -252,7 +252,7 @@ page 20445 "Qlty. Test Lookup" } field(Field8; MatrixArrayConditionCellData[8]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[8]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[8]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 8'; Visible = Visible8; Editable = Visible8; @@ -264,7 +264,7 @@ page 20445 "Qlty. Test Lookup" } field(Field8_Desc; MatrixArrayConditionDescriptionCellData[8]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[8]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 8'; Visible = Visible8; Editable = Visible8; @@ -276,7 +276,7 @@ page 20445 "Qlty. Test Lookup" } field(Field9; MatrixArrayConditionCellData[9]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[9]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[9]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 9'; Visible = Visible9; Editable = Visible9; @@ -288,7 +288,7 @@ page 20445 "Qlty. Test Lookup" } field(Field9_Desc; MatrixArrayConditionDescriptionCellData[9]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[9]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 9'; Visible = Visible9; Editable = Visible9; @@ -300,7 +300,7 @@ page 20445 "Qlty. Test Lookup" } field(Field10; MatrixArrayConditionCellData[10]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[10]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[10]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 10'; Visible = Visible10; Editable = Visible10; @@ -312,7 +312,7 @@ page 20445 "Qlty. Test Lookup" } field(Field10_Desc; MatrixArrayConditionDescriptionCellData[10]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[10]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 10'; Visible = Visible10; Editable = Visible10; @@ -443,7 +443,8 @@ page 20445 "Qlty. Test Lookup" Visible9: Boolean; Visible10: Boolean; IsAllowableValuesEditable: Boolean; - DescriptionLbl: Label 'Description'; + DescriptionLbl: Label '%1 Description', Comment = '%1 = Matrix field caption'; + ConditionLbl: Label '%1 Condition', Comment = '%1 = Matrix field caption'; trigger OnAfterGetRecord() begin diff --git a/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestNumberCardPart.Page.al b/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestNumberCardPart.Page.al index b0e33cc469..1066de5774 100644 --- a/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestNumberCardPart.Page.al +++ b/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTestNumberCardPart.Page.al @@ -172,7 +172,7 @@ page 20434 "Qlty. Test Number Card Part" { ColumnSpan = 2; ApplicationArea = All; - CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' ' + ConditionLbl; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[1]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible1; @@ -198,7 +198,7 @@ page 20434 "Qlty. Test Number Card Part" ColumnSpan = 2; ApplicationArea = All; ToolTip = 'Specifies the minimum allowed value for this result. '; - CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' ' + MinLbl; + CaptionClass = '3,' + StrSubstNo(MinLbl, MatrixArrayCaptionSet[1]); AutoFormatType = 0; DecimalPlaces = 0 : 5; ShowCaption = true; @@ -214,7 +214,7 @@ page 20434 "Qlty. Test Number Card Part" ColumnSpan = 2; ApplicationArea = All; ToolTip = 'Specifies the maximum allowed value for this result.'; - CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' ' + MaxLbl; + CaptionClass = '3,' + StrSubstNo(MaxLbl, MatrixArrayCaptionSet[1]); AutoFormatType = 0; DecimalPlaces = 0 : 5; ShowCaption = true; @@ -230,7 +230,7 @@ page 20434 "Qlty. Test Number Card Part" { ColumnSpan = 2; ApplicationArea = All; - CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[1]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible1; @@ -259,7 +259,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field2; MatrixArrayConditionCellData[2]) { ApplicationArea = All; - CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' ' + ConditionLbl; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[2]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 2'; Editable = Visible2; @@ -282,7 +282,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMin2; MatrixMinValue[2]) { ToolTip = 'Specifies the minimum allowed value for this result. '; - CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' ' + MinLbl; + CaptionClass = '3,' + StrSubstNo(MinLbl, MatrixArrayCaptionSet[2]); ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -296,7 +296,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMax2; MatrixMaxValue[2]) { ToolTip = 'Specifies the maximum allowed value for this result.'; - CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' ' + MaxLbl; + CaptionClass = '3,' + StrSubstNo(MaxLbl, MatrixArrayCaptionSet[2]); ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -310,7 +310,7 @@ page 20434 "Qlty. Test Number Card Part" } field(Field2_Desc; MatrixArrayConditionDescriptionCellData[2]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[2]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 2'; Editable = Visible2; @@ -337,7 +337,7 @@ page 20434 "Qlty. Test Number Card Part" ShowCaption = false; field(Field3; MatrixArrayConditionCellData[3]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' ' + ConditionLbl; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[3]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible3; @@ -360,7 +360,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMin3; MatrixMinValue[3]) { ToolTip = 'Specifies the minimum allowed value for this result. '; - CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' ' + MinLbl; + CaptionClass = '3,' + StrSubstNo(MinLbl, MatrixArrayCaptionSet[3]); ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -374,7 +374,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMax3; MatrixMaxValue[3]) { ToolTip = 'Specifies the maximum allowed value for this result.'; - CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' ' + MaxLbl; + CaptionClass = '3,' + StrSubstNo(MaxLbl, MatrixArrayCaptionSet[3]); ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -388,7 +388,7 @@ page 20434 "Qlty. Test Number Card Part" } field(Field3_Desc; MatrixArrayConditionDescriptionCellData[3]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[3]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible3; @@ -410,7 +410,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field4_Desc; MatrixArrayConditionDescriptionCellData[4]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[4]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible4; @@ -431,7 +431,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field4; MatrixArrayConditionCellData[4]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' ' + ConditionLbl; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[4]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible4; @@ -454,7 +454,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMin4; MatrixMinValue[4]) { ToolTip = 'Specifies the minimum allowed value for this result. '; - CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' ' + MinLbl; + CaptionClass = '3,' + StrSubstNo(MinLbl, MatrixArrayCaptionSet[4]); ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -468,7 +468,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMax4; MatrixMaxValue[4]) { ToolTip = 'Specifies the maximum allowed value for this result.'; - CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' ' + MaxLbl; + CaptionClass = '3,' + StrSubstNo(MaxLbl, MatrixArrayCaptionSet[4]); ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -488,7 +488,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field5_Desc; MatrixArrayConditionDescriptionCellData[5]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[5]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible5; @@ -509,7 +509,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field5; MatrixArrayConditionCellData[5]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' ' + ConditionLbl; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[5]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible5; @@ -532,7 +532,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMin5; MatrixMinValue[5]) { ToolTip = 'Specifies the minimum allowed value for this result. '; - CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' ' + MinLbl; + CaptionClass = '3,' + StrSubstNo(MinLbl, MatrixArrayCaptionSet[5]); ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -546,7 +546,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMax5; MatrixMaxValue[5]) { ToolTip = 'Specifies the maximum allowed value for this result.'; - CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' ' + MaxLbl; + CaptionClass = '3,' + StrSubstNo(MaxLbl, MatrixArrayCaptionSet[5]); ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -566,7 +566,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field6_Desc; MatrixArrayConditionDescriptionCellData[6]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[6]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible6; @@ -587,7 +587,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field6; MatrixArrayConditionCellData[6]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' ' + ConditionLbl; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[6]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible6; @@ -610,7 +610,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMin6; MatrixMinValue[6]) { ToolTip = 'Specifies the minimum allowed value for this result. '; - CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' ' + MinLbl; + CaptionClass = '3,' + StrSubstNo(MinLbl, MatrixArrayCaptionSet[6]); ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -624,7 +624,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMax6; MatrixMaxValue[6]) { ToolTip = 'Specifies the maximum allowed value for this result.'; - CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' ' + MaxLbl; + CaptionClass = '3,' + StrSubstNo(MaxLbl, MatrixArrayCaptionSet[6]); ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -644,7 +644,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field7_Desc; MatrixArrayConditionDescriptionCellData[7]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[7]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible7; @@ -665,7 +665,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field7; MatrixArrayConditionCellData[7]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' ' + ConditionLbl; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[7]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible7; @@ -688,7 +688,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMin7; MatrixMinValue[7]) { ToolTip = 'Specifies the minimum allowed value for this result. '; - CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' ' + MinLbl; + CaptionClass = '3,' + StrSubstNo(MinLbl, MatrixArrayCaptionSet[7]); ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -702,7 +702,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMax7; MatrixMaxValue[7]) { ToolTip = 'Specifies the maximum allowed value for this result.'; - CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' ' + MaxLbl; + CaptionClass = '3,' + StrSubstNo(MaxLbl, MatrixArrayCaptionSet[7]); ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -722,7 +722,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field8_Desc; MatrixArrayConditionDescriptionCellData[8]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[8]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible8; @@ -743,7 +743,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field8; MatrixArrayConditionCellData[8]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' ' + ConditionLbl; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[8]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible8; @@ -766,7 +766,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMin8; MatrixMinValue[8]) { ToolTip = 'Specifies the minimum allowed value for this result. '; - CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' ' + MinLbl; + CaptionClass = '3,' + StrSubstNo(MinLbl, MatrixArrayCaptionSet[8]); ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -780,7 +780,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMax8; MatrixMaxValue[8]) { ToolTip = 'Specifies the maximum allowed value for this result.'; - CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' ' + MaxLbl; + CaptionClass = '3,' + StrSubstNo(MaxLbl, MatrixArrayCaptionSet[8]); ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -800,7 +800,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field9_Desc; MatrixArrayConditionDescriptionCellData[9]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[9]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible9; @@ -821,7 +821,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field9; MatrixArrayConditionCellData[9]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' ' + ConditionLbl; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[9]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible9; @@ -844,7 +844,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMin9; MatrixMinValue[9]) { ToolTip = 'Specifies the minimum allowed value for this result. '; - CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' ' + MinLbl; + CaptionClass = '3,' + StrSubstNo(MinLbl, MatrixArrayCaptionSet[9]); ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -858,7 +858,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMax9; MatrixMaxValue[9]) { ToolTip = 'Specifies the maximum allowed value for this result.'; - CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' ' + MaxLbl; + CaptionClass = '3,' + StrSubstNo(MaxLbl, MatrixArrayCaptionSet[9]); ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -878,7 +878,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field10_Desc; MatrixArrayConditionDescriptionCellData[10]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[10]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Editable = Visible10; @@ -899,7 +899,7 @@ page 20434 "Qlty. Test Number Card Part" field(Field10; MatrixArrayConditionCellData[10]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' ' + ConditionLbl; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[10]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Editable = Visible10; @@ -922,7 +922,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMin10; MatrixMinValue[10]) { ToolTip = 'Specifies the minimum allowed value for this result. '; - CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' ' + MinLbl; + CaptionClass = '3,' + StrSubstNo(MinLbl, MatrixArrayCaptionSet[10]); ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -936,7 +936,7 @@ page 20434 "Qlty. Test Number Card Part" field(ChooseMax10; MatrixMaxValue[10]) { ToolTip = 'Specifies the maximum allowed value for this result.'; - CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' ' + MaxLbl; + CaptionClass = '3,' + StrSubstNo(MaxLbl, MatrixArrayCaptionSet[10]); ShowCaption = true; ShowMandatory = true; AutoFormatType = 0; @@ -1016,10 +1016,10 @@ page 20434 "Qlty. Test Number Card Part" RangeNonZeroHumanDescriptionTok: Label 'Any entered value.', Locked = true; RangeHumanDescriptionTok: Label '%1 to %2', Locked = true, Comment = '%1=Min, %2=Max'; DefaultRangeTok: Label '1..100', Locked = true; - DescriptionLbl: Label 'Description'; - ConditionLbl: Label 'Condition'; - MinLbl: Label 'Min'; - MaxLbl: Label 'Max'; + DescriptionLbl: Label '%1 Description', Comment = '%1 = Matrix field caption'; + ConditionLbl: Label '%1 Condition', Comment = '%1 = Matrix field caption'; + MinLbl: Label '%1 Min', Comment = '%1 = Matrix field caption'; + MaxLbl: Label '%1 Max', Comment = '%1 = Matrix field caption'; procedure LoadExistingTest(CurrentTest: Code[20]) begin diff --git a/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTests.Page.al b/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTests.Page.al index aece580dbf..c62ae22fe3 100644 --- a/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTests.Page.al +++ b/src/Apps/W1/Quality Management/app/src/Configuration/Template/Test/QltyTests.Page.al @@ -78,7 +78,7 @@ page 20401 "Qlty. Tests" } field(Field1; MatrixArrayConditionCellData[1]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[1]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[1]); ToolTip = 'Specifies the passing condition for this result. If you had a result of Pass being 80 to 100, you would then configure 80..100 here.'; AboutTitle = 'Result Condition Expression'; AboutText = 'The passing condition for this result. If you had a result of Pass being 80 to 100, you would then configure 80..100 here.'; @@ -86,7 +86,7 @@ page 20401 "Qlty. Tests" } field(Field1_Desc; MatrixArrayConditionDescriptionCellData[1]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[1]); ToolTip = 'Specifies a description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; AboutTitle = 'Result Condition Description'; AboutText = 'A description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; @@ -94,7 +94,7 @@ page 20401 "Qlty. Tests" } field(Field2; MatrixArrayConditionCellData[2]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[2]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[2]); ToolTip = 'Specifies the passing condition for this result. If you had a result of Pass being 80 to 100, you would then configure 80..100 here.'; AboutTitle = 'Result Condition Expression'; AboutText = 'The passing condition for this result. If you had a result of Pass being 80 to 100, you would then configure 80..100 here.'; @@ -102,7 +102,7 @@ page 20401 "Qlty. Tests" } field(Field2_Desc; MatrixArrayConditionDescriptionCellData[2]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[2]); ToolTip = 'Specifies a description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; AboutTitle = 'Result Condition Description'; AboutText = 'A description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; @@ -110,7 +110,7 @@ page 20401 "Qlty. Tests" } field(Field3; MatrixArrayConditionCellData[3]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[3]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[3]); ToolTip = 'Specifies the passing condition for this result. If you had a result of Pass being 80 to 100, you would then configure 80..100 here.'; AboutTitle = 'Result Condition Expression'; AboutText = 'The passing condition for this result. If you had a result of Pass being 80 to 100, you would then configure 80..100 here.'; @@ -118,7 +118,7 @@ page 20401 "Qlty. Tests" } field(Field3_Desc; MatrixArrayConditionDescriptionCellData[3]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[3]); ToolTip = 'Specifies a description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; AboutTitle = 'Result Condition Description'; AboutText = 'A description for people of this result condition. If you had a result of Pass being 80 to 100, you would put in text describing this. This text will be visible when recording inspections and will show up on the Certificate of Analysis.'; @@ -126,85 +126,85 @@ page 20401 "Qlty. Tests" } field(Field4; MatrixArrayConditionCellData[4]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[4]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[4]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 4'; Visible = Visible4; } field(Field4_Desc; MatrixArrayConditionDescriptionCellData[4]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[4]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 4'; Visible = Visible4; } field(Field5; MatrixArrayConditionCellData[5]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[5]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[5]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 5'; Visible = Visible5; } field(Field5_Desc; MatrixArrayConditionDescriptionCellData[5]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[5]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 5'; Visible = Visible5; } field(Field6; MatrixArrayConditionCellData[6]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[6]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[6]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 6'; Visible = Visible6; } field(Field6_Desc; MatrixArrayConditionDescriptionCellData[6]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[6]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 6'; Visible = Visible6; } field(Field7; MatrixArrayConditionCellData[7]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[7]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[7]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 7'; Visible = Visible7; } field(Field7_Desc; MatrixArrayConditionDescriptionCellData[7]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[7]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 7'; Visible = Visible7; } field(Field8; MatrixArrayConditionCellData[8]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[8]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[8]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 8'; Visible = Visible8; } field(Field8_Desc; MatrixArrayConditionDescriptionCellData[8]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[8]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 8'; Visible = Visible8; } field(Field9; MatrixArrayConditionCellData[9]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[9]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[9]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 9'; Visible = Visible9; } field(Field9_Desc; MatrixArrayConditionDescriptionCellData[9]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[9]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 9'; Visible = Visible9; } field(Field10; MatrixArrayConditionCellData[10]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[10]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[10]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 10'; Visible = Visible10; } field(Field10_Desc; MatrixArrayConditionDescriptionCellData[10]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[10]); ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 10'; Visible = Visible10; } @@ -322,7 +322,8 @@ page 20401 "Qlty. Tests" Visible8: Boolean; Visible9: Boolean; Visible10: Boolean; - DescriptionLbl: Label 'Description'; + DescriptionLbl: Label '%1 Description', Comment = '%1 = Matrix field caption'; + ConditionLbl: Label '%1 Condition', Comment = '%1 = Matrix field caption'; trigger OnOpenPage() begin diff --git a/src/Apps/W1/Quality Management/app/src/Document/QltyInspectionSubform.Page.al b/src/Apps/W1/Quality Management/app/src/Document/QltyInspectionSubform.Page.al index 4e5a7163c8..d32e748996 100644 --- a/src/Apps/W1/Quality Management/app/src/Document/QltyInspectionSubform.Page.al +++ b/src/Apps/W1/Quality Management/app/src/Document/QltyInspectionSubform.Page.al @@ -85,14 +85,14 @@ page 20407 "Qlty. Inspection Subform" } field(Field1; MatrixArrayConditionCellData[1]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[1]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[1]); Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Visible = false; } field(Field1_Desc; MatrixArrayConditionDescriptionCellData[1]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[1] + ' Description'; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[1]); Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 1'; Visible = Visible1; @@ -100,126 +100,126 @@ page 20407 "Qlty. Inspection Subform" field(Field2; MatrixArrayConditionCellData[2]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[2]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[2]); Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 2'; Visible = false; } field(Field2_Desc; MatrixArrayConditionDescriptionCellData[2]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[2] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[2]); Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 2'; Visible = Visible2; } field(Field3; MatrixArrayConditionCellData[3]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[3]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[3]); Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Visible = false; } field(Field3_Desc; MatrixArrayConditionDescriptionCellData[3]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[3] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[3]); Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 3'; Visible = Visible3; } field(Field4; MatrixArrayConditionCellData[4]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[4]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[4]); Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 4'; Visible = false; } field(Field4_Desc; MatrixArrayConditionDescriptionCellData[4]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[4] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[4]); Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 4'; Visible = Visible4; } field(Field5; MatrixArrayConditionCellData[5]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[5]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[5]); Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 5'; Visible = false; } field(Field5_Desc; MatrixArrayConditionDescriptionCellData[5]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[5] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[5]); Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 5'; Visible = Visible5; } field(Field6; MatrixArrayConditionCellData[6]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[6]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[6]); Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 6'; Visible = false; } field(Field6_Desc; MatrixArrayConditionDescriptionCellData[6]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[6] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[6]); Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 6'; Visible = Visible6; } field(Field7; MatrixArrayConditionCellData[7]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[7]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[7]); Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 7'; Visible = false; } field(Field7_Desc; MatrixArrayConditionDescriptionCellData[7]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[7] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[7]); Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 7'; Visible = Visible7; } field(Field8; MatrixArrayConditionCellData[8]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[8]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[8]); Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 8'; Visible = false; } field(Field8_Desc; MatrixArrayConditionDescriptionCellData[8]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[8] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[8]); Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 8'; Visible = Visible8; } field(Field9; MatrixArrayConditionCellData[9]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[9]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[9]); Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 9'; Visible = false; } field(Field9_Desc; MatrixArrayConditionDescriptionCellData[9]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[9] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[9]); Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 9'; Visible = Visible9; } field(Field10; MatrixArrayConditionCellData[10]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[10]; + CaptionClass = '3,' + StrSubstNo(ConditionLbl, MatrixArrayCaptionSet[10]); Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 10'; Visible = false; } field(Field10_Desc; MatrixArrayConditionDescriptionCellData[10]) { - CaptionClass = '3,' + MatrixArrayCaptionSet[10] + ' ' + DescriptionLbl; + CaptionClass = '3,' + StrSubstNo(DescriptionLbl, MatrixArrayCaptionSet[10]); Editable = false; ToolTip = 'Specifies a test condition for a promoted result. This is dynamic based on the promoted results, this is result condition 10'; Visible = Visible10; @@ -295,7 +295,8 @@ page 20407 "Qlty. Inspection Subform" RowStyle: Option None,Standard,StandardAccent,Strong,StrongAccent,Attention,AttentionAccent,Favorable,Unfavorable,Ambiguous,Subordinate; RowStyleText: Text; CurrentSelectedInspectionLineTok: Label 'CurrentSelectedInspectionLine', Locked = true; - DescriptionLbl: Label 'Description'; + DescriptionLbl: Label '%1 Description', Comment = '%1 = Matrix field caption'; + ConditionLbl: Label '%1 Condition', Comment = '%1 = Matrix field caption'; trigger OnOpenPage() begin