xMatix
Sign in Request demo
xMatix
PRODUCTS
SalesField SalesCRMRewardsClaimsInventoryProcurementWarehouse ManagementField ServiceServiceSupportTelephony & MessagingFinance & AccountingPayrollExpense ManagementCommercePortalsAnalytics & ReportingData StudioMobile AppSee all products →
PLATFORM
Platform overviewApp BuilderAutomationIntegrationsSecurity & GovernanceChange ManagementDevelopers
SENSE AI
Sense AI overviewSense AssistSense ControlSense VisionAI StudioTrust & governanceIn Claude & ChatGPTUse cases
SOLUTIONS
FMCG & DistributionManufacturing & Dealer NetworksAutomotive & DealershipsPharma & HealthcareConsumer DurablesAgri-InputsBuilding MaterialsService NetworksWarehousing & 3PLFinancial AccountingERP SoftwareIndia GST ComplianceUAE VAT & e-InvoicingSaudi ZATCA & VATAll solutions →
RESOURCES
Knowledge CenterDeveloper & CLIBlogGuidesWhat is xMatix?Company facts
COMPANY
AboutCareersPartnersEventsContactAuthorsLegal
Sign in Request demo
Home/Docs/Entity Reference/Document Service Contract Line — entity reference
REFERENCE · Last reviewed

Document Service Contract Line — entity reference

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

FieldLabelTypeRequiredWhat it does
ComponentItemIdComponent ItemLookupThe 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.
CreatedByIdCreated ByLookup → UserAccountYes
CreatedDateTimeCreated DateDateAndTimeYes
IdIdGuidYes
IsInScopeIs In ScopeBooleanYesWhether 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.
ModifiedByIdModified ByLookup → UserAccountYes
NameNameTextYes
OpportunityLineIdOpportunity LineLookupThe opportunity line this scope line was captured against.
OwnerIdOwnerLookup → UserAccountYes
QuantityQuantityNumber
RecordTypeIdRecord TypeGuid, hidden
SaleInvoiceLineIdSale Invoice LineLookupThe 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.
SaleOrderLineIdSale Order LineLookupThe 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.
UIPropsUI PropsText
UpdatedDateTimeModified DateDateAndTimeYes

Actions

ActionLabelTypeWhat it does
BulkDeleteDeleteDeleteDelete
CloneCloneServerAction (Clone)Create a copy of this record
DeleteDeleteDeleteDelete
DeleteInListDeleteDeleteDelete
EditEditEditEdit
EditInLineEditEditEdit
NewNewNewNew