Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- _ledgerJournalTrans
Type: LedgerJournalTrans Table
The worker payment record in LedgerJournalTrans.
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.