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

Errors Returned