F4801VerifyOpenWorkOrderExist

F4801 Verify Open Work Order Exist

Minor Business Rule

Object Name: B4100980

Parent DLL: COPBASE

Location: Client/Server

Language: C

Functional Description

Purpose
This function will verify if there are any open work orders that exist in Work Order
Master table (F4801) for all Item Numbers, Branch/Plants or Order Numbers.


Setup Notes and Prerequisites


Special Logic


Technical Specification

Parameters
Data Item     Data Structure Description      I/O      Required     Notes
ITM           Short Item Number                I           Y
MCU           Branch/Plant                     I           Y

DOCO          Order Number                     I           Y

CDL           Index                            I           Y        '1' and '4' are allowed index 

only

CDL           Keys                             I           Y        '1' and '2' are allowed keys only

EV01          Open WO Exist                    O           N        '1' = Open Work Order Exists

       

Related Tables
F4801 - Work Order Master File

Related Business Fuctions


Processing

Fetch records in F4801 based on index and keys passed in.
If a record(s) found 'Open WO Exist" = 1.



^

Data Structure

D4100980 - F4801 Verify Open Work Order Exist

Parameters
Data Item     Data Structure Description      I/O      Required     Notes
ITM           Short Item Number                I           Y
MCU           Branch/Plant                     I           Y

DOCO          Order Number                     I           Y

CDL           Index                            I           Y        '1' and '4' are allowed index 

only

CDL           Keys                             I           Y        '1' and '2' are allowed keys only

EV01          Open WO Exist                    O           N        '1' = Open Work Order Exists

       


^

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

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.

mnOrderNumberDOCOMATH_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.

mnIndexCDLMATH_NUMERICNONENONE

Parameters
Data Item     Data Structure Description      I/O      Required     Notes
CDL           Index                            I           Y        '1' and '4' are allowed index 
only



^

mnKeysCDLMATH_NUMERICNONENONE

Parameters
Data Item     Data Structure Description      I/O      Required     Notes
CDL           Keys                             I           Y        '1' and '2' are allowed keys only

^

cOpenWOExistEV01charNONENONE

Parameters
Data Item     Data Structure Description      I/O      Required     Notes
EV01          Open WO Exist                    O           N        '1' = Open Work Order Exists
       



^

Related Functions

None

Related Tables

F4801 Work Order Master File