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
| Field | Label | Type | Required | What it does |
Amount | Amount | Currency | | The calculated amount, rounded to two decimals. Proratable components are already reduced by payable days over total days. A zero amount posts nothing. |
ComponentType | Component Type | PickList | | How 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. |
CreatedById | Created By | Lookup → UserAccount | Yes | |
CreatedDateTime | Created Date | DateAndTime | Yes | |
GLAccountId | GL Account | Lookup → GLAccount | | The 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. |
Id | Id | Guid | Yes | |
IsProrated | Is Prorated | Boolean | | True 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. |
IsStatutory | Is Statutory | Boolean | | Copied from the payroll component's statutory flag when the run is calculated. It is informational: no calculation, posting, challan or return reads it. |
IsTaxable | Is Taxable | Boolean | | Whether 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. |
Label | Label | Text | | A free caption. The calculation never fills it; use Payroll Component to see what the line is for. |
ModifiedById | Modified By | Lookup → UserAccount | Yes | |
Name | Name | Text, unique | Yes | A generated PRCL- identifier. Lines carry no meaningful document number. |
OwnerId | Owner | Lookup → UserAccount | Yes | |
PartnerAccountId | Partner Account | Lookup → Account | | The company being paid, copied from the payroll run. |
PayableGLAccountId | PayableGL Account | Lookup → GLAccount | | The 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. |
PayrollComponentId | Payroll Component | Lookup → PayrollComponent | | The 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. |
PayrollRunDetailId | Payroll Run Detail | Lookup → PayrollRunDetail | | The employee row of the run this line belongs to; the Component Line tab of that row lists its lines. |
PayrollRunId | Payroll Run | Lookup → PayrollRun | | The 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. |
RecordTypeId | Record Type | Guid, hidden | | |
ResourceId | Resource | Lookup → Resource | | The person the amount belongs to, copied onto the line so one person's lines can be listed across runs. |
SortOrder | Sort Order | Number | | Display 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. |
UIProps | UI Props | Text | | |
UpdatedDateTime | Modified Date | DateAndTime | Yes | |
Actions
| Action | Label | Type | What it does |
Clone | Clone | ServerAction (Clone) | Create a copy of this record |
Delete | Delete | Delete | Delete this PayrollRunComponentLine. |
DeleteEntity | Delete | Delete | DeleteEntity |
DeleteListHeader | Delete | Delete | DeleteListHeader |
Edit | Edit | Edit | Edit this PayrollRunComponentLine. |
EditEntity | Edit | Edit | EditEntity |
EditInLine | Edit | EditInline | EditInLine |
New | New | New | Create a PayrollRunComponentLine. |
NewInline | New | NewInline | New |
View | View | View | View this PayrollRunComponentLine. |