Source AL, 248 lines
src/Layers/W1/BaseApp/Finance/ReceivablesPayables/PostingGroupChange.Codeunit.allines 28 to 43 of 248, Copyright (c) Microsoft Corporation. MIT
codeunit 960 "Posting Group Change" implements "Posting Group Change Method"{ var CannotChangePostingGroupErr: Label 'You cannot change the value %1 to %2 because %3 has not been filled in.', Comment = '%1 = old posting group; %2 = new posting group; %3 = tablecaption of Subst. Vendor/Customer Posting Group'; /// <summary> /// Changes posting group with validation based on document type and substitute posting group setup. /// </summary> /// <param name="NewPostingGroup">New posting group code to apply</param> /// <param name="OldPostingGroup">Current posting group code</param> /// <param name="SourceRecordVar">Source record variant containing the posting group field</param> procedure ChangePostingGroup(NewPostingGroup: Code[20]; OldPostingGroup: Code[20]; SourceRecordVar: Variant) var SourceRecordRef: RecordRef; begin if OldPostingGroup = NewPostingGroup then
All 248 lines
Events 1 in 29
| [IntegrationEvent] OnAfterChangePostingGroup(SourceRecordRef: RecordRef; NewPostingGroup: Code[20]; OldPostingGroup: Code[20]) | new in 25 |
Public procedures 10 in 29
All 11 procedures in 22-29
Changes 1 in 28
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Procedures | | | | | | | | | 1 | | 4 | 1 | |
|---|
| Events | | | | | | | | | 1 | | | | |
|---|
All 7 changes in 22-29