diff --git a/src/Apps/W1/Subscription Billing/App/Contract Renewal/Pages/ContractRenewalSelection.Page.al b/src/Apps/W1/Subscription Billing/App/Contract Renewal/Pages/ContractRenewalSelection.Page.al index 83f954b201..45ce17eaf8 100644 --- a/src/Apps/W1/Subscription Billing/App/Contract Renewal/Pages/ContractRenewalSelection.Page.al +++ b/src/Apps/W1/Subscription Billing/App/Contract Renewal/Pages/ContractRenewalSelection.Page.al @@ -224,6 +224,8 @@ page 8006 "Contract Renewal Selection" StyleExpr = LineFormatStyleExpression; ToolTip = 'Specifies the base amount from which the price will be calculated.'; BlankZero = true; + AutoFormatType = 2; + AutoFormatExpression = TempServiceCommitment."Currency Code"; } field("Calculation Base %"; TempServiceCommitment."Calculation Base %") { diff --git a/src/Apps/W1/Subscription Billing/App/Contract Renewal/Tables/PlannedSubscriptionLine.Table.al b/src/Apps/W1/Subscription Billing/App/Contract Renewal/Tables/PlannedSubscriptionLine.Table.al index 609c7df913..a198cdca12 100644 --- a/src/Apps/W1/Subscription Billing/App/Contract Renewal/Tables/PlannedSubscriptionLine.Table.al +++ b/src/Apps/W1/Subscription Billing/App/Contract Renewal/Tables/PlannedSubscriptionLine.Table.al @@ -73,7 +73,7 @@ table 8002 "Planned Subscription Line" Caption = 'Calculation Base Amount'; MinValue = 0; BlankZero = true; - AutoFormatType = 1; + AutoFormatType = 2; AutoFormatExpression = Rec."Currency Code"; trigger OnValidate() diff --git a/src/Apps/W1/Subscription Billing/App/ContractAnalysis/SubContrAnalysisEntry.Table.al b/src/Apps/W1/Subscription Billing/App/ContractAnalysis/SubContrAnalysisEntry.Table.al index ecf92274eb..3a43e7bbfa 100644 --- a/src/Apps/W1/Subscription Billing/App/ContractAnalysis/SubContrAnalysisEntry.Table.al +++ b/src/Apps/W1/Subscription Billing/App/ContractAnalysis/SubContrAnalysisEntry.Table.al @@ -56,7 +56,7 @@ table 8019 "Sub. Contr. Analysis Entry" Caption = 'Calculation Base Amount'; MinValue = 0; BlankZero = true; - AutoFormatType = 1; + AutoFormatType = 2; AutoFormatExpression = Rec."Currency Code"; } field(10; "Calculation Base %"; Decimal) @@ -198,7 +198,7 @@ table 8019 "Sub. Contr. Analysis Entry" Caption = 'Calculation Base Amount (LCY)'; Editable = false; BlankZero = true; - AutoFormatType = 1; + AutoFormatType = 2; AutoFormatExpression = ''; } field(38; Discount; Boolean) diff --git a/src/Apps/W1/Subscription Billing/App/Customer Contracts/Pages/ClosedCustContLineSubp.Page.al b/src/Apps/W1/Subscription Billing/App/Customer Contracts/Pages/ClosedCustContLineSubp.Page.al index bd7379e118..e159bba5d6 100644 --- a/src/Apps/W1/Subscription Billing/App/Customer Contracts/Pages/ClosedCustContLineSubp.Page.al +++ b/src/Apps/W1/Subscription Billing/App/Customer Contracts/Pages/ClosedCustContLineSubp.Page.al @@ -108,6 +108,8 @@ page 8080 "Closed Cust. Cont. Line Subp." ToolTip = 'Specifies the base amount from which the price will be calculated.'; BlankZero = true; Editable = false; + AutoFormatType = 2; + AutoFormatExpression = ServiceCommitment."Currency Code"; } field("Calculation Base %"; ServiceCommitment."Calculation Base %") { @@ -116,6 +118,8 @@ page 8080 "Closed Cust. Cont. Line Subp." ToolTip = 'Specifies the percent at which the price of the Subscription Line will be calculated. 100% means that the price corresponds to the Base Price.'; BlankZero = true; Editable = false; + DecimalPlaces = 0 : 5; + AutoFormatType = 0; } field(Price; ServiceCommitment.Price) { @@ -123,6 +127,8 @@ page 8080 "Closed Cust. Cont. Line Subp." ToolTip = 'Specifies the price of the Subscription Line with quantity of 1 in the billing period. The price is calculated from Base Price and Base Price %.'; Editable = false; BlankZero = true; + AutoFormatType = 2; + AutoFormatExpression = ServiceCommitment."Currency Code"; } field("Price (LCY)"; ServiceCommitment."Price (LCY)") { @@ -131,6 +137,8 @@ page 8080 "Closed Cust. Cont. Line Subp." Visible = false; BlankZero = true; Editable = false; + AutoFormatType = 2; + AutoFormatExpression = ''; } field("Discount %"; ServiceCommitment."Discount %") { @@ -140,6 +148,8 @@ page 8080 "Closed Cust. Cont. Line Subp." MinValue = 0; MaxValue = 100; Editable = false; + DecimalPlaces = 0 : 5; + AutoFormatType = 0; } field("Discount Amount"; ServiceCommitment."Discount Amount") { @@ -148,6 +158,8 @@ page 8080 "Closed Cust. Cont. Line Subp." BlankZero = true; MinValue = 0; Editable = false; + AutoFormatType = 1; + AutoFormatExpression = ServiceCommitment."Currency Code"; } field("Discount Amount (LCY)"; ServiceCommitment."Discount Amount (LCY)") { @@ -163,6 +175,8 @@ page 8080 "Closed Cust. Cont. Line Subp." ToolTip = 'Specifies the amount for the Subscription Line including discount.'; BlankZero = true; Editable = false; + AutoFormatType = 1; + AutoFormatExpression = ''; } field("Service Amount (LCY)"; ServiceCommitment."Amount (LCY)") { @@ -171,6 +185,8 @@ page 8080 "Closed Cust. Cont. Line Subp." Visible = false; BlankZero = true; Editable = false; + AutoFormatType = 1; + AutoFormatExpression = ''; } field("Billing Base Period"; ServiceCommitment."Billing Base Period") { @@ -261,6 +277,8 @@ page 8080 "Closed Cust. Cont. Line Subp." Visible = false; BlankZero = true; Editable = false; + DecimalPlaces = 0 : 15; + AutoFormatType = 0; } field("Currency Factor Date"; ServiceCommitment."Currency Factor Date") { diff --git a/src/Apps/W1/Subscription Billing/App/Customer Contracts/Pages/CustomerContractLineSubp.Page.al b/src/Apps/W1/Subscription Billing/App/Customer Contracts/Pages/CustomerContractLineSubp.Page.al index e62b043835..d8d23eff27 100644 --- a/src/Apps/W1/Subscription Billing/App/Customer Contracts/Pages/CustomerContractLineSubp.Page.al +++ b/src/Apps/W1/Subscription Billing/App/Customer Contracts/Pages/CustomerContractLineSubp.Page.al @@ -144,6 +144,8 @@ page 8068 "Customer Contract Line Subp." BlankZero = true; Editable = not IsCommentLineEditable; Enabled = not IsCommentLineEditable; + AutoFormatType = 2; + AutoFormatExpression = ServiceCommitment."Currency Code"; trigger OnValidate() begin @@ -158,6 +160,8 @@ page 8068 "Customer Contract Line Subp." BlankZero = true; Editable = not IsCommentLineEditable; Enabled = not IsCommentLineEditable; + DecimalPlaces = 0 : 5; + AutoFormatType = 0; trigger OnValidate() begin @@ -167,6 +171,9 @@ page 8068 "Customer Contract Line Subp." field("Unit Cost (LCY)"; ServiceCommitment."Unit Cost (LCY)") { ToolTip = 'Specifies the unit cost of the item.'; + AutoFormatType = 2; + AutoFormatExpression = ''; + trigger OnValidate() begin UpdateServiceCommitmentOnPage(ServiceCommitment.FieldNo("Unit Cost (LCY)")); @@ -178,6 +185,8 @@ page 8068 "Customer Contract Line Subp." ToolTip = 'Specifies the price of the Subscription Line with quantity of 1 in the billing period. The price is calculated from Base Price and Base Price %.'; Editable = false; BlankZero = true; + AutoFormatType = 2; + AutoFormatExpression = ServiceCommitment."Currency Code"; } field("Price (LCY)"; ServiceCommitment."Price (LCY)") { @@ -187,6 +196,8 @@ page 8068 "Customer Contract Line Subp." BlankZero = true; Editable = not IsCommentLineEditable; Enabled = not IsCommentLineEditable; + AutoFormatType = 2; + AutoFormatExpression = ''; trigger OnValidate() begin @@ -202,6 +213,8 @@ page 8068 "Customer Contract Line Subp." MaxValue = 100; Editable = (not IsCommentLineEditable) and (not IsDiscountLine); Enabled = (not IsCommentLineEditable) and (not IsDiscountLine); + DecimalPlaces = 0 : 5; + AutoFormatType = 0; trigger OnValidate() begin @@ -216,6 +229,8 @@ page 8068 "Customer Contract Line Subp." MinValue = 0; Editable = (not IsCommentLineEditable) and (not IsDiscountLine); Enabled = (not IsCommentLineEditable) and (not IsDiscountLine); + AutoFormatType = 1; + AutoFormatExpression = ServiceCommitment."Currency Code"; trigger OnValidate() begin @@ -230,6 +245,9 @@ page 8068 "Customer Contract Line Subp." BlankZero = true; Editable = (not IsCommentLineEditable) and (not IsDiscountLine); Enabled = (not IsCommentLineEditable) and (not IsDiscountLine); + AutoFormatType = 1; + AutoFormatExpression = ''; + trigger OnValidate() begin UpdateServiceCommitmentOnPage(ServiceCommitment.FieldNo("Discount Amount (LCY)")); @@ -242,6 +260,8 @@ page 8068 "Customer Contract Line Subp." BlankZero = true; Editable = not IsCommentLineEditable; Enabled = not IsCommentLineEditable; + AutoFormatType = 1; + AutoFormatExpression = ServiceCommitment."Currency Code"; trigger OnValidate() begin @@ -256,6 +276,8 @@ page 8068 "Customer Contract Line Subp." BlankZero = true; Editable = not IsCommentLineEditable; Enabled = not IsCommentLineEditable; + AutoFormatType = 1; + AutoFormatExpression = ''; trigger OnValidate() begin @@ -430,6 +452,8 @@ page 8068 "Customer Contract Line Subp." BlankZero = true; Editable = not IsCommentLineEditable; Enabled = not IsCommentLineEditable; + DecimalPlaces = 0 : 15; + AutoFormatType = 0; trigger OnValidate() begin diff --git a/src/Apps/W1/Subscription Billing/App/Customer Contracts/Pages/CustomerContractLines.Page.al b/src/Apps/W1/Subscription Billing/App/Customer Contracts/Pages/CustomerContractLines.Page.al index 5a4212cec1..bef3133088 100644 --- a/src/Apps/W1/Subscription Billing/App/Customer Contracts/Pages/CustomerContractLines.Page.al +++ b/src/Apps/W1/Subscription Billing/App/Customer Contracts/Pages/CustomerContractLines.Page.al @@ -90,6 +90,8 @@ page 8075 "Customer Contract Lines" ToolTip = 'Specifies the price of the Subscription Line with quantity of 1 in the billing period. The price is calculated from Base Price and Base Price %.'; Editable = false; BlankZero = true; + AutoFormatType = 2; + AutoFormatExpression = ServiceCommitment."Currency Code"; } field("Discount %"; ServiceCommitment."Discount %") { @@ -106,12 +108,16 @@ page 8075 "Customer Contract Lines" ToolTip = 'Specifies the amount of the discount for the Subscription Line.'; BlankZero = true; MinValue = 0; + AutoFormatType = 1; + AutoFormatExpression = ServiceCommitment."Currency Code"; } field("Service Amount"; ServiceCommitment.Amount) { Caption = 'Amount'; ToolTip = 'Specifies the amount for the Subscription Line including discount.'; BlankZero = true; + AutoFormatType = 1; + AutoFormatExpression = ServiceCommitment."Currency Code"; } field("Next Billing Date"; ServiceCommitment."Next Billing Date") { @@ -126,6 +132,8 @@ page 8075 "Customer Contract Lines" Caption = 'Calculation Base Amount'; ToolTip = 'Specifies the base amount from which the price will be calculated.'; BlankZero = true; + AutoFormatType = 2; + AutoFormatExpression = ServiceCommitment."Currency Code"; } field("Calculation Base %"; ServiceCommitment."Calculation Base %") { @@ -133,6 +141,8 @@ page 8075 "Customer Contract Lines" Caption = 'Calculation Base %'; ToolTip = 'Specifies the percent at which the price of the Subscription Line will be calculated. 100% means that the price corresponds to the Base Price.'; BlankZero = true; + DecimalPlaces = 0 : 5; + AutoFormatType = 0; } field("Billing Base Period"; ServiceCommitment."Billing Base Period") { diff --git a/src/Apps/W1/Subscription Billing/App/Import/Tables/ImportedSubscriptionLine.Table.al b/src/Apps/W1/Subscription Billing/App/Import/Tables/ImportedSubscriptionLine.Table.al index 91c536a852..14a6d25c6a 100644 --- a/src/Apps/W1/Subscription Billing/App/Import/Tables/ImportedSubscriptionLine.Table.al +++ b/src/Apps/W1/Subscription Billing/App/Import/Tables/ImportedSubscriptionLine.Table.al @@ -82,7 +82,7 @@ table 8009 "Imported Subscription Line" Caption = 'Calculation Base Amount'; MinValue = 0; BlankZero = true; - AutoFormatType = 1; + AutoFormatType = 2; AutoFormatExpression = Rec."Currency Code"; } field(16; "Calculation Base %"; Decimal) diff --git a/src/Apps/W1/Subscription Billing/App/Sales Service Commitments/Tables/SalesSubLineArchive.Table.al b/src/Apps/W1/Subscription Billing/App/Sales Service Commitments/Tables/SalesSubLineArchive.Table.al index f848be33d5..c80381684b 100644 --- a/src/Apps/W1/Subscription Billing/App/Sales Service Commitments/Tables/SalesSubLineArchive.Table.al +++ b/src/Apps/W1/Subscription Billing/App/Sales Service Commitments/Tables/SalesSubLineArchive.Table.al @@ -70,7 +70,7 @@ table 8069 "Sales Sub. Line Archive" Caption = 'Calculation Base Amount'; MinValue = 0; BlankZero = true; - AutoFormatType = 1; + AutoFormatType = 2; AutoFormatExpression = Rec."Currency Code"; } field(16; "Calculation Base %"; Decimal) @@ -95,7 +95,7 @@ table 8069 "Sales Sub. Line Archive" MinValue = 0; MaxValue = 100; BlankZero = true; - DecimalPlaces = 0 : 2; + DecimalPlaces = 0 : 5; AutoFormatType = 0; } field(19; "Discount Amount"; Decimal) diff --git a/src/Apps/W1/Subscription Billing/App/Sales Service Commitments/Tables/SalesSubscriptionLine.Table.al b/src/Apps/W1/Subscription Billing/App/Sales Service Commitments/Tables/SalesSubscriptionLine.Table.al index 64a96afc33..3bc5f64f86 100644 --- a/src/Apps/W1/Subscription Billing/App/Sales Service Commitments/Tables/SalesSubscriptionLine.Table.al +++ b/src/Apps/W1/Subscription Billing/App/Sales Service Commitments/Tables/SalesSubscriptionLine.Table.al @@ -82,7 +82,7 @@ table 8068 "Sales Subscription Line" Caption = 'Calculation Base Amount'; MinValue = 0; BlankZero = true; - AutoFormatType = 1; + AutoFormatType = 2; AutoFormatExpression = Rec."Currency Code"; trigger OnValidate() diff --git a/src/Apps/W1/Subscription Billing/App/Service Commitments/Tables/SubscriptionLine.Table.al b/src/Apps/W1/Subscription Billing/App/Service Commitments/Tables/SubscriptionLine.Table.al index e5b3264594..41ae6a970a 100644 --- a/src/Apps/W1/Subscription Billing/App/Service Commitments/Tables/SubscriptionLine.Table.al +++ b/src/Apps/W1/Subscription Billing/App/Service Commitments/Tables/SubscriptionLine.Table.al @@ -83,7 +83,7 @@ table 8059 "Subscription Line" Caption = 'Calculation Base Amount'; MinValue = 0; BlankZero = true; - AutoFormatType = 1; + AutoFormatType = 2; AutoFormatExpression = Rec."Currency Code"; trigger OnValidate() diff --git a/src/Apps/W1/Subscription Billing/App/Service Commitments/Tables/SubscriptionLineArchive.Table.al b/src/Apps/W1/Subscription Billing/App/Service Commitments/Tables/SubscriptionLineArchive.Table.al index a15f5dcc40..352c232309 100644 --- a/src/Apps/W1/Subscription Billing/App/Service Commitments/Tables/SubscriptionLineArchive.Table.al +++ b/src/Apps/W1/Subscription Billing/App/Service Commitments/Tables/SubscriptionLineArchive.Table.al @@ -65,7 +65,7 @@ table 8073 "Subscription Line Archive" Caption = 'Calculation Base Amount'; MinValue = 0; BlankZero = true; - AutoFormatType = 1; + AutoFormatType = 2; AutoFormatExpression = Rec."Currency Code"; } field(12; "Calculation Base %"; Decimal) diff --git a/src/Apps/W1/Subscription Billing/App/Vendor Contracts/Pages/ClosedVendContLineSubp.Page.al b/src/Apps/W1/Subscription Billing/App/Vendor Contracts/Pages/ClosedVendContLineSubp.Page.al index 4519464f79..d29afce8b2 100644 --- a/src/Apps/W1/Subscription Billing/App/Vendor Contracts/Pages/ClosedVendContLineSubp.Page.al +++ b/src/Apps/W1/Subscription Billing/App/Vendor Contracts/Pages/ClosedVendContLineSubp.Page.al @@ -94,6 +94,8 @@ page 8089 "Closed Vend. Cont. Line Subp." { Editable = false; ToolTip = 'Specifies the number of units of Subscription.'; + AutoFormatType = 0; + DecimalPlaces = 0 : 5; trigger OnDrillDown() begin @@ -107,6 +109,8 @@ page 8089 "Closed Vend. Cont. Line Subp." ToolTip = 'Specifies the base amount from which the price will be calculated.'; BlankZero = true; Editable = false; + AutoFormatType = 2; + AutoFormatExpression = ServiceCommitment."Currency Code"; } field("Calculation Base %"; ServiceCommitment."Calculation Base %") { @@ -122,6 +126,8 @@ page 8089 "Closed Vend. Cont. Line Subp." ToolTip = 'Specifies the price of the Subscription Line with quantity of 1 in the billing period. The price is calculated from Base Price and Base Price %.'; Editable = false; BlankZero = true; + AutoFormatType = 2; + AutoFormatExpression = ServiceCommitment."Currency Code"; } field("Price (LCY)"; ServiceCommitment."Price (LCY)") { @@ -130,6 +136,8 @@ page 8089 "Closed Vend. Cont. Line Subp." Visible = false; BlankZero = true; Editable = false; + AutoFormatType = 2; + AutoFormatExpression = ServiceCommitment."Currency Code"; } field("Discount %"; ServiceCommitment."Discount %") { @@ -139,6 +147,8 @@ page 8089 "Closed Vend. Cont. Line Subp." MinValue = 0; MaxValue = 100; Editable = false; + AutoFormatType = 1; + AutoFormatExpression = ServiceCommitment."Currency Code"; } field("Discount Amount"; ServiceCommitment."Discount Amount") { @@ -147,6 +157,8 @@ page 8089 "Closed Vend. Cont. Line Subp." BlankZero = true; MinValue = 0; Editable = false; + AutoFormatType = 1; + AutoFormatExpression = ServiceCommitment."Currency Code"; } field("Discount Amount (LCY)"; ServiceCommitment."Discount Amount (LCY)") { @@ -155,6 +167,8 @@ page 8089 "Closed Vend. Cont. Line Subp." Visible = false; BlankZero = true; Editable = false; + AutoFormatType = 1; + AutoFormatExpression = ''; } field("Service Amount"; ServiceCommitment.Amount) { @@ -162,6 +176,8 @@ page 8089 "Closed Vend. Cont. Line Subp." ToolTip = 'Specifies the amount for the Subscription Line including discount.'; BlankZero = true; Editable = false; + AutoFormatType = 1; + AutoFormatExpression = ServiceCommitment."Currency Code"; } field("Service Amount (LCY)"; ServiceCommitment."Amount (LCY)") { @@ -170,6 +186,8 @@ page 8089 "Closed Vend. Cont. Line Subp." Visible = false; BlankZero = true; Editable = false; + AutoFormatType = 1; + AutoFormatExpression = ''; } field("Billing Base Period"; ServiceCommitment."Billing Base Period") { @@ -260,6 +278,8 @@ page 8089 "Closed Vend. Cont. Line Subp." Visible = false; BlankZero = true; Editable = false; + DecimalPlaces = 0 : 15; + AutoFormatType = 0; } field("Currency Factor Date"; ServiceCommitment."Currency Factor Date") { diff --git a/src/Apps/W1/Subscription Billing/App/Vendor Contracts/Pages/VendorContractLineSubpage.Page.al b/src/Apps/W1/Subscription Billing/App/Vendor Contracts/Pages/VendorContractLineSubpage.Page.al index ab52bcc987..7e4b20928a 100644 --- a/src/Apps/W1/Subscription Billing/App/Vendor Contracts/Pages/VendorContractLineSubpage.Page.al +++ b/src/Apps/W1/Subscription Billing/App/Vendor Contracts/Pages/VendorContractLineSubpage.Page.al @@ -122,6 +122,8 @@ page 8078 "Vendor Contract Line Subpage" { Caption = 'Quantity'; ToolTip = 'Specifies the number of units of Subscription.'; + AutoFormatType = 0; + DecimalPlaces = 0 : 5; trigger OnValidate() begin @@ -136,6 +138,8 @@ page 8078 "Vendor Contract Line Subpage" BlankZero = true; Editable = not IsCommentLineEditable; Enabled = not IsCommentLineEditable; + AutoFormatType = 2; + AutoFormatExpression = ServiceCommitment."Currency Code"; trigger OnValidate() begin @@ -150,6 +154,8 @@ page 8078 "Vendor Contract Line Subpage" BlankZero = true; Editable = not IsCommentLineEditable; Enabled = not IsCommentLineEditable; + AutoFormatType = 2; + AutoFormatExpression = ServiceCommitment."Currency Code"; trigger OnValidate() begin @@ -162,6 +168,8 @@ page 8078 "Vendor Contract Line Subpage" ToolTip = 'Specifies the price of the Subscription Line with quantity of 1 in the billing period. The price is calculated from Base Price and Base Price %.'; Editable = false; BlankZero = true; + AutoFormatType = 2; + AutoFormatExpression = ServiceCommitment."Currency Code"; } field("Price (LCY)"; ServiceCommitment."Price (LCY)") { @@ -171,6 +179,8 @@ page 8078 "Vendor Contract Line Subpage" BlankZero = true; Editable = not IsCommentLineEditable; Enabled = not IsCommentLineEditable; + AutoFormatType = 2; + AutoFormatExpression = ServiceCommitment."Currency Code"; trigger OnValidate() begin @@ -186,6 +196,8 @@ page 8078 "Vendor Contract Line Subpage" MaxValue = 100; Editable = (not IsCommentLineEditable) and (not IsDiscountLine); Enabled = (not IsCommentLineEditable) and (not IsDiscountLine); + DecimalPlaces = 0 : 5; + AutoFormatType = 0; trigger OnValidate() begin @@ -200,6 +212,8 @@ page 8078 "Vendor Contract Line Subpage" MinValue = 0; Editable = (not IsCommentLineEditable) and (not IsDiscountLine); Enabled = (not IsCommentLineEditable) and (not IsDiscountLine); + AutoFormatType = 1; + AutoFormatExpression = ServiceCommitment."Currency Code"; trigger OnValidate() begin @@ -214,6 +228,9 @@ page 8078 "Vendor Contract Line Subpage" BlankZero = true; Editable = (not IsCommentLineEditable) and (not IsDiscountLine); Enabled = (not IsCommentLineEditable) and (not IsDiscountLine); + AutoFormatType = 1; + AutoFormatExpression = ''; + trigger OnValidate() begin UpdateServiceCommitmentOnPage(ServiceCommitment.FieldNo("Discount Amount (LCY)")); @@ -226,6 +243,8 @@ page 8078 "Vendor Contract Line Subpage" BlankZero = true; Editable = not IsCommentLineEditable; Enabled = not IsCommentLineEditable; + AutoFormatType = 1; + AutoFormatExpression = ServiceCommitment."Currency Code"; trigger OnValidate() begin @@ -240,6 +259,8 @@ page 8078 "Vendor Contract Line Subpage" BlankZero = true; Editable = not IsCommentLineEditable; Enabled = not IsCommentLineEditable; + AutoFormatType = 1; + AutoFormatExpression = ''; trigger OnValidate() begin @@ -414,6 +435,8 @@ page 8078 "Vendor Contract Line Subpage" BlankZero = true; Editable = not IsCommentLineEditable; Enabled = not IsCommentLineEditable; + DecimalPlaces = 0 : 15; + AutoFormatType = 0; trigger OnValidate() begin