Codeunit 2674 Alloc. Acc. Handle Doc. Post
Source AL, 75 lines
src/Layers/W1/BaseApp/Finance/AllocationAccount/AllocAccHandleDocPost.Codeunit.allines 15 to 30 of 75, Copyright (c) Microsoft Corporation. MIT
codeunit 2674 "Alloc. Acc. Handle Doc. Post"{ EventSubscriberInstance = Manual; [EventSubscriber(ObjectType::Table, Database::"Sales Line", 'OnBeforeValidateVATProdPostingGroup', '', false, false)] local procedure SalesBeforeValidateVATProdPostingGroup(var IsHandled: Boolean; var SalesLine: Record "Sales Line") begin if VATBusPostingGroupCode <> '' then SalesLine."VAT Bus. Posting Group" := VATBusPostingGroupCode; end; [EventSubscriber(ObjectType::Table, Database::"Sales Line", 'OnBeforeValidateVATProdPostingGroupTrigger', '', false, false)] local procedure SalesBeforeValidateVATProdPostingGroupTrigger(var SalesLine: Record "Sales Line"; xSalesLine: Record "Sales Line"; CurrentFieldNo: Integer; var IsHandled: Boolean) begin if VATProdPostingGroupCode <> '' then SalesLine."VAT Prod. Posting Group" := VATProdPostingGroupCode;Public procedures 2 in 29
| Set | new in 23 |
| Set | new in 23 |