PayrollEarningCodeAccountingRule::getEarningCodeLedgerDimension Method
Retrieves the ledger dimension, based on the legal entity, earning code, worker, department and job.
Syntax
client server public static DimensionDynamicDefaultAccount getEarningCodeLedgerDimension(
LegalEntityRecId _legalEntityRecId,
PayrollEarningCodeRecId _earningCodeRecId,
[HcmWorkerRecId _hcmWorkerRecId,
OMDepartmentRecId _departmentRecId,
HcmJobRecId _jobRecId])
Run On
Called
Parameters
- _legalEntityRecId
Type: LegalEntityRecId Extended Data Type
The record ID of the legal entity.
- _earningCodeRecId
Type: PayrollEarningCodeRecId Extended Data Type
The record ID of the earning code.
- _hcmWorkerRecId
Type: HcmWorkerRecId Extended Data Type
The record ID of the worker.
- _departmentRecId
Type: OMDepartmentRecId Extended Data Type
The record ID of the department.
- _jobRecId
Type: HcmJobRecId Extended Data Type
The record ID of the job.
Return Value
Type: DimensionDynamicDefaultAccount Extended Data Type
The ledger dimension that is associated with the earning code.