MemoryDeleteSerialNumber

Memory, F4141 Serial Number Processing

Major Business Rule

Object Name: B4100970

Parent DLL: COPBASE

Location: Client/Server

Language: C

Functional Description

Purpose
This function is to delete a record from B4100970's memory array(cache) or all records
from it.


Setup Notes and Prerequisites


Special Logic


Technical Specification

Parameters
Data Item     Data Structure Description      I/O      Required     Notes
ITM           Short Item Number                I          Y
MCU           Branch/Plant                     I          Y 

LOTN          Lot Number                       I          Y

LOCN          Location                         I          Y

EV01          Terminate Cache                  I          N         '1' = all records will be 

deleted.


Related Tables

Related Business Fuctions


Processing

If Terminatecache = '1' then delete all records with cache key.
Else delete only selected records.


^

Data Structure

D4100970C - Memory, Delete Serial Number

Parameters
Data Item     Data Structure Description      I/O      Required     Notes
ITM           Short Item Number                I          Y
MCU           Branch/Plant                     I          Y 

LOTN          Lot Number                       I          Y

LOCN          Location                         I          Y

EV01          Terminate Cache                  I          N         '1' = all records will be 

deleted.



^

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

szBranchPlantMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szLotNumberLOTNcharNONENONE

A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics.

szLocationLOCNcharNONENONE

The storage location from which goods will be moved.

cTerminateCacheEV01charNONENONE

Parameters
Data Item     Data Structure Description      I/O      Required     Notes
EV01          Terminate Cache                  I          N         '1' = all records will be 
deleted.




^

mnJobnumberJOBSMATH_NUMERICOPTINPUT

The job number (work station ID) which executed the particular job.

Related Functions

None

Related Tables

None
MemorySerialNumberQtyCheck

MemorySerialNumberQtyCheck

Memory, F4141 Serial Number Processing

Major Business Rule

Object Name: B4100970

Parent DLL: COPBASE

Location: Client/Server

Language: C

Functional Description

Purpose
To read all records by ITM and LOTN to ensure a quantity of 1 does exist for that combination
when doing advanced lot number processing.


Setup Notes and Prerequisites


Special Logic


Technical Specification

Parameters
Data Item     Data Structure Description      I/O      Required     Notes
ITM           Short Item Number                I          Y
MCU           Branch/Plant                     I          Y

LOTN          Lot Number                       I          Y

LOCN          Location                         I          Y

TRQT          Counted Quantity                 I          Y

EV01          Suppress Error Message           I          N

ERRC          Error Code                       O          N


Related Tables

Related Business Fuctions


Processing

If a record exist in B4100970 memory array then add it's counted quantity
to total quantity counted.


^

Data Structure

D4100970B - Memory, Serial Number Qty Check

Parameters
Data Item     Data Structure Description      I/O      Required     Notes
ITM           Short Item Number                I          Y
MCU           Branch/Plant                     I          Y

LOTN          Lot Number                       I          Y

LOCN          Location                         I          Y

TRQT          Counted Quantity                 I          Y

EV01          Suppress Error Message           I          N

ERRC          Error Code                       O          N



^

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

szBranchPlantMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szLotNumberLOTNcharNONENONE

A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics.

szLocationLOCNcharNONENONE

The storage location from which goods will be moved.

mnQtyCountedCNTMATH_NUMERICNONENONE

The number of units that the system counts in the primary unit of measure.

cSuppressErrorMsgEV01charNONENONE

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

cErrorCodeERRCcharNONENONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

mnJobnumberJOBSMATH_NUMERICOPTINPUT

The job number (work station ID) which executed the particular job.

Related Functions

None

Related Tables

None
MemoryUpdateSerialNumber

MemoryUpdateSerialNumber

Memory, F4141 Serial Number Processing

Major Business Rule

Object Name: B4100970

Parent DLL: COPBASE

Location: Client/Server

Language: C

Functional Description

Purpose
Load Memory Array with Lot Number, Item Number, Branch/Plant, Location, Quantity on Hand,
Quantity Counted, and Counted Flag.

If the record exist, then update; otherwise add record to Memory Array.


Setup Notes and Prerequisites


Special Logic


Technical Specification

Parameters
Data Item     Data Structure Description      I/O      Required     Notes
ITM           Short Item Number                I           Y
MCU           Branch/Plant                     I           Y

LOTN          Lot Number                       I           Y

LOCN          Location                         I           Y

PQOH          Quantity on Hand                 I           N

TRQT          Counted Quantity                 I           N

EV01          Counted Flag                     I           N


Related Tables

Related Business Fuctions


Processing


Memory Array Data Structure (B4100970)

Data Type     Data Description     Index     Special Note
inteter       Cache Key Number       Y       A '1' will always be loaded
character     Lot Number             Y

math numeric  Short Item Number      Y

character     Branch/Plant           Y

character     Location               Y

math numeric  Qty on Hand            N

math numeric  Qty Counted            N

character     Counted Flag           N


Validate if record exist in B4100970's memory array.

If record does not exist in B4100970, ADD a new record to the memory array.

If record does exist, Update Quantity Counted and Counted Flag.



^

Data Structure

D4100970A - Memory, Update Serial Number

Parameters
Data Item     Data Structure Description      I/O      Required     Notes
ITM           Short Item Number                I           Y
MCU           Branch/Plant                     I           Y

LOTN          Lot Number                       I           Y

LOCN          Location                         I           Y

PQOH          Quantity on Hand                 I           N

TRQT          Counted Quantity                 I           N

EV01          Counted Flag                     I           N



^

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

szBranchPlantMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szLotNumberLOTNcharNONENONE

A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics.

szLocationLOCNcharNONENONE

The storage location from which goods will be moved.

mnQtyOnHandPQOHMATH_NUMERICNONENONE

The number of units that are physically in stock. The system displays the quantity on-hand in the primary unit of measure.

mnQtyCountedCNTMATH_NUMERICNONENONE

The number of units that the system counts in the primary unit of measure.

cCountedFlagEV01charNONENONE

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

mnJobnumberJOBSMATH_NUMERICOPTINPUT

The job number (work station ID) which executed the particular job.

Related Functions

None

Related Tables

None