ARDRAFTS – AR Bill of Exchange

System
DT (DT)
Prefix
ARD
Primary key
COMPANY, AR-DRAFT-NBR, SUFFIX, CUSTOMER, CANCEL-SEQ, DRAFT-SOURCE
Fields
70
Updated by
1 program
Referenced by
0 programs

ARDRAFTS is the AR Bill of Exchange table in Lawson DT (prefix ARD). It is indexed by COMPANY, AR-DRAFT-NBR, SUFFIX, CUSTOMER, CANCEL-SEQ, DRAFT-SOURCE (ARDSET1); alternate indexes: ARDSET10, ARDSET2, ARDSET3, ARDSET4, ARDSET5, ARDSET6, ARDSET7, ARDSET8 and 1 more. It is related 1:1 to ARCOMP, ARCUSTGRP, ARCUSTOMER, CBBANKINST, CBCPYCASH, CBBANKENT, CUSTDESC, DTCUSTBANK and 1 more and 1:M to ARAPPLIED. It is updated by ARLL.1. The table has 70 fields, 10 indexes and 10 documented relations.

About ARDRAFTS

No description in the Lawson data dictionary.

Fields (70)

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

Field / columnTypeDescription & valuesUpdated by
ARD-COMPANY PK
COMPANY
Numeric 4The company number represents an established company. Must be a valid record in the AR Company file.ARLL.1
ARD-AR-DRAFT-NBR PK
AR_DRAFT_NBR
Alpha 22ARLL.1
ARD-SUFFIX PK
SUFFIX
Numeric 3The bill of exchange suffix number. Represents the occurrence value of the bill of exchange. Used if a bill of exchange is created for a single payment of a multiple payment invoice.ARLL.1
ARD-CUSTOMER PK
CUSTOMER
Alpha 9 (Right Justified)The customer assigned to the bill of exchange. Represents the customer responsible for paying the bill of exchange obligation. Must be a valid record in the AR Company Customer file.ARLL.1
ARD-CANCEL-SEQ PK
CANCEL_SEQ
Numeric 4An automatically assigned sequence number.ARLL.1
ARD-DRAFT-SOURCE PK
DRAFT_SOURCE
Alpha 1Indicates where the bill of exchange originated. Valid values are: was created by the vendor (accounts receivable). created by the customer (accounts payable). was created by an interfacing system, such as an order entry system.
  • R Receivable. The bill of exchange
  • P Payable. The bill of exchange was
  • I Interfaced. The bill of exchange
ARLL.1
ARD-APP-SEQ
APP_SEQ
Numeric 7The counter for the number of applications used in the Accounts Receivable Application file.ARLL.1
ARD-PROCESS-LEVEL
PROCESS_LEVEL
Alpha 5The process level assigned to the bill of exchange. Must be a valid record in the AR Process Level file.ARLL.1
ARD-BANK-INST-CODE
BANK_INST_CODE
Alpha 3A transaction code representing a type of cash payment (with atributes for either receiving AP payments, or creating EFT payments), bill of exchange payment, or bank service transaction.ARLL.1
ARD-REMIT-COMPANY
REMIT_COMPANY
Numeric 4This field contains the remittance company once the bill of exchange is included in a remittance. Must be a valid record in the AR Company file.ARLL.1
ARD-REMIT-PROC-LEV
REMIT_PROC_LEV
Alpha 5This field contains remittance process level once the bill of exchange is included in a remittance. Must be a valid record in the AR Process Level file.ARLL.1
ARD-CASH-CODE
CASH_CODE
Alpha 4The cash code (bank account) used for depositing the bill of exchange. Must be a valid record in the Cash Ledger Cash Code file.ARLL.1
ARD-REMIT-TYPE
REMIT_TYPE
Alpha 1Indicates the type of remittance associated with the bill of exchange. Valid values are: upon due date
  • D Discounted remittance
  • E Encashed remittance; full value
  • Blank Not included in a remittance
