Hi,
I'm getting stuck at description of PayrollEarningCode.Description. Based on below code, I'm getting recid of the table but unable to get description.
earncode = PayrollWorkerPositionEarningCode::findByPosition(hcmPosition.RecId);
select payrollEarningCode where payrollEarningCode.RecId == earncode.RecId;
jmgTmpPayExport.DXCEarnCodeStr = payrollEarningCode.Description;
I tried to find by payrollearning::findByearningcode(earncode.earningcode/recid).description; but it didn't work.
Is there anyone who can assist on it?
Thanks,

Report
All responses (
Answers (