CalculateLotCost

Lot Cost Engine

Minor Business Rule

Object Name: B31B9040

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B9040B - Calculate Lot Cost

Parameter NameData ItemData TypeReq/OptI/O/Both
szWineryMCUcharOPTNONE

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.

nOperationIDWOPIDintegerOPTNONE

nCfgOperationIDWCFGIDintegerOPTNONE

A unique identifier that identifies the Configured Operation.

szFromBeforeLotWLOTNcharOPTNONE

A number that identifies a Blend Lot.  A lot is a group of items with similar characteristics.

szFromAfterLotWLOTNcharOPTNONE

A number that identifies a Blend Lot.  A lot is a group of items with similar characteristics.

mnFromVesselIdWVIDMATH_NUMERICOPTNONE

Unique identifier of any container used to store wine.

szToBeforeLotWLOTNcharOPTNONE

A number that identifies a Blend Lot.  A lot is a group of items with similar characteristics.

szToAfterLotWLOTNcharOPTNONE

A number that identifies a Blend Lot.  A lot is a group of items with similar characteristics.

mnToVesselIdWVIDMATH_NUMERICOPTNONE

Unique identifier of any container used to store wine.

mnJobNumberJOBSMATH_NUMERICOPTNONE

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

cSuppressErrorEV01charOPTNONE

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

szErrorMessageCodeDTAIcharOPTNONE

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.

szProgramIdPIDcharOPTNONE

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.

cFromVesselClassWVTYcharOPTNONE

Vessel Class specifies the kind of vessel.  Examples of vessel classes are tanks, barrels, puncheons, barrel collections and VBTs.

cToVesselClassWVTYcharOPTNONE

Vessel Class specifies the kind of vessel.  Examples of vessel classes are tanks, barrels, puncheons, barrel collections and VBTs.

mnMoveOutQuantityLTQNTYMATH_NUMERICOPTNONE

Quantity of a Blend Lot.

mnMoveInQuantityLTQNTYMATH_NUMERICOPTNONE

Quantity of a Blend Lot.

mnFromTargetQuantityLTQNTYMATH_NUMERICOPTNONE

Quantity of a Blend Lot.

mnToTargetQuantityLTQNTYMATH_NUMERICOPTNONE

Quantity of a Blend Lot.

szLargestContrLotWLOTNcharOPTNONE

A number that identifies a Blend Lot.  A lot is a group of items with similar characteristics.

szMoveUOMLTUOMcharOPTNONE

Unit of Measure of a Blend Lot.

mnTotalOpMovementLTQNTYMATH_NUMERICOPTNONE

Quantity of a Blend Lot.

cMovementFlagEV01charOPTNONE

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

szToUOMLTUOMcharOPTNONE

Unit of Measure of a Blend Lot.

Related Functions

None

Related Tables

None
DetermineTotalOperationMovement

DetermineTotalOperationMovement

Lot Cost Engine

Minor Business Rule

Object Name: B31B9040

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B9040A - DetermineTotalOperationMovement

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobnumberJOBSMATH_NUMERICOPTNONE

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

cErrorCodeERRCcharOPTNONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

szDataItemDTAIcharOPTNONE

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.

cSuppressErrorMessageSUPPScharOPTNONE

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

nOperationIDWOPIDintegerOPTNONE

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.

nConfiguredOperationIDWCFGIDintegerOPTNONE

A unique identifier that identifies the Configured Operation.

mnTotalLotQuantityLTQNTYMATH_NUMERICOPTNONE

Quantity of a Blend Lot.

cMovementFlagEV01charOPTNONE

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

szWTAfterLotNumberWLOTNcharOPTNONE

A number that identifies a Blend Lot.  A lot is a group of items with similar characteristics.

Related Functions

None

Related Tables

None