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

Codeunit 79 "Sales-Post and Send"

Base Application · Microsoft.Sales.Posting

Across versions

  1. BC23-30present

Neighbourhood 8 connected objects and pages

Table 36 "Sales Header" (relates to)Sales HeaderCodeunit 6103 "E-Document Subscribers" (event subscribers)E-Document SubscribersCodeunit 1630 "Office Management" (calls, 2 links)Office ManagementCodeunit 80 "Sales-Post" (calls, 2 links)Sales-PostCodeunit 81 "Sales-Post (Yes/No)" (calls)Sales-Post (Yes/No)Codeunit 9070 "Document Errors Mgt." (calls)Document Errors Mgt.Codeunit 99 "Posting Selection Management" (calls)Posting Selection ManagementPage 365 "Post and Send Confirmation" (calls)Post and Send Confirmation

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

Properties

Property Value
TableNo Sales Header

Events published

  • OnAfterPostAndBeforeSend(var SalesHeader: Record "Sales Header") (integration): Raised after the document has been posted but before it is sent to the customer.
  • OnAfterPostAndSend(var SalesHeader: Record "Sales Header") (integration): Raised after the document has been posted and sent to the customer.
  • OnBeforeConfirmAndSend(SalesHeader: Record "Sales Header"; var TempDocumentSendingProfile: Record "Document Sending Profile" temporary; var Result: Boolean; var IsHandled: Boolean) (integration): Raised before displaying the send confirmation dialog.
  • OnBeforeConfirmPostAndSend(SalesHeader: Record "Sales Header"; var TempDocumentSendingProfile: Record "Document Sending Profile" temporary; var Result: Boolean; var IsHandled: Boolean) (integration): Raised before confirming the post and send operation.
  • OnBeforeValidateElectronicFormats(SalesHeader: Record "Sales Header"; DocumentSendingProfile: Record "Document Sending Profile"; var IsHandled: Boolean) (integration): Raised before validating electronic document formats.
  • OnBeforePostAndSend(var SalesHeader: Record "Sales Header"; var HideDialog: Boolean; var TempDocumentSendingProfile: Record "Document Sending Profile" temporary) (integration): Raised before posting and sending the sales document.
  • OnCodeOnAfterConfirmPostAndSend(var SalesHeader: Record "Sales Header") (integration): Raised after the user confirms the post and send operation.
  • OnCodeOnBeforePostSalesHeader(var SalesHeader: Record "Sales Header"; var TempDocumentSendingProfile: Record "Document Sending Profile" temporary; HideDialog: Boolean; var IsHandled: Boolean) (integration): Raised before posting the sales header in the post and send process.
  • OnConfirmPostAndSendOnBeforeGetDocumentSendingProfile(SalesHeader: Record "Sales Header"; Customer: Record Customer; var DocumentSendingProfile: Record "Document Sending Profile"; var IsHandled: Boolean) (integration): Raised before retrieving the document sending profile for the customer.

Procedures

3 local procedures, no public ones.

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.

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: "Sales-Post and Send"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources