F3112UpdateHoursAndDates

F3112 Update Hours And Dates

Major Business Rule

Object Name: B3100360

Parent DLL: CMFGBASE

Location: Client/Server

Language: C

1.Functional Description
This function will update the (F3112) table with the input hours and dates for the current row.

1.1Purpose
This function will update the Shop Floor Control Routing Instructions (F3112) table with move hours, 
queue hours, start date, and request date.


1.2Setup Notes and Prerequisites

• Set on "Suppress Error Messages" to suppress the runtime error message handling. Otherwise, if an 
error occurs the error message will be displayed on the message line.


1.3Special Logic
None.

2.Technical Specifications


2.4Processing 


1.Fetch Shop Floor Control Routing Instructions Table (F3112) using the input parameter (GENLNG).

2.Call GetAuditInformationB9800100 to retrieve time and date stamp information, then update 

WLUSER, WLJOBN, WLUPMJ, WLTDAY.


3.Update Shop Floor Control Routing Instructions (F3112) Table with the input parameters (MOVD, 

QUED, STRT, DRQJ).


^

Data Structure

D3100360 - F3112 Update Hours And Dates

Parameter NameData ItemData TypeReq/OptI/O/Both
idF3112PointerGENLNGIDNONENONE

General purpose ID variable.

mnMoveHoursMOVDMATH_NUMERICNONENONE

The planned hours that are required to move the order from this operation to the next operation in the same work center. If the Routing 
Master values are blank, the system retrieves the default value from the work order routing. However, the system uses these values only for 
backscheduling variable leadtime items.

mnQueueHoursQUEDMATH_NUMERICNONENONE

The total hours that an order is expected to be in queue at work centers and moving between work centers. The system stores this value in 
the Item Branch table (F4102). You can calculate this value using the Leadtime Rollup program or you can enter it manually. When you run the 
Leadtime Rollup program, the system overrides manual entries and populates the table with calculated values.

jdStartDateSTRTJDEDATENONENONE

The start date for the order. You can enter this date manually, or have the system calculate it using a backscheduling routine. The routine 
starts with the required date and offsets the total leadtime to calculate the appropriate start date.

jdRequestedDateDRQJJDEDATENONENONE

The date that an item is scheduled to arrive or that an action is scheduled for completion.

szProgramIDPIDcharNONENONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

cSuppressErrorMessageEV01charNONENONE

An option that specifies the type of processing for an event.

szErrorMessageIDDTAIcharNONENONE

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

Related Functions

B9800100 Get Audit Information

Related Tables

F3112 Work Order Routing