MILITARY – Military Service History
- System
- Personnel (PA)
- Prefix
MIL- Primary key
COMPANY,EMP-APP,EMPLOYEE,BR-SERVICE,SEQ-NBR- Fields
- 11
- Updated by
- 45 programs
- Referenced by
- 6 programs
MILITARY is the Military Service History table in Lawson Personnel (prefix MIL). It is indexed by COMPANY, EMP-APP, EMPLOYEE, BR-SERVICE, SEQ-NBR (MILSET1). It is related 1:1 to APPLICANT, PRSYSTEM, EMPLOYEE and PAEMPLOYEE and 1:M to PACOMMENTS. It is updated by BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 and 37 more and referenced by HR170, HR70.1, PA214, PA231, PA239 and PA311. The table has 11 fields, 1 index and 6 documented relations.
About MILITARY
The Military Service History file contains information on the military history of an employee or applicant.
Fields (11)
Column = COBOL field name without the MIL- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
MIL-COMPANY PKCOMPANY | Numeric 4 | The company number represents an established company. | PA14.1, PA39.1 |
MIL-EMP-APP PKEMP_APP | Numeric 1 | Employee/applicant flag.
| BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +36 more |
MIL-EMPLOYEE PKEMPLOYEE | Numeric 9 | An employee number is assigned to each person employed by the company. It is use to correlate all information related to the employee. | BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +36 more |
MIL-BR-SERVICE PKBR_SERVICE | Alpha 2 | This field contains the branch of service. | PA14.1, PA39.1 |
MIL-SEQ-NBR PKSEQ_NBR | Numeric 4 | Sequence number. Automatically assigned. | BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +36 more |
MIL-SERV-SPECSERV_SPEC | Alpha 20 | This field contains the service specialty. | PA14.1, PA39.1 |
MIL-YEARS-SERVEDYEARS_SERVED | Numeric 2 | This field contains the years served. | PA14.1, PA39.1 |
MIL-MNTHS-SERVEDMNTHS_SERVED | Numeric 2 | This field contains the months served. | PA14.1, PA39.1 |
MIL-RANK-ATTAINEDRANK_ATTAINED | Alpha 3 | This field contains the highest rank attained. | PA14.1, PA39.1 |
MIL-DISCHG-TYPEDISCHG_TYPE | Alpha 1 | This field contains the discharge type.
| PA14.1, PA39.1 |
MIL-DISCHG-DATEDISCHG_DATE | Numeric 8 (yyyymmdd) | This field contains the discharge date. | PA14.1, PA39.1 |
Indexes (1)
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 |
|---|---|---|---|---|
MILSET1 | COMPANY, EMP-APP, EMPLOYEE, BR-SERVICE, SEQ-NBR | Primary | BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +22 more (list truncated in source) |
Relations
One to one (4) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Applicant | APPLICANT | Required | When MIL-EMP-APP = 1 | MIL-COMPANY → APL-COMPANY, MIL-EMPLOYEE → APL-APPLICANT |
| Company | PRSYSTEM | Required | MIL-COMPANY → PRS-COMPANY, Spaces → PRS-PROCESS-LEVEL | |
| Employee | EMPLOYEE | Required | When MIL-EMP-APP = Zeroes | MIL-COMPANY → EMP-COMPANY, MIL-EMPLOYEE → EMP-EMPLOYEE |
| Pa Employee | PAEMPLOYEE | Required | When MIL-EMP-APP = Zeroes | MIL-COMPANY → PEM-COMPANY, MIL-EMPLOYEE → PEM-EMPLOYEE |
One to many (2) — child tables
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| App Comments | PACOMMENTS | Delete Cascades | Valid When MIL-EMP-APP = 1 | MIL-COMPANY → PAC-COMPANY, MIL-EMP-APP → PAC-EMP-APP, "MI" → PAC-CMT-TYPE, MIL-EMPLOYEE → PAC-EMPLOYEE, Spaces → PAC-JOB-CODE, Spaces → PAC-ACTION-CODE, → PAC-LN-NBR, → PAC-SEQ-NBR, → PAC-DATE |
| Emp Comments | PACOMMENTS | Delete Cascades | Valid When MIL-EMP-APP = Zeroes | MIL-COMPANY → PAC-COMPANY, MIL-EMP-APP → PAC-EMP-APP, "MI" → PAC-CMT-TYPE, MIL-EMPLOYEE → PAC-EMPLOYEE, Spaces → PAC-JOB-CODE, Spaces → PAC-ACTION-CODE, → PAC-LN-NBR, → PAC-SEQ-NBR, → PAC-DATE |
Programs
Updated by (45)
- BN305 Highly Compensated Employees
- HAP3.1 Applicant Option 4 Selection Invoke
- HCRE.1 Action Reason Code Selects
- HEP4.1 Employee Option 4 Selection Invoke
- HPOS.1 Position Selection Invoke
- HPQC.1 Prqcentgrp Select Invoke
- HPRS.1 Process Level Select Invoke
- HR11.1 Employee
- HR11.2 Compensation Analysis
- HR11.4 Employee Assignment Inquiry
- HR28.1 Employee Ethnicity
- HR511 Employee Conversion
- HR54.1 Employee History Correction
- HRS1.1 Select Control
- HRSC.1 Select Control
- LT101 HRM Receiver Update
- LT111 HRM Receiver Update
- PA02.1 Position
- PA100 Action Update
- PA102 Position Update
- PA115 Employee Purge
- PA120 Applicant Purge
- PA13.1 Multiple Positions and Jobs
- PA13.2 Multiple Position and Job History
- PA14.1 Military Service
- PA39.1 Applicant Military Service
- PA502 Position Conversion
- PA513 Position and Job Conversion
- PA52.1 Individual Action
- PA52.3 Mass Action
- PA52.4 Hire an Applicant
- PA52.5 Position and Job Action
- PA54.1 Personnel Action History Correction
- PR110 Step And Grade Audit
- PR113 United States Tax Deduction Update
- PR12.6 Employee Automatic Deposit
- PR120 Mass Pay Update
- PR13.1 Employee United States Taxes
- PR13.5 Employee Canada Taxes
- PR13.6 Employee Canada Taxes
- PR13.8 U.S. Tax Deduction Errors
- PR13.9 Employee Additional Tax Details
- PR30.2 Employee Automatic Time Record
- PR512 Employee ACH Distribution Interface
- ZH510 Update PCP from ZPENDPCP