ARLL.1
ARD-REMIT-NBR
REMIT_NBR
Numeric 7The remittance number assigned to the bill of exchange when it is presented to the bank for cashing as part of a remittance.ARLL.1
ARD-GROUP-RATE
GROUP_RATE
Signed 14.7The exchange rate used to convert a company base currency amount to the customer group currency.ARLL.1
ARD-GROUP-MUDV
GROUP_MUDV
Alpha 1The multiplier or divisor indicator for the group rate.ARLL.1
ARD-ORIG-CURRENCY
ORIG_CURRENCY
Alpha 5The currency code assigned to the bill of exchange. Represents the currency that will be received upon cashing.ARLL.1
ARD-CURR-MUDV
CURR_MUDV
Alpha 1The multiplier or divisor indicator used to convert the transaction currency amount to the company base currency.ARLL.1
ARD-ORIG-ND
ORIG_ND
Numeric 1The number of decimals defined for the bill of exchange currency.ARLL.1
ARD-ORIG-RATE
ORIG_RATE
Signed 14.7The exchange rate used to convert the bill of exchange currency to the company base currency.ARLL.1
ARD-CASH-RATE
CASH_RATE
Signed 14.7The currency exchange rate in effect when the bill of exchange was cashed.ARLL.1
ARD-ORIG-AMT
ORIG_AMT
Signed 18.2The amount of the bill of exchange in the currency of the bill of exchange.ARLL.1
ARD-TRAN-ND
TRAN_ND
Numeric 1The number of decimals defined for the company base currency.ARLL.1
ARD-TRAN-AMT
TRAN_AMT
Signed 18.2The amount of the bill of exchange in the company base currency.ARLL.1
ARD-DRAFT-DATE
DRAFT_DATE
Numeric 8 (yyyymmdd)The date assigned to the bill of exchange. Represents the date the bill of exchange was created.ARLL.1
ARD-MATURITY-DATE
MATURITY_DATE
Numeric 8 (yyyymmdd)The bill of exchange due date. Indicates when the bill of exchange is due to be paid in full.ARLL.1
ARD-ACCEPT-DATE
ACCEPT_DATE
Numeric 8 (yyyymmdd)The acceptance date assigned to the bill of exchange. Used only for bills of exchange that require acceptance.ARLL.1
ARD-ACCEPT-GL-DATE
ACCEPT_GL_DATE
Numeric 8 (yyyymmdd)The date used for posting the acceptance of a bill of exchange to the general ledger. Used only for bills of exchange that require acceptance.ARLL.1
ARD-REMIT-DATE
REMIT_DATE
Numeric 8 (yyyymmdd)The remittance creation date for the remittance associated with the bill of exchange. Bills of exchange are grouped into remittances to be presented to the bank for cashing.ARLL.1
ARD-CASH-DATE
CASH_DATE
Numeric 8 (yyyymmdd)The date the bill of exchange was cashed.ARLL.1
ARD-DISHONOR-DATE
DISHONOR_DATE
Numeric 8 (yyyymmdd)If the bill of exchange was dishonored, this field contains the dishonor date assigned to the bill of exchange.ARLL.1
ARD-CANCEL-DATE
CANCEL_DATE
Numeric 8 (yyyymmdd)If the bill of exchange was canceled, this field contains the cancel date assigned to the bill of exchange.ARLL.1
ARD-RESOLVED-DATE
RESOLVED_DATE
Numeric 8 (yyyymmdd)If the bill of exchange was dishonored, this field contains the date the dishonored bill of exchange was resolved.
ARD-STATUS
STATUS
Numeric 1Indicates the status of the bill of exchange. Valid values are:
  • 0 Created
  • 1 Accepted
  • 2 Selected for Remittance
  • 3 Included in Remittance
  • 4 Presented
  • 6 Cashed
  • 7 Dishonored
  • 8 Canceled
  • 9 Historical
  • 5 Created/unrel
ARLL.1
ARD-PRINT-FLAG
PRINT_FLAG
Alpha 1Indicates whether the bill of exchange has been created by DT155 (Bill of Exchange Print - Tape Create). Valid values are:
  • N No
  • Y Yes
ARLL.1
ARD-POSTAL-CODE
POSTAL_CODE
Alpha 10 (Lower Case)The postal code of the customer's payment bank.ARLL.1
ARD-BANK-ENTITY
BANK_ENTITY
Alpha 15The bank location the customer is paying the bill of exchange from.ARLL.1
ARD-BANK-ACCT-NBR
BANK_ACCT_NBR
Alpha 35The bank account within the bank location that the customer will be paying the bill of exchange from.ARLL.1
ARD-ORIG-REV-AMT
ORIG_REV_AMT
Signed 18.2The amount of additional revenue charged to a customer for processing the bill of exchange. This amount is in the company base currency.ARLL.1
ARD-REVENUE-AMT
REVENUE_AMT
Signed 18.2The amount of additional revenue charged to customer for processing the bill of exchange. This amount is in the currency of the bill of exchange.ARLL.1
ARD-REV-ACCT-UNIT
REV_ACCT_UNIT
Alpha 15The general ledger revenue accounting unit for the additional revenue charged.ARLL.1
ARD-REV-ACCOUNT
REV_ACCOUNT
Numeric 6The general ledger revenue account number for the additional revenue charged.ARLL.1
ARD-REV-SUB-ACCT
REV_SUB_ACCT
Numeric 4The general ledger revenue subaccount number for the additional revenue charged.ARLL.1
ARD-ORIG-BNK-EXP
ORIG_BNK_EXP
Signed 18.2The expense incurred in the process of cashing the bill of exchange. This amount is in the currency of the bill of exchange.ARLL.1
ARD-BNK-EXP-AMT
BNK_EXP_AMT
Signed 18.2The expense incurred in the process of cashing the bill of exchange. This amount is in the company base currency.ARLL.1
ARD-BEXP-ACCT-UNIT
BEXP_ACCT_UNIT
Alpha 15The accounting unit used for posting the bank expenses.ARLL.1
ARD-BEXP-ACCOUNT
BEXP_ACCOUNT
Numeric 6The account number used for posting the bank expenses.ARLL.1
ARD-BEXP-SUB-ACCT
BEXP_SUB_ACCT
Numeric 4The subaccount number used for posting the bank expenses.ARLL.1
ARD-ORIG-DIS-EXP
ORIG_DIS_EXP
Signed 18.2The amount of expense incurred during the dishonoring of the bill of exchange. This amount is in the currency of the bill of exchange.ARLL.1
ARD-DIS-EXP-AMT
DIS_EXP_AMT
Signed 18.2The amount of the expense incurred during the dishonoring of the bill of exchange. This amount is in the company base currency.ARLL.1
ARD-DEXP-ACCT-UNIT
DEXP_ACCT_UNIT
Alpha 15The accounting unit used for posting the dishonor expense.ARLL.1
ARD-DEXP-ACCOUNT
DEXP_ACCOUNT
Numeric 6The account number used for posting the dishonor expense.ARLL.1
ARD-DEXP-SUB-ACCT
DEXP_SUB_ACCT
Numeric 4The subaccount number used for posting the dishonor expense.ARLL.1
ARD-DRAFT-CODE
DRAFT_CODE
Alpha 4The bill of exchange receivable code used for posting the bill of exchange to the general ledger. This will be filled if the asset has been transferred from Accounts Receivable to Bill of Exchange Receivable.ARLL.1
ARD-CASH-UPDATE-FL
CASH_UPDATE_FL
Alpha 1Indicates whether the bill of exchange has been processed through DT180 (Bank Presentation, Cashing Update). Valid values are:
  • N No
  • Y Yes
ARLL.1
ARD-AR-CODE
AR_CODE
Alpha 4The accounts receivable code assigned to the bill of exchange during creation. If the bill of exchange is for one invoice, the account receivable code assigned to the invoice is used. If the bill of exchange is for more than one invoice, the accounts receivable code assigned to the process level is used.ARLL.1
ARD-DRAFT-REF
DRAFT_REF
Numeric 10An optional reference number assigned to the bill of exchange.ARLL.1
ARD-UNPAYMENT-CODE
UNPAYMENT_CODE
Alpha 4The general ledger code used in the dishonoring of a bill of exchange.ARLL.1
ARD-RISK-FL
RISK_FL
Alpha 1Indicates whether the bill of exchange is at risk with the bank (cashed at a discount before its due date and has not yet reached its due date). Valid values are:
  • N No
  • Y Yes
ARLL.1
ARD-DIS-UPDATE-FL
DIS_UPDATE_FL
Alpha 1Indicates whether a dishonored bill of exchange has been processed by DT180 (Bank Presentation, Cashing Update). Valid values are:
  • Blank Not dishonored
  • P Post presented BOE
  • R Post cash at risk BOE
ARLL.1
ARD-PRES-UPDATE-FL
PRES_UPDATE_FL
Alpha 1Indicates whether the bill of exchange presentation has been processed by DT180 (Bank Presentation, Cashing Update). Valid values are:
  • N No
  • Y Yes
ARLL.1
ARD-RESOLUTION-FL
RESOLUTION_FL
Alpha 1If the bill of exchange has been dishonored, this field indicates how the dishonored bill of exchange was resolved. Valid values are:
  • Blank Not resolved
  • 1 Cashed
  • 2 Written Off
  • 3 Renegotiated
ARLL.1
ARD-COMMENT-CD
COMMENT_CD
Numeric 3Indicates the number of comment lines that have been created for a bill of exchange.ARLL.1
ARD-STATUS-DATE
STATUS_DATE
DerivedThis derived field indicates the date the system assigned the bill of exchange its current status. This field changes each time the bill of exchange status changes as it proceeds along its cycle.
ARD-RESOLVED-STS
RESOLVED_STS
DerivedThis derived field indicates the type of resolution associated with a dishonored bill of exchange.
ARD-JRNL-BOOK-NBR
JRNL_BOOK_NBR
Alpha 12The journal book assigned to the bill of exchange.ARLL.1
ARD-PAYER-REF
PAYER_REF
Alpha 10Contains bank reference information for manually entered bills of exchange.ARLL.1
ARD-PMT-BATCH-NBR
PMT_BATCH_NBR
Numeric 6The draft batch number which is also used as the batch number when creating payment records.ARLL.1
ARD-ORIG-APP-AMT
ORIG_APP_AMT
Signed 18.2ARLL.1
ARD-APPLD-AMT
APPLD_AMT
Signed 18.2ARLL.1

