CacheF4611RecommendCartons

Cache F4611 Recommend Cartons

Minor Business Rule

Object Name: B4600650

Parent DLL: CWARE

Location: Client/Server

Language: C

Functional Description

Purpose

The purpose of this function is to write suggestions for a task to cache.  This function also reads 
and updates the cache.  Required suggestion information for carton recommendation is passed back.


Setup Notes and Prerequisites

The Action Code (MODE), Job Number (JOBS), Branch/Plant (MCU), Warehouse Code (TYFL) and Short Item 

(ITM) are required parameters.  


Action Code:

'1' or 'A'=Add

'2' or 'C'=Change

'3'=Read Single

'4'=Read Multiple

'5' or 'D'=Delete


Technical Specification
The following information is stored in the cache:
Job Number (JOBS)

Branch/Plant (MCU)

Already Recommended (CTNF)

Task Number (TASK)

Trip Number (TRIP)

Numeric Sequence (SEQ)

Location Sequence (WSQQ)

FROM Location (FLOC)

Suggestion Batch (SGBT)

Suggestion Sequence (SGSQ)

Warehouse Code (TYFL)

Short Item (ITM)

Level 1 Quantity (TQL1)

Level 2 Quantity (TQL2)

Level 3 Quantity (TQL3)

Level 4 Quantity (TQL4)

Level 5 Quantity (TQL5)

Level 1 UOM (UML1)

Level 2 UOM (UML2)

Level 3 UOM (UML3)

Level 4 UOM (UML4)

Level 5 UOM (UML5)

Level 2 Quantity Per (PPL2)

Level 3 Quantity Per (PPL3)

Level 4 Quantity Per (PPL4)

Level 5 Quantity Per (PPL5)

Level 1 Container (EQL1)

Carton Recommendation Method (CRMT)

Total Quantity (TQTY)

Item Dimension Group (PRP6)

Item Cubic Dimensions (CUBE)

Item Volume UOM (VUMD)

Recommended Carton (EQTY)

Error Message Id (EKEY)

New Suggestion (EV01)

Item Weight (WEIT)

Item Weight UOM (UWUM)


The index for the cache is:

Job Number (JOBS)

Branch/Plant (MCU)

Already Recommended (CTNF)

Task Number (TASK)

Trip Number (TRIP)

Numeric Sequence (SEQ)

Location Sequence (WSQQ)

FROM Location (FLOC)

Suggestion Batch (SGBT)

Suggestion Sequence (SGSQ)



Data Structure

D4600650A - Cache F4611 Recommend Cartons

Parameter NameData ItemData TypeReq/OptI/O/Both
cActionCodeMODEcharOPTNONE

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

mnNumberOfKeysCDLMATH_NUMERICOPTNONE

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

idCacheCursorGENLNGIDOPTNONE

General purpose ID variable.

mnJobNumberJOBSMATH_NUMERICOPTNONE

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.

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.

cAlreadyRecommendedCTNFcharOPTNONE

A code that indicates whether the system recommends shipping cartons when it picks from this location. Valid codes are:    Y Yes, 
recommend cartons when picking from this location. The system recommends a carton only if you have set up the Carton Recommendation Method 
for the item.    N No, do not make carton recommendations when picking from this location.

mnTaskNumberPTSKMATH_NUMERICOPTNONE

A unique number assigned to every putaway request that is created by a receipt.

mnTripNumberTRIPMATH_NUMERICOPTNONE

A number assigned to each trip by the system. A trip is the movement of goods from one location to another.

mnSequenceNumberSEQMATH_NUMERICOPTNONE

A number that specifies the sequence of information.

mnLocationSequenceWSQQMATH_NUMERICOPTNONE

A number that you assign to a location to determine its place in the picking sequence. Picking is the movement of inventory from storage to 
satisfy an order. A sequence of locations describes the path that warehouse employees follow through the warehouse during movement 
tasks. You can specify in the Movement Instructions (P46095) whether the system uses the picking sequence as a tiebreaker when there is 
more than one location selected to pick from. For example, you can establish sequencing for the most efficient pick routing.

