Codeunit 2678 Sales Alloc. Acc. Mgt.
src/Layers/W1/BaseApp/Finance/AllocationAccount/Sales/SalesAllocAccMgt.Codeunit.al24 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
GetOrGenerateAllocationLines line 29, internal
- 40callsTable 37 Sales Line GetSalesHeader
- 43callsLoadManualAllocationLines
- 45callsGetAllocationAccount
- 46callsCodeunit 2675 Allocation Account Mgt. GenerateAllocationLines
- 47callsCodeunit 2675 Allocation Account Mgt. SplitQuantitiesIfNeeded
- 48callsReplaceInheritFromParent
LoadManualAllocationLines line 52, internal
ReplaceInheritFromParent line 77, local
- 93writesTable 2672 Allocation Line ModifyAll
- 97writesTable 2672 Allocation Line ModifyAll
HandlePostDocument line 107, local
- 112callsVerifyLinesFromDocument
- 116callsCodeunit 2676 Alloc. Acc. Telemetry LogSalesInvoicePostingUsage
- 117callsCreateLinesFromDocument
HandleAfterCheckSalesApprovalPossible line 135, local
CheckBeforeModifyLine line 155, local
HandleValidateLineNo line 162, local
- 174callsVerifySalesLine
DeleteManualDistributionsIfLineChanged line 182, local
- 191callsAllocationAccountUsed
- 215writesTable 2673 Alloc. Acc. Manual Override DeleteAll
CreateLinesFromDocument line 223, local
- 230callsCreateLines
- 231writesTable 37 Sales Line DeleteAll
- 237callsCreateLines
- 238writesTable 37 Sales Line DeleteAll
CreateLines line 241, local
CreateLinesFromAllocationAccountLine line 260
- 271callsGetAllocationAccount
- 274callsVerifyAllocationAccount
- 276callsGetOrGenerateAllocationLines
- 284callsGetNextLine
- 287callsGetLineIncrement
- 290callsGetLastLine
- 302callsGetDescriptionChanged
- 305callsCreateSalesLine
- 308callsFixQuantityRounding
- 309callsDeleteManualOverrides
DeleteManualOverrides line 312, local
- 320writesTable 2673 Alloc. Acc. Manual Override DeleteAll
VerifyLinesFromDocument line 323, local
- 334callsVerifySalesLines
- 346callsVerifySalesLines
CreateSalesLine line 351, local
- 360callsCodeunit 2674 Alloc. Acc. Handle Doc. Post SetVATBusPostingGroupCode
- 363callsCodeunit 2674 Alloc. Acc. Handle Doc. Post SetVATProdPostingGroupCode
- 366validatesTable 37 Sales Line No.
- 376callsMoveAmounts
- 377callsMoveQuantities
- 380callsCopyDeferralSchedule
- 381callsTransferDimensionSetID
- 385raisesOnBeforeCreateSalesLine
- 387writesTable 37 Sales Line Insert(true)
- 390callsRedistributeQuantitiesIfNeededMoveQuantities
CopyDeferralSchedule line 394, local
- 412callsCodeunit 1720 Deferral Utilities CreateCopyOfDeferralSchedule
RedistributeQuantitiesIfNeededMoveQuantities line 430, local
- 440callsTable 2672 Allocation Line GetQuantityPrecision
- 443validatesTable 37 Sales Line Quantity
- 444callsTable 2672 Allocation Line GetQuantityPrecision
- 445callsTable 2672 Allocation Line GetQuantityPrecision
- 446callsTable 2672 Allocation Line GetQuantityPrecision
- 447callsTable 2672 Allocation Line GetQuantityPrecision
- 448callsTable 2672 Allocation Line GetQuantityPrecision
- 449callsTable 2672 Allocation Line GetQuantityPrecision
- 450callsTable 2672 Allocation Line GetQuantityPrecision
- 451callsTable 2672 Allocation Line GetQuantityPrecision
- 452callsTable 2672 Allocation Line GetQuantityPrecision
- 453callsTable 2672 Allocation Line GetQuantityPrecision
- 454writesTable 37 Sales Line Modify
FixQuantityRounding line 457, local
- 532writesTable 37 Sales Line Modify
MoveAmounts line 535, local
- 540validatesTable 37 Sales Line Unit Price
- 540callsGetUnitPrice
- 541callsGetAmount
- 544validatesTable 37 Sales Line Unit Price
GetUnitPrice line 549, local
- 554callsTable 37 Sales Line GetSalesHeader
- 557callsCodeunit 2675 Allocation Account Mgt. GetCurrencyUnitAmountPrecision
GetAmount line 561, local
- 567callsTable 37 Sales Line GetSalesHeader
- 570callsCodeunit 2675 Allocation Account Mgt. GetCurrencyRoundingPrecision
TransferDimensionSetID line 647, local
- 660callsCodeunit 408 DimensionManagement UpdateGlobalDimFromDimSetID
- 669callsCodeunit 408 DimensionManagement GetCombinedDimensionSetID
VerifySalesLines line 673, local
- 680callsVerifySalesLine
VerifySalesLine line 731, local
- 736callsAllocationAccountUsed
- 739raisesOnBeforeVerifySalesLine
- 741callsVerifySelectedAllocationAccountNo
- 747callsVerifyAllocationAccount
- 748callsCodeunit 2675 Allocation Account Mgt. VerifyNoInheritFromParentUsed