Indexes (10)

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

IndexKeysFlagsConditionUsed in
ARDSET1COMPANY, AR-DRAFT-NBR, SUFFIX, CUSTOMER, CANCEL-SEQ, DRAFT-SOURCEPrimaryARLL.1
ARDSET10COMPANY, AR-DRAFT-NBR, SUFFIX, CUSTOMER, CANCEL-SEQ, DRAFT-SOURCE, BANK-INST-CODESubsetWhere BANK-INST-CODE != SpacesARLL.1
ARDSET2COMPANY, CUSTOMER, MATURITY-DATE, AR-DRAFT-NBR, SUFFIXSubsetWhere STATUS = Zeroes Or STATUS = 1ARLL.1
ARDSET3REMIT-COMPANY, REMIT-PROC-LEV, CASH-CODE, REMIT-TYPE, MATURITY-DATE, CUSTOMER, AR-DRAFT-NBR, SUFFIXSubsetWhere STATUS = 1 Or STATUS = 2ARLL.1
ARDSET4REMIT-COMPANY, REMIT-PROC-LEV, CASH-CODE, REMIT-TYPE, AR-DRAFT-NBR, SUFFIX, CUSTOMER, MATURITY-DATESubsetWhere STATUS = 1 Or STATUS = 2ARLL.1
ARDSET5REMIT-COMPANY, REMIT-PROC-LEV, REMIT-NBR, CUSTOMER, AR-DRAFT-NBR, SUFFIX, COMPANY, CANCEL-SEQ, DRAFT-SOURCESubsetWhere REMIT-NBR != ZeroesARLL.1
ARDSET6COMPANY, CUSTOMER, AR-DRAFT-NBR, SUFFIX, CANCEL-SEQ, DRAFT-SOURCESubsetWhere STATUS < 7 Or (STATUS = 7 And RESOLUTION-FL = Spaces)
ARDSET7COMPANY, CUSTOMER, AR-DRAFT-NBR, SUFFIXKeyChange, SubsetWhere STATUS < 7 Or STATUS = 6 And RISK-FL = "Y"
ARDSET8COMPANY, CUSTOMER, AR-DRAFT-NBR, SUFFIX, MATURITY-DATESubsetWhere STATUS = 7 And RESOLUTION-FL != "1" And RESOLUTION-FL != "2" And RESOLUTION-FL != "3"
ARDSET9COMPANY, CUSTOMER, AR-DRAFT-NBR, SUFFIX, CANCEL-SEQ, DRAFT-SOURCE

Relations

One to one (9) — lookups and parents

RelationTableRulesConditionField map
ArcompARCOMPRequiredARD-COMPANYACO-COMPANY (ACOSET1)
ArcustgrpARCUSTGRPRequiredACO-CUST-GROUPACG-CUST-GROUP
ArcustomerARCUSTOMERRequiredARD-COMPANYACM-COMPANY, ARD-CUSTOMERACM-CUSTOMER
CbbankinstCBBANKINSTRequiredARD-BANK-INST-CODECBI-BANK-INST-CODE
CbcpycashCBCPYCASHRequiredWhen ARD-STATUS > 2 And ARD-STATUS != 8ARD-COMPANYCBY-COMPANY, ARD-CASH-CODECBY-CASH-CODE
Cust BankentCBBANKENTRequiredDTB-BANK-ENTITYCBE-BANK-ENTITY
CustdescCUSTDESCRequiredACO-CUST-GROUPCUD-CUST-GROUP, ARD-CUSTOMERCUD-CUSTOMER
DtcustbankDTCUSTBANKRequiredACO-CUST-GROUPDTB-CUST-GROUP, ARD-COMPANYDTB-COMPANY, ARD-CUSTOMERDTB-CUSTOMER
GlsystemGLSYSTEMRequiredARD-COMPANYGLS-COMPANY

One to many (1) — child tables

RelationTableRulesConditionField map
ArappliedARAPPLIEDDelete RestrictedARD-COMPANYARA-CR-COMPANY, ARD-CUSTOMERARA-CR-CUSTOMER, "B"ARA-CR-TYPE, ARD-AR-DRAFT-NBRARA-CR-NBR, ZeroesARA-CR-PYMNT-SEQ, ZeroesARA-CR-BATCH, ARD-SUFFIXARA-CR-SUFFIX, ARD-CANCEL-SEQARA-CR-CANCEL-SEQ, ARA-CR-APP-SEQ

Programs

Updated by (1)