diff --git a/src/Apps/W1/Subscription Billing/App/Vendor Contracts/Tables/VendorSubscriptionContract.Table.al b/src/Apps/W1/Subscription Billing/App/Vendor Contracts/Tables/VendorSubscriptionContract.Table.al index dbcdb0c6a69..fca862678d5 100644 --- a/src/Apps/W1/Subscription Billing/App/Vendor Contracts/Tables/VendorSubscriptionContract.Table.al +++ b/src/Apps/W1/Subscription Billing/App/Vendor Contracts/Tables/VendorSubscriptionContract.Table.al @@ -961,7 +961,13 @@ table 8063 "Vendor Subscription Contract" if NewParentDimSetID = OldParentDimSetID then exit; - if not ConfirmManagement.GetResponse(UpdateDimensionsOnLinesQst, true) then + OnBeforeConfirmUpdateAllLineDim(Rec, Confirmed, IsHandled); + if not IsHandled then + if GetHideValidationDialog() or not GuiAllowed then + Confirmed := true + else + Confirmed := ConfirmManagement.GetResponse(UpdateDimensionsOnLinesQst, true); + if not Confirmed then exit; ServiceCommitment.Reset(); @@ -1785,6 +1791,11 @@ table 8063 "Vendor Subscription Contract" begin end; + [IntegrationEvent(false, false)] + local procedure OnBeforeConfirmUpdateAllLineDim(var VendorSubscriptionContract: Record "Vendor Subscription Contract"; var Confirmed: Boolean; var IsHandled: Boolean) + begin + end; + [IntegrationEvent(false, false)] local procedure OnBeforeCreateDim(var VendorSubscriptionContract: Record "Vendor Subscription Contract"; var IsHandled: Boolean) begin