Codeunit 817 Service Post Invoice

Base Application, Microsoft.Service.Posting

src/Layers/W1/BaseApp/Service/Posting/ServicePostInvoice.Codeunit.al11 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

PrepareLine line 69

  1. 91callsCodeunit 827 Service Post Invoice Events RunOnBeforePrepareLine
  2. 95callsTable 98 General Ledger Setup UseVat
  3. 101callsCodeunit 827 Service Post Invoice Events RunOnPrepareLineAfterGetGenPostingSetup
  4. 103callsCodeunit 827 Service Post Invoice Events RunOnPrepareLineOnAfterGetGenPostingSetup
  5. 105callsPrepareInvoicePostingBuffer
  6. 118callsCalcInvoiceDiscountPosting
  7. 120callsTable 55 Invoice Posting Buffer SetAccount
  8. 121callsTable 252 General Posting Setup GetSalesInvDiscAccount
  9. 122callsTable 55 Invoice Posting Buffer UpdateVATBase
  10. 129callsUpdateInvoicePostingBuffer
  11. 136callsCalcLineDiscountPosting
  12. 138callsTable 55 Invoice Posting Buffer SetAccount
  13. 139callsTable 252 General Posting Setup GetSalesLineDiscAccount
  14. 140callsTable 55 Invoice Posting Buffer UpdateVATBase
  15. 141callsCodeunit 827 Service Post Invoice Events RunOnPrepareLineOnBeforeUpdateInvoicePostingBufferLineDiscounts
  16. 142callsUpdateInvoicePostingBuffer
  17. 147callsCodeunit 827 Service Post Invoice Events RunOnPrepareLineOnBeforeSetAmounts
  18. 151callsTable 55 Invoice Posting Buffer SetAmounts
  19. 153callsCodeunit 827 Service Post Invoice Events RunOnPrepareLineOnAfterSetAmounts
  20. 155callsGetSalesAccount
  21. 156callsCodeunit 827 Service Post Invoice Events RunOnPrepareLineOnBeforeSetAccount
  22. 157callsTable 55 Invoice Posting Buffer SetAccount
  23. 158callsTable 55 Invoice Posting Buffer UpdateVATBase
  24. 160callsCodeunit 827 Service Post Invoice Events RunOnPrepareLineOnAfterFillInvoicePostingBuffer
  25. 163callsUpdateInvoicePostingBuffer

GetSalesAccount line 166, local

  1. 172callsCodeunit 827 Service Post Invoice Events RunOnBeforeGetSalesAccount
  2. 184callsTable 252 General Posting Setup GetSalesCrMemoAccount
  3. 186callsTable 252 General Posting Setup GetSalesAccount
  4. 189callsCodeunit 827 Service Post Invoice Events RunOnAfterGetSalesAccount

CalcInvoiceDiscountPosting line 192, local

  1. 197callsCodeunit 827 Service Post Invoice Events RunOnBeforeCalcInvoiceDiscountPosting
  2. 202callsTable 55 Invoice Posting Buffer CalcDiscountNoVAT
  3. 205callsTable 55 Invoice Posting Buffer CalcDiscount

CalcLineDiscountPosting line 209, local

  1. 214callsCodeunit 827 Service Post Invoice Events RunOnBeforeCalcLineDiscountPosting
  2. 219callsTable 55 Invoice Posting Buffer CalcDiscountNoVAT
  3. 222callsTable 55 Invoice Posting Buffer CalcDiscount

PrepareInvoicePostingBuffer line 226

  1. 228callsCodeunit 827 Service Post Invoice Events RunOnBeforePrepareInvoicePostingBuffer
  2. 249callsTable 5902 Service Line GetVATPct
  3. 259callsUpdateEntryDescriptionFromServiceLine
  4. 261callsCodeunit 827 Service Post Invoice Events RunOnAfterPrepareInvoicePostingBuffer

UpdateEntryDescriptionFromServiceLine line 264, local

  1. 271callsTable 55 Invoice Posting Buffer UpdateEntryDescription

UpdateInvoicePostingBuffer line 278, local

  1. 286callsCodeunit 827 Service Post Invoice Events RunOnUpdateInvoicePostingBufferOnBeforeUpdate
  2. 287callsTable 55 Invoice Posting Buffer Update
  3. 288callsCodeunit 827 Service Post Invoice Events RunOnAfterUpdateInvoicePostingBuffer

PostLines line 291

  1. 300callsCodeunit 827 Service Post Invoice Events RunOnBeforePostLines
  2. 309callsPrepareGenJnlLineFromInvoicePostBuffer
  3. 311callsCodeunit 827 Service Post Invoice Events RunOnPostLinesOnBeforeGenJnlLinePost
  4. 313callsCodeunit 12 Gen. Jnl.-Post Line RunWithCheck
  5. 314callsCodeunit 827 Service Post Invoice Events RunOnPostLinesOnAfterGenJnlLinePost

PrepareGenJnlLineFromInvoicePostBuffer line 322, local

  1. 324callsTable 81 Gen. Journal Line InitNewLine
  2. 329callsTable 81 Gen. Journal Line CopyDocumentFields
  3. 333callsTable 5900 Service Header CopyToGenJournalLine
  4. 335callsTable 55 Invoice Posting Buffer CopyToGenJnlLine
  5. 337callsCodeunit 827 Service Post Invoice Events RunOnAfterPrepareGenJnlLineFromInvoicePostBuffer

PostLedgerEntry line 344

  1. 352callsTable 81 Gen. Journal Line InitNewLine
  2. 357callsTable 81 Gen. Journal Line CopyDocumentFields
  3. 363callsTable 5900 Service Header CopyToGenJournalLine
  4. 364callsTable 81 Gen. Journal Line SetCurrencyFactor
  5. 366callsTable 5900 Service Header CopyToGenJournalLineApplyTo
  6. 367callsTable 5900 Service Header CopyToGenJournalLinePayment
  7. 378callsTable 330 Currency Exchange Rate ExchangeAmtFCYToLCY
  8. 381callsCodeunit 827 Service Post Invoice Events RunOnPostLedgerEntryOnBeforeGenJnlPostLine
  9. 383callsCodeunit 12 Gen. Jnl.-Post Line RunWithCheck
  10. 384callsCodeunit 827 Service Post Invoice Events RunOnPostLedgerEntryOnAfterGenJnlPostLine

PostBalancingEntry line 388

  1. 398callsCodeunit 827 Service Post Invoice Events RunOnPostBalancingEntryOnBeforeFindCustLedgerEntry
  2. 400callsFindCustLedgerEntry
  3. 402callsTable 81 Gen. Journal Line InitNewLine
  4. 408callsTable 81 Gen. Journal Line CopyDocumentFields
  5. 412callsTable 81 Gen. Journal Line CopyDocumentFields
  6. 418callsTable 5900 Service Header CopyToGenJournalLine
  7. 419callsTable 81 Gen. Journal Line SetCurrencyFactor
  8. 421callsSetApplyToDocNo
  9. 434callsCodeunit 827 Service Post Invoice Events RunOnPostBalancingEntryOnBeforeGenJnlPostLine
  10. 436callsCodeunit 12 Gen. Jnl.-Post Line RunWithCheck
  11. 437callsCodeunit 827 Service Post Invoice Events RunOnPostBalancingEntryOnAfterGenJnlPostLine