CacheProcessAuditTrail

Cache Process Audit Trail

Minor Business Rule

Object Name: B4600260

Parent DLL: CWARE

Location: Client/Server

Language: C

Functional Description

Purpose

This function create an audit trail cache for Location Selection business function (B4600200 - 
Putaway, B4600330 - Picking, and B4600340 - Replenishment).  The three functions will load the Audit trail 

cache with the location not selected with error message id and selected location with the quantity and 

the unit of measure used.


After all the processing are completed, there are two applications (R46171 - Location Selection 

Driver; and P46130 - Online Putway Reservation) will retrieve data from the cache and display it.

Technical Specification

There two cache created in this function:  B4600260AUDIT and B4600260VALID.  B4600260AUDIT will 
contain all the locations selected and locations not selected.  B4600260VALID will only contain selected 

locations and it mainly used by B4600660 - Warehouse Reservation MBF.


The following are keys for both cache:

1.  TYFL - AWMProcessCode

2.  RQBT - RequestBatchNumber

3.  RQSQ - RequestSequenceNumber

4.  LNID - OrderLineNumber

5.  MCU  - BranchPlant

6.  ITM  - ShortItemNumber

7.  SEQ  - InstructionSequenceNumber (From F46095)

8.  TQTY - AttemptQtySeq

9.  LOCN - Location


Data Structure

D4600260A - Cache Process Audit Trail

Parameter NameData ItemData TypeReq/OptI/O/Both
mnRequestBatchNumberRQBTMATH_NUMERICNONENONE

The batch number assigned to one set of putaway, picking, or replenishment requests. This number comes from next numbers for system 
46.

mnRequestSequenceNumberRQSQMATH_NUMERICNONENONE

A number the system assigns to each individual putaway, picking, and replenishment request within a request batch.

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.

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

szLocationLOCNcharNONENONE

The storage location from which goods will be moved.

szLotLOTNcharNONENONE

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

mnQuantityUORGMATH_NUMERICNONENONE

The quantity of units affected by this transaction.

mnQuantityAttemptedTRQTMATH_NUMERICNONENONE

A value that represents the available quantity, which might consist of the on-hand balance minus commitments, reservations, and 
backorders. You enter this value in the Branch/Plant Constants program (P41001).

szErrorMessageIDDTAIcharNONENONE

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.

cActionCodeMODEcharNONENONE

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

idCacheCursorGENLNGIDNONENONE

General purpose ID variable.

mnNumberofKeysCDLMATH_NUMERICNONENONE

The length of the user defined code. It cannot be greater than 10 characters.

cLastRecordReadEV01charNONENONE

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

cErrorCodeERRcharNONENONE

The Data Field Error Code field is simply a generic data field to pass an error condition flag.  This field is one of the fields that make up the 
external parameter data structure of the Data Dictionary Server.

cAWMProcessCodeTYFLcharNONENONE

A code to specify what type of movement information is being displayed. Valid values are:    1   Putaway Information    2   Picking Information   
 3   Replenishment Information 

szPrimaryItemNumberUITMcharNONENONE

A number that the system assigns to an item. It can be in short, long, or third item number format.

szItemDescriptionDSC1charNONENONE

Brief information about an item; a remark or an explanation.

szInstructionUOMUOMcharNONENONE

A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box).

mnPrimaryConversionFactorCNV1MATH_NUMERICNONENONE

The mathematical relationship showing the conversion between the primary and secondary units of measure.

szPrimaryUOMUOM1charOPTNONE

A user defined code (00/UM) that identifies the unit of measure that the system uses to express the quantity of an item, for example, EA 
(each) or KG (kilogram).

mnOrderLineNumberLNIDMATH_NUMERICOPTNONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

cGetValidLocationOnlyEV01charOPTNONE

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

cValidLocationSelectionEV01charOPTNONE

Valid Location Selection Flag:
'1'  = Location is valid for Location Selection

'2'  = Overflow location.


^

mnAddressNumberAN8MATH_NUMERICOPTNONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

sz2ndItemNumberLITMcharOPTNONE

A number that identifies the item. The system provides three separate item numbers plus an extensive cross-reference capability to 
alternative item numbers. The three types of item numbers are: Item Number (short) An 8-digit, computer-assigned item number. 2nd Item Number A 
25-digit, user defined, alphanumeric item number. 3rd Item Number  Another 25-digit, user defined, alphanumeric item number. In addition to 
these three basic item numbers, the system provides an extensive cross-reference search capability. You can define numerous 
cross-references to alternative part numbers. For example, you can define substitute item numbers, replacements, bar codes, customer numbers, or 
supplier numbers.

sz3rdItemNumberAITMcharOPTNONE

