Codeunit 2670 Variable Allocation Mgt.

Base Application, Microsoft.Finance.AllocationAccount

Source AL, 362 lines

src/Layers/W1/BaseApp/Finance/AllocationAccount/VariableAllocationMgt.Codeunit.allines 15 to 30 of 362, Copyright (c) Microsoft Corporation. MIT

codeunit 2670 "Variable Allocation Mgt."{    var        NoAccountingPeriodDefinedErr: Label 'The next accounting period for workdate %1 is not defined.\Verify the accounting period setup.', Comment = '%1 - Represents the date.';        PreviousYearIsNotDefinedErr: Label 'Previous year is not defined in accounting period.';    internal procedure CalculateAmountDistributions(var AllocationAccount: Record "Allocation Account"; AmountToDistribute: Decimal; var AmountDistributions: Dictionary of [Guid, Decimal]; var ShareDistributions: Dictionary of [Guid, Decimal]; PostingDate: Date; CurrencyCode: Code[10])    var        AllocationAccountMgt: Codeunit "Allocation Account Mgt.";        AccountSystemID: Guid;        AccountBalance: Decimal;        TotalBalance: Decimal;        AmountDistribution: Decimal;        TotalDistributedAmount: Decimal;        FixedShareDistributions: Dictionary of [Guid, Decimal];        AmountRoundingPrecision: Decimal;

All 362 lines

Events 1 in 29

[IntegrationEvent] OnGetAccountBalance(var AllocAccountDistribution: Record "Alloc. Account Distribution"; StartDate: Date; EndDate: Date; var AccountBalance: Decimal; var ShareDistributions: Dictionary of [Guid, Decimal]; var TotalBalance: Decimal; var Handled: Boolean)new in 23