Table 5910 "Service Hour"
Base Application · Microsoft.Service.Contract
Across versions
- BC23present
- BC24declaration changed
- BC25-27unchanged
- BC286 fields changed
- BC29-30unchanged
Neighbourhood 9 connected objects and pages
Base Application · Microsoft.Service.Contract · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Service Hour |
| DataClassification | CustomerContent |
Fields
Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.
| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Service Contract No. Δ BC28 | Code[20] | Specifies the number of the service contract to which the service hours apply. | TableRelation Table 5965 “Service Contract Header” (if (“Service Contract Type” = const(Contract)) “Service Contract Header”.“Contract No.” where(“Contract Type” = const(Contract)) else if (“Service Contract Type” = const(Quote)) “Service Contract Header”.“Contract No.” where(“Contract Type” = const(Quote))) |
| 2 | Starting Date Δ BC28 | Date | Specifies the date when the service hours become valid. | |
| 3 | Day Δ BC28 | Option | Specifies the day when the service hours are valid. | OptionCaption: Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday |
| 4 | Starting Time Δ BC28 | Time | Specifies the starting time of the service hours. | |
| 5 | Ending Time Δ BC28 | Time | Specifies the ending time of the service hours. | |
| 6 | Valid on Holidays Δ BC28 | Boolean | Specifies that service hours are valid on holidays. | |
| 7 | Service Contract Type | Enum “Service Hour Contract Type” | — | enum Enum 5910 “Service Hour Contract Type” |
Keys
- Key1: Service Contract Type, Service Contract No., Day, Starting Date (clustered)
Trigger event subscribers
- OnBeforeInsertEvent: Codeunit 5999 “Service Experience Tier” BlockInsertServiceHour
Procedures
CopyDefaultServiceHours()
Plus 1 local procedures.
Triggers
OnInsert, OnModify
Relations
- lookup page Page 5916 “Service Hours”
- Service Contract No.: TableRelation Table 5965 “Service Contract Header” (conditional)
Referenced by
4 fields in 4 objects relate to this table (TableRelation or CalcFormula).
- Table 5900 “Service Header”: Contract Serv. Hours Exist
- Table 5990 “Service Shipment Header”: Contract Serv. Hours Exist
- Table 5992 “Service Invoice Header”: Contract Serv. Hours Exist
- Table 5994 “Service Cr.Memo Header”: Contract Serv. Hours Exist
Pages and codeunits on this table
- Page 5916 “Service Hours” (source table)
- Page 5957 “Default Service Hours” (source table)
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:
CopyDefaultServiceHours → GetResponseOrDefault)
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: "table", object_name: "Service Hour"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.