szFROMLocationFLOCcharOPTNONE

The storage location from which goods will be moved.

mnSuggestionBatchSGBTMATH_NUMERICOPTNONE

The batch number assigned to one set of putaway, picking or replenishment suggestions.

mnSuggestionSequenceSGSQMATH_NUMERICOPTNONE

The number assigned to each individual putaway, picking and replenishment suggestion within a suggestion batch.

cWarehouseCodeTYFLcharOPTNONE

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

mnShortItemITMMATH_NUMERICOPTNONE

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

szUnitOfMeasureLevel1UML1charOPTNONE

The item's level 1 unit of measure. You use Unit of Measure Conversion Information (P41002) to define an item's unit of measure structure. 
You define the largest unit of measure in the structure as the level 1 unit of measure. The smallest unit of measure, which is also the primary unit 
of measure, is the highest level in the structure. For example, a unit of measure structure could be as follows:    Level Unit of Measure    1       
Pallet    2       Box, where 10 boxes equal 1 pallet    3       Case, where 5 cases equal 1 box    4       Interpack, where 8 interpacks equal 1 case    5       
Each, where 10 eaches equal 1 interpack  In this example, the level 1 unit of measure is a pallet, and the level 5 unit of measure is an each, 
which is the primary unit of measure. You can have five levels in an item's unit of measure structure.

szUnitOfMeasureLevel2UML2charOPTNONE

The item's level 2 unit of measure. You use Unit of Measure Conversion Information (P41002) to define an item's unit of measure structure. 
You define the largest unit of measure in the structure as the level 1 unit of measure. The smallest unit of measure, which is also the primary unit 
of measure, is the highest level in the structure. For example, a unit of measure structure could be as follows:    Level Unit of Measure    1       
Pallet    2       Box, where 10 boxes equal 1 pallet    3       Case, where 5 cases equal 1 box    4       Interpack, where 8 interpacks equal 1 case    5       
Each, where 10 eaches equal 1 interpack  In this example, the level 1 unit of measure is a pallet, and the level 5 unit of measure is an each, 
which is the primary unit of measure. You can have five levels in an item's unit of measure structure.

szUnitOfMeasureLevel3UML3charOPTNONE

The item's level 3 unit of measure. You use Unit of Measure Conversion Information (P41002) to define an item's unit of measure structure. 
You define the largest unit of measure in the structure as the level 1 unit of measure. The smallest unit of measure, which is also the primary unit 
of measure, is the highest level in the structure. For example, a unit of measure structure could be as follows:    Level Unit of Measure    1       
Pallet    2       Box, where 10 boxes equal 1 pallet    3       Case, where 5 cases equal 1 box    4       Interpack, where 8 interpacks equal 1 case    5       
Each, where 10 eaches equal 1 interpack  In this example, the level 1 unit of measure is a pallet, and the level 5 unit of measure is an each, 
which is the primary unit of measure. You can have five levels in an item's unit of measure structure.

szUnitOfMeasureLevel4UML4charOPTNONE

The item's level 4 unit of measure. You use Unit of Measure Conversion Information (P41002) to define an item's unit of measure structure. 
You define the largest unit of measure in the structure as the level 1 unit of measure. The smallest unit of measure, which is also the primary unit 
of measure, is the highest level in the structure. For example, a unit of measure structure could be as follows:    Level Unit of Measure    1       
Pallet    2       Box, where 10 boxes equal 1 pallet    3       Case, where 5 cases equal 1 box    4       Interpack, where 8 interpacks equal 1 case    5       
Each, where 10 eaches equal 1 interpack  In this example, the level 1 unit of measure is a pallet, and the level 5 unit of measure is an each, 
which is the primary unit of measure. You can have five levels in an item's unit of measure structure.

szUnitOfMeasureLevel5UML5charOPTNONE

