F4801UpdateECOStatusforApproval

F4801 Update ECO Status for Approval

Minor Business Rule

Object Name: N4800290

Parent DLL: CMFGBASE

Location: Client/Server

Language: NER

1.Functional Description

1.1Purpose
This function will update the status field in the Work Order Master (F4801) for the requested order 
number and status.  The status is only updated if all approvers have approved the Engineering Change 

Order.


1.2Setup Notes and Prerequisites

None.

1.3Special Logic

None.

2.Technical Specifications
2.4Processing 
2.4.1Open the ECO Approval Table F4818.
2.4.2Select all approvers from F4818 containing the requested order number.

2.4.3Read each selected record.  If any one record's approval status is not equal to "A", the order 

is not completely approved.

2.4.4Close F4818.
2.4.5Update the status code in F4801 if all approvers have approved.

^

Data Structure

D4800290 - F4801 Update ECO Status for Approval

Parameter NameData ItemData TypeReq/OptI/O/Both
szStatusCodeWoSRSTcharOPTNONE

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.

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

Related Functions

None

Related Tables

None