F4102UpdateItemRevLev

F4102 Update Item Revision Level

Minor Business Rule

Object Name: B4100800

Parent DLL: COPBASE

Location: Client/Server

Language: C

Functional Description

Purpose
Update Item Branch Table (F4102) with the new Item Revision Level, ECO Number, ECO Change Reason and 
Engineering Change Date. 


Setup Notes and Prerequisites

None

Special Logic

None

Technical Specifications

This function reads the Item Branch Table (F4102) using keys.  If fetch is not successful,  it assign 
Error Message ID = '0002'

 - Record Not Found.  If fetch is not successful and Suppress Error Message is not equal to '1', it 

allow runtime message handling

to occur.  It updates the record with DS Item Revision ECO Number, ECO Change Reason, Engineering 

Change Date, Audit Info,

and Net Change Flag.  (NOTE:  Net Change Flag code has been disabled)


^

Data Structure

D4100800 - F4102 Update Item Revision Level

Data Item Data Structure DescriptionI/ORequired

ITM        ShortItemNumber             I    Y

MCU        BranchPlant             I    Y

ECO        ECONumber                   I

ECTY        ECOChangeReason             I

ECOD        EngineeringChangeDate       I

PID        ProgramID                   I     Y

MERL        ItemRevisionLevel       I

EV01        SuppressErrorMessages       I

DTAI        ErrorMessageID             O

MRPC        NetChangeFlag             INOTE:  As of 04/08/98 only R30510 used this 

function.  MRPC update is being handled via N3002040, the Bill of Material master business function 

within R30510.  When passing no value, the Net Change flag gets set to blank.


^

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.

szECONumberECOcharNONENONE

The number assigned to an engineering change order.

szECOChangeReasonECTYcharNONENONE

A code (table 40/CR) that identifies the reason for the engineering change order.

jdEngineeringChangeDateECODJDEDATENONENONE

The date of the engineering change order.

szItemRevisionLevelMERLcharNONENONE

The revision level for an item. If you enter a revision level in this field, verify that the revision level of the routing for an item matches the 
revision level on the bill of material for the item.

cSuppressErrorMessagesEV01charNONENONE

Enter a '1' to suppress runtime error message.
Enter a '0' to not suppress error  message.ab 


^

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.

szProgramIDPIDcharNONENONE

Used for audit information.
^

cNetChangeFlagMRPCcharNONENONE

NOTE:  As of 04/08/98 only R30510 used this function.  MRPC update is being handled via N3002040, the 
Bill of Material master business function within R30510.  When passing no value, the Net Change flag 

gets set to  blank.ab 


^

Related Functions

B9800100 Get Audit Information

Related Tables

F4102 Item Branch File