F3112GetCSMSRoutingDataEx

F3112 Get S/WM Routing Data Extended

Minor Business Rule

Object Name: B1701450

Parent DLL: CCRIN

Location: Client/Server

Language: C

1.1Purpose
Read record(s) from F3112 and F31172 (Join on DOCO). Records can be fetched by keys from F3112 and can be read sequentially.


1.2Setup Notes and Prerequisites

If Action Code = 2 has been used, a call with Action Code = 3 needs to be done to close all tables and free memory.


1.3Special Logic

If Action Code = 1 Then Fetch F3112 and F31172 using keys. If Sequential Fetch = 1 save Table Ptr.

If Action Code = 2 Then Fetch F3112 and F31172 using keys, and do not close tables.

If Action Code = 3 Then Retrieve Table Ptr ,Close Tables and Free Memory.


Data Structure

D1701450 - F3112 Get S/WM Routing Data Extended

Parameter NameData ItemData TypeReq/OptI/O/Both
cActionCodeACTNcharOPTNONE

A code that specifies the action that is performed. Valid values are: A Add C Change

cSuppressErrorMessageSUPPScharOPTNONE

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

szErrorMessageIDDTAIcharOPTNONE

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.

idTablePtrGENLNGIDOPTNONE

General purpose ID variable.

mnF3112IndexMATH01MATH_NUMERICOPTNONE

- - - Good Performance Low Value. 

mnF3112NumberOfKeysMATH01MATH_NUMERICOPTNONE

- - - Good Performance Low Value. 

mnF3112OrderNumberDOCOMATH_NUMERICOPTNONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

mnF3112OperationSequenceOPSQMATH_NUMERICOPTNONE

A number used to indicate an order of succession. In routing instructions, a number that sequences the fabrication or assembly steps in the 
manufacture of an item. You can track costs and charge time by operation. In bills of material, a number that designates the routing step in the 
fabrication or assembly process that requires a specified component part. You define the operation sequence after you create the routing 
instructions for the item. The Shop Floor Management system uses this number in the backflush/preflush by operation process. In engineering 
change orders, a number that sequences the assembly steps for the engineering change. For repetitive manufacturing, a number that 
identifies the sequence in which an item is scheduled to be produced. Skip To fields allow you to enter an operation sequence that you want to begin 
the display of information. You can use decimals to add steps between existing steps. For example, use 12.5 to add a step between steps 
12 and 13.

szF3112OperationTypeOPSCcharOPTNONE

A user defined code (30/OT) that indicates the type of operation. Valid values include: A Alternate routing   TT Travel time   IT Idle time   T Text

szF3112WorkCenterMCUcharOPTNONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

jdF3112DateRequestedDRQJJDEDATEOPTNONE

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

szF3112BranchPlantMMCUcharOPTNONE

A code that represents a high-level business unit. Use this code to refer to a branch or plant that might have departments or jobs, which 
represent lower-level business units, subordinate to it. For example:     o Branch/Plant (MMCU)     o Dept A (MCU)     o Dept B (MCU)     o Job 123 
(MCU) Business unit security is based on the higher-level business unit.

mnF3112AddressNumberAN8MATH_NUMERICOPTNONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

jdF3112StartDateSTRTJDEDATEOPTNONE

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.

mnF3112ParentItemNumberKITMATH_NUMERICOPTNONE

The system provides for three separate item numbers.    1.   Item Number (short) - An eight-digit, computer assigned, completely 
non-significant item number.    2.   2nd Item Number - The 25-digit, free form, user defined alphanumeric item number.    3.   3rd Item Number - Another 
25-digit, free form, user defined alphanumeric item number.

szF3112DescriptionLine1DSC1charOPTNONE

Brief information about an item; a remark or an explanation.

mnF3112RunLaborStdRUNLMATH_NUMERICOPTNONE

The standard hours of labor that you expect to incur in the normal production of this item. The run labor hours in the Routing Master table 
(F3003) are the total hours that it takes the specified crew size to complete the operation. The hours are multiplied by the crew size during shop 
floor release and product costing.

cF31172BillableYNBILLcharOPTNONE

Specifies whether a general ledger account should be billed. Valid codes are:    Y Yes, the account should be billed.    N No, it should not be 
billed.    1   It is eligible only for invoicing.    2   It is eligible only for revenue recognition.    4   It is eligible only for cost. Note: Codes 1, 2, and 4 
relate only to the Service Billing system.

mnF31172EstimatedAmountEBILLMATH_NUMERICOPTNONE

mnF31172EstimatedBillableRateESRTBMATH_NUMERICOPTNONE

The estimated billable rate associated with a service.

mnF31172PercentCoveredPCOVRMATH_NUMERICOPTNONE

The percentage covered under warranty or contract. This is used to calculate the amount to bill or the amount to cost for the line item being 
processed on the service order or call.

cSequentialFetchEV01charOPTNONE

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

Related Functions

None

Related Tables

F3112 Work Order Routing
F31172 Routing Instructions - Extension