TankBalanceCache

Tank Balance Cache

Minor Business Rule

Object Name: B41B0480

Parent DLL: CINV

Location: Client/Server

Language: C

Data Structure

D41B0480A - Tank Balance Cache

Parameter NameData ItemData TypeReq/OptI/O/Both
szCacheActionCodeCACTNcharREQINPUT

A code that indicates the activity you want to perform. Valid codes:     o Get - Retrieve the cache element     o Add - Add a cache element     o 
Update - Update a cache element     o Delete - Delete a cache element     o Delete All - Delete all cache elements     o Get Next - Retrieve the 
next cache element     o Add/Update - Add a cache element if it does not exist; Update a cache element if it does exist     o Terminate - 
Terminate Cache

mnNumberKeysNKEYSMATH_NUMERICREQINPUT

The number of keys in an index that will be used to retrieve, delete, or update a record.

cSuppressErrorMessageEV01charOPTINPUT

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

szErrorMessageDTAIcharOPTOUTPUT

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.

idCacheCursorGENLNGIDOPTNONE

General purpose ID variable.

mnCacheJobNumberJOBSMATH_NUMERICOPTNONE

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

szCostCenterMCUcharOPTNONE

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.

szTankIDTKIDcharOPTNONE

An 8-character field identifying the tank as defined on the Branch/Plant Constants form.

mnLowStockWarningLSWNMATH_NUMERICOPTNONE

Identifies the volume of product below which a low stock warning is issued. A low stock warning indicates that the volume is close to the 
safety stock level. Enter the quantity and unit of measure that the system uses to provide a low stock warning. This field information is used 
during the Load Confirm process. If the quantity being loaded will bring the tank to the low stock point, a  "soft" error occurs. That is, the user can 
press Enter and continue with load confirm.

szLowStockUOMUOM1charOPTNONE

A user defined code (00/UM) that identifies the unit of measure that the system uses to express the quantity of an item, for example, EA 
(each) or KG (kilogram).

mnTankCapacityTKCPMATH_NUMERICOPTNONE

The total volumetric storage capacity of a tank. Tank Capacity consists of two fields. The first is the total storage capacity of the tank. The 
second is the unit of measure (UoM) associated with the capacity measurement. The capacity is checked while receiving products and 
recording general stock movements. If you enter a value that is greater than the tank's capacity, the system displays an error message and will 
not allow you to record the transaction. The system uses the unit of measure as the basic unit of measure for the tank. All other volume units of 
measure associated with the tank must match this unit of measure. If the dip type is slip tube or normal dip, then the Tank Capacity is an 
informational field only. If the dip type is roto percent (for LPG bullets/spheres only), then Liquid Volume equals Roto % multiplied by Gross 
Capacity. Vapour Space equals Gross Capacity minus Liquid Volume.

szTankCapUOMUOM1charOPTNONE

A user defined code (00/UM) that identifies the unit of measure that the system uses to express the quantity of an item, for example, EA 
(each) or KG (kilogram).

mnAmbientResultAMBRMATH_NUMERICOPTNONE

The volume as measured for density and temperature prior to conversion. You can enter the ambient quantity or let the system 
automatically calculate it.

szUnitofMeasure3BUM3charOPTNONE

A user defined code (system 00, type UM) that identifies the unit of measurement for pressure, volume, weight, diameter, or height. Note that 
for all volume or weight units of measure, a V or W (respectively) must be entered in the first position of the special handling field on the UDC 
table.

mnStockTotalVolumeSTOKMATH_NUMERICOPTNONE

The volume after it has been converted to a standard base. Conversions are made according to published standard routines for density 
and gravity and for temperature.

szUnitofMeasure4BUM4charOPTNONE

A user defined code (system 00, type UM) that identifies the unit of measurement for pressure, volume, weight, diameter, or height. Note that 
for all volume or weight units of measure, a V or W (respectively) must be entered in the first position of the special handling field on the UDC 
table.

mnWeightResultWGTRMATH_NUMERICOPTNONE

The weight of the product at standard temperature. The system calculates the weight by multiplying the volume by the density and applying 
an air correction, if necessary (all at the base temperature).

szUnitofMeasure5BUM5charOPTNONE

A user defined code (system 00, type UM) that identifies the unit of measurement for pressure, volume, weight, diameter, or height. Note that 
for all volume or weight units of measure, a V or W (respectively) must be entered in the first position of the special handling field on the UDC 
table.

mnStockTotalinPrimaryUOMSTUMMATH_NUMERICOPTNONE

The quantity as converted to the primary stock accounting unit of measure identified for this item (product). This primary stock accounting 
unit can be either volume or weight.

szUnitofMeasure6BUM6charOPTNONE

A user defined code (system 00, type UM) that identifies the unit of measurement for pressure, volume, weight, diameter, or height. Note that 
for all volume or weight units of measure, a V or W (respectively)  must be entered in the first position of the special handling field on the UDC 
table.

mnVolumeAmbientInInventoryAMBIMATH_NUMERICOPTNONE

The ambient quantity (prior to conversion to standard volume) which has been converted to the inventory unit of measure for that item.

szUnitofMeasureAmbientVoluAMBUcharOPTNONE

A user defined code (system 00, type UM) that identifies the unit of measurement for pressure, volume, weight, diameter, or height.

Related Functions

None

Related Tables

None