BNPAYDETL – Benefit Payment Detail

System
Benefits (BN)
Prefix
BPD
Primary key
COMPANY, EMPLOYEE, PARTICIPNT, TYPE, CHECK-NBR, INV-NUMBER, PLAN-TYPE, PLAN-CODE, START-DATE
Fields
14
Updated by
3 programs
Referenced by
3 programs

BNPAYDETL is the Benefit Payment Detail table in Lawson Benefits (prefix BPD). It is indexed by COMPANY, EMPLOYEE, PARTICIPNT, TYPE, CHECK-NBR, INV-NUMBER, PLAN-TYPE, PLAN-CODE, START-DATE (BPDSET1). It is related 1:1 to GLMASTER, PARTBEN, BNCOMPANY, PRSYSTEM, EMPLOYEE, BNINVDETL, PARTICIPNT, BNPAYMENT and 1 more. It is updated by BN480, BN81.1 and BN81.2 and referenced by BN190, BN281 and BN82.1. The table has 14 fields, 1 index and 9 documented relations.

About BNPAYDETL

The Benefit Payment Detail file contains payment information for COBRA participants and retirees. Each payment is stored by invoice number and general ledger posting account. BN81.1 (Cash Entry) is the primary program that loads this file.

Fields (14)

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

Field / columnTypeDescription & valuesUpdated by
BPD-COMPANY PK
COMPANY
Numeric 4Contains the company number. The number correlates all information about the company.BN81.1, BN81.2
BPD-EMPLOYEE PK
EMPLOYEE
Numeric 9Contains the employee's number. The number correlates all information about the employee.BN81.1, BN81.2
BPD-PARTICIPNT PK
PARTICIPNT
Numeric 9Contains COBRA participant numbers. The number correlates all information about the COBRA participant.BN81.1, BN81.2
BPD-TYPE PK
TYPE
Alpha 2Indicates whether the cash entry is for a payment or a credit memo.
  • CK Payment
  • CM Credit Memo
BN81.1, BN81.2
BPD-CHECK-NBR PK
CHECK_NBR
Numeric 8Contains the payment number.BN81.1, BN81.2
BPD-INV-NUMBER PK
INV_NUMBER
Numeric 3Contains the invoice number associated with this payment.BN81.1, BN81.2
BPD-PLAN-TYPE PK
PLAN_TYPE
Alpha 2Contains the benefit plan type used to identify the kind of plan associated with this payment.
  • DL Dependent Life
  • DN Dental
  • EL Employee Life
  • HL Health
  • RS Spending Account
BN81.1, BN81.2
BPD-PLAN-CODE PK
PLAN_CODE
Alpha 4Contains the plan code.BN81.1, BN81.2
BPD-START-DATE PK
START_DATE
Numeric 8 (yyyymmdd)Contains the start date of the benefit plan.BN81.1, BN81.2
BPD-AR-DIST-CO
AR_DIST_CO
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.BN81.1, BN81.2
BPD-AR-ACCT-UNIT
AR_ACCT_UNIT
Alpha 15Contains the accounting unit used for posting the payment.BN81.1, BN81.2
BPD-AR-ACCOUNT
AR_ACCOUNT
Numeric 6Contains the account used for posting the payment.BN81.1, BN81.2
BPD-AR-SUB-ACCT
AR_SUB_ACCT
Numeric 4Contains the subaccount used for posting the payment.BN81.1, BN81.2
BPD-PMT-AMT
PMT_AMT
Signed 11.2Contains the payment amount received.BN81.1, BN81.2

Indexes (1)

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

IndexKeysFlagsConditionUsed in
BPDSET1COMPANY, EMPLOYEE, PARTICIPNT, TYPE, CHECK-NBR, INV-NUMBER, PLAN-TYPE, PLAN-CODE, START-DATEPrimaryBN190, BN281, BN480, BN81.1, BN81.2, BN82.1

Relations

One to one (9) — lookups and parents

RelationTableRulesConditionField map
Ar AccountGLMASTERRequiredWhen BPD-AR-ACCT-UNIT != Spaces Or BPD-AR-ACCOUNT != ZeroesBPD-COMPANYGLM-COMPANY, BPD-AR-ACCT-UNITGLM-ACCT-UNIT, BPD-AR-ACCOUNTGLM-ACCOUNT, BPD-AR-SUB-ACCTGLM-SUB-ACCOUNT
BenefitPARTBENRequiredBPD-COMPANYPTB-COMPANY, BPD-PLAN-TYPEPTB-PLAN-TYPE, BPD-PARTICIPNTPTB-PARTICIPNT, BPD-EMPLOYEEPTB-EMPLOYEE, BPD-START-DATEPTB-START-DATE, BPD-PLAN-CODEPTB-PLAN-CODE
CompanyBNCOMPANYRequiredBPD-COMPANYBNC-COMPANY
Company NamePRSYSTEMRequiredBPD-COMPANYPRS-COMPANY, SpacesPRS-PROCESS-LEVEL
EmployeeEMPLOYEERequiredWhen BPD-EMPLOYEE != ZeroesBPD-COMPANYEMP-COMPANY, BPD-EMPLOYEEEMP-EMPLOYEE
Invoice DetailBNINVDETLRequiredBPD-COMPANYBID-COMPANY, BPD-EMPLOYEEBID-EMPLOYEE, BPD-PARTICIPNTBID-PARTICIPNT, BPD-INV-NUMBERBID-INV-NUMBER, BPD-PLAN-TYPEBID-PLAN-TYPE, BPD-PLAN-CODEBID-PLAN-CODE, BPD-START-DATEBID-START-DATE
ParticipantPARTICIPNTRequiredWhen BPD-PARTICIPNT != ZeroesBPD-COMPANYPAR-COMPANY, BPD-PARTICIPNTPAR-PARTICIPNT
PaymentBNPAYMENTRequiredBPD-COMPANYBNP-COMPANY, BPD-PARTICIPNTBNP-EMPLOYEE, BPD-EMPLOYEEBNP-PARTICIPNT, BPD-TYPEBNP-TYPE, BPD-CHECK-NBRBNP-CHECK-NBR
PlanPLANRequiredBPD-COMPANYPLN-COMPANY, BPD-PLAN-TYPEPLN-PLAN-TYPE, BPD-PLAN-CODEPLN-PLAN-CODE

Programs

Updated by (3)

Referenced by (3)