Credit Limit Script

Script is a set of instructions that run a function, using a macro language or language in lot.

This way, the script determining the credit limit calculation for the customer is created, since an specific rule for this treatment can be created.

The script is executed immediately after confirming the saving of the Registration Form of the customer, and its return is saved in field Credit Limit of this file.

The description of the rule is entered in AdvPl language and must be developed with help of a Business Analyst from TOTVS together with a Credit Analyst of your company.

Procedures

To add scripts of credit limit:

1. In Credit Limit Script, select Add.
2. Fill out fields according to help instructions.
3. After entering the fields, check and confirm them.

See also

To consult the Credit Limit Script file, see table MAF - Customer's Classification Script in the topic Generic Files query.