Codeunit 5981 "Service-Post (Yes/No)"
Base Application · Microsoft.Service.Posting
Across versions
- BC23present
- BC242 procedures added, 1 events added
- BC251 events added, 1 events removed
- BC26-27unchanged
- BC281 procedures changed
- BC29-30unchanged
Neighbourhood 7 connected objects and pages
Base Application · Microsoft.Service.Posting · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| TableNo | Service Line |
Events published
OnAfterConfirmPost(var ServiceHeader: Record "Service Header"; Ship: Boolean; Consume: Boolean; Invoice: Boolean)(integration)OnAfterPost(var PassedServiceHeader: Record "Service Header")(integration)OnBeforeConfirmServPost(var ServiceHeader: Record "Service Header"; var HideDialog: Boolean; var Ship: Boolean; var Consume: Boolean; var Invoice: Boolean; var IsHandled: Boolean; PreviewMode: Boolean; var ServiceLine: Record "Service Line")(integration)OnBeforePostDocument(var ServiceHeader: Record "Service Header"; var ServiceLine: Record "Service Line" temporary)+ BC25 − BC25 (integration)OnBeforePostDocumentWithLines(var ServiceHeader: Record "Service Header"; var ServiceLine: Record "Service Line")(integration)OnBeforePreviewDocument(var ServHeader: Record "Service Header"; var IsHandled: Boolean)(integration)OnBeforeConfirmPost(var ServiceHeader: Record "Service Header"; var Ship: Boolean; var Consume: Boolean; var Invoice: Boolean; var DefaultOption: Integer; PreviewMode: Boolean; var Result: Boolean; var IsHandled: Boolean)+ BC24 (integration)
Event subscriptions
- OnRunPreview subscribes to Codeunit “Gen. Jnl.-Post Preview” OnRunPreview
Procedures
PostDocument(var ServiceHeaderSource: Record "Service Header")PostDocumentWithLines(var ServiceHeaderSource: Record "Service Header"; var PassedServLine: Record "Service Line")PreviewDocument(var ServHeader: Record "Service Header")MessageIfPostingPreviewMultipleDocuments(var ServiceHeaderToPreview: Record "Service Header"; DocumentNo: Code[20])+ BC24PreviewDocumentWithLines(var ServHeader: Record "Service Header"; var PassedServLine: Record "Service Line")SetGlobalServiceHeader(var ServiceHeader: Record "Service Header")GetGlobalServiceHeader(var ServiceHeader: Record "Service Header")
Plus 2 local procedures.
Triggers
OnRun
Relations
- runs on Table 5902 “Service Line”
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 19 “Gen. Jnl.-Post Preview” (3 calls:
MessageIfPostingPreviewMultipleDocuments → MessageIfPostingPreviewMultipleDocuments,PreviewDocument → Preview,PreviewDocumentWithLines → Preview) - Codeunit 5980 “Service-Post” (2 calls:
Code → PostWithLines,Code → SetPreviewMode) - Codeunit 5957 “Serv. Posting Selection Mgt.” (1 call:
ConfirmPost → ConfirmPostServiceDocument) - Codeunit 9070 “Document Errors Mgt.” (1 call:
Code → GetNothingToPostErrorMsg) - Codeunit 9500 “Sequence No. Mgt.” (1 call:
OnRun → SetPreviewMode)
Called by
- Table 5900 “Service Header” (3 calls:
SendToPostWithLines → (object),SendToPostWithLines → GetGlobalServiceHeader,SendToPostWithLines → SetGlobalServiceHeader)
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: "Service-Post (Yes/No)"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.