PRLDeductionArrearRecovery::create Method
Creates and inserts a new record into the PRLDeductionArrearRecovery table.
Syntax
client server public static PRLDeductionArrearRecovery create(
RefRecId _arrearRecId,
PRLArrearOffsetType _offsetType,
AmountMST _recoveryAmount,
[PayrollPayStatementRecId _payStatementRecId])
Run On
Called
Parameters
- _arrearRecId
Type: RefRecId Extended Data Type
The record Id for the PRLDeductionArrear record being recovered against.
- _offsetType
Type: PRLArrearOffsetType Enumeration
The type of recovery record being created can be either Recovery or Adjustment.
- _recoveryAmount
Type: AmountMST Extended Data Type
The amount to recover against the arrear.
- _payStatementRecId
Type: PayrollPayStatementRecId Extended Data Type
The record Id for the PayrollPayStatement record that is recovering the arrear.
Return Value
Type: PRLDeductionArrearRecovery Table
The newly created PRLDeductionArrearRecovery record.
Remarks
The !Malformed!_payStatementRecId parameter is optional for recovery records that are adjustments.