codeunitPurchasing & Payablesofficial - Microsoftderived - from the source, no model text

Codeunit 816 "Purch. Post Invoice"

Base Application · Microsoft.Purchases.Posting

Across versions

  1. BC23present
  2. BC241 procedures added, 1 procedures removed
  3. BC253 procedures added
  4. BC262 procedures added, 1 procedures changed
  5. BC275 procedures added
  6. BC281 procedures added, 1 events added
  7. BC29-30unchanged

Neighbourhood 8 connected objects and pages

Codeunit 826 "Purch. Post Invoice Events" (calls, 63 links)Purch. Post Invoice EventsCodeunit 6200 "Non-Deductible VAT" (calls, 7 links)Non-Deductible VATCodeunit 1720 "Deferral Utilities" (calls, 4 links)Deferral UtilitiesCodeunit 1001 "Job Post-Line" (calls, 3 links)Job Post-LineCodeunit 12 "Gen. Jnl.-Post Line" (calls, 3 links)Gen. Jnl.-Post LineCodeunit 444 "Purchase-Post Prepayments" (calls, 2 links)Purchase-Post PrepaymentsCodeunit 398 "Sales Tax Calculate" (calls)Sales Tax CalculateCodeunit 408 "DimensionManagement" (calls)DimensionManagement

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Purchases.Posting · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Permissions TableData “Invoice Posting Buffer” = rimd

Events published

  • OnSplitFAOnBeforeRunGenJnlPostLine(var GenJournalLine: Record "Gen. Journal Line"; var GenJournalLine2: Record "Gen. Journal Line"; var TotalGenJournalLine: Record "Gen. Journal Line"; IterationCounter: Integer; SplitNo: Integer) + BC28 (integration)

Procedures

  • Check(TableID: Integer)
  • SetPreviewMode(NewPreviewMode: Boolean)
  • SetSuppressCommit(NewSuppressCommit: Boolean)
  • SetHideProgressWindow(NewHideProgressWindow: Boolean)
  • SetParameters(NewInvoicePostingParameters: Record "Invoice Posting Parameters")
  • SetTotalLines(TotalDocumentLine: Variant; TotalDocumentLineLCY: Variant)
  • ClearBuffers()
  • PrepareLine(DocumentHeaderVar: Variant; DocumentLineVar: Variant; DocumentLineACYVar: Variant)
  • PrepareInvoicePostingBuffer(var PurchLine: Record "Purchase Line"; var InvoicePostingBuffer: Record "Invoice Posting Buffer") + BC25 Δ BC26
  • SetSalesTax(var PurchaseLine: Record "Purchase Line"; var InvoicePostingBuffer: Record "Invoice Posting Buffer") + BC25
  • PostLines(DocumentHeaderVar: Variant; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line"; var Window: Dialog; var TotalAmount: Decimal)
  • PrepareJobLine(DocumentHeaderVar: Variant; DocumentLineVar: Variant; DocumentLineACYVar: Variant)
  • CheckCreditLine(PurchHeaderVar: Variant; PurchLineVar: Variant)
  • PostLedgerEntry(PurchHeaderVar: Variant; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")
  • PostBalancingEntry(PurchHeaderVar: Variant; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")
  • CalcDeferralAmounts(PurchHeaderVar: Variant; PurchLineVar: Variant; OriginalDeferralAmount: Decimal)
  • CreatePostedDeferralSchedule(PurchLineVar: Variant; NewDocumentType: Integer; NewDocumentNo: Code[20]; NewLineNo: Integer; PostingDate: Date)
  • CreateTempFA(GenJnlLine: Record "Gen. Journal Line"; SplitNo: Integer; var TempFA: Record "Fixed Asset" temporary): Boolean + BC27

Plus 26 local procedures.

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

Implements

Recent changes

Countries that replace it

AU, BE, CA, ES, IT, MX, NZ, US

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Purch. Post Invoice"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources