APWTHCODE – Income Withholding Code

System
Accounts Payable (AP)
Prefix
WTH
Primary key
INC-ACCR-CODE
Fields
7
Updated by
3 programs
Referenced by
25 programs

APWTHCODE is the Income Withholding Code table in Lawson Accounts Payable (prefix WTH). It is indexed by INC-ACCR-CODE (WTHSET1); alternate indexes: WTHSET2. It is updated by AP00.4, AP05.8 and AP305 and referenced by AP170, AP190, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.6 and 17 more. The table has 7 fields, 2 indexes and 0 documented relations.

About APWTHCODE

The Income Withholding Code file contains income withholding code records. An income withholding code is used to link a general ledger income withholding accrual account to an invoice. Used to accrue reportable income withholding for vendors.

Fields (7)

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

Field / columnTypeDescription & valuesUpdated by
WTH-INC-ACCR-CODE PK
INC_ACCR_CODE
Alpha 10A user-defined code representing a general ledger income withholding accrual account. Used to accrue reportable income withholding for vendors.AP00.4, AP05.8
WTH-COMPANY
COMPANY
Numeric 4The company number. Used for posting vendor withholding to the general ledger. Must be a valid record in the General Ledger Company file.AP00.4, AP05.8
WTH-INC-ACCT-UNIT
INC_ACCT_UNIT
Alpha 15The general ledger accrual accounting unit assigned to the income withholding code.AP00.4, AP05.8
WTH-INC-ACCOUNT
INC_ACCOUNT
Numeric 6The general ledger accrual account number assigned to the income withholding code.AP00.4, AP05.8
WTH-INC-SUB-ACCT
INC_SUB_ACCT
Numeric 4If using subaccounts, the general ledger accrual subaccount number assigned to the income withholding code.AP00.4, AP05.8
WTH-ACTIVE-STATUS
ACTIVE_STATUS
Alpha 1Indicates the status of the withholding code.
  • A Active
  • I Inactive
AP00.4, AP05.8
WTH-USED-FLAG
USED_FLAG
Alpha 1Indicates whether the withholding code has been used.AP05.8

Indexes (2)

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

IndexKeysFlagsConditionUsed in
WTHSET1INC-ACCR-CODEPrimaryAP00.4, AP00.5, AP05.8, AP170, AP190, AP20.1, AP20.2, AP20.3 +20 more
WTHSET2COMPANY, INC-ACCR-CODEKeyChangeAP205, AP305

Programs

Updated by (3)

Referenced by (25)