Codeunit "Allocation Account Mgt."

ID 2675
Namespace: Microsoft.Finance.AllocationAccount

Methods

UseAllocationAccountNoField

procedure UseAllocationAccountNoField(): Boolean

Returns

Type Description
Boolean

GenerateAllocationLines

procedure GenerateAllocationLines(var AllocationAccount: Record "Allocation Account", var AllocationLine: Record "Allocation Line" temporary, AmountToDistribute: Decimal, PostingDate: Date, ExistingDimensionSetId: Integer, CurrencyCode: Code[10])

Parameters

Name Type Description
AllocationAccount Table Microsoft.Finance.AllocationAccount."Allocation Account"
AllocationLine Table Microsoft.Finance.AllocationAccount."Allocation Line"
AmountToDistribute Decimal
PostingDate Date
ExistingDimensionSetId Integer
CurrencyCode Code[10]

VerifyNoInheritFromParentUsed

procedure VerifyNoInheritFromParentUsed(AccountNo: Code[20])

Parameters

Name Type Description
AccountNo Code[20]

Events

OnGenerateFixedAllocationLinesOnAfterInsertAllocationLine

[IntegrationEvent(False,False)]
local procedure OnGenerateFixedAllocationLinesOnAfterInsertAllocationLine(var AllocationLine: Record "Allocation Line" temporary, var AllocAccountDistibution: Record "Alloc. Account Distribution")

Parameters

Name Type Description
AllocationLine Table Microsoft.Finance.AllocationAccount."Allocation Line"
AllocAccountDistibution Table Microsoft.Finance.AllocationAccount."Alloc. Account Distribution"

OnGenerateVariableAllocationLinesOnAfterInsertAllocationLine

[IntegrationEvent(False,False)]
local procedure OnGenerateVariableAllocationLinesOnAfterInsertAllocationLine(var AllocationLine: Record "Allocation Line" temporary, var AllocAccountDistibution: Record "Alloc. Account Distribution")

Parameters

Name Type Description
AllocationLine Table Microsoft.Finance.AllocationAccount."Allocation Line"
AllocAccountDistibution Table Microsoft.Finance.AllocationAccount."Alloc. Account Distribution"

OnBeforeGenerateVariableAllocationLines

[IntegrationEvent(False,False)]
local procedure OnBeforeGenerateVariableAllocationLines(var AllocationAccount: Record "Allocation Account", var AllocationLine: Record "Allocation Line" temporary, var ExistingDimensionSetId: Integer)

Parameters

Name Type Description
AllocationAccount Table Microsoft.Finance.AllocationAccount."Allocation Account"
AllocationLine Table Microsoft.Finance.AllocationAccount."Allocation Line"
ExistingDimensionSetId Integer

OnAfterGenerateVariableAllocationLines

[IntegrationEvent(False,False)]
local procedure OnAfterGenerateVariableAllocationLines(var AllocationAccount: Record "Allocation Account", var AllocationLine: Record "Allocation Line" temporary, var ExistingDimensionSetId: Integer)

Parameters

Name Type Description
AllocationAccount Table Microsoft.Finance.AllocationAccount."Allocation Account"
AllocationLine Table Microsoft.Finance.AllocationAccount."Allocation Line"
ExistingDimensionSetId Integer

See also