This function supplies the information to add apply details to Accounts Receivable Journal headers. The AR Journal Reference parameter must be the unique ID returned by the gtARJournal function call.
Reference
This must be the unique identifier generated by the gtARJournal function call. It has the format ARJNL-nnn. This ensures the apply details are of the correct Journal header and it ensures Excel creates the header information before attempting to calculate and create the journal apply details.
TransType
This is the type of transaction that the journal is to be applied to. This must be one of these case-insensitive strings:
ApplyReference
The reference of the transaction that the journal is being applied to.
NetAmount
The amount being applied to the specified transaction. The total amount applied to the transaction is the sum of the discount, net and tax amounts entered.
When applying to an AR invoice, a JC AR invoice, or a positive AR journal, the amount must be negative.
When applying to an AR credit note, AR receipt, or a negative AR journal, the amount must be positive. You cannot apply a journal to more than the outstanding amount of the transaction. An error occurs if do this.
Narration
The narration for this journal line.