gtARSalesItem
This function enables new Non-Stock Sales Codes to be updated to Greentree. The function does not update existing Sales Codes.
Company
The company code that the customer belongs to.
Code
The Sales item code. This must be unique in the company. If the code already exists in the company, an error is returned.
Description
The Sales Code description.
Account
The general ledger account to be updated when the non-stock code is used.
Price
The default price for the items sold under the non-stock code.
CostOfSaleRate
The default cost of sales rate for this item.
TaxCode
The code that determines the tax rate and type for the transaction. If not entered and Greentree Desktop cannot find a valid default, then an error is returned and the user must enter a valid code.
Returns
- Not Updated - When there is no error.
- Updated - After the function has successfully been updated to Greentree.
- Error message - If an error is encountered.
Errors Returned
- Must have a Company identifier
- Invalid Company identifier
- Must have a Sales Code
- Sales Code must be unique