codeunitService Managementofficial - Microsoftderived - from the source, no model text

Codeunit 5981 "Service-Post (Yes/No)"

Base Application · Microsoft.Service.Posting

Across versions

  1. BC23present
  2. BC242 procedures added, 1 events added
  3. BC251 events added, 1 events removed
  4. BC26-27unchanged
  5. BC281 procedures changed
  6. BC29-30unchanged

Neighbourhood 7 connected objects and pages

Table 5902 "Service Line" (relates to)Service LineCodeunit 19 "Gen. Jnl.-Post Preview" (calls, 3 links)Gen. Jnl.-Post PreviewTable 5900 "Service Header" (calls, 3 links)Service HeaderCodeunit 5980 "Service-Post" (calls, 2 links)Service-PostCodeunit 5957 "Serv. Posting Selection Mgt." (calls)Serv. Posting Selection Mgt.Codeunit 9070 "Document Errors Mgt." (calls)Document Errors Mgt.Codeunit 9500 "Sequence No. Mgt." (calls)Sequence No. Mgt.

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.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]) + BC24
  • PreviewDocumentWithLines(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

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

  • 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.

Evidence 1 sources