SaveItemsAlreadyFrozen

Save Items Already Frozen

Major Business Rule

Object Name: B3001070

Parent DLL: CMFGBASE

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose

This business function will save the item being processed into a linked list.  If called in a second 

mode, then it will check to see if the item exists in the linked list, if it does exist, it will 

return a parameter = 1 to indicate the item was found.


1.2Setup Notes and Prerequisites


1.3Special Logic



2.Technical Specifications


2.4Processing 


Linked list structure:

ITM



1)   If the Mode is '0' 

A)  If the Pointer to the link list is NULL Create the Link list and add a node

      with the information sent in:  Item Number.


B)  Else 

If the node does not already exist for the Item passed in, add a node to the end of the 

link list with the item sent in.



2)  If the Mode is '1' check to see if the item exists in the linked list.  If it does exist send 

back DS VC01A = '1', otherwise send back DS VC01A = '0'.   (This function may be called to see if an item 

exists, but the linked list may not have any items in it yet so the pointer will be NULL, if this is 

the case, then return DS VC01A = '0' to indicate that the item was not found.)


3)  If the Mode is '2' destroy the entire linked list and set the Pointer to the Link list to NULL.



Data Structure

D3001070 - SaveItemsAlreadyFrozen

Parameter NameData ItemData TypeReq/OptI/O/Both
cModeMODEcharNONENONE

The processing mode used in Purchase Order Consolidator to signify when specific orders are being processed.

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

cFoundFlagVC01AcharNONENONE

This is a generic field used for video constants display.

idPointerToLinkedListGENLNGIDNONENONE

General purpose ID variable.

Related Functions

None

Related Tables

None