ValidateLocation

F4100 Validate Location / Lot

Minor Business Rule

Object Name: N4600220

Parent DLL: CWARE

Location: Client/Server

Language: NER

Functional Description

Purpose

This function determines if a location is eligible for reservations, putaway, picking or replenishment.  It reads the Location Master (F4100) and edits the 

information against the movement instruction.  An error code is returned if the location is not valid.  


If the latitude, longitude and height are loaded into the data structure for the base location, the proximity from the base location is calculated and 

returned.



Setup Notes and Prerequisites


If the request is for putaway, this function calls Calculate and Edit Putaway Quantity (N4600230).  In this case, the F4602RecordPtr and location unit of 

measures are required.  The item profile information is optional, however if it is not loaded to the data structure N4600230 will retrieve it.



Special Logic

This function returns the following location information:


PZON Location Zone 
WSQP -Location Sequence

STGP-Putaway Staging Location

STGK-Picking Staging Location

STGR-Replenishment Staging Location

MN29D9-Proximity from Base Location

QTYPutaway Quantity in Primary


Data Structure

D4600220 - F4100 Validate Location

Parameter NameData ItemData TypeReq/OptI/O/Both
mnRequestBatchRQBTMATH_NUMERICNONENONE

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

mnRequestSequenceRQSQMATH_NUMERICNONENONE

A number the system assigns to each individual putaway, picking, and replenishment request within a request batch.

idF4600RecordPtrGENLNGIDNONENONE

General purpose ID variable.

szEditLocationLOCNcharNONENONE

The storage location from which goods will be moved.

szEditLotLOTcharNONENONE

A lot is a quantity of items that you want to group together because they have similar characteristics.

mnPutawayQuantityQTYMATH_NUMERICNONENONE

The number of units associated with an asset.

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.

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 

cItemMixDatesLotsMLOTcharNONENONE

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

cSplitPutawayYNSPLPcharNONENONE

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

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.

cInstructionMethodCodePRCDcharNONENONE

A code that identifies the method of putaway, picking, or replenishment the system uses for this instruction. Valid codes are:    F Use only 
fixed locations. This code is valid for putaway, picking and replenishment.    R Use only random locations. You assign characteristics to random 
rules and to locations. The system compares rules to locations and builds a table of locations based on the number of matching 
characteristics.        During random processing, the system chooses locations from the random location table. This code is valid for putaway, picking 
and replenishment.    E Use only empty locations. This code is valid for putaway only.    X Use only existing locations that already have the 
same item stored there. This code is valid for putaway only.

szInstructionZonePZONcharNONENONE

A code (system 46/type ZN) that identifies areas in the warehouse where goods are put away or stored.

cUseMinimumUtilizationAMNUcharNONENONE

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

cLotStatusLOTScharNONENONE

A user defined code (41/L) that indicates the status of the lot. If you leave this field blank, it indicates that the lot is approved. All other codes 
indicate that the lot is on hold. You can assign a different status code to each location in which a lot resides on Item/Location Information or 
Location Lot Status Change.

idF4602RecordPtrGENLNGIDNONENONE

General purpose ID variable.

cUseOutboundAndCommittedSpaceEV01charNONENONE

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

szLocationZonePZONcharNONENONE

A code (system 46/type ZN) that identifies areas in the warehouse where goods are put away or stored.

mnLocationSequenceWSQPMATH_NUMERICNONENONE

A number that you assign to a location to determine its place in the putaway sequence. Putaway is the movement of inventory to storage 
after receipt. 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 putaway sequence as a tiebreaker when there is more than 
one location selected for putaway. For example, you can establish sequencing for the most efficient putaway routing.

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.

mnBaseLocationLatitudeDISXMATH_NUMERICNONENONE

The X or latitude coordinate of a location in the warehouse. The system can use latitude, longitude, and height as a tiebreaker when 
suggesting locations for putaway and picking.

mnBaseLocationLongitudeDISYMATH_NUMERICNONENONE

The Y or longitude coordinate of a location in the warehouse. The system can use latitude, longitude, and height as a tiebreaker when 
suggesting locations for putaway and picking.

mnBaseLocationHeightDISZMATH_NUMERICNONENONE

The Z or height coordinate of a location in the warehouse. The system can use latitude, longitude, and height as a tiebreaker when 
suggesting locations for putaway and picking.

mnProximityFromBaseMN29D9MATH_NUMERICNONENONE

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

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

szStagingLocationPutawaySTGPcharNONENONE

A code that specifies a warehouse location where you hold items temporarily (either physically or logically) before moving them 
somewhere else. You use the putaway staging location when the system suggests movement from one location to another while using two-phase 
confirmation. In two-phase confirmation, you confirm the movement from the first location to the staging location, and then confirm the movement 
from the staging location to the final location.

szStagingLocationPickingSTGKcharNONENONE

A code that specifies a warehouse location where you hold items temporarily (either physically or logically) before moving them 
somewhere else. You use the picking staging location when the system suggests movement from one location to another while using two-phase 
confirmation. In two-phase confirmation, you confirm the movement from the first location to the staging location, and then confirm the movement 
from the staging location to the final location.

szStagingLocationReplSTGRcharNONENONE

A code that specifies a warehouse location where you hold items temporarily (either physically or logically) before moving them 
somewhere else. You use the replenishment staging location when the system suggests movement from one location to another while using two-phase 
confirmation. In two-phase confirmation, you confirm the movement from the first location to the staging location, and then confirm the 
movement from the staging location to the final location.

cTieBreakerRuleMLS1charOPTNONE

A number that identifies the tiebreaker you want to use for this putaway rule when multiple locations satisfy the criteria. The system uses the 
tiebreaker to rank the tied locations. Tiebreakers are (hard coded) as follows:    1   Sequence locations by the putaway sequence number. If 
you do not assign sequence numbers, and you use this tiebreaker, the system chooses between equal locations based on their 
alphanumeric sequence. You define sequences using Location Profile (P46020).    2   Sequence locations by greatest available space. The system 
uses locations that can hold the greatest quantity of the item in the specified unit of measure and container first.    3   Sequence locations by 
least available space. The system uses locations that can hold the least quantity of the item in the specified unit of measure and container first.    
4   Sequence locations by least available space, but minimize the number of locations used. This code is the same as tiebreaker 3, except 
the system tries to use the least number of locations.    5   Sequence locations by proximity from the sending location (usually the receiving 
dock), using the closest locations first.    6   Sequence locations by proximity to the base putaway location, using the closest locations first.    7   
Sequence locations by proximity to the base picking location, using the closest locations first.

cSingleLocationValidationEV01charOPTNONE

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

mnTotalPutQTYAvailableTQTYMATH_NUMERICOPTNONE

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

cRandomReplZoneTypeEV01charOPTNONE

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

szRandomReplZoneGZONcharOPTNONE

Enter a code that identifies an area within a warehouse. Valid values are stored in user defined code table 46/ZN.

szToLocnPickZonePZONcharOPTNONE

A code (system 46/type ZN) that identifies areas in the warehouse where goods are put away or stored.

szToReplLocnTLOCcharOPTNONE

The storage location to which goods will be moved.

mnMinimumPickPercentageMATH01MATH_NUMERICOPTNONE

- - - Good Performance Low Value. 

mnMaximumQuantityP1QTYMATH_NUMERICOPTNONE

The number of units associated with an asset.

cFromLocationLotStatusLOTScharOPTNONE

A user defined code (41/L) that indicates the status of the lot. If you leave this field blank, it indicates that the lot is approved. All other codes 
indicate that the lot is on hold. You can assign a different status code to each location in which a lot resides on Item/Location Information or 
Location Lot Status Change.

szCodeOriginOCDEcharOPTNONE

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)

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

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.

