Codeunit 2679 Purchase Alloc. Acc. Mgt.
src/Layers/W1/BaseApp/Finance/AllocationAccount/Purchase/PurchaseAllocAccMgt.Codeunit.al25 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
GetOrGenerateAllocationLines line 30, internal
- 41callsTable 39 Purchase Line GetPurchHeader
- 44callsLoadManualAllocationLines
- 46callsGetAllocationAccount
- 47callsCodeunit 2675 Allocation Account Mgt. GenerateAllocationLines
- 48callsCodeunit 2675 Allocation Account Mgt. SplitQuantitiesIfNeeded
- 49callsReplaceInheritFromParent
LoadManualAllocationLines line 53, internal
ReplaceInheritFromParent line 78, local
- 94writesTable 2672 Allocation Line ModifyAll
- 98writesTable 2672 Allocation Line ModifyAll
HandlePostDocument line 109, local
- 114callsVerifyLinesFromDocument
- 118callsCodeunit 2676 Alloc. Acc. Telemetry LogPurchaseInvoicePostingUsage
- 119callsCreateLinesFromDocument
HandleAfterCheckSalesApprovalPossible line 137, local
CheckBeforeModifyLine line 157, local
HandleValidateLineNo line 164, local
DeleteManualDistributionsIfLineChanged line 184, local
- 193callsAllocationAccountUsed
- 217writesTable 2673 Alloc. Acc. Manual Override DeleteAll
CreateLinesFromDocument line 225, local
- 230callsCheckPurchaseReleaseStatus
- 235callsCreateLines
- 236writesTable 39 Purchase Line DeleteAll
- 242callsCreateLines
- 243writesTable 39 Purchase Line DeleteAll
- 245callsCheckPurchaseReleaseStatus
CreateLines line 248, local
CreateLinesFromAllocationAccountLine line 266
- 277callsGetAllocationAccount
- 280callsVerifyAllocationAccount
- 282callsGetOrGenerateAllocationLines
- 290callsGetNextLine
- 293callsGetLineIncrement
- 296callsGetLastLine
- 308callsGetDescriptionChanged
- 311callsCreatePurchaseLine
- 314callsFixQuantityRounding
- 315callsDeleteManualOverrides
DeleteManualOverrides line 318, local
- 326writesTable 2673 Alloc. Acc. Manual Override DeleteAll
VerifyLinesFromDocument line 329, local
CreatePurchaseLine line 357, local
- 366callsCodeunit 2674 Alloc. Acc. Handle Doc. Post SetVATBusPostingGroupCode
- 369callsCodeunit 2674 Alloc. Acc. Handle Doc. Post SetVATProdPostingGroupCode
- 372validatesTable 39 Purchase Line No.
- 374validatesTable 39 Purchase Line Tax Group Code
- 384callsMoveAmounts
- 385callsMoveQuantities
- 389callsCopyDeferralSchedule
- 390callsTransferDimensionSetID
- 394raisesOnBeforeCreatePurchaseLine
- 396writesTable 39 Purchase Line Insert(true)
- 399callsRedistributeQuantitiesIfNeededMoveQuantities
CopyDeferralSchedule line 403, local
- 421callsCodeunit 1720 Deferral Utilities CreateCopyOfDeferralSchedule
RedistributeQuantitiesIfNeededMoveQuantities line 439, local
- 449callsTable 2672 Allocation Line GetQuantityPrecision
- 452callsTable 39 Purchase Line IsInvoiceDocType
- 453validatesTable 39 Purchase Line Quantity
- 453callsTable 2672 Allocation Line GetQuantityPrecision
- 455validatesTable 39 Purchase Line Quantity
- 456callsTable 2672 Allocation Line GetQuantityPrecision
- 457callsTable 2672 Allocation Line GetQuantityPrecision
- 458callsTable 2672 Allocation Line GetQuantityPrecision
- 459callsTable 2672 Allocation Line GetQuantityPrecision
- 460callsTable 2672 Allocation Line GetQuantityPrecision
- 461callsTable 2672 Allocation Line GetQuantityPrecision
- 462callsTable 2672 Allocation Line GetQuantityPrecision
- 463callsTable 2672 Allocation Line GetQuantityPrecision
- 464callsTable 2672 Allocation Line GetQuantityPrecision
- 465callsTable 2672 Allocation Line GetQuantityPrecision
- 466writesTable 39 Purchase Line Modify
FixQuantityRounding line 469, local
- 544writesTable 39 Purchase Line Modify
MoveAmounts line 547, local
- 556validatesTable 39 Purchase Line Direct Unit Cost
- 556callsGetUnitPrice
- 557callsGetAmount
- 560callsCodeunit 2675 Allocation Account Mgt. GetCurrencyRoundingPrecision
- 561validatesTable 39 Purchase Line Direct Unit Cost
- 567validatesTable 39 Purchase Line Direct Unit Cost
GetAmount line 572, local
- 578callsTable 39 Purchase Line GetPurchHeader
- 581callsCodeunit 2675 Allocation Account Mgt. GetCurrencyRoundingPrecision
GetUnitPrice line 588, local
- 593callsTable 39 Purchase Line GetPurchHeader
- 595callsCodeunit 2675 Allocation Account Mgt. GetCurrencyRoundingPrecision
TransferDimensionSetID line 679
- 692callsCodeunit 408 DimensionManagement UpdateGlobalDimFromDimSetID
- 701callsCodeunit 408 DimensionManagement GetCombinedDimensionSetID
VerifyPurchaseLines line 705, local
VerifyPurchaseLine line 767, local
- 772callsAllocationAccountUsed
- 775raisesOnBeforeVerifyPurchaseLine
- 777callsVerifySelectedAllocationAccountNo
- 783callsVerifyAllocationAccount
- 784callsCodeunit 2675 Allocation Account Mgt. VerifyNoInheritFromParentUsed
CheckPurchaseReleaseStatus line 788, local
- 793runsCodeunit 415 Release Purchase Document
- 794writesTable 38 Purchase Header Modify
- 801callsCodeunit 415 Release Purchase Document Reopen
- 803callsCodeunit 415 Release Purchase Document SetSkipCheckReleaseRestrictions
- 804callsTable 38 Purchase Header SetHideValidationDialog