Background: Labor Import

Use the Labor Import (LEI) program to import hours worked from an ASCII file. See Road Map for work flow.

This topic has these subtopics:

Comparison with Labor Entry (LLE)

Labor Import Listing

Why Use a Native Disc Labor Import Exception Report

Import Process

ASCII File Format

Machine Entries for Unattended Operations

Audit Trail

Comparison with Labor Entry (LLE)

Importing labor data can save you time. Labor Import allows you to quickly import regular and overtime hours worked by employee and manufacturing order operation sequence, pieces completed and scrapped, and vacation, sick, and holiday hours.

If you set up component picking by operation sequence, the system picks components when you import labor for a sequence. However, if you need to scrap components of a manufacturing order, you need to use Labor Entry (LLE).

Non-standard routing sequences cannot be imported; you must use LLE because it requires entry of fields that are not in the import file (i.e., operation code, work center and machine).

Why Use a Native Disc

The file you import data from can reside on your PC (or network) or on a native disc.

  • Importing from a native disc is much faster since it the data does not have to be read on the PC and then transferred

  • Import files residing on your PC (or network) are limited to 512-characters

Import Process

The program reads data from an ASCII file on your PC or network. You can use any program to generate the data (for example, a spreadsheet or database program) as long as it is capable of outputting an ASCII file.

The import process consists of these steps:

  1. Run the Labor Import program to read the ASCII file. The program validates the file's format and displays the records read.

  2. Click Import validation to validate the data in these records. If the program encounters an error, it writes the Labor Import Exception Report.

  3. Select records with Error in the Validated column and correct the errors. Check your default output device for the exception report that contains the error messages.

    Note
    You cannot correct records with errors. You have two options: Fix the import file and re-import, or click Add and enter the data manually.

    After you fix all errors, click Import validation again.

  1. Click Labor update to write the good records. You can display now this data with the Labor Inquiry By Manufacturing Order (MLI) or Labor Entry (LLE) programs. The imported data is included when you run the Labor Entry Register (LPR), Daily Production Report (LPD), and Weekly Production Report (LPW) programs. Clicking Labor update also updates the accumulated good and scrap, quantity remaining, and percent complete for each operation sequence, which you display with the WIP Order Inquiry (WIQ) program.

  2. After the update, the Labor Import Transfer Log prints a log of labor hours imported. See Background: Labor Import Transfer Log for what prints on the log.

Machine Entries for Unattended Operations

This program supports machine entries (employee type of X) for unattended operations. If the employee type for the imported record is X and the imported work center and machine are blank, the values from the employee master are used. If the employee master also has blank values, the work center and machine from the WIPF file are used (as seen in Work Order Inquiry [WIQ]).

Labor Import Listing

The listing includes this information:

  • Manufacturing branch

  • Date worked

  • Employee number

  • Manufacturing order number

  • Operation sequence number

  • Labor code:
    D: Direct labor
    H: Holiday time
    I: Indirect labor
    O: Other labor
    R: Rework labor
    S: Sick time
    U: Setup labor
    V: Vacation hours

  • Labor entry sequence

  • Reported regular hours

  • Reported overtime hours at level 1 rate

  • Reported overtime hours at level 1 rate

  • Validated: Good or Error

Labor Import Exception Report

Any validation errors are sent to your default output device. The report includes this information:

  • Branch

  • Date worked

  • Employee number

  • Manufacturing order number

  • Operation sequence

  • Labor code

  • Labor entry sequence

  • Error message that indicates the problem; for example: invalid employee number, invalid date, manufacturing order number not found, etc.

ASCII File Format

For a delimited file, you can use a standard delimiter (for example, a semicolon, comma, or tab). If a delimiter appears as data in an alphanumeric field, the entire field value must be enclosed in double quotation marks ("  "). If a double quotation mark appears in a field, it must itself be preceded by a double quote.

If one employee has entries for fields at the end of the file (for example, overtime hours or lunch time out and lunch time in), subsequent employee entries must either have these same fields or delimiters for these fields. For example, employee 15 has 2 hours of level 1 overtime and employee 7 has no overtime.

20221012;15;CA-100002142;1;D;8;10;0;1;STK;;;2
20221012;7;CA-100002142;2;D;8;8;1;;ASSY1;;;;

If you reverse the order, final delimiters are not required:

20221012;7;CA-100002149;2;D;8;8;1;;ASSY1
20221012;15;CA-100002149;1;D;8;8;0;8;STK;;;2

