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 / column | Type | Description & values | Updated by |
|---|---|---|---|
WTH-INC-ACCR-CODE PKINC_ACCR_CODE | Alpha 10 | A user-defined code representing a general ledger income withholding accrual account. Used to accrue reportable income withholding for vendors. | AP00.4, AP05.8 |
WTH-COMPANYCOMPANY | Numeric 4 | The 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-UNITINC_ACCT_UNIT | Alpha 15 | The general ledger accrual accounting unit assigned to the income withholding code. | AP00.4, AP05.8 |
WTH-INC-ACCOUNTINC_ACCOUNT | Numeric 6 | The general ledger accrual account number assigned to the income withholding code. | AP00.4, AP05.8 |
WTH-INC-SUB-ACCTINC_SUB_ACCT | Numeric 4 | If using subaccounts, the general ledger accrual subaccount number assigned to the income withholding code. | AP00.4, AP05.8 |
WTH-ACTIVE-STATUSACTIVE_STATUS | Alpha 1 | Indicates the status of the withholding code.
| AP00.4, AP05.8 |
WTH-USED-FLAGUSED_FLAG | Alpha 1 | Indicates 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.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
WTHSET1 | INC-ACCR-CODE | Primary | AP00.4, AP00.5, AP05.8, AP170, AP190, AP20.1, AP20.2, AP20.3 +20 more | |
WTHSET2 | COMPANY, INC-ACCR-CODE | KeyChange | AP205, AP305 |
Programs
Updated by (3)
Referenced by (25)
- AP170 Payment Closing
- AP190 Invoice Reinstatement
- AP20.1 Basic Invoice
- AP20.2 Taxed Invoice
- AP20.3 Detail Invoice
- AP20.4 Invoice Line Detail
- AP20.5 Multiple Invoice
- AP20.6 Prepayment
- AP20.7 Distributions
- AP20.8 Payment Schedule
- AP200 Vendor Group, Company Listing
- AP205 Accounts Payable Codes Listing
- AP21.1 View Distributions
- AP23.1 Transit Invoice Entry
- AP520 Invoice Interface
- API1.1 Add Invoice
- API2.1 Add Invoice
- MA41.1 Add-On Cost Detail - Purchase Order
- MA41.2 Add On Cost Lookup
- MA41.4 Miscellaneous Add-On Cost
- MA41.7 AOC Approval Entry
- MA42.2 Memo Line AOC Detail
- MA43.2 Purchase Order Lookup
- MA44.1 Invoice Line Detail - Purchase Order
- MA44.2 Invoice Line Detail- Service