F46027CalculateAvailableCubes

F46027 Calculate Available Cubes

Major Business Rule

Object Name: N4600160

Parent DLL: CWARE

Location: Client/Server

Language: NER


Functional Description


Purpose


The purpose of this function is to maintain the Available Cubes (F46027) table.  The table must be 

updated each time a row in the Location Detail (F4602) table is changed.  Available cubes are used by 

the putaway process to determine the location that best meets the tie breaker criteria.


Setup Notes and Prerequisites


Currently this function is called by F4602 Update Location Detail (B4600060).  It should also be 

called by any functions that update the Location Detail table outside of F4602 Update Location Detail.

^

Data Structure

D4600160 - F46027 Calculate Available Cubes

Parameter NameData ItemData TypeReq/OptI/O/Both
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.

szLocationLOCNcharREQNONE

The storage location from which goods will be moved.

szLocnDetailVolUMVUMDcharREQNONE

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.

szBranchPlantVolUMVUMDcharOPTNONE

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.

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

mnNetCubicDimReservedRCUBMATH_NUMERICOPTNONE

The cubic space (volume) that has been reserved for items. You use the Reservations program (P46130) to create reservations. The 
system suggests reserved locations when you create suggestions. The amount comes from the item/unit of measure profile and the cubic 
dimensions of the storage container if the level 1 unit of measure in the location detail has a container.

szProgramIdPIDcharREQNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szWorkStationIdJOBNcharOPTNONE

The code that identifies the work station ID that executed a particular job.

szUserIdUSERcharOPTNONE

The code that identifies a user profile.

jdDateUpdatedUPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

mnTimeOfDayTDAYMATH_NUMERICOPTNONE

The computer clock in hours:minutes:seconds.

Related Functions

None

Related Tables

None