Report 20 Calc. and Post VAT Settlement

Base Application, Microsoft.Finance.VAT.Reporting

src/Layers/W1/BaseApp/Finance/VAT/Reporting/CalcandPostVATSettlement.Report.al15 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

AdditinlCurrBase_VATEntry.OnAfterGetRecord line 232, trigger

  1. 234raisesOnBeforeCheckPrintVATEntries

SettlementCaption.OnAfterGetRecord line 300, trigger

  1. 331callsSetVatPostingSetupToGenJnlLine
  2. 348callsCopyAmounts
  3. 350callsPostGenJnlLine
  4. 359callsCopyAmounts
  5. 361callsPostGenJnlLine
  6. 363callsCreateGenJnlLine
  7. 367raisesOnBeforePostGenJnlLineReverseChargeVAT
  8. 369callsPostGenJnlLine
  9. 377callsCopyAmounts
  10. 379callsPostGenJnlLine
  11. 381raisesOnCloseVATEntriesOnAfterPostGenJnlLineReverseChargeVATSales
  12. 395callsCopyAmounts
  13. 397callsPostGenJnlLine
  14. 400callsCreateGenJnlLine
  15. 405callsPostGenJnlLine
  16. 410callsCopyAmounts
  17. 412callsPostGenJnlLine
  18. 420callsCopyAmounts
  19. 422callsPostGenJnlLine
  20. 429callsGetSettlementVATEntryNo
  21. 433callsCloseVATEntriesOnPostSettlement

SettlementCaption.OnAfterGetRecord line 437, trigger

  1. 449raisesOnClosingGLAndVATEntryOnAfterGetRecordOnAfterSetVATEntryFilters
  2. 460callsIncrementGenPostingType
  3. 462raisesOnClosingGLAndVATEntryOnAfterGetRecordOnNormalVATOnAfterVATEntrySetFilter
  4. 468callsIncrementGenPostingType
  5. 470raisesOnClosingGLAndVATEntryOnAfterGetRecordOnNormalVATOnAfterVATEntrySetFilter
  6. 472callsIsNotSettlement
  7. 481callsIncrementGenPostingType
  8. 483raisesOnClosingGLAndVATEntryOnAfterGetRecordOnSalesTaxOnAfterVATEntrySetFilter
  9. 491callsIncrementGenPostingType
  10. 493raisesOnClosingGLAndVATEntryOnAfterGetRecordOnSalesTaxOnAfterVATEntrySetFilter
  11. 496callsIsNotSettlement

SettlementCaption.OnPostDataItem line 515, trigger

  1. 531validatesTable 81 Gen. Journal Line Account No.
  2. 539callsSourceCurrencyAmount
  3. 543raisesOnVATPostingSetupOnPostDataItemOnBeforePostSettlement
  4. 546callsPostGenJnlLine
  5. 547raisesOnVATPostingSetupOnAfterOnPostDataItem

SettlementCaption.OnPreDataItem line 551, trigger

  1. 557callsTable 254 VAT Entry GetLastEntryNo

SettlementAcc.OnValidate line 632, trigger

  1. 636callsTable 15 G/L Account CheckGLAcc

OnPostReport line 703, trigger

  1. 705callsCodeunit 12 Gen. Jnl.-Post Line IsGLEntryInconsistent
  2. 706callsCodeunit 12 Gen. Jnl.-Post Line ShowInconsistentEntries
  3. 707raisesOnAfterPostReport

OnPreReport line 710, trigger

  1. 714raisesOnBeforePreReport
  2. 732callsCodeunit 27 Confirm Management GetResponseOrDefault
  3. 736callsCreateVATDateFilter
  4. 739raisesOnAfterPreReport

OnInitReport line 742, trigger

  1. 746callsCodeunit 799 VAT Reporting Date Mgt IsVATDateEnabled

PostGenJnlLine line 863, local

  1. 868callsCodeunit 408 DimensionManagement AddDimSource
  2. 869callsCodeunit 408 DimensionManagement AddDimSource
  3. 871callsCodeunit 408 DimensionManagement GetRecDefaultDimID
  4. 874raisesOnPostGenJnlLineOnBeforeGenJnlPostLineRun
  5. 875callsCodeunit 12 Gen. Jnl.-Post Line SetIgnoreJournalTemplNameMandatoryCheck
  6. 876runsCodeunit 12 Gen. Jnl.-Post Line

CopyAmounts line 889, local

  1. 910raisesOnAfterCopyAmounts

CreateGenJnlLine line 913, local

  1. 928callsSourceCurrencyAmount

IncrementGenPostingType line 946, local

  1. 957raisesOnAfterIncrementGenPostingType

CloseVATEntriesOnPostSettlement line 960, local

  1. 965raisesOnBeforeCloseVATEntriesOnPostSettlementIsHandled
  2. 969writesTable 254 VAT Entry ModifyAll
  3. 970writesTable 254 VAT Entry ModifyAll

GetSettlementVATEntryNo line 981, local

  1. 987callsCodeunit 12 Gen. Jnl.-Post Line GetNextVATEntryNo