JmgTermReg::calcProfileDate Method
Calculates the profile date, which will be assigned to registrations made by the specified worker at the specified time.
Syntax
client server public static JmgProfileDate calcProfileDate(
JmgTermRegType _regType,
JmgEmployee _emplTbl,
utcdatetime _regDateTime)
Run On
Called
Parameters
- _regType
Type: JmgTermRegType Enumeration
The type of registration for which to calculate the profile date.
- _emplTbl
Type: JmgEmployee Table
The worker who is making the registration.
- _regDateTime
Type: utcdatetime
The date and time of the registration.
Return Value
Type: JmgProfileDate Extended Data Type
The calculated profile date to assign to the registration.
Exceptions
Exception | Condition |
---|---|
Error | No profile can be found for the specified worker. |