|
FUNCTION CheckCredit(tmpDiv$, tmpCust$) |
|
FUNCTION CheckCredit(tmpDiv$, tmpCust$, docTotal) |
|
FUNCTION CheckCredit(tmpDiv$, tmpCust$, docTotal, ordTotal) |
|
FUNCTION CheckCredit(tmpDiv$, tmpCust$, docTotal, ordTotal, recalcAging) |
|
FUNCTION CheckCustomerStatus(tmpDiv$, tmpCust$) |
|
FUNCTION CheckCustomerStatus(tmpDiv$, tmpCust$, isBillTo) |
|
FUNCTION DoAdditionalValidation(div$, cust$, state$) |
|
FUNCTION Find(key$) |
|
FUNCTION GetCodeFormat(codeFormat$) |
Returns the expression used to format the code or display key for this record type.
|
| Parameter | Description |
| codeFormat$ |
[output, string] Returned code format expression. |
|
| Returns |
[nothing] Exits without a return value. |
|
|
FUNCTION GetCreditRemaining(creditBalance, creditRemaining, agingCreditBalance, agingCreditRemaining) |
Gets the current customer's remaining credit per the applicable A/R module options.
|
| Parameter | Description |
| creditBalance |
[output, numeric] Credit balance based on A/R module options. |
| creditRemaining |
[output, numeric] Credit remaining based on customer credit limit and A/R module options. |
| agingCreditBalance |
[output, numeric] Balance of aging categories used to determine credit balance in A/R module options. |
| agingCreditRemaining |
[output, numeric] Credit remaining based on Aging balance exceeds amount in A/R module options. |
|
| Returns |
[boolean] True = success, False = failure |
|
|
FUNCTION GetCustomerBalance(tmpDiv$, tmpCust$, tmpBalance) |
|
FUNCTION GetNameFormat(nameFormat$) |
Returns the expression used to format the name for this record type.
|
| Parameter | Description |
| nameFormat$ |
[output, string] Returned name format expression. |
|
| Returns |
[nothing] Exits without a return value. |
|
|
FUNCTION GetRecordEx(record$, iol$) |
Override of the extended GetRecord to append the record and iolist with CreditRemaining.
|
| Returns |
[boolean] True = success, False = failure |
|
|
FUNCTION IsValid(key$) |
|
FUNCTION SetParentHandle(parentHandle) |