From e5deaffff58dee5062436ef93a7b7d9b687024a8 Mon Sep 17 00:00:00 2001 From: v-dhavalmore Date: Tue, 17 Feb 2026 18:34:13 +0530 Subject: [PATCH] Changes --- .../Pages/CustomerContractLineSubp.Page.al | 5 +++++ .../Vendor Contracts/Pages/VendorContractLineSubpage.Page.al | 5 +++++ 2 files changed, 10 insertions(+) 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 bb4b9b904e..4e367daa87 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 @@ -132,6 +132,11 @@ page 8068 "Customer Contract Line Subp." field("Service Commitment Description"; Rec."Subscription Line Description") { ToolTip = 'Specifies the description of the Subscription Line.'; + trigger OnValidate() + begin + if not Rec.IsCommentLine() then + CurrPage.Update(false); + end; } field("Service Object Quantity"; ContractLineQty) { 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 956aad2918..871b25f096 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 @@ -117,6 +117,11 @@ page 8078 "Vendor Contract Line Subpage" field("Service Commitment Description"; Rec."Subscription Line Description") { ToolTip = 'Specifies the description of the Subscription Line.'; + trigger OnValidate() + begin + if not Rec.IsCommentLine() then + CurrPage.Update(false); + end; } field("Service Object Quantity"; ServiceCommitment.Quantity) {