Computed fields
Verify command
ACL Chapter9 case 4 solution Determine that all employees on the Eastland_Payroll_Trans
table are included in the Eastland_Payroll_Master table. 12
Answer & Explanation
Solved by AI
To determine that all employees on theEastland_Payroll_Transtable are included in
theEastland_Payroll_Mastertable, you can follow these steps typically performed in data
analysis or using ACL (Audit Command Language):
Step-by-Step Solution:
1. Identify Unique Employee Identifiers:
Ensure both tables have a common field that uniquely identifies each employee, such
asEmployee_ID.
2. Prepare the Data:
Load both tables (Eastland_Payroll_TransandEastland_Payroll_Master) into your
analysis environment or ACL.
Ensure that there are no duplicates in theEmployee_IDfield for each table (unless
logically appropriate for your analysis).
3. Extract Unique Employee IDs from Each Table:
Extract the uniqueEmployee_IDs from theEastland_Payroll_Transtable into a
new table or list.
Extract the uniqueEmployee_IDs from theEastland_Payroll_Mastertable into
another new table or list.
4. Perform a Join Operation:
Perform a left join usingEastland_Payroll_Transas the primary table
andEastland_Payroll_Masteras the secondary table, joining on theEmployee_ID.
Ensure to include all records from theEastland_Payroll_Transtable and matching
records from theEastland_Payroll_Master.
5. Identify Non-Matching Records:
After performing the left join, examine the resulting table for records
whereEmployee_IDfrom theEastland_Payroll_Transtable does not have a
corresponding match inEastland_Payroll_Master. These records will have a null
or missing value in fields originating fromEastland_Payroll_Master.
6. Review and Confirm:
List or export the unmatched records to verify any discrepancies and take further
action as needed, such as investigating whether these records are legitimate or
due to an error.
Example using ACL Commands:
plaintext
OPEN Eastland_Payroll_Trans
OPEN Eastland_Payroll_Master
JOIN Key Employee_ID
TO Eastland_Payroll_Master
USING Employee_ID
PRESORT
TYPE = LEFT
FUZZY 0
NOMATCHES "Unmatched_Employees"
OPEN Unmatched_Employees
DISPLAY
Explanation:
JOIN is used to combine theEastland_Payroll_TransandEastland_Payroll_Mastertables
based on theEmployee_ID.
TYPE = LEFT ensures all records from the left table (Eastland_Payroll_Trans) are
included.
NOMATCHES directs results where no match is found inEastland_Payroll_Masterto
anUnmatched_Employeestable.
Following these steps will allow you to determine if there are any employees in
theEastland_Payroll_Transtable who are not accounted for in theEastland_Payroll_Mastertable.
s