xMatix
Sign in Request demo
xMatix
PRODUCTS
SalesField Sales & SFACRMRewardsClaimsInventoryProcurementWarehouse 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
Auto DMSConsumer Goods DMSSales Force Automation (SFA) 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 calculated amount for one employee in one payroll run, written by the run's Calculate action and listed on the Component Line tab of the employee's Payroll Run Detail. Each employee gets one line per salary-structure component, one per approved payroll adjustment of the period (Sort Order 1000) and one Deduction per active loan or advance installment (Sort Order 2000, no payroll component, credited to the loan's control account). Component type, flags and both GL accounts are copied from the payroll component when the run is calculated. Posting builds the accrual journal from these lines, while the register, payslips and the salary payment batch use the Payroll Run Detail totals, which Calculate writes in the same pass. Nothing re-totals the detail when a line is edited, added or deleted by hand and nothing locks the lines of an approved or posted run, so change the inputs and recalculate instead. Recalculating deletes and rewrites every line of the run.

Fields

FieldLabelTypeRequiredWhat it does
AmountAmountCurrencyThe calculated amount, rounded to two decimals. Proratable components are already reduced by payable days over total days. A zero amount posts nothing.
ComponentTypeComponent TypePickListHow the amount counts: Earning, Deduction, EmployerContribution or Reimbursement, copied from the payroll component. Earnings and reimbursements add to gross pay and are debited to the GL account; deductions reduce net pay and are credited to the payable account; employer contributions are debited to the GL account and credited to the payable account without changing net pay. A blank value is posted as an Earning.
CreatedByIdCreated ByLookup → UserAccountYes
CreatedDateTimeCreated DateDateAndTimeYes
GLAccountIdGL AccountLookup → GLAccountThe expense account this line debits when the run is posted, copied from the payroll component when the run is calculated. Required for earnings, reimbursements and employer contributions: one such line without it stops the whole post. Changing the component later affects only runs calculated afterwards.
IdIdGuidYes
IsProratedIs ProratedBooleanTrue when loss-of-pay days reduced this amount: the component is proratable and the employee's payable days are fewer than the period's total days. Adjustment and recovery lines are never prorated.
IsStatutoryIs StatutoryBooleanCopied from the payroll component's statutory flag when the run is calculated. It is informational: no calculation, posting, challan or return reads it.
IsTaxableIs TaxableBooleanWhether this earning counts as taxable salary, copied from the payroll component's taxability. The employee's TDS calculation sheet reads it for earning lines of earlier runs in the year. Empty on loan and advance recovery lines.
LabelLabelTextA free caption. The calculation never fills it; use Payroll Component to see what the line is for.
ModifiedByIdModified ByLookup → UserAccountYes
NameNameText, uniqueYesA generated PRCL- identifier. Lines carry no meaningful document number.
OwnerIdOwnerLookup → UserAccountYes
PartnerAccountIdPartner AccountLookup → AccountThe company being paid, copied from the payroll run.
PayableGLAccountIdPayableGL AccountLookup → GLAccountThe liability account this line credits when the run is posted: the deduction or statutory 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 → PayrollComponentThe payroll component the amount is for, from the salary structure or the payroll adjustment. Empty on loan and advance recovery lines and on adjustments entered without a component.
PayrollRunDetailIdPayroll Run DetailLookup → PayrollRunDetailThe employee row of the run this line belongs to; the Component Line tab of that row lists its lines.
PayrollRunIdPayroll RunLookup → PayrollRunThe payroll run the line belongs to. Posting reads lines by this field, so a line without it is never posted. It is not on the line form.
RecordTypeIdRecord TypeGuid, hidden
ResourceIdResourceLookup → ResourceThe person the amount belongs to, copied onto the line so one person's lines can be listed across runs.
SortOrderSort OrderNumberDisplay order and source of the line: the payroll component's sort order or the structure line's sequence for salary-structure lines, 1000 for a payroll adjustment, 2000 for a loan or advance installment recovery.
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.