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/Run Component Line — entity reference
REFERENCE · Last reviewed

Run Component Line — entity reference

One component's calculated amount for one employee in one payroll run — the finest grain of the payroll calculation and the only place individual earning and deduction figures exist. PayrollRunDetail rolls these up, the payslip's earning/deduction lines are projected from them at render time rather than duplicated, and posting drives every journal line from them. Each row carries its own ComponentType, taxability, statutory flag, proration flag and both GL account mappings, copied down from the PayrollComponent master at calculation time so posting stays reproducible even if the master later changes. Rows come from three sources distinguished by SortOrder: salary-structure lines (the master's SortOrder or the structure sequence), approved PayrollAdjustment one-offs (1000), and loan or advance installment recovery (2000, with no PayrollComponentId and only a payable account). Prefer this entity over PayrollRunDetail for any question about a specific allowance, deduction or contribution.

Fields

FieldLabelTypeRequiredWhat it does
AmountAmountCurrency
ComponentTypeComponent TypePickList
CreatedByIdCreated ByLookup → UserAccountYes
CreatedDateTimeCreated DateDateAndTimeYes
GLAccountIdGL AccountLookup → GLAccountThe expense or earning account this line debits when the run is posted, copied from the component master at calculation time. It is mandatory for earnings, reimbursements and employer contributions — a single such line without it aborts the whole post, naming that line.
IdIdGuidYes
IsProratedIs ProratedBoolean
IsStatutoryIs StatutoryBoolean
IsTaxableIs TaxableBoolean
LabelLabelTextA human-readable caption for the line that the calculation engine never fills in — engine-created rows carry only a generated Name. Do not rely on it to identify which component a line represents; resolve PayrollComponentId to the master instead, and note that recovery lines have no master at all.
ModifiedByIdModified ByLookup → UserAccountYes
NameNameText, uniqueYes
OwnerIdOwnerLookup → UserAccountYes
PartnerAccountIdPartner AccountLookup → Account
PayableGLAccountIdPayableGL AccountLookup → GLAccountThe liability or control account this line credits at posting: the statutory or deduction payable for a deduction, the contribution payable for an employer contribution, and the loan or advance control account for a recovery line. Deductions and employer contributions cannot post without it.
PayrollComponentIdPayroll ComponentLookup → PayrollComponent
PayrollRunDetailIdPayroll Run DetailLookup → PayrollRunDetailThe per-employee summary this line rolls into. It is assigned before the detail row itself is built, so every line of one employee in one run shares it and it is the correct grouping key for reconstructing a payslip breakdown.
PayrollRunIdPayroll RunLookup → PayrollRun
RecordTypeIdRecord TypeGuid, hidden
ResourceIdResourceLookup → ResourceThe person this component amount belongs to, denormalised onto the line so per-employee component queries need no join through the detail. It is a Resource reference, the same key payroll uses everywhere, not an Employee reference.
SortOrderSort OrderNumberPayslip display order, but also the tell for where the line came from: values copied from the component master or the structure sequence are ordinary salary-structure lines, 1000 marks a line created from an approved PayrollAdjustment, and 2000 marks a loan or advance installment recovery. Filtering on those two values is the reliable way to separate one-off and recovery lines from the standing structure.
UIPropsUI PropsText
UpdatedDateTimeModified DateDateAndTimeYes

Actions

ActionLabelTypeWhat it does
CloneCloneServerAction (Clone)Create a copy of this record
DeleteDeleteDeleteDelete this PayrollRunComponentLine.
DeleteEntityDeleteDeleteDeleteEntity
DeleteListHeaderDeleteDeleteDeleteListHeader
EditEditEditEdit this PayrollRunComponentLine.
EditEntityEditEditEditEntity
EditInLineEditEditInlineEditInLine
NewNewNewCreate a PayrollRunComponentLine.
NewInlineNewNewInlineNew
ViewViewViewView this PayrollRunComponentLine.