MYOB Greentree

HideShow

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

 

gtGLInwardsCashReceiptDetails


This function records the receipt details for an Inwards Cash transaction. The Reference parameter must be the unique ID returned by the gtGLInwardsCash function call.

Each inwards cash transaction is uploaded to Greentree Desktop as a complete transaction set. The receipt either uploads in its entirety or nothing of the document is loaded.

Reference

This must be the unique identifier generated by the gtGLInwardsCash function call. It has the format GLINCASH-nnn. This ensures the receipt details are of the correct receipt header and it ensures Excel creates the header information before attempting to create the receipt details.

ReceivedFrom

The name of the person or company that the receipt is received from.

ChequeName

If the receipt is by cheque, the name on the cheque.

ChequeBranch

The bank branch that the cheque originated from.

ChequeBank

The bank that the cheque originated from.

CreditCard

If the receipt is by credit card, the name of the card issuers.

CardName

The name on the credit card.

CardNumber

The number on the credit card.

CardExpiryDate

The expiry date on the credit card — for example, 02/19.

Returns

  • Ok - if no errors are encountered
  • Error - if an error is encountered

Errors Returned

  • Invalid GL Inwards Cash header reference
  • GL Inwards Cash header not found