Codeunit 5900 "ServOrderManagement"
Base Application · Microsoft.Service.Document
Across versions
- BC23present
- BC245 procedures added, 1 events added
- BC25unchanged
- BC262 events added
- BC27-28unchanged
- BC291 events added
- BC30unchanged
Neighbourhood 20 connected objects and pages
Base Application · Microsoft.Service.Document · BC23-30 · source at 4e6a307c · facts from BC29
Events published
OnBeforeCalcContractDates(var ServiceHeader: Record "Service Header"; var ServiceItemLine: Record "Service Item Line"; var IsHandled: Boolean)(integration)OnBeforeCalcServItemDates(var ServiceHeader: Record "Service Header"; ServItemNo: Code[20]; var IsHandled: Boolean)(integration)OnBeforeToCustInvDiscInsert(var ToCustInvoiceDisc: Record "Cust. Invoice Disc."; FromCustInvoiceDisc: Record "Cust. Invoice Disc.")(integration)OnBeforeUpdateResponseDateTime(var ServItemLine: Record "Service Item Line"; var Deleting: Boolean; var IsHandled: Boolean)(integration)OnLookupServItemNoOnAfterServItemSetFilters(var ServItemLine: Record "Service Item Line"; var ServItem: Record "Service Item"; ServHeader: Record "Service Header")(integration)OnLookupServItemNoOnBeforeServItemReset(var ServiceItemLine: Record "Service Item Line"; var ServiceItem: Record "Service Item"; ServiceHeader: Record "Service Header")(integration)OnReplacementCreateServItemAfterNewServItemFilterSet(var IsHandled: Boolean; var NewServItem: Record "Service Item")(integration)OnReplacementCreateServItemAfterSerialNoCheck(var NewServItem: Record "Service Item"; FromServItem: Record "Service Item"; SerialNo: Code[50]; ServiceLine: Record "Service Line"; ServShptDocNo: Code[20]; ServShptLineNo: Integer; var IsHandled: Boolean)(integration)OnReplacementCreateServItemOnBeforeServItemAutoCreated(var FromServItem: Record "Service Item"; NewServItem: Record "Service Item"; ServiceLine: Record "Service Line"; var IsHandled: Boolean)(integration)OnAfterReplacementCreateServItem(NewServItem: Record "Service Item"; FromServItem: Record "Service Item"; var IsHandled: Boolean)(integration)OnAfterCopyCustFromServiceHeader(var Cust: Record Customer; ServiceHeader: Record "Service Header")(integration)OnInsertServCostOnCostTypeOneOnAfterServCostGet(var ServHeader: Record "Service Header"; var ServCost: Record "Service Cost")(integration)OnInsertServCostOnCostTypeZeroOnBeforeTestServiceZoneCode(ServiceHeader: Record "Service Header"; var ServiceCost: Record "Service Cost"; var IsHandled: Boolean)+ BC29 (integration)OnUpdateResponseDateTimeOnBeforeNewResponseDate(var ServiceItemLine: Record "Service Item Line"; var IsHandled: Boolean)(integration)OnBeforeLookupServItemNo(var ServiceItemLine: Record "Service Item Line"; var IsHandled: Boolean)(integration)OnCopyCommentLinesWithSubTypeOnBeforeServCommentLineInsert(var ServiceCommentLine2: Record "Service Comment Line"; var IsHandled: Boolean)(integration)OnBeforeCopyComponentsFromBOM(var ServiceItem: Record "Service Item"; var IsHandled: Boolean)+ BC24 (integration)OnCreateCustFromTemplateOnBeforeCustInsert(var Customer: Record Customer; CustomerTempl: Record "Customer Templ."; ServiceHeader: Record "Service Header")+ BC26 (integration)OnBeforeCheckItemServiceBlocked(var ServiceItemLine: Record "Service Item Line"; var IsHandled: Boolean)+ BC26 (integration)
Procedures
ServHeaderLookup(DocumentType: Integer; var DocumentNo: Code[20]): BooleanUpdateResponseDateTime(var ServItemLine: Record "Service Item Line"; Deleting: Boolean)CreateNewCustomer(var ServHeader: Record "Service Header")ReplacementCreateServItem(FromServItem: Record "Service Item"; ServiceLine: Record "Service Line"; ServShptDocNo: Code[20]; ServShptLineNo: Integer; var TempTrackingSpecification: Record "Tracking Specification" temporary)InsertServCost(ServInvLine: Record "Service Line"; CostType: Integer; LinktoServItemLine: Boolean): BooleanFindContactInformation(CustNo: Code[20]): Code[20]FindResLocationCode(ResourceNo: Code[20]; StartDate: Date): Code[10]CalcServTime(StartingDate: Date; StartingTime: Time; FinishingDate: Date; FinishingTime: Time; ContractNo: Code[20]; ContractCalendarExists: Boolean): DecimalLookupServItemNo(var ServItemLine: Record "Service Item Line")UpdatePriority(var ServItemLine: Record "Service Item Line"; Deleting: Boolean)InServiceContract(var ServInvLine: Record "Service Line"): BooleanCheckServItemRepairStatus(ServHeader: Record "Service Header"; var ServItemLine: Record "Service Item Line" temporary; var ServLine: Record "Service Line")CopyCommentLines(FromDocumentType: Integer; ToDocumentType: Integer; FromNo: Code[20]; ToNo: Code[20])CopyCommentLinesWithSubType(FromDocumentType: Integer; ToDocumentType: Integer; FromNo: Code[20]; ToNo: Code[20]; FromTableSubType: Integer)CalcContractDates(var ServHeader: Record "Service Header"; var ServItemLine: Record "Service Item Line")CalcServItemDates(var ServHeader: Record "Service Header"; ServItemNo: Code[20])IsCreditDocumentType(ServiceDocumentType: Enum "Service Document Type"): Boolean+ BC24 (internal)CheckServiceItemBlockedForAll(var ServiceItemLine: Record "Service Item Line")+ BC24 + BC24 (internal)CheckServiceItemBlockedForAll(var ServiceLine: Record "Service Line")+ BC24 + BC24 (internal)CheckItemServiceBlocked(var ServiceItemLine: Record "Service Item Line")+ BC24 + BC24 (internal)CheckItemServiceBlocked(var ServiceLine: Record "Service Line")+ BC24 + BC24 (internal)
Plus 7 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 7600 “Calendar Management” (3 calls:
CalcServTime → CalcTimeDelta,CalcServTime → IsNonworkingDay,CalcServTime → SetSource) - Codeunit 1381 “Customer Templ. Mgt.” (2 calls:
CreateCustFromTemplate → InitCustomerNo,CreateCustFromTemplate → SelectCustomerTemplate) - Codeunit 5906 “ServLogManagement” (2 calls:
ReplacementCreateServItem → ServItemAutoCreated,ReplacementCreateServItem → ServItemReplaced) - Codeunit 27 “Confirm Management” (1 call:
CreateNewCustomer → GetResponseOrDefault) - Codeunit 5056 “CustCont-Update” (1 call:
CreateCustFromTemplate → InsertNewContactPerson) - Codeunit 5921 “ServComponent-Copy from BOM” (1 call:
CopyComponentsFromBOM → (object)) - Codeunit 5931 “Resource Skill Mgt.” (1 call:
ReplacementCreateServItem → CloneObjectResourceSkills) - Page 456 “No. Series” (1 call:
ReplacementCreateServItem → (object))
Called by
- Table 5901 “Service Item Line” (8 calls:
OnDelete → UpdatePriority,OnDelete → UpdateResponseDateTime,OnInsert → UpdatePriority, …) - Codeunit 5988 “Serv-Documents Mgt.” (7 calls:
CalcContractDates → CalcContractDates,CheckServiceItemBlockedForAll → CheckServiceItemBlockedForAll,PostDocumentLines → CheckServItemRepairStatus, …) - Table 5902 “Service Line” (3 calls:
CopyFromItem → IsCreditDocumentType,InitHeaderDefaults → FindResLocationCode,ReplaceServItem → IsCreditDocumentType) - Codeunit 416 “Release Service Document” (2 calls:
CheckServiceItemBlockedForAllAndItemServiceBlocked → CheckItemServiceBlocked,CheckServiceItemBlockedForAllAndItemServiceBlocked → CheckServiceItemBlockedForAll) - Codeunit 5923 “Service-Quote to Order” (2 calls:
CheckItemServiceBlocked → CheckItemServiceBlocked,CheckServiceItemBlockedForAll → CheckServiceItemBlockedForAll) - Page 5905 “Service Lines” (2 calls:
InsertStartFee → InsertServCost,InsertTravelFee → InsertServCost) - Page 5907 “Service Item Worksheet Subform” (2 calls:
InsertStartFee → InsertServCost,InsertTravelFee → InsertServCost) - Page 5966 “Service Quote Lines” (2 calls:
InsertStartFee → InsertServCost,InsertTravelFee → InsertServCost) - Table 5900 “Service Header” (2 calls:
UpdateBillToCont → FindContactInformation,UpdateCont → FindContactInformation) - Table 5965 “Service Contract Header” (2 calls:
UpdateBillToCont → FindContactInformation,UpdateCont → FindContactInformation) - Codeunit 5912 “ServLedgEntries-Post” (1 call:
InsertServLedgerEntry → InServiceContract) - Codeunit 5920 “ServItemManagement” (1 call:
AddOrReplaceSIComponent → ReplacementCreateServItem)
Recent changes
- 2026-08-26 #10631 Integration/main to releases 29.x 31a860b5 (releases/29.x, BC29, feature)
- 2026-08-24 #10424 [Extensibility Request] issue 30421: allow custom travel cost lookup (main, BC30, feature)
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- How to set up work hours and service hours — possibly related: Service order management includes setting up and calculating service hours for responses. (model-linked)
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
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: "ServOrderManagement"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.