codeunitFinanceofficial - Microsoftderived - from the source, no model text

Codeunit 20341 "Tax Document GL Posting"

INTaxEngine · Microsoft.Finance.TaxEngine.PostingHandler

Across versions

  1. BC23-28not present
  2. BC29-30present

Neighbourhood 14 connected objects and pages

Codeunit 20342 "Tax Document Subledger Posting" (event subscribers)Tax Document Subledger PostingCodeunit 20347 "Tax Subledger Posting Handler" (event subscribers)Tax Subledger Posting HandlerCodeunit 20343 "Tax Posting Buffer Mgmt." (calls, 13 links)Tax Posting Buffer Mgmt.Codeunit 20335 "Purch.-Post Handler" (calls, 6 links)Purch.-Post HandlerCodeunit 20336 "Sales Posting Subscribers" (calls, 6 links)Sales Posting SubscribersCodeunit 20339 "Service Posting Subscribers" (calls, 6 links)Service Posting SubscribersCodeunit 20136 "Archive Management Handler" (calls, 4 links)Archive Management HandlerCodeunit 20338 "Transfer Shpt Posting Handler" (calls, 4 links)Transfer Shpt Posting HandlerCodeunit 20340 "Fin Charge Posting Handler" (calls, 3 links)Fin Charge Posting HandlerCodeunit 12 "Gen. Jnl.-Post Line" (calls, 2 links)Gen. Jnl.-Post LineCodeunit 20334 "Gen. Jnl.-Post Handler" (calls, 2 links)Gen. Jnl.-Post HandlerCodeunit 20337 "Transfer Rcpt. Posting Handler" (calls, 2 links)Transfer Rcpt. Posting HandlerCodeunit 20344 "Tax Posting Execution" (calls)Tax Posting ExecutionCodeunit 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.

INTaxEngine · Microsoft.Finance.TaxEngine.PostingHandler · BC29-30 · source at ea08af5e · facts from BC29

Events published

  • OnAfterPrepareTaxTransaction(var TaxPostingBuffer: Record "Transaction Posting Buffer"; var TempSymbols: Record "Script Symbol Value" temporary; var TempTransactionValue: Record "Tax Transaction Value" temporary) (integration)
  • OnAfterPostTaxGLEntry(var TempTaxPostingBuffer: Record "Transaction Posting Buffer" temporary; var TempTransactionValue: Record "Tax Transaction Value" temporary; var Record: Variant) (integration)
  • OnAfterGenJnlLineAdjustEntry(var GenJnlLine: Record "Gen. Journal Line"; var AdjustEntry: Boolean) (integration)
  • OnBeforeGenJnlLineAdjustEntry(var GenJnlLine: Record "Gen. Journal Line"; var AdjustEntry: Boolean; var IsHandled: Boolean) (integration)
  • OnPrepareTransValueToPost(var TempTransValue: Record "Tax Transaction Value" temporary; var IsModified: Boolean) (integration)
  • OnBeforePostTaxJournal(var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line"; var GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean) (integration)
  • OnFindTransationPostingBuffer(var TransactionPostingBuffer: Record "Transaction Posting Buffer" temporary; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line"; var GenJournalLine: Record "Gen. Journal Line") (integration)
  • OnAfterCopyTaxGenJnlLineForReverseCharge(var TaxGenJnlLine: Record "Gen. Journal Line"; var GenJournalLine: Record "Gen. Journal Line"; TransactionPostingBuffer: Record "Transaction Posting Buffer" temporary; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line"; var TempTransactionValue: Record "Tax Transaction Value" temporary) (integration)
  • OnAfterCopyTaxGenJnlLine(var TaxGenJnlLine: Record "Gen. Journal Line"; var GenJournalLine: Record "Gen. Journal Line"; TransactionPostingBuffer: Record "Transaction Posting Buffer" temporary; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line") (integration)
  • OnBeforeAdjustTaxAmountOnGenJnlLine(var GenJnlLine: Record "Gen. Journal Line"; var IsHandled: Boolean) (integration)

Event subscriptions

  • OnAfterRunWithoutCheck subscribes to Codeunit “Gen. Jnl.-Post Line” OnAfterRunWithoutCheck
  • OnAfterRunWithCheck subscribes to Codeunit “Gen. Jnl.-Post Line” OnAfterRunWithCheck
  • OnBeforePostGenJnlLine subscribes to Codeunit “Gen. Jnl.-Post Line” OnBeforePostGenJnlLine
  • OnAfterPostGenJnlLine subscribes to Codeunit “Gen. Jnl.-Post Line” OnAfterPostGenJnlLine

Procedures

  • UpdateTaxPostingBuffer(var TempTaxTransactionValue: Record "Tax Transaction Value" temporary; RecID: RecordId; TaxTransactionID: Guid; DimensionSetID: Integer; GenBusPostingGroup: Code[20]; GenProdPostingGroup: Code[20]; DocumentQty: Decimal; InvoiceQty: Decimal; CurrencyCode: Code[20]; CurrencyFactor: Decimal; PostedDocNo: Code[20]; PostedDocLineNo: Integer)
  • TransferTransactionValue(FromRecID: RecordId; ToRecID: RecordId; var FromTaxTransactionValue: Record "Tax Transaction Value" temporary)
  • PrepareTransactionValueToPost(RecID: RecordId; Quantity: Decimal; QtyToInvoice: Decimal; CurrCode: Code[20]; CurrFactor: Decimal; var TempTaxTransactionValue: Record "Tax Transaction Value" temporary)

Plus 11 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.

Called by

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: "Tax Document GL Posting"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources