CalculateAndEditPutawayQuantity

Calculate and Edit Putaway Quantity

Minor Business Rule

Object Name: N4600230

Parent DLL: CWARE

Location: Client/Server

Language: NER

Functional Description

Purpose

This function gets the information required for calculating the putaway quantity, calls the function 
Calculate Quantity to Putaway (B4600280) to calculate the quantity and performs general edits.


Setup Notes and Prerequisites

The Branch/Plant (MCU), Short Item Number (ITM), F4602 FROM Record Ptr (GENLNG), TO Location (LOCN), 

TO Lot Number (LOTN), Origin Code (OCDE), Instruction UM (UM), Location Dimension UM (WIUM), Location 

Volume UM (VUMD), Location Weight UM (UWUM), Request Quantity (QTRQ), Item Dimension Group (PRP6) and 

Staging Location (STAG) are required parameters.


F4602 FROM Record Ptr:

Can be zero or NULL when called to calculate the Maximum Replenishment Quantity

TO Location Detail Sequence:

Required when changing the location on a suggestion during confirmation.

Technical Specification



Data Structure

D4600230 - Calculate and Edit Putaway Quantity

Parameter NameData ItemData TypeReq/OptI/O/Both
szOriginCodeOCDEcharNONENONE

Code that identifies what type of program a warehouse movement request was created from.  You can use this field to select requests 
based on how they were created.  Valid codes are: Request Type Putaway - code OP; Purchase Order Receipts (P4312) Putaway/Replenish - 
code TR; Manual Movement Requests (P46100) Replenish - code BR; Batch Replenishments (P461601) Replenish - code PR; Warehouse 
Picking Server (X46151) Picking - code SO; Batch Order Edit and Creation - Sales (P40211Z).        Sales Order Entry - Single Line (P4201A)        
Order Release (P420111)        Sales Order Release (P42040)        Held Order Release (P42070)        Sales Order Entry - Detail (P4211)        Back 
Order Release - Online (P42117)        Back Order Release - Batch (P42118)           - Transfer Order Entry (P4242)        P42995  - Repost Active 
Sales Orders.        P46150  - Batch Picking Requests.        P47011  - EDI Purchase Order Edit/Create.        P47091  - EDI Request for Quote 
Edit/Create.        code WO; Work Order Parts List Revisions (P3111                         code WB and SB : Request Inquiry (P4600)                         Warehouse 
Movement Confirmations (P4617)

idF4602FROMRecordPtrGENLNGIDNONENONE

General purpose ID variable.

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

szTOLocationLOCNcharNONENONE

The storage location from which goods will be moved.

szTOLotLOTNcharNONENONE

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

mnTOLocationDetailSequenceLDSQMATH_NUMERICNONENONE

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.

szInstructionUMUMcharNONENONE

A user defined code (00/UM) that identifies the unit of measurement for an amount or quantity. For example, it can represent a barrel, box, 
cubic meter, liter, hour, and so on.

szLocationDimensionUMWIUMcharNONENONE

A user defined code (system 00/type UM) that identifies the unit of measure that the system uses to display dimensions for the warehouse. 
The system provides the ability to establish inches, centimeters, meters, and so forth,as a measuring standard.

szLocationVolumeUMVUMDcharNONENONE

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.

szLocationWeightUMUWUMcharNONENONE

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.

mnRequestQuantityQTRQMATH_NUMERICNONENONE

The quantity requested in the primary unit of measure.

szRequestLocationTaxCodeLCODcharNONENONE

A code (system 46/type LT) that indicates whether the location contains tax-paid inventory (in-bond vs. duty paid). If an item has an 
assigned tax code, the system puts the item away only in locations with the same tax code. You assign tax codes to items through Item Profile 
(P46010).

cMaximumReplenishmentOVRQcharNONENONE

This flag when turned on will disable the following validations:     o When running putaway selection: The "from" location will not be validated.  
   o When running pick selection: The "to" location will not be validated for space, hold, number of items...

cCalculateMaximumQuantityOnlyEV01charNONENONE

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

cSingleLocationValidationEV02charNONENONE

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

szItemDimensionGroupPRP6charNONENONE

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

cEditMinimumUtilizationAMNUcharNONENONE

A code that indicates whether the system suggests a location if putaway will not fill that location to at least the minimum percentage capacity 
defined through Location Profile Detail (P460201). Valid codes are:    Y Use the minimum utilization percentage when searching for putaway 
locations    N Do not use the minimum utilization percentage when searching for putaway locations

cStagingLocationSTAGcharNONENONE

A code that indicates whether the location is a staging location, where you hold items temporarily before moving them somewhere else. 
Staging locations (such as the receiving and shipping docks) do not require a group definition for dimensions, volume, or weight, because they 
have unlimited capacity. Valid codes are:    Y Yes, this location is a staging location    N No, this location is not a staging location 

mnMinimumPutawayPercentMNUPMATH_NUMERICNONENONE

The minimum percentage of the total location capacity that you want the system to use during putaway. You specify a minimum putaway 
percentage when you want an item to fill at least this percentage of an empty putaway location.

mnMaximumItemsMITMMATH_NUMERICNONENONE

A number that specifies the maximum number of different items that can be stored in this location at one time. Enter a number from 1 to 99. If 
you leave the field blank (or zero), the system does not limit the number of different items in the location.

cMixDatesLotsLocationMLOTcharNONENONE

A code that indicates how you want the system to assign items to a location.

cMixContainersMCNTcharNONENONE

A code that indicates whether you want to allow more than one type of storage container for an item to be stored in the location. Valid codes 
are:    Y Allow more than one type of container in this location    N Do not allow more than one type of container in this location  You use 
Allowed Containers (P46026) to define which containers are allowed in the location. You can also set up the item profile to allow mixing of 
containers.

szAllowedContainerCodeEQTYcharNONENONE

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.

szLocationDimensionGrpSTY1charNONENONE

A code (system 46/type LD) that identifies a group of locations that share the same dimensions. A location dimension group defines the 
dimensions for all locations that belong to the group. After you set up a location dimension group, you can assign locations to the group through 
Location Profile Revisions (P46020). You must define location dimensions if you plan to use volume-based putaway.

cAllowPutawayYNAPUTcharNONENONE

A code that indicates whether the location is valid for putaway selection. Valid codes are:    Y Yes, use this location for putaway    N No, do 
not use this location for putaway

cMixItemsMLITcharNONENONE

A code that indicates whether you want the system to store different items in the same location. Valid codes are:    Y Yes, allow different 
items to be stored in the same location    N No, do not allow different items to be stored in the same location 

cMixDatesLotsItemMLOTcharNONENONE

A code that indicates how you want the system to assign items to a location.

cSplitLinesPutawaySPLPcharNONENONE

A code that indicates whether the system can split a purchase order line when you create a putaway suggestion for the order line. Valid 
codes are:    Y Yes, split purchase order lines when making putaway suggestions    N No, do not split purchase order lines when making putaway 
suggestions 

cAllowRotationAROTcharNONENONE

A code that indicates whether you allow the system to rotate an item 90  degrees to determine whether the item fits into a location. Valid 
codes are:    Y Yes, rotate the item 90 degrees during putaway    N No, do not rotate the item 90 degrees during putaway  NOTE: You must enter a 
code in this field if you use capacity method 2  (layering).

mnPutawayQuantityQTYMATH_NUMERICNONENONE

The number of units associated with an asset.

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.

cReplenishmentRequestEV01charNONENONE

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

mnQuantityOnCommitQTRQMATH_NUMERICOPTNONE

The quantity requested in the primary unit of measure.

mnTotalPutQTYAvaialbleTQTYMATH_NUMERICOPTNONE

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

mnMaximumQuantityP1QTYMATH_NUMERICOPTNONE

The number of units associated with an asset.

cF4100MixItemLotFlagMIXLcharOPTNONE

A code that specifies whether to prohibit or allow the system to combine different items into one location or to combine different lot or serial 
numbers of the same item into one location. Valid values are: Blank No restrictions 1 One item per location 2 One item or lot per location 3 One 
item, lot, or status per location

cTopOffYNMERGcharOPTNONE

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 

cLPNMasterSwitchLPNMcharOPTNONE

A code that indicates whether  you want the system to use License Plate Numbers or not. Valid Codes are  0 No, do not use the License 
Plate Process  1 Yes, use the License Plate Process

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. 

cWholeLPEV01charOPTNONE

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

cMixedLPEV01charOPTNONE

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

mnLPItemITMMATH_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

szLPItemUOMUOMcharOPTNONE

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

mnLPItemQtyTQTYMATH_NUMERICOPTNONE

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

idUOMInformationGENLNGIDOPTNONE

General purpose ID variable.

mnRequestBatchNumberRQBTMATH_NUMERICOPTNONE

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

cOnlineEditEV01charOPTNONE

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

Related Functions

None

Related Tables

None