UpdateECOHeaderRecord

Update ECO Header Record

Major Business Rule

Object Name: B3001210

Parent DLL: CMFGBASE

Location: Client/Server

Language: C

1.Functional Description

This business function allows selection of data to be updated in ECO Header Record F4801.
                           
1.1Purpose
This business function allows selection of data to be updated in ECO Header File F4801.
This business function will also update ECO Header File with User Name, Date, Time of Day, 
Workstation_UserID, and Program ID.


 1.2Setup Notes and Prerequisites

None

1.3Special Logic

• Load User Name, Date, Time of Day, and Workstation_UserID parameters using Get Audit Info Business 
Function (B9800100). 

• Pass Program_ID as literal. 


2.Technical Specifications


2.4Processing 
Read F4801 by Order number, Order type.
Load parameter fields Status and Completion Date into DS fields Status and Completion date. 

Call Business Function Get Audit Info (B98001000).

Pass Program_ID as literal.

Update a row in F4801 file.


Retrievals:

None.


Returns:


1.  Return error message ID '0002' if read is not successful and if  '0' was specified for Suppress 
Error

     messages parameter.



^

Data Structure

D3001210 - Update ECO Header Record

Parameter NameData ItemData TypeReq/OptI/O/Both
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.

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

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.

jdCompletionDateSTRXJDEDATENONENONE

The date that the work order or engineering change order is completed or canceled.

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.

cSuppressErrorMessagesEV01charNONENONE

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

szProgramIDPIDcharNONENONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

Related Functions

B4000460 Free Ptr To Data Structure
B9800100 Get Audit Information

Related Tables

F4801 Work Order Master File