Codeunit 5346 "CRM Sales Document Posting Mgt"
Base Application · Microsoft.Integration.D365Sales
Across versions
- BC23present
- BC243 procedures removed, 1 procedures added
- BC25-26unchanged
- BC271 procedures changed
- BC28-30unchanged
Neighbourhood 4 connected objects and pages
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.
- Codeunit 5330 “CRM Integration Management” (3 calls:
CheckShippedOrders → (object),PostCRMSalesDocumentOnAfterPostSalesDoc → (object),SetSalesOrderIdsOnSalesHeaderDeletion → IsCRMIntegrationEnabled) - Codeunit 5334 “CRM Setup Defaults” (1 call:
AddPostedSalesDocumentToCRMAccountWall → GetAddPostedSalesDocumentToCRMAccountWallConfig)
Called by
- Codeunit 5341 “CRM Int. Table. Subscriber” (1 call:
SubmitOrInvoiceSalesOrder → IsSalesOrderFullyInvoiced) - Codeunit 80 “Sales-Post” (1 call:
PostUpdateInvoiceLine → CheckShippedOrders)
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.