The item's level 5 unit of measure. You use Unit of Measure Conversion Information (P41002) to define an item's unit of measure structure. 
You define the largest unit of measure in the structure as the level 1 unit of measure. The smallest unit of measure, which is also the primary unit 
of measure, is the highest level in the structure. For example, a unit of measure structure could be as follows:    Level Unit of Measure    1       
Pallet    2       Box, where 10 boxes equal 1 pallet    3       Case, where 5 cases equal 1 box    4       Interpack, where 8 interpacks equal 1 case    5       
Each, where 10 eaches equal 1 interpack  In this example, the level 1 unit of measure is a pallet, and the level 5 unit of measure is an each, 
which is the primary unit of measure. You can have five levels in an item's unit of measure structure.

mnQuantityTotalLevel1TQL1MATH_NUMERICOPTNONE

The total quantity of the item in the item's level 1 unit of measure. You use Unit of Measure Conversion Information (P41002) to define unit of 
measure levels. When you define a unit of measure structure, define your largest unit of measure as level 1, and your smallest, or primary, 
unit of measure as the last level. The system supplies an item's unit of measure structure to a location's detail information (F4602) during 
inventory movement, but you can override the structure, if necessary

mnQuantityTotalLevel2TQL2MATH_NUMERICOPTNONE

The total quantity of the item in the item's level 2 unit of measure. You use Unit of Measure Conversion Information (P41002) to define unit of 
measure levels. When you define a unit of measure structure, define your largest unit of measure as level 1, and your smallest, or primary, 
unit of measure as the last level. The system supplies an item's unit of measure structure to a location's detail information (F4602) during 
inventory movement, but you can override the structure, if necessary

mnQuantityTotalLevel3TQL3MATH_NUMERICOPTNONE

The total quantity of the item in the item's level 3 unit of measure. You use Unit of Measure Conversion Information (P41002) to define unit of 
measure levels. When you define a unit of measure structure, define your largest unit of measure as level 1, and your smallest, or primary, 
unit of measure as the last level. The system supplies an item's unit of measure structure to a location's detail information (F4602) during 
inventory movement, but you can override the structure, if necessary

mnQuantityTotalLevel4TQL4MATH_NUMERICOPTNONE

The total quantity of the item in the item's level 4 unit of measure. You use Unit of Measure Conversion Information (P41002) to define unit of 
measure levels. When you define a unit of measure structure, define your largest unit of measure as level 1, and your smallest, or primary, 
unit of measure as the last level. The system supplies an item's unit of measure structure to a location's detail information (F4602) during 
inventory movement, but you can override the structure, if necessary

mnQuantityTotalLevel5TQL5MATH_NUMERICOPTNONE

The total quantity of the item in the item's level 5 unit of measure. You use Unit of Measure Conversion Information (P41002) to define unit of 
measure levels. When you define a unit of measure structure, define your largest unit of measure as level 1, and your smallest, or primary, 
unit of measure as the last level. The system supplies an item's unit of measure structure to a location's detail information (F4602) during 
inventory movement, but you can override the structure, if necessary

mnQuantityPerLevel2QPL2MATH_NUMERICOPTNONE

The number of units in Level 2 unit of measure for one full unit in Level 1  unit of measure.

mnQuantityPerLevel3QPL3MATH_NUMERICOPTNONE

The number of units in Level 3 unit of measure for one full unit in Level 2  unit of measure.

mnQuantityPerLevel4QPL4MATH_NUMERICOPTNONE

The number of units in Level 4 unit of measure for one full unit in Level 3  unit of measure.

mnQuantityPerLevel5QPL5MATH_NUMERICOPTNONE

The number of units in Level 5 unit of measure for one full unit in Level 4  unit of measure.

mnQuantityTotalTQTYMATH_NUMERICOPTNONE

The total quantity of an item to be reworked or scrapped as a result of an ECO disposition.

szContainerCodeLevel1EQL1charOPTNONE

A code (table 46/EQ) that identifies the storage container for this item in its level 1 unit of measure. A storage container can be:     o An open 
container, where items are stored on the container (for example, a pallet)     o A closed container, where items are stored in the container (for 
example, a box) You use Container Codes (P46091) to define storage containers. You use Unit of Measure Definition by Item or Group 
(P46011) to assign a storage container to an item in a specific unit of measure.

