Share via


VendOutPaym.vendPaymPayroll Method [AX 2012]

The Payroll application leverages the vendor payment process to disburse payments to workers.

Most of the information set for the vendor is not relevant to payroll as it replaces the Vendor bank account with the worker bank account which is obtained from the related LedgerJournalTransPayrollDisbursement record.

Syntax

public VendPaym vendPaymPayroll(LedgerJournalTrans _ledgerJournalTrans)

Run On

Called

Parameters

Return Value

Type: VendPaym Class
The inialized vendPaym class, ready for printing or direct deposit.

Remarks

Initialization of the vendPaym record is required from two classes VendOutPaym_Cheque_Payroll and VendOutPaymNACHAPayroll but the class inheritance diverges at the VendOutPaym class, therefore functionality common to the cheque and direct desposit functionality is impemented on the VendOutPaym class to eliminate duplication of code in the two payroll classes.

See Also

Reference

VendOutPaym Class