ProjInvoiceItem.updateCommission Method
Calculates and updates the sales commission for an invoice line.
Syntax
public void updateCommission(LedgerVoucher _ledgerVoucher, ProjProposalJour _projProposalJour)
Run On
ClientOrServer
Parameters
- _ledgerVoucher
Type: LedgerVoucher Class
A ledger voucher.
- _projProposalJour
Type: ProjProposalJour Table
An invoice proposal.
Remarks
The commission will not be recalculated if it has already been calculated as indicated by the CommissCalc field.