UpdateF4101ContractCode

Update F4101 Contract Code

Major Business Rule

Object Name: B4001020

Parent DLL: COPBASE

Location: Client/Server

Language: C

Functional Description

Purpose

Update the Item Master F4101 Contract Code IMCONT based on Inventory Pricing Rules.
If Inventory Pricing Rules is setup as a contract item update IMCONT with a 'Y'

else, update the Item Master Record with a 'N'.


Technical Specification


Edits:


1) If the item record  F4101 cannot be updated, set an error message 0302 and exit the function.





^

Data Structure

D4001020 - Update F4101 Contract Code

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

cItemContractCodeCONTcharNONENONE

An indication, updated internally, that there are one or more formal contracts in place which specify a quantity and price at which this item is 
to be sold to specific customers.

szErrorMesgIDDTAIcharNONENONE

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.

cSuppressErrorMesgEV01charNONENONE

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

Related Functions

None

Related Tables

F4101 Item Master