Share via


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.

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.

See Also

Reference

JmgEmployee Table