JmgTermJob.initCommon Method [AX 2012]
This method initializes the common fields in a JmgTermReg record, which is created when a registration is made.
Syntax
protected void initCommon(
JmgTermReg _jmgTermReg,
JmgWorkerRecId _worker,
JmgDate _date,
JmgTime _time,
NoYes _autoStamp,
JmgRegistrationParameters _registrationParameters)
Run On
Called
Parameters
- _jmgTermReg
Type: JmgTermReg Table
The JmgTermReg record, which should be initialized.
- _worker
Type: JmgWorkerRecId Extended Data Type
The worker of the employee making the registration.
- _date
Type: JmgDate Extended Data Type
The registration date.
- _time
Type: JmgTime Extended Data Type
The registration time.
- _autoStamp
Type: NoYes Enumeration
A NoYes enumeration value that specifies whether the registration is made directly by an employee, which is indicated by the NoYes::No enumeration value.
- _registrationParameters
Type: JmgRegistrationParameters Class
Additional registration parameters.
Remarks
The common fields are those that are initialized in the same way, regardless of the job type.
This protected method is invoked from the makeRegistration methods in the JmgTermJob subclasses.