F1790ValidateProductFamilyModel

F1790 Validate Product Family and Model

Minor Business Rule

Object Name: N1700170

Parent DLL: CCRIN

Location: Client/Server

Language: NER

1.Functional Description

1.1Purpose

The purpose of this NER is to check the CSMS Constants (if a valid value for this constant wasnt passed into the NER) to see if the Validate 

Family/Model Flag is turned on.  It will then look up the Product Family that a Product Model belongs to and/or Validate the Product Model and Product Family that 

was passed into the NER.


1.2Setup Notes and Prerequisites



2.Technical Specifications

2.1Processing 


If ValidateFamilyModel is not equal to zero and not equal to 1

Call F17001 Check For CSMS

Endif


If no errors

If Product Model not equal to blank OR Product Family not equal to blank
If Product Family is equal to blank OR Product Family is not equal to blank and ValidateFamilyModel is equal to 1 then
F1790.Fetch Single
Product Family <- Product Family
Product Model = Product Model

Business Unit <- Business Unit

If not successful and  suppress error message not equal to 1 then
Return error message id 084Q
Endif
Endif
Endif
Endif


Data Structure

D1700170 - F1790 Validate Product Family and Model

Parameter NameData ItemData TypeReq/OptI/O/Both
szProductFamilyPRODFcharREQBOTH

A code that classifies an inventory item into a group for customer service. Some examples include: Laser Printer, Inkjet, or Fax.

szProductModelPRODMcharREQINPUT

A code that classifies an inventory item into a model for customer service. Some examples include: Laser Printer, Inkjet or Fax.

cSuppressErrorMessageSUPPScharOPTNONE

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

szErrorMessageIDDTAIcharOPTNONE

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.

szCostCenterAlternativeMCUZcharOPTNONE

Identifies a separate entity within a business for which you wish to track costs, for example, a warehouse location, job, project, work center, 
or branch/plant. The business unit field is alphanumeric. You can assign a business unit to a voucher, invoice, fixed asset, and so forth, for 
responsibility reporting.  The system provides reports of open A/P and A/R by business unit, for example, to track equipment by responsible 
department. Business Unit Security can prevent you from inquiring on business units for which you have no authority.

cValidateFamilyModelYN01charREQBOTH

The Yes or No Entry field is a single character entry field for yes or no responses on prompt screens.

Related Functions

None

Related Tables

None