BNPAYMENT – Benefit Payment
- System
- Benefits (BN)
- Prefix
BNP- Primary key
COMPANY,EMPLOYEE,PARTICIPNT,TYPE,CHECK-NBR- Fields
- 29
- Updated by
- 4 programs
- Referenced by
- 2 programs
BNPAYMENT is the Benefit Payment table in Lawson Benefits (prefix BNP). It is indexed by COMPANY, EMPLOYEE, PARTICIPNT, TYPE, CHECK-NBR (BNPSET1); alternate indexes: BNPSET2. It is related 1:1 to GLMASTER, BNCOMPANY, PRSYSTEM, CUCODES, EMPLOYEE, BNINVDETL, PLAN and PARTICIPNT and 1:M to BNPAYDETL. It is updated by BN190, BN480, BN81.1 and BN81.2 and referenced by BN281 and BN82.1. The table has 29 fields, 2 indexes and 11 documented relations.
About BNPAYMENT
The Benefit Payment file contains payment information for COBRA participant and retiree premiums. Each record is for one COBRA participant or retiree transaction. BN81.1 (Cash Entry) is the primary program that updates this file.
Fields (29)
Column = COBOL field name without the BNP- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
BNP-COMPANY PKCOMPANY | Numeric 4 | Contains the company number. The number correlates all information about the company. | BN81.1 |
BNP-EMPLOYEE PKEMPLOYEE | Numeric 9 | Contains the employee's number. | BN81.1 |
BNP-PARTICIPNT PKPARTICIPNT | Numeric 9 | Contains COBRA participant numbers. The number correlates all information about the COBRA participant. | BN81.1 |
BNP-TYPE PKTYPE | Alpha 2 | Indicates whether the transaction is a payment or a credit memo.
| BN81.1 |
BNP-CHECK-NBR PKCHECK_NBR | Numeric 8 | Contains the number of the payment. | BN81.1 |
BNP-PMT-AMTPMT_AMT | Signed 11.2 | Contains the payment amount. | BN81.1 |
BNP-APPLIED-AMTAPPLIED_AMT | Signed 15.2 | Contains the amount applied to the outstanding balance. | BN81.1, BN81.2 |
BNP-DATEDATE | Numeric 8 (yyyymmdd) | Contains the transaction date. | BN81.1 |
BNP-REFERENCEREFERENCE | Alpha 10 (Lower Case) | Contains a user-defined reference or comment. | BN81.1 |
BNP-DIST-CODIST_CO | Numeric 4 | Identifies 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. | BN81.1 |
BNP-ACCT-UNITACCT_UNIT | Alpha 15 | Contains the accounting unit for the payment. | BN81.1 |
BNP-ACCOUNTACCOUNT | Numeric 6 | Contains the account for the payment. | BN81.1 |
BNP-SUB-ACCTSUB_ACCT | Numeric 4 | Contains the subaccount for the payment. | BN81.1 |
BNP-OS-INV-NUMBEROS_INV_NUMBER | Numeric 3 | Contains the invoice number for the over or short amount of the payment. | BN81.2 |
BNP-OS-PLAN-TYPEOS_PLAN_TYPE | Alpha 2 | Contains the benefit type.
| BN81.2 |
BNP-OS-PLAN-CODEOS_PLAN_CODE | Alpha 4 | Contains the benefit plan's code. | BN81.2 |
BNP-OS-START-DATEOS_START_DATE | Numeric 8 (yyyymmdd) | Contains the start date of the benefit plan. | BN81.2 |
BNP-OS-AMOUNTOS_AMOUNT | Signed 7.2 | Contains the over or short amount. | BN81.2 |
BNP-OS-DIST-COOS_DIST_CO | Numeric 4 | Identifies 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. | BN81.2 |
BNP-OS-ACCT-UNITOS_ACCT_UNIT | Alpha 15 | Contains the account used for posting the over or short amount. | BN81.2 |
BNP-OS-ACCOUNTOS_ACCOUNT | Numeric 6 | Contains the account for posting the over or short amount. | BN81.2 |
BNP-OS-SUB-ACCTOS_SUB_ACCT | Numeric 4 | Contains the subaccount for posting the over or short amount. | BN81.2 |
BNP-AR-DIST-COAR_DIST_CO | Numeric 4 | Identifies 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. | BN81.2 |
BNP-AR-ACCT-UNITAR_ACCT_UNIT | Alpha 15 | Contains the accounting unit for the over short account. | BN81.2 |
BNP-AR-ACCOUNTAR_ACCOUNT | Numeric 6 | Contains the account for the over short payment. | BN81.2 |
BNP-AR-SUB-ACCTAR_SUB_ACCT | Numeric 4 | Contains the subaccount for the over short account. | BN81.2 |
BNP-STATUSSTATUS | Numeric 1 | Contains the status of a given transaction.
| BN190, BN81.1, BN81.2 |
BNP-CURRENCY-CODECURRENCY_CODE | Alpha 5 | This field contains the company base currency code established in Company (GL10.1 ). | BN81.1, BN81.2 |
BNP-CURR-NDCURR_ND | Numeric 1 | The number of decimals assigned to a particular account as determined by the account currency. | BN81.1, BN81.2 |
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 |
|---|---|---|---|---|
BNPSET1 | COMPANY, EMPLOYEE, PARTICIPNT, TYPE, CHECK-NBR | Primary | BN480, BN82.1 | |
BNPSET2 | COMPANY, EMPLOYEE, PARTICIPNT, TYPE, CHECK-NBR | Subset | Where STATUS != 9 | BN190, BN281, BN81.1, BN81.2 |
Relations
One to one (10) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Ar Account | GLMASTER | Required | When BNP-AR-ACCT-UNIT != Spaces Or BNP-AR-ACCOUNT != Zeroes | BNP-COMPANY → GLM-COMPANY, BNP-AR-ACCT-UNIT → GLM-ACCT-UNIT, BNP-AR-ACCOUNT → GLM-ACCOUNT, BNP-AR-SUB-ACCT → GLM-SUB-ACCOUNT |
| Company | BNCOMPANY | Required | BNP-COMPANY → BNC-COMPANY | |
| Company Name | PRSYSTEM | Required | BNP-COMPANY → PRS-COMPANY, Spaces → PRS-PROCESS-LEVEL | |
| Currency | CUCODES | Required | BNP-CURRENCY-CODE → CUC-CURRENCY-CODE | |
| Employee | EMPLOYEE | Required | When BNP-EMPLOYEE != Zeroes | BNP-COMPANY → EMP-COMPANY, BNP-EMPLOYEE → EMP-EMPLOYEE |
| Gl Account | GLMASTER | Required | When BNP-ACCT-UNIT != Spaces And BNP-ACCOUNT != Zeroes And BNP-SUB-ACCT != Zeroes | BNP-COMPANY → GLM-COMPANY, BNP-ACCT-UNIT → GLM-ACCT-UNIT, BNP-ACCOUNT → GLM-ACCOUNT, BNP-SUB-ACCT → GLM-SUB-ACCOUNT |
| Os Account | GLMASTER | Required | When BNP-OS-ACCT-UNIT != Spaces Or BNP-OS-ACCOUNT != Zeroes | BNP-COMPANY → GLM-COMPANY, BNP-OS-ACCT-UNIT → GLM-ACCT-UNIT, BNP-OS-ACCOUNT → GLM-ACCOUNT, BNP-OS-SUB-ACCT → GLM-SUB-ACCOUNT |
| Os Invoice | BNINVDETL | Required | When BNP-OS-INV-NUMBER != Zeroes | BNP-COMPANY → BID-COMPANY, BNP-OS-PLAN-TYPE → BID-PLAN-TYPE, BNP-OS-PLAN-CODE → BID-PLAN-CODE, BNP-OS-START-DATE → BID-START-DATE, BNP-EMPLOYEE → BID-EMPLOYEE, BNP-PARTICIPNT → BID-PARTICIPNT, BNP-OS-INV-NUMBER → BID-INV-NUMBER |
| Os Plan | PLAN | Required | When BNP-OS-PLAN-CODE != Spaces | BNP-COMPANY → PLN-COMPANY, BNP-OS-PLAN-TYPE → PLN-PLAN-TYPE, BNP-OS-PLAN-CODE → PLN-PLAN-CODE |
| Participant | PARTICIPNT | Required | When BNP-PARTICIPNT != Zeroes | BNP-COMPANY → PAR-COMPANY, BNP-PARTICIPNT → PAR-PARTICIPNT |
One to many (1) — child tables
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Payment Detail | BNPAYDETL | Delete Restricted | BNP-COMPANY → BPD-COMPANY, BNP-EMPLOYEE → BPD-EMPLOYEE, BNP-PARTICIPNT → BPD-PARTICIPNT, BNP-TYPE → BPD-TYPE, BNP-CHECK-NBR → BPD-CHECK-NBR, → BPD-INV-NUMBER, → BPD-PLAN-TYPE, → BPD-PLAN-CODE, → BPD-START-DATE |
Programs
Updated by (4)
- BN190 General Ledger Update
- BN480 Invoice and Payment Purge
- BN81.1 Cash Entry
- BN81.2 Cash Entry and Application