Codeunit 2670 Variable Allocation Mgt.
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;Events 1 in 29
| [IntegrationEvent] On | new in 23 |