A service-contract scope line captured against a sales document rather than against an asset or a template — it records which component items are in or out of scope on an Opportunity line, sale order line or sale invoice line. Be careful with its lookups: ComponentItemId, SaleInvoiceLineId, SaleOrderLineId and OpportunityLineId are typed as lookups but have no EntityRelation defined and no foreign key on the domain class, so they cannot be expanded or joined through the relations API and must be resolved by a second query on the raw id. The domain class also carries a second, unsuffixed copy of each of these columns, but only the Id-suffixed ones are exposed in metadata.
Fields
| Field | Label | Type | Required | What it does |
ComponentItemId | Component Item | Lookup | | The component item whose contract scope this line records. It is typed as a lookup but has no EntityRelation and no foreign key on the domain class, so it cannot be expanded through the relations API — resolve the Item with a separate query on the raw id. |
CreatedById | Created By | Lookup → UserAccount | Yes | |
CreatedDateTime | Created Date | DateAndTime | Yes | |
Id | Id | Guid | Yes | |
IsInScope | Is In Scope | Boolean | Yes | Whether the component is included in or excluded from contract scope on the referenced sales document line. The same in-or-out semantics as the flag of the same name on ItemServiceContractLine. |
ModifiedById | Modified By | Lookup → UserAccount | Yes | |
Name | Name | Text | Yes | |
OpportunityLineId | Opportunity Line | Lookup | | The opportunity line this scope line was captured against. |
OwnerId | Owner | Lookup → UserAccount | Yes | |
Quantity | Quantity | Number | | |
RecordTypeId | Record Type | Guid, hidden | | |
SaleInvoiceLineId | Sale Invoice Line | Lookup | | The sales invoice line this scope line was captured against. Like the other lookups on this entity it has no relation defined, so it holds a raw id that must be resolved with a second query. |
SaleOrderLineId | Sale Order Line | Lookup | | The sales order line this scope line was captured against, held as an unrelated raw id — no EntityRelation exists for it, so it cannot be joined or expanded. |
UIProps | UI Props | Text | | |
UpdatedDateTime | Modified Date | DateAndTime | Yes | |
Actions
| Action | Label | Type | What it does |
BulkDelete | Delete | Delete | Delete |
Clone | Clone | ServerAction (Clone) | Create a copy of this record |
Delete | Delete | Delete | Delete |
DeleteInList | Delete | Delete | Delete |
Edit | Edit | Edit | Edit |
EditInLine | Edit | Edit | Edit |
New | New | New | New |