TXRPTDIST – No description in the Lawson data dictionary

System
Tax (TX)
Prefix
TDT
Primary key
COMPANY, SYSTEM-CD, DOCUMENT, SUFFIX, TRANS-TYPE, LINE-NBR, SEQ-NBR, DIST-SEQ-NBR
Fields
15
Updated by
3 programs
Referenced by
0 programs

TXRPTDIST is a Lawson Tax table (prefix TDT); no description in the lawson data dictionary. It is indexed by COMPANY, SYSTEM-CD, DOCUMENT, SUFFIX, TRANS-TYPE, LINE-NBR, SEQ-NBR, DIST-SEQ-NBR (TDTSET1). It is related 1:M to TXRPTTRANS. It is updated by TX101, TX226 and TX301. The table has 15 fields, 1 index and 1 documented relation.

About TXRPTDIST

No description in the Lawson data dictionary.

Fields (15)

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

Field / columnTypeDescription & valuesUpdated by
TDT-COMPANY PK
COMPANY
Numeric 4The company number. The company must alerady be defined in the General Ledger system.TX101
TDT-SYSTEM-CD PK
SYSTEM_CD
Alpha 2This field indicates on what system the transaction originated.TX101
TDT-DOCUMENT PK
DOCUMENT
Alpha 27The number assigned to the transaction (invoice, credit memo, etc.) for which the intrastat data was entered.TX101
TDT-SUFFIX PK
SUFFIX
Numeric 3This is the suffix for the invoice.TX101
TDT-TRANS-TYPE PK
TRANS_TYPE
Alpha 1Identifies the type of AR transaction: For non-AR documents, this field will be a space.
  • I Invoice
  • C Credit memo
  • D Debit memo
TX101
TDT-LINE-NBR PK
LINE_NBR
Numeric 6This field contains the line number.TX101
TDT-SEQ-NBR PK
SEQ_NBR
Numeric 4An automatically assigned sequence number.TX101
TDT-TAX-CODE
TAX_CODE
Alpha 10This field contains a code representing specific tax information. This must be valid Tax Code.TX101
TDT-DIST-COMPANY
DIST_COMPANY
Numeric 4Identifies the AP company if the resource type = V. Identifies the HR company if the resource type = E. It is blank for type A, P or Q resources.TX101
TDT-ACCT-UNIT
ACCT_UNIT
Alpha 15The accounting unit is a shorthand notation representing the variable level number. When used in the General Ledger Account Master file, the accounting unit must be defined in the General Ledger Names file as a posting accounting unit.TX101
TDT-ACCOUNT
ACCOUNT
Numeric 6This field along with the accounting unit and subaccount make up the location (account) where amounts and other account information is stored.TX101
TDT-SUB-ACCT
SUB_ACCT
Numeric 4This field contains the subaccount from your general ledger chart of accounts that was charged with the amount carried on this record.TX101
TDT-BASE-AMT
BASE_AMT
Signed 18.2TX101
TDT-BASE-TAXABLE
BASE_TAXABLE
Signed 18.2TX101
TDT-DIST-SEQ-NBR PK
DIST_SEQ_NBR
Numeric 6A unique sequence number.TX101

Indexes (1)

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

IndexKeysFlagsConditionUsed in
TDTSET1COMPANY, SYSTEM-CD, DOCUMENT, SUFFIX, TRANS-TYPE, LINE-NBR, SEQ-NBR, DIST-SEQ-NBRPrimaryTX226, TX301

Relations

One to many (1) — child tables

RelationTableRulesConditionField map
TxrpttransTXRPTTRANSTDT-COMPANYTAS-COMPANY, TDT-SYSTEM-CDTAS-SYSTEM-CD, TDT-DOCUMENTTAS-DOCUMENT, TDT-SUFFIXTAS-SUFFIX, TDT-TRANS-TYPETAS-TRANS-TYPE, TAS-VEND-CUST

Programs

Updated by (3)