codeunitSales & Receivablesofficial - Microsoftderived - from the source, no model text

Codeunit 1322 "Correct PstdSalesInv (Yes/No)"

Base Application · Microsoft.Sales.History

Across versions

  1. BC23-27present
  2. BC281 events added
  3. BC29-30unchanged

Neighbourhood 5 connected objects and pages

Table 112 "Sales Invoice Header" (relates to)Sales Invoice HeaderCodeunit 1303 "Correct Posted Sales Invoice" (calls, 4 links)Correct Posted Sales InvoiceCodeunit 27 "Confirm Management" (calls, 3 links)Confirm ManagementPage 42 "Sales Order" (calls)Sales OrderPage 43 "Sales Invoice" (calls)Sales Invoice

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.Sales.History · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
TableNo Sales Invoice Header
Permissions TableData “Sales Invoice Header” = rm, TableData “Sales Cr.Memo Header” = rm

Events published

  • OnCorrectInvoiceOnBeforeOpenSalesInvoicePage(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean; var SalesInvoiceHeader: Record "Sales Invoice Header") (integration)
  • OnCorrectInvoiceOnBeforeOpenSalesOrderPage(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean) (integration)
  • OnCancelPostedInvoiceAndOpenSalesOrderOnBeforeConfirm(var SalesInvoiceHeader: Record "Sales Invoice Header"; var SalesHeader: Record "Sales Header"; var ConfirmQuestion: Text) + BC28 (integration)

Procedures

  • CorrectInvoice(var SalesInvoiceHeader: Record "Sales Invoice Header"): Boolean: Corrects the posted sales invoice after user confirmation by canceling it and opening the appropriate document for correction.

Plus 4 local procedures.

Triggers

OnRun

Relations

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.

Recent changes

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: "Correct PstdSalesInv (Yes/No)"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources