F4826VerifyWorkOrderLock

F4826 Verify Work Order Lock

Minor Business Rule

Object Name: B4800040

Parent DLL: CMFG

Location: Client/Server

Language: C

Functional Description

Purpose

Determine whether the Work Order Lock Flag (EQW2) has been activated in the W. O. Status Action Table 
(F4826).


Setup Notes and Prerequisites


Special Logic




Technical Specification



1. Initialize Error Message ID (EV01) field to a single blank character


2. Read the Work Order Status Action table (F4826) using Order Type (DCTO), Type       (TYPS), and 
Status (SRST) as the keys.

    

3. If rows exists and the Work Order Lock Flag (EQW2) is equal to a '1' or a '2', 

           Move Error ID ("4833") to DS Error Message ID (DTAI)

   If DS Suppress Error Messages (EV01) is not equal to 1


4. Issue GBR error "4833" (NULL)




^

Data Structure

D4800040 - F4826 Verify Work Order Lock

Parameter NameData ItemData TypeReq/OptI/O/Both
szOrderTypeDCTOcharNONENONE

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

cTypeTYPScharNONENONE

A user defined code (00/TY) that indicates the classification of a work order or engineering change order. You can use work order type as a 
selection criterion for work order approvals.

szStatusCodeSRSTcharNONENONE

A user defined code (00/SS) that describes the status of a work order, rate schedule, or engineering change order. Any status change from 
90 through 99  triggers the system to automatically update the completion date.

cSuppressErrorMessagesEV01charNONENONE

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

F4826 W.O. Status Action Table