Functional Description
Purpose
This function will validate the grad/potency pricing field in the Item Master against the Potency and
Grade control fields in the Item Branch table. If they are not consistent, an error will be set.
Setup Notes and Prerequisites
None
Technical Specifications
Retrieve the Item Master table for the short item number to get the Grade/Potency pricing field.
If the pricing field is a '1',
If Potency control not equal 'Y'
Issue error '4059' and highlight the potency control field
Move '1' to Error Found
If the pricing field is a '2'
If Grade control not equal 'Y'
Issue error '4060' and highlight the grade control field
Move '1' to Error Found
^
D4100640 - Validate Grade Potency Pricing
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnShortItemNumber | ITM | MATH_NUMERIC | NONE | NONE |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
cPotencyControl | OT1Y | char | NONE | NONE |
A code that indicates whether you control the item by potency. | ||||
cGradeControl | OT2Y | char | NONE | NONE |
A code that indicates whether you control the item by grade. | ||||
cErrorFound | ERRC | char | NONE | NONE |
'1' = error ab
|
None |
F4101 Item Master |