Codeunit 2677 Gen. Journal Alloc. Acc. Mgt.

Base Application, Microsoft.Finance.AllocationAccount

src/Layers/W1/BaseApp/Finance/AllocationAccount/GenJournalAllocAccMgt.Codeunit.al18 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

GetOrGenerateAllocationLines line 27, internal

  1. 40callsLoadManualAllocationLines
  2. 42callsGetAllocationAccount
  3. 43callsCodeunit 2675 Allocation Account Mgt. GenerateAllocationLines
  4. 44callsReplaceInheritFromParent

LoadManualAllocationLines line 48, internal

  1. 68raisesOnLoadManualAllocationLinesOnBeforeInsertAllocationLine
  2. 69writesTable 2672 Allocation Line Insert

ReplaceInheritFromParent line 98, local

  1. 114writesTable 2672 Allocation Line ModifyAll
  2. 118writesTable 2672 Allocation Line ModifyAll
  3. 120writesTable 2672 Allocation Line ModifyAll

HandleBatchPost line 137, local

  1. 142callsVerifyLinesFromBatch
  2. 146callsCodeunit 2676 Alloc. Acc. Telemetry LogGeneralJournalPostingUsage
  3. 147callsCreateLinesFromBatch

CheckBeforeModifyLine line 173, local

  1. 175callsDeleteManualDistributionsIfLineChanged

DeleteManualDistributionsIfLineChanged line 178, local

  1. 187callsAllocationAccountUsed
  2. 213writesTable 2673 Alloc. Acc. Manual Override DeleteAll

CreateLinesFromBatch line 216, local

  1. 227callsCreateLines
  2. 228writesTable 81 Gen. Journal Line DeleteAll
  3. 232callsCreateLines
  4. 233writesTable 81 Gen. Journal Line DeleteAll
  5. 237callsCreateLines
  6. 238writesTable 81 Gen. Journal Line DeleteAll

CreateLines line 245

  1. 257callsCreateLinesFromAllocationAccountLine

CreateLinesFromAllocationAccountLine line 266, local

  1. 277callsVerifyAccountsMustMatchIfBothAccountTypeAndBalancingAccountTypeAreAllocationAccounts
  2. 279callsGetAllocationAccount
  3. 282callsGetOrGenerateAllocationLines
  4. 290callsGetNextGenJournalLine
  5. 293callsGetLineIncrement
  6. 296callsGetLastGenJournalLine
  7. 308callsGetDescriptionChanged
  8. 310callsCreateGLLine
  9. 317writesTable 2673 Alloc. Acc. Manual Override DeleteAll

VerifyLinesFromBatch line 320, local

  1. 330callsVerifyGenJournalLines
  2. 337callsVerifyGenJournalLines
  3. 344callsVerifyGenJournalLines

CreateGLLine line 348, local

  1. 360callsUpdateAccountNumbersAndTypesOnGenJournalLine
  2. 362validatesTable 81 Gen. Journal Line Amount
  3. 363callsTransferDimensionSetID
  4. 370validatesTable 81 Gen. Journal Line Amount (LCY)
  5. 372raisesOnBeforeCreateGeneralJournalLine
  6. 373writesTable 81 Gen. Journal Line Insert(true)

UpdateAccountNumbersAndTypesOnGenJournalLine line 377, local

  1. 381callsTranslateAccountTypeToGenJournalLineAccountType

TranslateAccountTypeToGenJournalLineAccountType line 402, local

  1. 406raisesOnBeforeGetGeneralJournalLineType

TransferDimensionSetID line 515, local

  1. 528callsCodeunit 408 DimensionManagement UpdateGlobalDimFromDimSetID
  2. 537callsCodeunit 408 DimensionManagement GetCombinedDimensionSetID

VerifyGeneralJournalLineOnAfterModify line 542, local

  1. 544callsVerifyGeneralJournalLine

VerifyGenJournalLines line 578, local

  1. 585callsVerifyGeneralJournalLine

VerifyGeneralJournalLine line 589, local

  1. 593callsAllocationAccountUsed
  2. 596raisesOnBeforeVerifyGeneralJournalLine
  3. 601callsCodeunit 2675 Allocation Account Mgt. VerifyNoInheritFromParentUsed
  4. 604callsCodeunit 2675 Allocation Account Mgt. VerifyNoInheritFromParentUsed
  5. 607callsVerifySelectedAllocationAccountNo

VerifySelectedAllocationAccountNo line 614

  1. 622callsVerifyParentAccountIsDefined