HOLDCODES – AR Hold Code

System
Accounts Receivable (AR)
Prefix
HDD
Primary key
CUST-GROUP, HOLD-CODE
Fields
9
Updated by
36 programs
Referenced by
2 programs

HOLDCODES is the AR Hold Code table in Lawson Accounts Receivable (prefix HDD). It is indexed by CUST-GROUP, HOLD-CODE (HDDSET1). It is updated by AR08.1, AR09.1, AR10.1, AR12.1, AR16.1, AR301, AR501, AR550 and 28 more and referenced by AR01.1 and AR216. The table has 9 fields, 1 index and 0 documented relations.

About HOLDCODES

The AR Hold Code file contains hold code records. Hold codes are used to indicate whether a customer, order or order line is on hold. The Lawson Accounts Receivable system can assess a customer hold code, but does not prevent any accounts receivable processing based on this. The Lawson Order Entry system will use order, and order line, hold code logic in its processing.

Fields (9)

Column = COBOL field name without the HDD- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored. PK = primary key (present in every index); SETn = leading/alternate key of that index.

Field / columnTypeDescription & valuesUpdated by
#HDD-CUST-GROUP PK
CUST_GROUP
Alpha 5Customer Group. This is the customer group for which the hold codes will be valid.AR08.1, AR10.1, AR16.1, AR501, AR550, WH130, WH132, WH190 +24 more
#HDD-HOLD-CODE PK
HOLD_CODE
Alpha 4Hold Code. This is the code to be assigned to various levels to put a hold on further Order Entry processing.AR08.1, AR10.1, AR16.1, AR501, AR550, WH130, WH132, WH190 +24 more
#HDD-DESCRIPTION
DESCRIPTION
Alpha 30 (Lower Case)Displays the hold code description.AR08.1, AR10.1, AR16.1, AR501, AR550, WH130, WH132, WH190 +24 more
#HDD-CUST-FL
CUST_FL
Alpha 1Customer flag indicates that the hold code may be applied to a customer.
  • N No
  • Y Yes
AR08.1, AR10.1, AR16.1, AR501, AR550, WH130, WH132, WH190 +24 more
#HDD-ORDER-FL
ORDER_FL
Alpha 1Used by Lawson Order Entry system. Order flag indicates whether this hold code may be applied at the order level.
  • N No
  • Y Yes
AR08.1, AR10.1, AR16.1, AR501, AR550, WH130, WH132, WH190 +24 more
#HDD-ORDER-LINE-FL
ORDER_LINE_FL
Alpha 1Used by Lawson Order Entry system. Order line flag indicates whether this hold code may be applied at the order line level.
  • N No
  • Y Yes
AR08.1, AR10.1, AR16.1, AR501, AR550, WH130, WH132, WH190 +24 more
#HDD-USED-FL
USED_FL
Alpha 1Used Flag. This will indicate if the Hold Code has been used. If the code has not been used, it may be deleted. Otherwise it must be inactivated to discontinue use. Valid values are:
  • N No
  • Y Yes
AR08.1, AR09.1, AR10.1, AR12.1, AR16.1, AR301, AR501, AR550 +28 more
#HDD-ACTIVE-STATUS
ACTIVE_STATUS
Alpha 1Active Status. This will indicate if a Hold Code is either active or inactive. Valid values are:
  • A Active
  • I Inactive
AR08.1, AR10.1, AR16.1, AR501, AR550, WH130, WH132, WH190 +24 more
#HDD-DEALLOC-FL
DEALLOC_FL
Alpha 1Used by Lawson Order Entry system. Deallocation flag indicates whether inventory committed to the order/order line is released when this hold code is applied. Valid values are:
  • N No
  • Y Yes
AR16.1

Indexes (1)

Keys are listed in index order; ↓ marks a descending key. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
HDDSET1
  1. CUST-GROUP
  2. HOLD-CODE
PrimaryAR01.1, AR08.1, AR09.1, AR10.1, AR12.1, AR16.1, AR216, AR301 +22 more (list truncated in source)

Programs

Updated by (36)

Referenced by (2)