MYOB Greentree

HideShow

  • Contents
  • Index
  • Search
 
Display results with all search words

 

gtARCreditNoteAddUnapply


This function supplies the information to add details of any unapplied values to the credit note. The Credit Note Reference parameter must be the unique ID returned by the gtARCreditNote function call.

Reference

This must be the unique identifier generated by the gtARCreditNote function call. It has the format ARCN-nnn. This ensures the unapply details are of the correct credit note header.

UnappliedRef

The reference that the credit note is being applied to. This may be an invoice reference that does not exist for the customer, or Greentree Desktop unapplied reference of UNAPP.

Net

The net amount being unapplied.

Returns

  • Ok - If there are no errors.
  • Error - If there is an error.

Errors Returned

  • Invalid AR Credit Note header reference
  • An unapplied reference must be entered
  • Net value must be entered
  • Net value must be greater than 0.00
  • The total unapplied value cannot be greater than the total value of the credit note
  • The unapplied value cannot be greater than the invoice outstanding value