VerifyItemInRoutingFile

Verify Item In Routing File

Minor Business Rule

Object Name: B4100190

Parent DLL: COPBASE

Location: Client/Server

Language: C

Functional Description
Purpose
Verify that the item is not setup in the Routing Master File (F3003).  If a record exists a (Y) will 
be assigned to an Error Code, otherwise a (N) is assigned.  If the Call Type is (1), an error message 

will be set on when a record is found in F3003


Setup Notes and Prerequisites


Special Logic


Technical Specification


Edits:

1.)  Need to do a fetch to the Routing Master File (F3003) by Item Number.  If a record exist move a  
Y to Error Code.  If there is not a record move a N to Error Code.  If Call Type is equal to a 1 set 

on error message '0286'


NOTE:  There is a function out there called VerifyItemAsParentInBOM.  Want our function to work 

like that one


Retrievals:

None

Returns:

1.)  Error Code equal to Y if record exist, N if it does not.


^

Data Structure

D4100190 - Verify Item In Routing File

Parameters:
Data Item Data Structure DescriptionI/ORequired
ITMIdentifierShortItem

EV01CallType

EV02ErrorCode

MCUBranchPlant

EV01SuppressErrorMessage

DTAIErrorMessageID


^

Parameter NameData ItemData TypeReq/OptI/O/Both
mnShortItemNumberITMMATH_NUMERICNONENONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

cCallTypeEV01charNONENONE

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

cErrorCodeEV02charNONENONE

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

szBranchPlantMCUcharNONENONE

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.

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

None

Related Tables

F3003 Routing Master File