BANKACCT – Bank Account

System
Payroll (PR)
Prefix
BAC
Primary key
BNK-ACCT-NBR
Fields
18
Updated by
6 programs
Referenced by
23 programs

BANKACCT is the Bank Account table in Lawson Payroll (prefix BAC). It is indexed by BNK-ACCT-NBR (BACSET1); alternate indexes: BACSET2 and BACSET3. It is related 1:M to BANKFILE and PRCHECK. It is updated by HR00.1, HR01.1, PR01.1, PR160, PR180 and PR712 and referenced by BN66.1, HBAC.1, HR200, HR201, PR140, PR155, PR162, PR165 and 15 more. The table has 18 fields, 3 indexes and 2 documented relations.

About BANKACCT

Contains information about bank accounts. PR01.1 (Bank Account) is the primary program that updates this file. Note that company is not part of the key, thus bank accounts can be used by more than one company.

Fields (18)

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

Field / columnTypeDescription & valuesUpdated by
BAC-BNK-ACCT-NBR PK
BNK_ACCT_NBR
Alpha 17Contains the bank account from which payroll payments are drawn.HR00.1, HR01.1, PR01.1
BAC-BANK-ID
BANK_ID
Numeric 9Contains the ID number assigned to the bank by the Federal Reserve.HR00.1, HR01.1, PR01.1
BAC-BANK-NAME
BANK_NAME
Alpha 30 (Lower Case)Contains the bank name.HR00.1, HR01.1, PR01.1
BAC-SEND-PT-ID
SEND_PT_ID
Numeric 10Contains the ID assigned by the Federal Reserve to the bank that processes the ACH tape.HR00.1, HR01.1, PR01.1
BAC-SEND-PT-NAME
SEND_PT_NAME
Alpha 30 (Lower Case)Contains the name of the sending DFI bank.HR00.1, HR01.1, PR01.1
BAC-ACH-OPTION
ACH_OPTION
Alpha 1Contains the value that indicates if the bank account allows ACH payments to be made.
  • N No ACH allowed
  • Y ACH allowed
  • B Yes; System & Manual Payments
HR00.1, HR01.1, PR01.1
BAC-CHECK-OPTION
CHECK_OPTION
Numeric 1Contains the value that determines which payment format is printed by PR160 (Payment Print).
  • 0 Over/Under Limited YTD
  • 1 Over/Under Stub On Top
  • 2 Over/Under Stub On Bottom
  • 3 Side/Side No TA Balances
  • 4 Side/Side TA Balances
  • 5 Side/Side Heat Sealed
  • 8 Laser Print File
  • 9 Over/Under Mailer
HR00.1, HR01.1, PR01.1, PR712
BAC-RECEIPT-OPTION
RECEIPT_OPTION
Numeric 1Contains the value that determines the format for the ACH receipt.
  • 0 Over/Under Limited YTD
  • 1 Over/Under Stub On Top
  • 2 Over/Under Stub On Bottom
  • 3 Side/Side No TA Balances
  • 4 Side/Side TA Balances
  • 5 Side/Side Heat Sealed
  • 8 Laser Print File
  • 9 Over/Under Mailer
HR00.1, HR01.1, PR01.1, PR712
BAC-PRENOTE-OPTION
PRENOTE_OPTION
Alpha 1Contains the value that indicates whether or not to create prenotes.
  • N No
  • Y Yes
HR00.1, HR01.1, PR01.1
BAC-COUNTRY-CODE
COUNTRY_CODE
Alpha 2The country code. Required for VAT and intrastat reporting. Must be defined in IN01.1 (Country Maintenance).HR00.1, HR01.1, PR01.1
BAC-DEST-DATA-CTRE
DEST_DATA_CTRE
Numeric 5Contains the value that defines the data centre bank and location.HR00.1, HR01.1, PR01.1
BAC-INST-ID-RET
INST_ID_RET
Numeric 9Used to identify the institutional ID for the account where returned items are directed. Format is: abbbccccc
  • a 0 constant zero
  • bbb institution number
  • ccccc branch transit number.
HR00.1, HR01.1, PR01.1
BAC-RET-ACCT-NBR
RET_ACCT_NBR
Alpha 12 (Lower Case)Contains the account where returned items are directed.HR00.1, HR01.1, PR01.1
BAC-CLIENT-NBR
CLIENT_NBR
Alpha 10 (Lower Case)Identifying ID for the client. Assigned by the bank or bank and client.HR00.1, HR01.1, PR01.1
BAC-FILE-CRT-NBR
FILE_CRT_NBR
Numeric 4Contains the value which identifies the ACSS/Direct Deposit file as unique from the last file created. Incremented by one each time a file is created. When it reaches 9999, it starts over at 0001.PR160, PR180
BAC-DEST-DATA-NAME
DEST_DATA_NAME
Alpha 30 (Lower Case)Contains the name of the Destination Data Centre.HR00.1, HR01.1, PR01.1
BAC-INST-RET-NAME
INST_RET_NAME
Alpha 30 (Lower Case)Contains the name of the institution for returns.HR00.1, HR01.1, PR01.1
BAC-BANK-MNEMONIC
BANK_MNEMONIC
Alpha 10HR00.1, HR01.1, PR01.1

Indexes (3)

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

IndexKeysFlagsConditionUsed in
BACSET1BNK-ACCT-NBRPrimaryBN66.1, HBAC.1, HR00.1, HR01.1, HR200, HR201, PR01.1, PR01.2 +22 more
BACSET2COUNTRY-CODE, BNK-ACCT-NBRPR01.1, PR201, PR712
BACSET3BANK-MNEMONIC, BNK-ACCT-NBR

Relations

One to many (2) — child tables

RelationTableRulesConditionField map
BankcodeBANKFILEDelete RestrictedBAC-BNK-ACCT-NBRBFL-BNK-ACCT-NBR (BFLSET3), BFL-COMPANY, BFL-BANK-CODE
ChecksPRCHECKDelete RestrictedBAC-BNK-ACCT-NBRPCH-BNK-ACCT-NBR, PCH-PRINT-TYPE, PCH-CHECK-NBR, PCH-CHECK-ID

Programs

Updated by (6)

Referenced by (23)