Codeunit 5600 FA Insert Ledger Entry

Base Application, Microsoft.FixedAssets.Ledger

src/Layers/W1/BaseApp/FixedAssets/FixedAsset/FAInsertLedgerEntry.Codeunit.al32 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

InsertFA line 88

  1. 94callsCodeunit 8703 Feature Telemetry LogUptake
  2. 97callsTable 5601 FA Ledger Entry GetLastEntryNo
  3. 98callsInitRegister
  4. 105raisesOnBeforeInsertFA
  5. 110callsCheckMainAsset
  6. 111callsCheckBonusDepreciation
  7. 114callsSetFAPostingType
  8. 116callsCodeunit 5607 FA Automatic Entry AdjustFALedgEntry
  9. 118callsGetExchangeRate
  10. 119callsCalcGLIntegration
  11. 122runsCodeunit 5601 FA Insert G/L Account
  12. 129callsCheckFADocNo
  13. 130callsCalcExcludeDerogatory
  14. 132writesTable 5601 FA Ledger Entry Insert(true)
  15. 133callsCodeunit 8703 Feature Telemetry LogUsage
  16. 134raisesOnInsertFAOnAfterInsertFALedgEntry
  17. 139callsFAName
  18. 141raisesOnInsertFAOnBeforeCheckFALedgEntryIsHandled
  19. 152callsFAName
  20. 161writesTable 5601 FA Ledger Entry Modify
  21. 162writesTable 5601 FA Ledger Entry Modify
  22. 164raisesOnInsertFAOnAfterSetFALedgEntryFANo
  23. 167raisesOnInsertFAOnBeforeFACheckConsistency
  24. 173runsCodeunit 5606 FA Check Consistency
  25. 175raisesOnBeforeInsertRegister
  26. 177callsInsertRegister

InsertMaintenance line 188

  1. 194callsTable 5625 Maintenance Ledger Entry GetLastEntryNo
  2. 195callsInitRegister
  3. 202raisesOnInsertMaintenanceOnAfterDeprBookGet
  4. 204callsCheckMainAsset
  5. 207callsCodeunit 5607 FA Automatic Entry AdjustMaintenanceLedgEntry
  6. 208callsGetExchangeRate
  7. 219callsCodeunit 5601 FA Insert G/L Account InsertMaintenanceAccNo
  8. 221writesTable 5625 Maintenance Ledger Entry Insert(true)
  9. 222callsSetMaintenanceLastDate
  10. 223callsInsertRegister

SetMaintenanceLastDate line 227

  1. 237writesTable 5612 FA Depreciation Book Modify

SetFAPostingType line 240, local

  1. 242callsUpdateDebitCredit
  2. 282raisesOnAfterSetFAPostingType

CalcGLIntegration line 292, local

  1. 298raisesOnBeforeCalcGLIntegrationIsHandled

CheckBonusDepreciation line 318, local

  1. 325callsTable 5603 FA Setup BonusDepreciationCorrectlySetup
  2. 329callsTable 5612 FA Depreciation Book EligibleForBonusDepreciation
  3. 332callsTable 5612 FA Depreciation Book BonusDepreciationAmount

InsertBalAcc line 345

  1. 347callsCodeunit 5601 FA Insert G/L Account InsertBalAcc

InsertBalDisposalAcc line 350

  1. 352runsCodeunit 5601 FA Insert G/L Account

FindFirstGLAcc line 355

  1. 357callsCodeunit 5601 FA Insert G/L Account FindFirstGLAcc

GetNextGLAcc line 360

  1. 362callsCodeunit 5601 FA Insert G/L Account GetNextGLAcc

DeleteAllGLAcc line 365

  1. 367callsCodeunit 5601 FA Insert G/L Account DeleteAllGLAcc

CheckMainAsset line 370, local

  1. 382callsFAName

CopyRecordLinksToFALedgEntry line 386

  1. 390callsCodeunit 447 Record Link Management CopyLinks

InitRegister line 393, local

  1. 401callsTable 5617 FA Register GetLastGLRegisterNo
  2. 403callsTable 5617 FA Register GetLastEntryNo
  3. 411writesTable 5617 FA Register Insert(true)

InsertRegister line 414

  1. 430writesTable 5617 FA Register Modify

FAName line 433

  1. 437callsCodeunit 5616 Depreciation Calculation FAName

CheckFADocNo line 440, local

  1. 446raisesOnBeforeCheckFADocNoIsHandled
  2. 458raisesOnCheckFADocNoOnAfterOldFALedgEntrySetFilters
  3. 466callsFAName

SetOrgGenJnlLine line 469

  1. 471callsCodeunit 5601 FA Insert G/L Account SetOrgGenJnlLine

CorrectEntries line 474

  1. 476callsCodeunit 5601 FA Insert G/L Account CorrectEntries

InsertReverseEntry line 479

  1. 498callsInsertReverseEntryWithLink

CheckFAReverseEntry line 642

  1. 648writesTable 5601 FA Ledger Entry Delete

CheckMaintReverseEntry line 652

  1. 657writesTable 5625 Maintenance Ledger Entry Delete

FinishFAReverseEntry line 661

  1. 671writesTable 5617 FA Register Modify

SetFAReversalMark line 675, local

  1. 688writesTable 5601 FA Ledger Entry Modify
  2. 694writesTable 5601 FA Ledger Entry Modify
  3. 700callsCodeunit 17 Gen. Jnl.-Post Reverse SetReversalDescription

SetMaintReversalMark line 703, local

  1. 716writesTable 5625 Maintenance Ledger Entry Modify
  2. 722writesTable 5625 Maintenance Ledger Entry Modify
  3. 728callsCodeunit 17 Gen. Jnl.-Post Reverse SetReversalDescription

SetNetdisposal line 731

  1. 733callsCodeunit 5601 FA Insert G/L Account SetNetDisposal

SetLastEntryNo line 736

  1. 742callsTable 5601 FA Ledger Entry GetLastEntryNo

ReverseAutomaticSalvageEntries line 745, local

  1. 767callsIsAutomaticSalvageCompanion
  2. 773callsIsAutomaticSalvageCompanion
  3. 782callsInsertReverseEntryWithLink

InsertFARevEntryForDerog line 804

  1. 824callsFindLegacyFADerogatoryEntry
  2. 848callsInsertReverseEntryWithLink

InsertMaintRevEntryForDerog line 853

  1. 871callsFindLegacyMaintenanceDerogatoryEntry
  2. 895callsInsertReverseEntryWithLink

CalcExcludeDerogatory line 923, local

  1. 928callsTable 5611 Depreciation Book IsDerogatoryBook