Share via


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.
  • _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.

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.

See Also

Reference

JmgTermJob Class