BANKFILE – Bank Code
- System
- Payroll (PR)
- Prefix
BFL- Primary key
COMPANY,BANK-CODE- Fields
- 16
- Updated by
- 5 programs
- Referenced by
- 26 programs
BANKFILE is the Bank Code table in Lawson Payroll (prefix BFL). It is indexed by COMPANY, BANK-CODE (BFLSET1); alternate indexes: BFLSET3, BFLSET4 and BFLSET5. It is related 1:1 to BANKACCT, GLMASTER and PRSYSTEM. It is updated by HR00.1, HR01.1, PR01.2, PR160 and PR180 and referenced by BN66.1, HBNK.1, HR170, HR200, HR201, HR70.1, PR140, PR141 and 18 more. The table has 16 fields, 4 indexes and 4 documented relations.
About BANKFILE
The purpose of this file is to create bank codes. The system uses bank codes to link companies and general ledger cash account information to bank accounts. When you define a payroll company, the system creates a bank code and bank account on the Bank form tab on HR00.1 (Company). You can create additional bank codes in PR01.1 (Bank Account).
Fields (16)
Column = COBOL field name without the BFL- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
BFL-COMPANY PKCOMPANY | Numeric 4 | Contains the company number. | HR00.1, HR01.1, PR01.2 |
BFL-BANK-CODE PKBANK_CODE | Alpha 4 | Contains the user-defined code that links a bank account number to a general ledger cash account for the payroll payments made by the company. | HR00.1, HR01.1, PR01.2 |
BFL-BNK-ACCT-NBRBNK_ACCT_NBR | Alpha 17 | Contains the bank account number. | HR00.1, HR01.1, PR01.2 |
BFL-CSH-DIST-COCSH_DIST_CO | Numeric 4 | Contains the distribution company for the company's cash account. | HR00.1, HR01.1, PR01.2 |
BFL-CSH-ACCT-UNITCSH_ACCT_UNIT | Alpha 15 | Contains the accounting unit for the company's cash account. | HR00.1, HR01.1, PR01.2 |
BFL-CSH-ACCOUNTCSH_ACCOUNT | Numeric 6 | Contains the account number for the company's general ledger cash account. | HR00.1, HR01.1, PR01.2 |
BFL-CSH-SUB-ACCTCSH_SUB_ACCT | Numeric 4 | Contains the subaccount number for the company's general ledger cash account. | HR00.1, HR01.1, PR01.2 |
BFL-USED-FLAGUSED_FLAG | Alpha 1 | Indicates if the record has been accessed by some source after creation.
| HR00.1, HR01.1, PR01.2, PR160, PR180 |
BFL-BNK-ACCT-NBR2BNK_ACCT_NBR2 | Alpha 17 | Contains the second bank account number. | HR00.1, HR01.1, PR01.2 |
BFL-CSH-DIST-CO2CSH_DIST_CO2 | Numeric 4 | Contains the distribution company for the company's second cash account. | HR00.1, HR01.1, PR01.2 |
BFL-CSH-ACCT-UNIT2CSH_ACCT_UNIT2 | Alpha 15 | Contains the accounting unit for the company's second cash account. | HR00.1, HR01.1, PR01.2 |
BFL-CSH-ACCOUNT2CSH_ACCOUNT2 | Numeric 6 | Contains the account number for the company's second general ledger cash account. | HR00.1, HR01.1, PR01.2 |
BFL-CSH-SUB-ACCT2CSH_SUB_ACCT2 | Numeric 4 | Contains the subaccount number for the company's second general ledger cash account. | HR00.1, HR01.1, PR01.2 |
BFL-USED-FLAG2USED_FLAG2 | Alpha 1 | Indicates if the record has been accessed by some source after creation.
| HR00.1, HR01.1, PR01.2, PR160, PR180 |
BFL-BANK-MNEMONICBANK_MNEMONIC | Alpha 10 | — | HR00.1, HR01.1, PR01.2 |
BFL-PAY-MODEPAY_MODE | Numeric 2 | —
| HR00.1, HR01.1, PR01.2 |
Indexes (4)
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 |
|---|---|---|---|---|
BFLSET1 | COMPANY, BANK-CODE | Primary | BN66.1, HBNK.1, HR00.1, HR01.1, HR170, HR200, HR201, HR70.1 +22 more (list truncated in source) | |
BFLSET3 | BNK-ACCT-NBR, COMPANY, BANK-CODE | KeyChange | HR00.1, HR01.1, PR01.1, PR201, PR85.1 | |
BFLSET4 | BNK-ACCT-NBR2, COMPANY, BANK-CODE | KeyChange | HR00.1, HR01.1, PR01.1 | |
BFLSET5 | BANK-MNEMONIC, COMPANY, BANK-CODE | KeyChange | — |
Relations
One to one (4) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Bank Account | BANKACCT | Required | BFL-BNK-ACCT-NBR → BAC-BNK-ACCT-NBR (BACSET1) | |
| Bank Account2 | BANKACCT | Required | When BFL-BNK-ACCT-NBR2 != Spaces | BFL-BNK-ACCT-NBR2 → BAC-BNK-ACCT-NBR |
| Cash Account | GLMASTER | Required | BFL-CSH-DIST-CO → GLM-COMPANY, BFL-CSH-ACCT-UNIT → GLM-ACCT-UNIT, BFL-CSH-ACCOUNT → GLM-ACCOUNT, BFL-CSH-SUB-ACCT → GLM-SUB-ACCOUNT | |
| Company | PRSYSTEM | Required | BFL-COMPANY → PRS-COMPANY, Spaces → PRS-PROCESS-LEVEL |
Programs
Updated by (5)
Referenced by (26)
- BN66.1 Estimated Pay Calculation
- HBNK.1 Bank Code Selection Invoke
- HR170 Human Resource Writer Report Request
- HR200 Company Listing
- HR201 Process Level Listing
- HR70.1 Human Resource Writer Inquiry
- PR140 Earnings and Deductions Calculation
- PR141 Payroll Register
- PR155 Bank Reconciliation
- PR162 Payment Register
- PR170 Positive Pay File Creation
- PR189 Gross Up Calculation
- PR195 Accrual Program
- PR197 Payroll Close
- PR201 Bank Listing
- PR560 Payroll History Load CSV
- PR582 Mass Adjustment Load
- PR80.1 Manual Check
- PR80.2 Manual Payment Print
- PR80.4 Manual Payment
- PR81.1 Manual Payment Reservation
- PR82.1 Adjustment
- PR85.1 Bank Account Reconciliation
- PR86.1 Payment Replacement
- PR89.1 Payment Modeling
- PRAT.1 Alltax connection test