when we send enum field as range to the query we can send as : (SysQuery::value(HRMEmplStatus::Employed)
//HRMEmplStatus - is a enum
Example:
QueryRun.query().dataSourceNo(1).addRange(fieldnum(HcmWorker,Status)).value(SysQuery::value(HRMEmplStatus::Employed));
No comments:
Post a Comment