mnRequestQuantityinPrimaryTQTYMATH_NUMERICOPTNONE

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

idUOMInformationGENLNGIDOPTNONE

General purpose ID variable.

cOnlineEditEV01charOPTNONE

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

Related Functions

None

Related Tables

None
ValidateLot

ValidateLot

F4100 Validate Location / Lot

Minor Business Rule

Object Name: N4600220

Parent DLL: CWARE

Location: Client/Server

Language: NER

Functional Description

Purpose


This function determines if the lot is eligible for picking or replenishment.  An error code is returned if the location is not valid.


Data Structure

D4600220B - F4100 Validate Lot

Parameter NameData ItemData TypeReq/OptI/O/Both
szEditLocationLOCNcharNONENONE

The storage location from which goods will be moved.

szEditLotLOTNcharNONENONE

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

szRequestFROMLotLOTNcharNONENONE

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

szRequestTOLotLOTNcharNONENONE

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

cLotStatusCodeLOTScharNONENONE

A user defined code (41/L) that indicates the status of the lot. If you leave this field blank, it indicates that the lot is approved. All other codes 
indicate that the lot is on hold. You can assign a different status code to each location in which a lot resides on Item/Location Information or 
Location Lot Status Change.

cWarehouseRequestTypeTYFLcharNONENONE

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

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.

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.

mnIdentifierShortItemITMMATH_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

mnAddressNumberShipToSHANMATH_NUMERICOPTNONE

The address number of the location to which you want to ship this order. The address book provides default values for customer address, 
including street, city, state, zip code, and country.

cCheckExpirationDateEDCKcharOPTNONE

An option that determines whether the system ensures that a lot be shipped in ascending order in relation to other lots that have already 
been shipped. When you choose this option, the system enforces the ship ascending lot rule based on the expiration date to ensure that the lot 
being shipped has an expiration date that is greater than that of the lots that have been previously shipped.

cCheckSellByDateSBCKcharOPTNONE

An option that indicates whether the system ensures that a lot being shipped to a customer is shipped in ascending order by the sell by 
date. If you choose this option, the system ensures that each lot that is being shipped has a sell by date that is greater than or equal to the date 
on which the last lot was shipped.

cCheckBestBeforeDateBBCKcharOPTNONE

An option that specifies whether the system ensures that the lot that you are shipping to a customer has a value in the Best Before Date field 
that is greater than or equal to the value for the last lot that you shipped.

cShipAscendErrorFlagEV01charOPTNONE

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

szFromGradeFRGDcharOPTNONE

A user defined code (40/LG) that indicates the minimum grade that is acceptable for an item. The system displays a warning message if 
you try to purchase or issue items with grades that do not meet the minimum grade acceptable. The system does not allow you to sell items 
with grades that do not meet the minimum acceptable level.

szThruGradeTHGDcharOPTNONE

A user defined code (40/LG) that indicates the maximum grade that is acceptable for an item. The system displays a warning message if 
you try to purchase or issue items with grades that exceed the maximum grade acceptable. The system does not allow you to sell items with 
grades that exceed the maximum grade acceptable.

mnDaysPastExpirationEXDPMATH_NUMERICOPTNONE

The number of days allowed before expiration for an item where it still can be used or sold to a specific customer.  When negative, this 
number indicates the number of days after expiration for an item where it still can be used or sold to a specific customer. For example, if the 
expiration date for item 1001 is 06/01/98:     o A value of 15 in Days Before Expiration means that this specific customer only accepts this item up to 
05/15/98.     o A value of -15 in Days Before Expiration means that this specific customer accepts this item up to 06/15/98.

szLotGroupLOTGRPcharOPTNONE

Lot Group is the name of a user defined list of allowed non-blank lot status codes.  Entry of a Lot Group name in the Processing Option will 
allow this Application to process lots whose lot status code is defined within the specified Lot Group Name.  

szOrderTypeDCTOcharOPTNONE

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

Related Functions

None

Related Tables

None