Time and Attendance Systems Integration

Actual time spent on a work order by an operator is recorded using the Clock In and Clock Out capability. This time input is used to charge the manual resource transactions for calculating the work in process inventory value for particular accounting periods. MES for Discrete Manufacturing can be integrated other time and attendance systems to collect actual time. Third party systems are often deployed to collect definite and exact actual recorded times, and pass the data to a payroll application. These systems might be used by organizations where labor costs are high, or actual time recording is a mandatory requirement for government regulations.

To integrate other time and attendance systems into MES, an interface table and concurrent program are used:

WIP_TIME_ENTRY_INTERFACE Table

The TIME_ENTRY_TYPE column is used for differentiating between various time type records and records for Direct Labor Hours, Scheduled Available Hours, and Actual Attendance Hours.

Column Name Type Description
INTERFACE_ID NUMBER Unique record identification
TIME_ENTRY_TYPE NUMBER Time entry record types:
  • 1 - Actual Attendance Hours

  • 2- Scheduled Available Hours

  • 3 - Direct Labor Hours

ORGANIZATION_ID NUMBER Organization identifier
ORGANIZATION_CODE VARCHAR2 Organization code
WIP_ENTITY_ID NUMBER Work order identifier
JOB_NAME VARCHAR2 Job name
OPERATION_SEQ_NUMBER NUMBER Operation sequence number
DEPARTMENT_CODE VARCHAR2 Department code
DEPARTMENT_ID NUMBER Department identifier
RESOURCE_SEQ_NUM NUMBER Resource sequence number
RESOURCE_CODE VARCHAR2 Resource code
RESOURCE_ID NUMBER Resource identifier
UOM_CODE VARCHAR2 Unit of Measure code
EMPLOYEE_ID NUMBER Employee identifier
ACTUAL_START_DATE DATE Actual start date
ACTUAL_END_DATE DATE Actual end date
DURATION NUMBER Duration
ACTION_FLAG NUMBER Action:
  • 1- Add

  • 2 - Subtract

  • Null - Actual time entry record

PROCESS_STATUS NUMBER Process status
ERROR VARCHAR2 Error Message
REQUEST_ID NUMBER Concurrent request identification
PROGRAM_ID NUMBER Program identification
PROGRAM_APPLICATION_ID NUMBER Program application identification
Program_update_date
PROGRAM_UPDATE_DATE
DATE Program update date
CREATED_BY NUMBER Created by
CREATION_DATE DATE Record date creation
LAST_UPDATED_BY NUMBER Last updated by action
LAST_UPDATE_DATE DATE Last update date
LAST_UPDATE_LOGIN NUMBER Login information for last update

Import Time Entry (WIP_TIME_ENTRY_DATA) Concurrent Program

The Import Time Entry concurrent request imports actual times captured through the WIP_TIME_ENTRY_INTERFACE table into MES for calculation of labor performance metrics.

For each valid row in the interface table, the API, WIP_TIME_ENTRY_PUB.process reads all pending transactions for the given organization, and performs the following validations: