CalculateStructureFromLevel1Qty

F46091 Recommend Cartons

Minor Business Rule

Object Name: N4600620

Parent DLL: CWARE

Location: Client/Server

Language: NER

Data Structure

D4600620D - Calculate Structure From Level 1 Quantity

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.

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.

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.

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

mnQuantityTotalTQTYMATH_NUMERICOPTNONE

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

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

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.

szUnitOfMeasureCubicVUMDcharOPTNONE

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.

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

None
DownsizeCartons

DownsizeCartons

F46091 Recommend Cartons

Minor Business Rule

Object Name: N4600620

Parent DLL: CWARE

Location: Client/Server

Language: NER

Functional Description

Purpose

This function reads the suggestions from cache for a task number and tries to downsize the carton.  If the carton cannot 

be downsized the original carton code is passed back in the data structure.


Setup Notes and Prerequisites

The Job Number (JOBS), Branch Plant (MCU), Carton Shipping Priority (SHPR), Task Number (PTSK) and Carton 

Code (EQTY) are required parameters.


If cache has not been loaded for shipping cartons it will be done in this function.  To clear the cache, call this function in 

clear mode.


The suggestion cache must be loaded prior to calling this function.  It is the responsibility of the calling function to clear 

the cache once it has processed the suggestions that were written to it.


Technical Specification


^

Data Structure

D4600620C - Downsize Cartons

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobNumberJOBSMATH_NUMERICREQINPUT

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

szBranchPlantMCUcharREQINPUT

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.

mnCartonShippingPriorityPRSHMATH_NUMERICREQINPUT

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.

mnTaskNumberPTSKMATH_NUMERICREQINPUT

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

szCartonCodeEQTYcharREQINPUT

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.

szDownsizeCartonCodeEQTYcharOPTOUTPUT

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.

Related Functions

None

Related Tables

None
F46091RecommendCartons

F46091RecommendCartons

F46091 Recommend Cartons

Minor Business Rule

Object Name: N4600620

Parent DLL: CWARE

Location: Client/Server

Language: NER

Functional Description

Purpose

This function reads suggestions in the cache, CacheF4611RecommendCartonSuggestions, and recommends a 

shipping carton based on the rule setup for the item and unit of measure.  The carton code is updated to the cache.  If a 

carton is not found, an error is updated to the carton code.  


If the minimum tolerance (F46091) has not been reached for the carton, the system will try to downsize to the next 

carton.  It will continue downsizing until a carton is completely filled or all cartons have been read.


Setup Notes and Prerequisites

The Branch Plant (MCU) and Job Number (JOBS) are required parameters.


If cache has not been loaded for shipping cartons it will be done in this function.  To clear the cache, call this function in 

clear mode.


The suggestion cache must be loaded prior to calling this function.  It is the responsibility of the calling function to clear 

the cache once it has processed the suggestions that were written to it.


A suggestion is split when the quantity on the suggestion is too large to fit in the carton and the carton is empty.  


Note:  If the quantity is too large to fit but the carton is partially filled, the function will try to downsize to a smaller carton.  

If it cannot downsize the carton is closed partially filled.  Next it will try to put the quantity on the suggestion in the same 

carton but now it is starting with an empty carton because the previous carton was either downsized or closed.


Technical Specification


^

Data Structure

D4600620A - F46091 Recommend Cartons

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobNumberJOBSMATH_NUMERICREQINPUT

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

cClearCacheEV01charOPTINPUT

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

szBranchPlantMCUcharREQINPUT

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.

cPPSCartonizeToTotes_EV01EV01charOPTINPUT

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

Related Functions

None

Related Tables

None
GetCartonRecommedationRules

GetCartonRecommedationRules

F46091 Recommend Cartons

Minor Business Rule

Object Name: N4600620

Parent DLL: CWARE

Location: Client/Server

Language: NER

Functional Description Purpose This function uses the carton recommendation method to determine the recommendation rule and calculate 
the carton fill percentage. Setup Notes and Prerequisites The Branch Plant (MCU), Short Item Number (ITM), Item dimension Group (PRP6), 
Level 1 UOM (UML1), Level 1 Container (EQL1), Level 1 Quantity (TQL1), Item Gross Cubes (CUBE), Item Volume UOM (VUMD), Carton Gross 
Cubes (CUBE), Carton Recommendation Method (CRMT), Carton UOM (VUMD) and Carton Code (EQTY) are required 
parameters. Technical Specification ^

Data Structure

D4600620B - Get Carton Recommendation Rules

Parameter NameData ItemData TypeReq/OptI/O/Both
cErrorCodeEV01charOPTOUTPUT

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.

szBranchPlantMCUcharREQINPUT

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.

mnShortItemITMMATH_NUMERICREQINPUT

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

szItemDimensionGroupPRP6charREQINPUT

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

szUnitOfMeasureLevel1UML1charREQINPUT

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.

szContainerCodeLevel1EQL1charREQINPUT

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.

mnQuantityTotalLevel1TQL1MATH_NUMERICREQINPUT

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

mnItemGrossCubesCUBEMATH_NUMERICREQINPUT

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.

szItemVolumeUoMVUMDcharREQINPUT

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.

mnCartonGrossCubesCUBEMATH_NUMERICREQINPUT

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.

cCartonRecommendationMethodCRMTcharREQINPUT

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

szCartonUoMVUMDcharREQINPUT

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.

mnConversionFactorCONVMATH_NUMERICOPTNONE

The factor that the system uses to convert one unit of measure to another unit of measure.

szCartonCodeEQTYcharREQINPUT

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.

mnFillPercentMN29D9MATH_NUMERICOPTOUTPUT

This is a generic field used as a work field in Everest.

Related Functions

None

Related Tables

None