GetQuantumItemBalanceCatforSales

Get Quantum Item Balance Cat for Sales

Minor Business Rule

Object Name: N1701110

Parent DLL: CCRIN

Location: Client/Server

Language: NER

1.Functional Description

1.1Purpose

This NER will look up the value for the Sales "Item Balance Category" defined for Quantum


1.2Setup Notes and Prerequisites

Before using this NER, N7300001 needs to be called in order to retrieve which field was defined for "Item Balance Category".


1.3Special Logic


2.Technical Specifications


2.4Processing 


IF Mode = 2 OR Mode = 3

IF BF Item Balance Category = SRP1

F4102. FetchSingle


ELSE

IF BF Item Balance Category = SRP2

F4102. FetchSingle


ELSE


END IF

END IF

END IF

IF BF Mode = 1 OR BF Mode = 3 AND File I/O Status != Success 

IF BF Item Balance Category = SRP1

F4101. FetchSingle


ELSE

IF BF Item Balance Category = SRP2

F4101. FetchSingle


ELSE


END IF

END IF

END IF

IF File I/O Status != Success

IF BF ErrorMessageID != '1'

Set NER Error (017F)

END IF

ErrorMessageID = 017F

END IF


Data Structure

D1701110 - Get Quantum Item Balance Cat for Sales

Parameter NameData ItemData TypeReq/OptI/O/Both
cModeEV01charREQINPUT

1 = Look in F4101 Item Master File only.
2 = Look in F4102 Item/Branch File only.

3 = Look in F4102 Item/Branch File and then look in F4101 Item Master File.

^

szItemBalanceCategoryVVITcharREQINPUT

*Needs to be retrieved from the Quantum Constants using N7300006.
^

mnItemNumberITMMATH_NUMERICREQINPUT

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

szBranchPlantMCUcharOPTNONE

*Required field if using Mode 1 or 2.
^

cSuppressErrorMessageSUPPScharOPTNONE

1 = Suppresses Error Messages
Blank = Error Messages will be set.

^

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.

szCodeDTAIcharOPTNONE

Value stored within the Item Balance Category field passed in.
^

Related Functions

None

Related Tables

None