F43091RoutingOperationsCache

F43091 Read/Write Routing Operations Cache

Major Business Rule

Object Name: B4301520

Parent DLL: CDIST

Location: Client/Server

Language: C

Functional Description

Purpose

This function gets the next receipt routing operation from the cache.  It also deletes the cache.

Setup Notes and Prerequisites


Special Logic

A mode of '3' is to get the next operation.  Inputs of Mode, Computer ID, Job Number, Route Code, and 

Branch/Plant, and current Operation Sequence are required.  If the route does not exist in the cache, 

it is added.  Then the operation sequence and operation description that is next in the route after 

the current operation sequence is retrieved.  If the current operation sequence is the last operation 

in the route, a zero operaton sequence and a blank operation description are returned.


A mode of '9' is to delete the cache based on Computer ID and Job Number.


Technical Specification




Data Structure

D4301520 - F43091 Read/Write Routing Operations Cache

Parameter NameData ItemData TypeReq/OptI/O/Both
szBranchPlantMCUcharOPTNONE

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.

szNormalRouteCodeNROUcharOPTNONE

A user defined code (43/RC) that identifies a receipt route. Each receipt route consists of a series of operations through which the system 
directs items upon receipt.

mnOperationSequenceOPRSMATH_NUMERICOPTNONE

The sequence in which the system performs the operations or steps of the route.

szOperationCodeOPRCcharOPTNONE

A user defined code (43/OC) that represents an operation or step within the receipt route.

szStatusLineTRTYcharOPTNONE

A user defined code (40/AT) that indicates the status of the line.

mnPlannedProcessDaysPDAYMATH_NUMERICOPTNONE

This field designates the number of days in process.

szUpdateItemBalanceBucketUPIBcharOPTNONE

Indicates which quantity field in the Item Location table that the system updates when quantity is moved from one receipt routing operation 
to another. Valid values:        QTTR - Quantity in Transit         QTIN - Quantity in Inspection         QTO1 - Quantity in User-defined Operation 1         
QTO2 - Quantity in User-defined Operation 2        PQOH - Quantity on Hand PREQ - Quantity on Purchase Order

cUpdateGeneralLedgerUPGLcharOPTNONE

Indicates when the system updates the general ledger. Valid values are:    Y Journal entries will be written as soon as the quantity moves 
into this operation.    N Journal entries will not be written at this time.

szGlCategoryGLPTcharOPTNONE

A user defined code (41/9) that identifies the G/L offset that system uses when it searches for the account to which it posts the transaction. If 
you do not want to specify a class code, you can enter **** (four asterisks) in this field. You can use automatic accounting instructions (AAIs) to 
predefine classes of automatic offset accounts for the Inventory Management, Procurement, and Sales Order Management systems. You 
might assign G/L class codes as follows:    IN20   Direct Ship Orders    IN60   Transfer Orders    IN80   Stock Sales  The system can generate 
accounting entries based upon a single transaction. For example, a single sale of a stock item can trigger the generation of accounting entries 
similar to the following:         Sales-Stock (Debit) xxxxx.xx     A/R Stock Sales (Credit) xxxxx.xx     Posting Category: IN80             Stock Inventory 
(Debit) xxxxx.xx     Stock COGS (Credit) xxxxx.xx The system uses the class code and the document type to find the AAI.

cReceiptAcknowledgementRCPTcharOPTNONE

A code that determines at which operation the system records the receipt date for items in the receipt route. Based on the receipt date, the 
system calculates supplier performance information such as leadtime days for an item and on time deliveries. NOTE: You can enter Y in this 
column only once for each route.

cPaymentEligiblePMTEcharOPTNONE

Indicates at which operation the goods are eligible for payment.  When quantity is moved to this operation, the system updates the open 
quantity (PRUOPN) and open amount (PRAOPN) in the Purchase Order Receiver table so they can be vouchered in the Voucher Match 
program. NOTE:  You can enter Y in this column only once for each route. In addition, the system uses this field to determine if the quantity is eligible 
for payment when the quantity is dispositioned out of the routing process.  Each quantity disposition has its own setup.

szComputerIDCTIDcharREQNONE

mnJobNumberJOBSMATH_NUMERICREQNONE

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

cModeEV01charREQNONE

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

Related Functions

None

Related Tables

F43091 Receipt Routing Master File