CacheF46091ShippingCartons

Cache F46091 Shipping Cartons

Minor Business Rule

Object Name: B4600640

Parent DLL: CWARE

Location: Client/Server

Language: C

Functional Description

Purpose

The purpose of this function is to write the available shipping cartons for a Branch/Plant to cache.  

The function will aslo read the cache and pass back carton information.


Setup Notes and Prerequisites

The Action Code (MODE), Number of Keys (CDL), Job Number (GENLNG) and Branch/Plant (MCU) are required 

parameters.


Action Code:

'3'= Read single cache record.

'4'= Read multiple cache records.

'5' or 'D'= Delete cache records.

'9' = Clear cursor.


Technical Specification

The following information is stored in the cache:

Job Number (JOBS)

Branch/Plant (MCU)

Shipping Carton Priority (PRSH)

Carton Code (EQTY)

Carton Gross Cubes (GCUB)

Carton Volume UOM (VUMD)

Carton Minimum Fill Percent (CTPR)

Carton Maximum Fill Percent (CTPM)


The index for the cache is:

Job Number (JOBS)

Branch/Plant (MCU)

Shipping Carton Priority (PRSH)


Data Structure

D4600640A - Cache F46091 Shipping Cartons

Parameter NameData ItemData TypeReq/OptI/O/Both
cActionCodeMODEcharREQINPUT

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

mnNumberOfKeysCDLMATH_NUMERICREQINPUT

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

idCacheCursorGENLNGIDOPTBOTH

General purpose ID variable.

mnJobNumberJOBSMATH_NUMERICREQNONE

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

cLastRecordReadEV01charOPTNONE

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

cErrorCodeEV01charOPTNONE

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

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.

szBranchPlantMCUcharREQNONE

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.

szCartonCodeEQTYcharOPTNONE

A code (46/EQ) that identifies a storage container or a shipping carton. A storage container can be an open container where items are 
stored on the container (for example, a pallet), or a closed container where items are stored in the container (for example, a box). You use the 
Container and Carton Codes program (P46091) to define storage containers.

mnCartonGrossCubesGCUBMATH_NUMERICOPTNONE

The gross cubic dimensions of the locations defined within the location dimension group, the gross cubic dimensions of an item as defined 
in the Unit Of Measure Definition (by item or group), or the gross cubic dimensions of a storage or shipping container. The unit of measure is 
defined in Branch/Plant Constants - Page 2 (P410012).

szCartonVolumeUoMVUMDcharOPTNONE

A user defined code (00/UM) that identifies the unit of measure that the system uses to display volume for this branch/plant. The system 
inputs a value in this field from Branch/Plant Constants - Page 2 (P410012). You can override this default value.

mnCartonMinFillPercentCTPRMATH_NUMERICOPTNONE

The minimum percentage of a shipping carton that must be filled before it can be shipped. If the content of the carton does not reach this 
percentage, the system recommends a smaller carton. The default minimum percentage is 85%.

mnCartonMaxFillPercentCTPMMATH_NUMERICOPTNONE

The maximum percentage of a shipping carton that can be filled before the system recommends a larger carton. The default maximum 
percentage is 90%.

mnPriorityShippingContPRSHMATH_NUMERICOPTNONE

A number that identifies this shipping carton's place in the priority list that the system uses to make carton recommendations. When the 
system makes a carton recommendation, it uses shipping priority to determine which carton it should choose first, second, third, and so forth. If 
you want the system to look from large to small containers (downsizing), you should assign priority 1  to the largest container, priority 2 to the 
next largest, and so forth.

mnAmountMaximumWeightMAXWMATH_NUMERICOPTNONE

A number that indicates the maximum weight that is allowed for this location.

cCartonizeToTotesEV01charOPTNONE

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

szUnitofMeasureWeightWUOMcharOPTNONE

A user defined code (system 00/type UM) that identifies the unit of measure that the system uses to display weight for this item. You can 
specify ounces, grams, kilograms, and so on, as weight standards. The system uses this unit of measure as the starting point for converting to 
weight unit of measure in the Item Master (UWUM).

Related Functions

None

Related Tables

F46091 Container and Carton Codes