VerifyRoutingExists

Verify Routing Exists

Minor Business Rule

Object Name: B3100110

Parent DLL: CMFGBASE

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose

This business function will validate that the Routing Instructions Table (F3112) contains at least 

one row for a given Work Order Number. This fuction will return a code '1'in the errorcode field, if any 

row is found and '0' if no rows are found.


1.2Setup Notes and Prerequisites

• None.
• 
1.3Special Logic

None.


2.Technical Specifications


2.4Processing 


Check  the Work Order Routing Instructions table (F3112) for a record using Document Number (DOCO) as 

the key. If the Message Code is Input as 'Y', the error message (Number -1801)  will be returned. If 

found load the routing start date.


If the any row is found, the function will return '1' in the Error Code field, and '0' if  no rows 

are found.

Data Structure

D3100110 - Verify Routing Exists

Parameter NameData ItemData TypeReq/OptI/O/Both
mnDocumentNumberDOCOMATH_NUMERICNONENONE

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.

cErrorCodeERRCcharNONENONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

cMessageCodeMSGAcharNONENONE

A code to indicate which messages should be displayed. A Y code will display all messages, including those that have been cleared or 
processed, but not those already deleted. Any value other than Y will display current messages only.

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.

Related Functions

None

Related Tables

F3112 Work Order Routing