Codeunit "Purchase Alloc. Acc. Mgt."

ID 2679
Namespace: Microsoft.Finance.AllocationAccount.Purchase

Methods

CreateLinesFromAllocationAccountLine

procedure CreateLinesFromAllocationAccountLine(var AllocationAccountPurchaseLine: Record "Purchase Line")

Parameters

Name Type Description
AllocationAccountPurchaseLine Table Microsoft.Purchases.Document."Purchase Line"

TransferDimensionSetID

procedure TransferDimensionSetID(var PurchaseLine: Record "Purchase Line", var AllocationLine: Record "Allocation Line" temporary, ModifiedByUser: Boolean)

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
AllocationLine Table Microsoft.Finance.AllocationAccount."Allocation Line"
ModifiedByUser Boolean

VerifySelectedAllocationAccountNo

procedure VerifySelectedAllocationAccountNo(var PurchaseLine: Record "Purchase Line")

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"

Events

OnBeforeCreatePurchaseLine

[IntegrationEvent(False,False)]
local procedure OnBeforeCreatePurchaseLine(var PurchaseLine: Record "Purchase Line", var AllocationLine: Record "Allocation Line" temporary, var AllocationPurchaseLine: Record "Purchase Line")

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
AllocationLine Table Microsoft.Finance.AllocationAccount."Allocation Line"
AllocationPurchaseLine Table Microsoft.Purchases.Document."Purchase Line"

OnBeforeVerifyPurchaseLine

[IntegrationEvent(False,False)]
local procedure OnBeforeVerifyPurchaseLine(var PurchaseLine: Record "Purchase Line")

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"

See also