select firstOnly ITLHRWorkerTransfer
order by assignmentstartdatenew desc
where ITLHRWorkerTransfer.Personnel Number == ITLPayReimbursementApplication .EmplID &&
ITLHRWorkerTransfer.WorkflowAp provalStatus == ITLWorkflowApprovalStatus::App roved;
dimStorage = DimensionAttributeValueSetStor age::find(ITLHRWorkerTransfer. DimensionDefaultNew);
for (i= 1 ; i<= dimStorage.elements() ; i++)
{
if(DimensionAttribute::find(di mStorage.getAttributeByIndex( i)).Name == "Department")
{
select _omoperatingunit where _omoperatingunit.OMOperatingUn itNumber == dimStorage.getDisplayValueByIn dex(i);
ITLPayAppChildTMP.Department = _omoperatingunit.Name;
}
}
No comments:
Post a Comment