MYOB Greentree

HideShow

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

 

gtCustomerCreditLimit


This function allows customer masterfile information to be updated into Greentree Desktop. The Customer Code specified in the function call must already exist in the company. It is updated with the new information.

Note: All the function detail is updated, anything left empty is updated as empty in Greentree Desktop.

Company

The company code that the customer belongs to.

Code

The customer's identifying code.

EnableCreditChk

Options are True or False. If set to True, credit checking is enabled for the customer and credit limits must be entered. If set to False, all credit limits is set to zero.

CreditOverall

The limit of the credit available to the customer. This sets Greentree Desktop to return the warning message if transactions entered cause this credit limit to be exceeded.

Overdue1

The limit of the credit available to the customer when balances are overdue for period 1. This sets Greentree Desktop to return the warning message if transactions entered cause this credit limit to be exceeded.

Overdue2

The limit of the credit available to the customer when balances are overdue for period 2. This sets Greentree Desktop to return the warning message if transactions entered cause this credit limit to be exceeded.

Overdue3

The limit of the credit available to the customer when balances are overdue for period 3. This sets Greentree Desktop to return the warning message if transactions entered cause this credit limit to be exceeded.

Overdue4

The limit of the credit available to the customer when balances are overdue for period 4. This sets Greentree Desktop to return the warning message if transactions entered cause this credit limit to be exceeded.

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 Customer code
  • All credit limits must be zero if EnableCreditChecking is set to False