codeunitIntegration & APIsofficial - Microsoftderived - from the source, no model text

Codeunit 5346 "CRM Sales Document Posting Mgt"

Base Application · Microsoft.Integration.D365Sales

Across versions

  1. BC23present
  2. BC243 procedures removed, 1 procedures added
  3. BC25-26unchanged
  4. BC271 procedures changed
  5. BC28-30unchanged

Neighbourhood 4 connected objects and pages

Codeunit 5330 "CRM Integration Management" (calls, 3 links)CRM Integration ManagementCodeunit 5334 "CRM Setup Defaults" (calls)CRM Setup DefaultsCodeunit 5341 "CRM Int. Table. Subscriber" (calls)CRM Int. Table. SubscriberCodeunit 80 "Sales-Post" (calls)Sales-Post

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

Properties

Property Value
SingleInstance true

Events published

  • OnBeforePostCRMSalesDocumentOnAfterPostSalesDoc(SalesHeader: Record "Sales Header"; var IsHandled: Boolean) (integration)

Event subscriptions

  • SetSalesOrderIdsOnSalesHeaderDeletion subscribes to Codeunit “Sales-Post” OnBeforeDeleteAfterPosting
  • PostCRMSalesDocumentOnAfterPostSalesDoc subscribes to Codeunit “Sales-Post” OnAfterPostSalesDoc
  • CreateCRMPostOnAfterReleaseSalesDoc subscribes to Codeunit “Sales-Post” OnAfterReleaseSalesDoc
  • CreateACRMPostOnAfterReleaseSalesDoc subscribes to Codeunit “Release Sales Document” OnAfterReleaseSalesDoc
  • CreateACRMPostOnAfterSalesShptHeaderInsert subscribes to Codeunit “Sales-Post” OnAfterSalesShptHeaderInsert
  • CreateACRMPostOnAfterSalesInvHeaderInsert subscribes to Codeunit “Sales-Post” OnAfterSalesInvHeaderInsert

Procedures

  • CheckShippedOrders(var SalesHeaderOrder: Record "Sales Header")
  • IsSalesOrderFullyInvoiced(SalesHeader: Record "Sales Header"): Boolean Δ BC27 (internal)

Plus 4 local procedures.

Triggers

OnRun

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

Evidence 1 sources