Codeunit 6283 Sust. FA Journal Subscriber

Sustainability, Microsoft.Sustainability.FixedAssets

src/Apps/W1/Sustainability/app/src/FixedAssets/SustFAJournalSubscriber.Codeunit.al13 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnValidateFANoOnAfterInitFields line 19, local

  1. 25validatesTable 5621 FA Journal Line Sust. Account No.

OnValidateItemNoOnAfterCreateDimInitial line 29, local

  1. 33validatesTable 5621 FA Journal Line Sust. Account No.

OnAfterCopyFromGenJnlLine line 37, local

  1. 43callsTable 5601 FA Ledger Entry IsSourcePurchase
  2. 46callsGetPostingSign

OnAfterCopyFromFAJnlLine line 50, local

  1. 56callsGetPostingSign
  2. 59callsPostSustainabilityLine

OnCheckNormalPostingOnCalcValues line 69, local

  1. 71callsCheckTotalCo2eMustNotBeNegative

OnBeforeFAJnlLineInsert line 75, local

  1. 77callsUpdateSustainabilityFAJournalLine

OnBeforeGenJnlLineInsert line 81, local

  1. 83callsUpdateSustainabilityGenJournalLine

UpdateSustainabilityFAJournalLine line 86, local

  1. 95validatesTable 5621 FA Journal Line Sust. Account No.
  2. 97validatesTable 5621 FA Journal Line Sust. Account No.
  3. 99validatesTable 5621 FA Journal Line Total CO2e
  4. 99callsGetAcquisitionTotalCO2e

UpdateSustainabilityGenJournalLine line 102, local

  1. 111validatesTable 81 Gen. Journal Line Sust. Account No.
  2. 113validatesTable 81 Gen. Journal Line Sust. Account No.
  3. 115validatesTable 81 Gen. Journal Line Total CO2e
  4. 115callsGetAcquisitionTotalCO2e

GetAcquisitionTotalCO2e line 118, local

  1. 126callsTable 5624 FA Reclass. Journal Line CheckSustainabilityAccount
  2. 127callsTable 5624 FA Reclass. Journal Line CheckSustainabilityAccount
  3. 134callsFAName

CheckTotalCo2eMustNotBeNegative line 139, local

  1. 161callsFAName

PostSustainabilityLine line 164, local

  1. 173callsGetPostingSign
  2. 180callsCodeunit 6284 Sust. FA Post Subscriber CheckSustainabilityFALine
  3. 187validatesTable 6214 Sustainability Jnl. Line Posting Date
  4. 191validatesTable 6214 Sustainability Jnl. Line Document Type
  5. 193validatesTable 6214 Sustainability Jnl. Line Document Type
  6. 195validatesTable 6214 Sustainability Jnl. Line Document Type
  7. 198validatesTable 6214 Sustainability Jnl. Line Document No.
  8. 199validatesTable 6214 Sustainability Jnl. Line Account No.
  9. 200validatesTable 6214 Sustainability Jnl. Line Reason Code
  10. 201validatesTable 6214 Sustainability Jnl. Line Account Category
  11. 202validatesTable 6214 Sustainability Jnl. Line Account Subcategory
  12. 203validatesTable 6214 Sustainability Jnl. Line Unit of Measure
  13. 207validatesTable 6214 Sustainability Jnl. Line CO2e Emission
  14. 208callsCodeunit 6212 Sustainability Post Mgt SetSkipUpdateCarbonEmissionValue
  15. 209callsCodeunit 6212 Sustainability Post Mgt InsertLedgerEntry

FAName line 226, local

  1. 228callsCodeunit 5616 Depreciation Calculation FAName