A carriage return must be placed after the last record in the file.

The ASCII file must contain these variables in this sequence:

Labor code

Required fields are bold

Examples

D, O, R, U

  1. Date worked (CCYYMMDD)

 

 

  1. Employee number

  2. Manufacturing order number

  3. Operation sequence number

Employee 15 produced 10 good pieces and no scrap during 8 hours of regular time and 2 level 1 overtime hours:

20221012;15;100002142;1;D;8;10;0;1;STK;;;2

 

  1. Labor code

    Entries are case sensitive. For example, the program correctly translates D but not d.

  2. Regular hours

  3. Good pieces produced

  4. Pieces scrapped

  5. Shift

  6. Department number

  7. Additional rate code

  8. Reference

  9. Level 1 overtime hours

  10. Level 2 overtime hours

  11. Sign in date (CCYYMMDD)

  12. Sign in time, if no regular hours worked (HHMM)

  13. Sign out time, if no regular hours worked (HHMM)

Employee 23 spent .5 hours setting up operation sequence 2:

20221012;23;100002142;2;U;.5

 

  1. Lunch time out (HHMM)

    If blank, uses Lunch time out and Lunch time in fields from the employee's record in the Employee Maintenance (LSA) program;  if it is blank, then the lunch period specified for the shift is used

20221012;15;100002142;1;D;8;10;0;1;STK;;;2;;20221012;;;1200;1230

 

  1. Lunch time in (HHMM)

 

  1. Indirect labor code; not used

 

 

  1. Break 1 time out (HHMM)

    If blank, uses Start of break 1 and End of break 1 fields from the employee's record in the Employee Maintenance (LSA) program; if blank, then the first break specified for the shift is used

20221012;15;100002142;1;D;8;10;0;1;STK;;;2;;20221012;;;1200;1230;;0900;0915

 

  1. Break 1 time in (HHMM)

 

  1. Break 2 time out (HHMM)

    If blank, uses Start of break 2 and End of break 2 fields from the employee's record in the Employee Maintenance (LSA) program; if blank, then the second break specified for the shift is used

20221012;15;100002142;1;D;8;10;0;1;STK;;;2;;20221012;;;1200;1230;;0900;0915;1515;1530

 

  1. Break 2 time in (HHMM)

I

  1. Date worked (CCYYMMDD)

Employee 15 attended a half-day training session

20221013;15;;;I;4;;;;;;Safety training

 

  1. Employee number

  2. Manufacturing order number

  3. Operation sequence number

 

 

  1. Labor code

    Entries are case sensitive. For example, the program correctly translates D but not d.

  2. Regular hours

    Hours are computed if imported hours are zero and the start and stop time is imported.

  3. Good pieces produced

  4. Pieces scrapped

  5. Shift

  6. Department number

  7. Additional rate code

  8. Reference

  9. Level 1 overtime hours

  10. Level 2 overtime hours

  11. Sign in date (CCYYMMDD)

  12. Sign in time, if no regular hours worked (HHMM)

  13. Sign out time, if no regular hours worked (HHMM)

 

 

  1. Lunch time out (HHMM)

    If blank, uses Lunch time out and Lunch time in fields from the employee's record in the Employee Maintenance (LSA) program; if blank, then the lunch period specified for the shift is used

 

 

  1. Lunch time in (HHMM)

 

 

  1. Indirect labor code (TLI)

 

 
  1. Break 1 time out  (HHMM)

    If blank, uses Start of break 1 and End of break 1 fields from the employee's record in the Employee Maintenance (LSA) program; if blank, the first break specified for the shift is used

 
 
  1. Break 1 time in (HHMM)

 
 
  1. Break 2 time out (HHMM)

    If blank, uses Start of break 2 and End of break 2 fields from the employee's record in the Employee Maintenance (LSA) program; if blank, the second break specified for the shift is used

 

 

  1. Break 2 time in (HHMM)

 

H, S, V

  1. Date (CCYYMMDD)

  2. Employee number

  3. Manufacturing order number; not used

  4. Operation sequence number; not used

  5. Labor code

    Entries are case sensitive. For example, the program correctly translates H, S, or V but not h, s, or v.

  6. Reported hours

Employee 15 took a vacation day:

20221014;15;;;V;8

Audit Trail

To activate an audit trail, select one of the files listed below in the Audit Trail Maintenance (XAT) program. The system records all transactions. You can then run the Audit Trails (ATR) program and select that file to print a report of these transactions.

  • LS7: Labor Entry