Codeunit 5930 "ServAllocationManagement"
Base Application · Microsoft.Service.Document
Across versions
- BC23-30present
Neighbourhood 8 connected objects and pages
Base Application · Microsoft.Service.Document · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Permissions | TableData “Service Order Allocation” = rimd |
Events published
OnAfterAllocateDate(var ServOrderAllocation: Record "Service Order Allocation"; var ServHeader: Record "Service Header")(integration)OnAfterCancelAllocation(var ServOrderAllocation: Record "Service Order Allocation"; var ServHeader: Record "Service Header")(integration)OnBeforeAllocateDate(DocumentType: Integer; DocumentNo: Code[20]; EntryNo: Integer; ResNo: Code[20]; ResGrNo: Code[20]; CurrentDate: Date; Quantity: Decimal; var IsHandled: Boolean)(integration)OnBeforeCancelAllocation(var ServOrderAllocation: Record "Service Order Allocation"; var IsHandled: Boolean)(integration)OnBeforeCreateAllocationEntry(DocumentType: Integer; DocumentNo: Code[20]; ServItemLineNo: Integer; ServItemNo: Code[20]; ServSerialNo: Code[50]; var IsHandled: Boolean)(integration)OnSplitAllocationOnBeforeServOrderAllocModify(var ServiceOrderAllocation: Record "Service Order Allocation"; var SplitServiceOrderAllocation: Record "Service Order Allocation")(integration)OnSetServOrderAllocStatusOnBeforeServOrderAlloc2Modify(var ServiceOrderAllocation: Record "Service Order Allocation"; var ServiceOrderAllocation2: Record "Service Order Allocation"; var ServiceHeader: Record "Service Header")(integration)
Procedures
AllocateDate(DocumentType: Integer; DocumentNo: Code[20]; EntryNo: Integer; ResNo: Code[20]; ResGrNo: Code[20]; CurrentDate: Date; Quantity: Decimal)CancelAllocation(var ServOrderAlloc: Record "Service Order Allocation")CreateAllocationEntry(DocumentType: Integer; DocumentNo: Code[20]; ServItemLineNo: Integer; ServItemNo: Code[20]; ServSerialNo: Code[50])SplitAllocation(var SplitServOrderAlloc: Record "Service Order Allocation")ResourceQualified(ResourceNo: Code[20]; Type: Enum "Resource Skill Type"; No: Code[20]): BooleanQualifiedForServiceItemLine(var ServiceItemLine: Record "Service Item Line"; ResourceNo: Code[20]): BooleanCheckServiceItemLineFinished(var ServHeader: Record "Service Header"; ServiceItemLineNo: Integer)SetServOrderAllocStatus(var ServHeader: Record "Service Header")SetServLineAllocStatus(var ServLine: Record "Service Line")
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 27 “Confirm Management” (1 call:
SplitAllocation → GetResponseOrDefault)
Called by
- Table 5950 “Service Order Allocation” (3 calls:
OnDelete → CheckServiceItemLineFinished,OnInsert → CheckServiceItemLineFinished,OnModify → CheckServiceItemLineFinished) - Codeunit 5988 “Serv-Documents Mgt.” (2 calls:
PostDocumentLines → SetServLineAllocStatus,UpdateDocumentLines → SetServOrderAllocStatus) - Codeunit 5972 “Service Info-Pane Management” (1 call:
CalcNoOfSkilledResources → ResourceQualified) - Page 6023 “Skilled Resource List” (1 call:
OnAfterGetRecord → ResourceQualified) - Page 9229 “Res. Avail. (Service) Matrix” (1 call:
OnAfterGetRecord → QualifiedForServiceItemLine) - Table 5900 “Service Header” (1 call:
OnDelete → SetServOrderAllocStatus) - Table 5901 “Service Item Line” (1 call:
OnInsert → CreateAllocationEntry)
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: "ServAllocationManagement"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.