JmgTermJob_Proj.initSourceData Method [AX 2012]
Loads into memory the source data that the job is based on.
Syntax
protected void initSourceData(JmgJobTable _jmgJobTable, [Common _sourceData])
Run On
Called
Parameters
- _jmgJobTable
Type: JmgJobTable Table
The JmgJobTable record that has the corresponding job ID.
- _sourceData
Type: Common Table
If the source data has already been fetched from the database, the source data can be supplied as a parameter; optional.
Remarks
This method is a part of the initialization procedure of an instance. For project jobs, the source data is a record from one of the following tables:
The ProjTable table.
The ProjActivity table.
The ProjForecastEmpl table.
For a code example that uses this method, see the JmgTermJob.initSourceData Method.