JmgEmployee::lookupCalcApproveWorker Method
Performs a lookup of the workers that are created as registration workers for use in the JmgCalcApprove Form.
Syntax
client server public static void lookupCalcApproveWorker(
FormControl _formControl,
[JmgGroupCalcId jmgGroupCalcId,
JmgGroupApproveId jmgGroupApproveId,
JmgProfileDate _activeFromDate])
Run On
Called
Parameters
- _formControl
Type: FormControl Class
The form control for which the lookup is performed.
- jmgGroupCalcId
Type: JmgGroupCalcId Extended Data Type
A Text value that indicates the calculation group that registration workers is part of; optional.
- jmgGroupApproveId
Type: JmgGroupApproveId Extended Data Type
A Text value that indicates the approval group that registration workers is part of; optional.
- _activeFromDate
Type: JmgProfileDate Extended Data Type
A Date value that indicates the active from range of registration workers; optional.
Remarks
The lookup is based on the lookup that is provided by the HcmWorkerLookup class.A worker is included in the lookup if a record exists in the JmgEmployee table for the worker.
If the jmgGroupCalcId parameter is set, a range is added for that group.
If the jmgGroupApproveId parameter is set, a range is added for that group.
If the _activeFromDate parameter is set, a range is added using that date, else default date is today.