gtGLOutwardsCashPayeeDetails
This function records the payee details for an Outwards Cash transaction. The Reference parameter must be the unique ID returned by the gtGLOutwardsCash function call.
Each outwards cash transaction is uploaded to Greentree Desktop as a complete transaction set. The payment either uploads in its entirety or nothing of the document is loaded.
Reference
This must be the unique identifier generated by the gtGLOutwardsCash function call. It has the format GLOUTCASH-nnn. This ensures the payee details are of the correct payment header and it ensures Excel creates the header information before attempting to create the payment payee details.
PayeeName
The name of the person or company that the payment is made to.
Address1
The payee's address details.
Address2
The payee's address details.
Address3
The payee's address details.
Suburb
The payee's address suburb.
PostCode
The payee's address post code details.
Suburb
The payee's address suburb.
CountryCode
The payee's address country code. If no value is entered here, Greentree Desktop updates the address with the country code of the company.
Returns
- Ok - if no error is encountered
- Error - if an error is encountered
Errors Returned
- Invalid GL Outwards Cash header reference
- GL Outwards Cash header not found