The system provides three separate item numbers plus an extensive cross-reference capability to alternate item numbers. These item 
numbers are as follows: 1.  Item Number (short) - An 8-digit, computer-assigned item number. 2.  2nd Item Number - The 25-digit, free-form, user 
defined alphanumeric item number. 3.  3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item number.  In addition to 
these three basic item numbers, an extensive cross-reference search capability has been provided (see XRT). Numerous cross references to 
alternate part numbers can be user defined, such as substitute item numbers, replacements, bar codes, customer numbers, or supplier 
numbers.

szTransactionUOMTRUMcharOPTNONE

The unit of measure you used when you entered this transaction into the system.

jdRequestedDateDRQJJDEDATEOPTNONE

The date that an item is scheduled to arrive or that an action is scheduled for completion.

mnLicensePlateNumberSTUNMATH_NUMERICOPTNONE

A number that uniquely identifies goods in specific location detail information. Location detail contains a storage unit number if you turn on 
license plate tracking in the Item/UOM Profile (P46011) for the item's level 1  unit of measure. The system assigns a storage unit number to a 
storage unit when it creates a request or suggestion

mnLocnDetailSeqNumberLDSQMATH_NUMERICOPTNONE

The sequence number that identifies a record in the Location Detail table (F4602). The system uses this number to distinguish between the 
diffferent pallets, cases, and so forth, for the same item in the same location.

cTopOffMERGcharOPTNONE

A code that indicates whether you want the system to attempt to complete an incomplete unit of measure (such as a half-filled pallet) in an 
existing location during putaway. Valid codes are:    Y Yes, search for locations with incomplete units of measure to top them off    N No, do not 
search for locations with incomplete units of measure 

cPhasePHAScharOPTNONE

A number that identifies which phase of 2-phase movement suggestions that the system displays. Valid numbers are:    1       Display phase 
1 of the movement suggestions    2       Display phase 2 of the movement suggestions    blank Do not display 2-phase movement suggestions 

cInventoryInterfaceFlagIVIcharOPTNONE

A code that identifies the type of interface to the Inventory Management system. Valid values are:    Y The dollar or unit value of any activity 
containing this line type will be reflected in inventory. The system also edits the item that you enter to ensure that it is a valid item. Y is the 
default.    A The system recognizes the number that you enter as a G/L account number. The system uses this code in purchasing only.    B The 
system performs edits when using format 4 in purchase order entry.        The system retrieves price data from the inventory tables, but does not 
update the quantity on the purchase order. This code is valid only when you have set the G/L Interface field to Y (yes). Budget checking is 
fully functional when you use this interface code.    D The item in this line is an inventory item that will not affect availability or quantities.    N The 
item is not an inventory item. To verify whether the item exists in the Item Master file, use Inventory Interface N in conjunction with the flag, Edit 
the Item Master for Non-Stock Items.

szStagingLocationSTGPcharOPTNONE

A code that specifies a warehouse location where you hold items temporarily (either physically or logically) before moving them 
somewhere else. You use the putaway staging location when the system suggests movement from one location to another while using two-phase 
confirmation. In two-phase confirmation, you confirm the movement from the first location to the staging location, and then confirm the movement 
from the staging location to the final location.

szMovementInstructionMPUTcharOPTNONE

A code (system 46/type IT) that identifies a putaway table. The putaway table defines how the system selects locations for putaway. You 
create putaway tables using Putaway Instructions (P46095).

cSelectedForProcessEV05charOPTNONE

SelectedForProcess:  This is the flag to indicate that the records in the Cache are selected for 
other processing such as Create the Suggestion.


'1' = Record is selected for processing.


^

cInstructionProcessPUTPcharOPTNONE

A user defined code (46/PC) that determines the putaway processing method. Valid values are: P Productivity mode. The system suggests 
the fewest locations possible to minimize the number of putaway and picking trips.    S Space maximization mode. The system maximizes the 
use of space by trying to top off partially filled locations. This mode also minimizes inventory fragmentation.

mnInstructionSequenceSEQMATH_NUMERICOPTNONE

A number that specifies the sequence of information.

szLicensePlateNumberLPNUcharOPTNONE

A license plate number is a unique value that identifies a collection of items and/or other license plates.  The license plate number is 
typically used to simplify movements and inventory transactions. 

szParentLicensePlateNumbPLPNUcharOPTNONE

A Parent License plate number is a unique value that identifies a collection of license plates.  The license plate number is typically used to 
simplify movements and inventory transactions.

szToLicensePlateNumberLPNUTcharOPTNONE

A to license plate number is a unique value that identifies a collection of items and/or other license plates that a transferred to a specific 
location.  

cFIFOProcessingMODEcharOPTNONE

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

Related Functions

None

Related Tables

None