Codeunit 2679 Purchase Alloc. Acc. Mgt.

Base Application, Microsoft.Finance.AllocationAccount.Purchase

Source AL, 847 lines

src/Layers/W1/BaseApp/Finance/AllocationAccount/Purchase/PurchaseAllocAccMgt.Codeunit.allines 20 to 35 of 847, Copyright (c) Microsoft Corporation. MIT

codeunit 2679 "Purchase Alloc. Acc. Mgt."{    internal procedure GetOrGenerateAllocationLines(var AllocationLine: Record "Allocation Line"; var ParentSystemId: Guid)    var        AmountToAllocate: Decimal;        PostingDate: Date;    begin        GetOrGenerateAllocationLines(AllocationLine, ParentSystemId, AmountToAllocate, PostingDate);    end;    internal procedure GetOrGenerateAllocationLines(var AllocationLine: Record "Allocation Line"; var ParentSystemId: Guid; var AmountToAllocate: Decimal; var PostingDate: Date)    var        PurchaseLine: Record "Purchase Line";        AllocationAccount: Record "Allocation Account";        AllocationAccountMgt: Codeunit "Allocation Account Mgt.";    begin

All 847 lines

Events 3 in 29

[IntegrationEvent] OnBeforeCreatePurchaseLine(var PurchaseLine: Record "Purchase Line"; var AllocationLine: Record "Allocation Line"; var AllocationPurchaseLine: Record "Purchase Line")new in 23
[IntegrationEvent] OnBeforeVerifyPurchaseLine(var PurchaseLine: Record "Purchase Line")new in 23
[IntegrationEvent] OnLoadManualAllocationLinesOnBeforeInsertAllocationLine(var AllocAccManualOverride: Record "Alloc. Acc. Manual Override"; var AllocationLine: Record "Allocation Line")new in 27

Public procedures 3 in 29

CreateLinesFromAllocationAccountLine(var AllocationAccountPurchaseLine: Record "Purchase Line")new in 23
VerifySelectedAllocationAccountNo(var PurchaseLine: Record "Purchase Line")new in 23changed in 24
TransferDimensionSetID(var PurchaseLine: Record "Purchase Line"; var AllocationLine: Record "Allocation Line"; ModifiedByUser: Boolean)new in 24

All 7 procedures in 23-29

Changes 1 in 27

List17181920212223242526272829
Procedures2
Events1
[IntegrationEvent] OnLoadManualAllocationLinesOnBeforeInsertAllocationLine(var AllocAccManualOverride: Record "Alloc. Acc. Manual Override"; var AllocationLine: Record "Allocation Line")new in 27
added

All 3 changes in 23-29