Codeunit "Posting Group Change"
ID 960
Namespace: Microsoft.Finance.ReceivablesPayables
Implements
Methods
ChangePostingGroup
procedure ChangePostingGroup(NewPostingGroup: Code[20], OldPostingGroup: Code[20], SourceRecordVar: Variant)
Parameters
Name
Type
Description
NewPostingGroup
Code[20]
OldPostingGroup
Code[20]
SourceRecordVar
Variant
CheckCustomerPostingGroupSubstSetup
procedure CheckCustomerPostingGroupSubstSetup(NewPostingGroup: Code[20], OldPostingGroup: Code[20])
Parameters
Name
Type
Description
NewPostingGroup
Code[20]
OldPostingGroup
Code[20]
CheckVendorPostingGroupSubstSetup
procedure CheckVendorPostingGroupSubstSetup(NewPostingGroup: Code[20], OldPostingGroup: Code[20])
Parameters
Name
Type
Description
NewPostingGroup
Code[20]
OldPostingGroup
Code[20]
CheckEmployeePostingGroupSubstSetup
procedure CheckEmployeePostingGroupSubstSetup(NewPostingGroup: Code[20], OldPostingGroup: Code[20])
Parameters
Name
Type
Description
NewPostingGroup
Code[20]
OldPostingGroup
Code[20]
CheckAllowChangeSalesSetup
procedure CheckAllowChangeSalesSetup()
CheckAllowChangeServiceSetup
Obsolete
This element will become obsolete from version 25.0. Replaced by procedure CheckAllowChangeServiceSetup() in codeunit "Serv. Posting Group Change"
[Obsolete(Replaced by procedure CheckAllowChangeServiceSetup() in codeunit "Serv. Posting Group Change",25.0)]
procedure CheckAllowChangeServiceSetup()
CheckAllowChangePurchaseSetup
procedure CheckAllowChangePurchaseSetup()
CheckAllowChangeHRSetup
procedure CheckAllowChangeHRSetup()
HasCustomerSamePostingGroup
procedure HasCustomerSamePostingGroup(NewPostingGroup: Code[20], CustomerNo: Code[20]): Boolean
Parameters
Name
Type
Description
NewPostingGroup
Code[20]
CustomerNo
Code[20]
Returns
HasVendorSamePostingGroup
procedure HasVendorSamePostingGroup(NewPostingGroup: Code[20], VendorNo: Code[20]): Boolean
Parameters
Name
Type
Description
NewPostingGroup
Code[20]
VendorNo
Code[20]
Returns
HasEmployeeSamePostingGroup
procedure HasEmployeeSamePostingGroup(NewPostingGroup: Code[20], EmployeeNo: Code[20]): Boolean
Parameters
Name
Type
Description
NewPostingGroup
Code[20]
EmployeeNo
Code[20]
Returns
Events
OnAfterChangePostingGroup
[IntegrationEvent(False,False)]
local procedure OnAfterChangePostingGroup(SourceRecordRef: RecordRef, NewPostingGroup: Code[20], OldPostingGroup: Code[20])
Parameters
Name
Type
Description
SourceRecordRef
RecordRef
NewPostingGroup
Code[20]
OldPostingGroup
Code[20]
See also