RPayAddAverageEarnFromOrder_Vacation.initAEDocument Method [AX 2012]
Initializes average earning document.
Syntax
protected void initAEDocument(FormDataSource _rPayAverageEarnEmplPeriodTable_ds, RPayAverageEarnEmplPeriodTable _rPayAverageEarnEmplPeriodTable)
Run On
Called
Parameters
- _rPayAverageEarnEmplPeriodTable_ds
Type: FormDataSource Class
A RPayAverageEarnEmplPeriodTable datasource.
- _rPayAverageEarnEmplPeriodTable
Type: RPayAverageEarnEmplPeriodTable Table
A RPayAverageEarnEmplPeriodTable record.
Exceptions
Exception | Condition |
---|---|
Error | Line from the order for employee was not transferred due to validation error. -or- Line from the order for employee was not transferred due to validation error. |