cCartonRecommendationMethodCRMTcharOPTNONE

A code that indicates the method the system uses to recommend a carton for the specified item in this unit of measure. Valid codes are:    
blank Do not recommend cartons for the specified item in this unit of measure    1       Recommend shipping cartons for the specified item in this 
unit of measure based on the volume of the item and the volume of the shipping carton    2       Recommend shipping cartons for the specified 
item in this unit of measure based on the percentage of the shipping carton that the item and unit of measure occupy  You define the 
dimensions of the carton through Container and Carton Codes (P46091). You define an item's dimensions through Item/Unit of Measure Profile 
(P46011).

szItemDimensionGroupPRP6charOPTNONE

A code (system 41/type 01) that identifies a group of items that share the same dimensions. An item dimension group defines the 
dimensions for all items that belong to the group. After you set up an item dimension group, you can assign items to the group through Classification 
Codes (41011).

mnItemCubicDimensionsCUBEMATH_NUMERICOPTNONE

The cubic space (volume) already used in a location. The system uses item dimensions and storage container dimensions to determine 
used cubic space if the level 1 unit of measure for the item in this location detail has a container.

szItemVolumeUoMVUMDcharOPTNONE

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.

szRecommendedCartonEQTYcharOPTNONE

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.

szCartonErrorMessageIdEKEYcharOPTNONE

A 4-digit number assigned to all errors. When this number is used in the error message facility (F7 from any form), you may enter a specific 
error message number and press F13 to automatically exit to the revisions program referenced within the text of the error message. This 
function applies only to error messages that refer to items such as user defined codes.

cNewSuggestionEV01charOPTNONE

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

cCartonRecommendationCTNFcharOPTNONE

A code that indicates whether the system recommends shipping cartons when it picks from this location. Valid codes are:    Y Yes, 
recommend cartons when picking from this location. The system recommends a carton only if you have set up the Carton Recommendation Method 
for the item.    N No, do not make carton recommendations when picking from this location.

mnItemWeightWEITMATH_NUMERICOPTNONE

The weight of goods currently in a location. The system calculates this amount from the weight from the item/unit of measure profile and the 
weight of the container if the level 1 unit of measure for this location detail has a storage container.

szItemWeightUoMUWUMcharOPTNONE

A user defined code (00/UM) that identifies the unit of measure that the system uses to indicate weight for this item. You can specify ounces, 
grams, kilograms, and so on, as weight standards. The system uses this unit of measure for the item or overrides it for an individual item or 
container.

mnPriorityShippingContainerPRSHMATH_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.

Related Functions

None

Related Tables

F4611 Warehouse Suggestions
F4611SplitSuggestions

F4611SplitSuggestions

Cache F4611 Recommend Cartons

Minor Business Rule

Object Name: B4600650

Parent DLL: CWARE

Location: Client/Server

Language: C

Functional Description

Purpose

This function will split an existing Warehouse Suggestion record (F4611) for the Suggestion Batch and 
Suggestion Sequence numbers passed in.  It will use the quantity fields passed in to populate the new 

F4611 record.  This function will also return the new Suggestion Batch and Suggestion Sequence 

numbers.


Setup Notes and Prerequisites

The Suggestion Batch (SGBT) and Suggestion Sequence (SGSQ) are required parameters.


Technical Specification



Data Structure

D4600650B - F4611 Split Suggestion

Parameter NameData ItemData TypeReq/OptI/O/Both
cSuppressErrorMessageEV01charOPTOUTPUT

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

szErrorMessageIdDTAIcharOPTOUTPUT

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.

mnSuggestionBatchSGBTMATH_NUMERICOPTINPUT

The batch number assigned to one set of putaway, picking or replenishment suggestions.

mnSuggestionSequenceSGSQMATH_NUMERICOPTINPUT

The number assigned to each individual putaway, picking and replenishment suggestion within a suggestion batch.

mnTaskNumberPTSKMATH_NUMERICOPTINPUT

A unique number assigned to every putaway request that is created by a receipt.

