NATBALANCE – AR National Account Balance

System
Accounts Receivable (AR)
Prefix
NAB
Primary key
NAT-COMPANY, NAT-CUSTOMER
Fields
24
Updated by
15 programs
Referenced by
283 programs

NATBALANCE is the AR National Account Balance table in Lawson Accounts Receivable (prefix NAB). It is indexed by NAT-COMPANY, NAT-CUSTOMER (NABSET1). It is updated by AR09.1, AR10.1, AR12.1, AR12.2, AR13.1, AR13.2, AR17.1, AR301 and 7 more and referenced by AC56.1, AC560, AP125, AP126, AP131, AP20.1, AP20.2, AP20.3 and 275 more. The table has 24 fields, 1 index and 0 documented relations.

About NATBALANCE

The AR National Account Balance file contains summary information for a national account customer. Balance, order and credit limit amounts are examples of the type of information stored.

Fields (24)

Column = COBOL field name without the NAB- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.

Field / columnTypeDescription & valuesUpdated by
NAB-NAT-COMPANY PK
NAT_COMPANY
Numeric 4National account customer's company number.AR09.1, AR10.1, AR12.1, AR12.2, AR301, AR501, AR550, TX140
NAB-NAT-CUSTOMER PK
NAT_CUSTOMER
Alpha 9 (Right Justified)National account customer number.AR09.1, AR10.1, AR12.1, AR12.2, AR301, AR501, AR550, TX140
NAB-CURR-BAL
CURR_BAL
Signed 18.2Current non Bill of Exchange balance of all customers in the national account relationship in customer group currency.AR09.1, AR10.1, AR12.1, AR12.2, AR13.1, AR13.2, AR301, AR501 +5 more
NAB-DRAFT-BAL
DRAFT_BAL
Signed 18.2Current Bill of Exchange balance for all customers in the national account relationship in customer group currency.AR10.1, AR12.1, AR12.2, AR13.1, AR13.2, ARLL.1, CB06.2
NAB-OPEN-ORDS
OPEN_ORDS
Signed 18.2Open orders allowed for all national related national account customers in customer group currency.AR550, ARLL.1, WH20.7
NAB-CREDIT-LIM
CREDIT_LIM
Signed 15.0National account customer's cumulative credit limit for all customers in the national account relationship in customer group currency.AR09.1, AR10.1, AR12.1, AR301, AR501, AR550, TX140
NAB-CREDIT-LIM-DAT
CREDIT_LIM_DAT
Numeric 8 (yyyymmdd)This is the date that the national account cumulative credit limit was established.
NAB-REVIEW-DATE
REVIEW_DATE
Numeric 8 (yyyymmdd)This is the review date that is manually established for the national account. This may indicate the "next" or "last" review date depending on the review code.AR09.1, AR10.1, AR12.1, AR12.2, AR17.1, AR301, AR501, AR550 +1 more
NAB-REVIEW-CODE
REVIEW_CODE
Alpha 1This indicates the status of the national account's review date. Valid values are:
  • O Open
  • R Reviewed
AR17.1
NAB-HOLD-CODE
HOLD_CODE
Alpha 4This indicates the hold code that has been given to the national account. The national account hold code is informational data for an external order processing system. Accounts Receivable does not prevent any processing for customers on hold.AR12.1
NAB-HIGH-BAL
HIGH_BAL
Signed 15.0 Occurs 13 Times ×13This is the highest balance that has been recorded for each of the last 13 periods.AR13.1, AR13.2, AR501, ARLL.1, CB06.2
NAB-LAST-DUNN
LAST_DUNN
Numeric 2This is the last Dunning text number that was issued to the national account group.
NAB-LAST-DUN-DATE
LAST_DUN_DATE
Numeric 8 (yyyymmdd)This is the date of the last Dunning text that was issued to the national account group.
NAB-CURR-DRAFT-BAL
CURR_DRAFT_BAL
DerivedTotal current balance of all customers in the national account relationship in customer group currency.
NAB-STATEMENT-REQ
STATEMENT_REQ
Alpha 1
  • N No
  • Y Yes
AR12.1, AR12.2
NAB-INV-CUST-BF-BL
INV_CUST_BF_BL
Alpha 1N I
NAB-STMNT-CYCLE
STMNT_CYCLE
Alpha 2AR12.1, AR12.2
NAB-ZERO-STMNT-FL
ZERO_STMNT_FL
Alpha 1
  • N No
  • Y Yes
AR12.1, AR12.2
NAB-CRED-STMNT-FL
CRED_STMNT_FL
Alpha 1
  • N No
  • Y Yes
AR12.1, AR12.2
NAB-PAST-STMNT-FL
PAST_STMNT_FL
Alpha 1
  • N No
  • Y Yes
AR12.1, AR12.2
NAB-OVER-STMNT-FL
OVER_STMNT_FL
Alpha 1
  • N No
  • Y Yes
AR12.1, AR12.2
NAB-NA-SUMMARY
NA_SUMMARY
Alpha 1
  • N No
  • Y Yes
AR12.1, AR12.2
NAB-ALLOW-RETURNS
ALLOW_RETURNS
Alpha 1" "
  • Y Yes
  • N No
  • L Limit
AR12.1
NAB-ALLOW-RTN-DATE
ALLOW_RTN_DATE
Numeric 8 (yyyymmdd)AR12.1

Indexes (1)

Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
NABSET1NAT-COMPANY, NAT-CUSTOMERPrimaryAC56.1, AC560, AP125, AP126, AP131, AP20.1, AP20.2, AP20.3 +22 more (list truncated in source)

Programs

Updated by (15)

Referenced by (283)