mnTripNumberTRIPMATH_NUMERICOPTINPUT

A number assigned to each trip by the system. A trip is the movement of goods from one location to another.

mnQuantityTotalLevel1TQL1MATH_NUMERICOPTINPUT

The total quantity of the item in the item's level 1 unit of measure. You use Unit of Measure Conversion Information (P41002) to define unit of 
measure levels. When you define a unit of measure structure, define your largest unit of measure as level 1, and your smallest, or primary, 
unit of measure as the last level. The system supplies an item's unit of measure structure to a location's detail information (F4602) during 
inventory movement, but you can override the structure, if necessary

mnQuantityTotalLevel2TQL2MATH_NUMERICOPTINPUT

The total quantity of the item in the item's level 2 unit of measure. You use Unit of Measure Conversion Information (P41002) to define unit of 
measure levels. When you define a unit of measure structure, define your largest unit of measure as level 1, and your smallest, or primary, 
unit of measure as the last level. The system supplies an item's unit of measure structure to a location's detail information (F4602) during 
inventory movement, but you can override the structure, if necessary

mnQuantityTotalLevel3TQL3MATH_NUMERICOPTINPUT

The total quantity of the item in the item's level 3 unit of measure. You use Unit of Measure Conversion Information (P41002) to define unit of 
measure levels. When you define a unit of measure structure, define your largest unit of measure as level 1, and your smallest, or primary, 
unit of measure as the last level. The system supplies an item's unit of measure structure to a location's detail information (F4602) during 
inventory movement, but you can override the structure, if necessary

mnQuantityTotalLevel4TQL4MATH_NUMERICOPTINPUT

The total quantity of the item in the item's level 4 unit of measure. You use Unit of Measure Conversion Information (P41002) to define unit of 
measure levels. When you define a unit of measure structure, define your largest unit of measure as level 1, and your smallest, or primary, 
unit of measure as the last level. The system supplies an item's unit of measure structure to a location's detail information (F4602) during 
inventory movement, but you can override the structure, if necessary

mnQuantityTotalLevel5TQL5MATH_NUMERICOPTINPUT

The total quantity of the item in the item's level 5 unit of measure. You use Unit of Measure Conversion Information (P41002) to define unit of 
measure levels. When you define a unit of measure structure, define your largest unit of measure as level 1, and your smallest, or primary, 
unit of measure as the last level. The system supplies an item's unit of measure structure to a location's detail information (F4602) during 
inventory movement, but you can override the structure, if necessary

mnQuantityTotalTQTYMATH_NUMERICOPTINPUT

The total quantity of an item to be reworked or scrapped as a result of an ECO disposition.

mnCubicDimensionsUsedCUBEMATH_NUMERICOPTINPUT

The cubic space (volume) already used in a location. The system uses item dimensions and storage container dimensions to determine 
used cubic space if the level 1 unit of measure for the item in this location detail has a container.

szUnitOfMeasureVolDispVUMDcharOPTINPUT

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.

szRecommendedCartonEQTYcharOPTINPUT

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.

szCartonErrorMessageIdDTAIcharOPTINPUT

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.

mnSplitSuggestionBatchSGBTMATH_NUMERICOPTOUTPUT

The batch number assigned to one set of putaway, picking or replenishment suggestions.

mnSplitSuggestionSequenceSGSQMATH_NUMERICOPTOUTPUT

The number assigned to each individual putaway, picking and replenishment suggestion within a suggestion batch.

mnAmountUsedWeightWEITMATH_NUMERICOPTNONE

The weight of goods currently in a location. The system calculates this amount from the weight from the item/unit of measure profile and the 
weight of the container if the level 1 unit of measure for this location detail has a storage container.

szUnitOfMeasureWeightUWUMcharOPTNONE

A user defined code (00/UM) that identifies the unit of measure that the system uses to indicate weight for this item. You can specify ounces, 
grams, kilograms, and so on, as weight standards. The system uses this unit of measure for the item or overrides it for an individual item or 
container.

Related Functions

None

Related Tables

F4611 Warehouse Suggestions