CalculateComposition

Calculate Composition for Resulting Lots

Minor Business Rule

Object Name: B31B0850

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B0850A - Calculate Composition for Resulting Lots

Parameter NameData ItemData TypeReq/OptI/O/Both
szBeforeFromLotWLOTNcharOPTNONE

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

szBeforeToLotWLOTNcharOPTNONE

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

szAfterFromLotWLOTNcharOPTNONE

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

szAfterToLotWLOTNcharOPTNONE

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

idCacheCursorPtrGENLNGIDOPTNONE

General purpose ID variable.

cSuppressErrorMsgEV01charOPTNONE

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

szErrorCodeDTAIcharOPTNONE

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.

nCfgOperationIDWCFGIDintegerOPTNONE

A unique identifier that identifies the Configured Operation.

nOperationIDWOPIDintegerOPTNONE

mnJobnumberJOBSMATH_NUMERICOPTNONE

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

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.

mnBeforeFromQtyLTQNTYMATH_NUMERICOPTNONE

Quantity of a Blend Lot.

mnBeforeToQtyLTQNTYMATH_NUMERICOPTNONE

Quantity of a Blend Lot.

mnMoveOutQuantityLTQNTYMATH_NUMERICOPTNONE

Quantity of a Blend Lot.

mnMoveInQuantityLTQNTYMATH_NUMERICOPTNONE

Quantity of a Blend Lot.

mnAfterFromQtyLTQNTYMATH_NUMERICOPTNONE

Quantity of a Blend Lot.

mnAfterToQtyLTQNTYMATH_NUMERICOPTNONE

Quantity of a Blend Lot.

szBeforeToUOMLTUOMcharOPTNONE

Unit of Measure of a Blend Lot.

szAfterToUOMLTUOMcharOPTNONE

Unit of Measure of a Blend Lot.

cTBFlagEV01charOPTNONE

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

szTBFromWineryMCUcharOPTNONE

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.

Related Functions

None

Related Tables

None
DeleteCompChildEntity

DeleteCompChildEntity

Calculate Composition for Resulting Lots

Minor Business Rule

Object Name: B31B0850

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B0850C - Insert/Delete Comp Cache

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobnumberJOBSMATH_NUMERICOPTNONE

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

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.

szErrorCodeDTAIcharOPTNONE

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.

Related Functions

None

Related Tables

None
FetchCompCache

FetchCompCache

Calculate Composition for Resulting Lots

Minor Business Rule

Object Name: B31B0850

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B0850B - Fetch Cache

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.

szWineLotWLOTNcharOPTNONE

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

mnVintageVINTAGMATH_NUMERICOPTNONE

The year when Grapes were harvested.

mnAppCodeGOAIDMATH_NUMERICOPTNONE

A number that identifies an entity such as an Appellation, or Growing Area in the Geographic Area Master file.

szCompMTCMATYPEcharOPTNONE

This is a code that represents the material type.

szSourceTypeSRCETYPEcharOPTNONE

This is the source type of the Composition.  For example, this could either be a Block ID, or a Purchase Order number.

mnSourceIdenSRCEIDMATH_NUMERICOPTNONE

The Source Identifier can hold either block information or a purchase order number.

mnPercentagePERCTMATH_NUMERICOPTNONE

A value expressed as a percentage.

mnJobnumberJOBSMATH_NUMERICOPTNONE

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

idCursorGENLNGIDOPTNONE

General purpose ID variable.

szErrorCodeDTAIcharOPTNONE

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.

nCacheRowNumberINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

mnVolumeLTQNTYMATH_NUMERICOPTNONE

Quantity of a Blend Lot.

mnTotalLotVolLTQNTYMATH_NUMERICOPTNONE

Quantity of a Blend Lot.

mnVarietyIDVARIDMATH_NUMERICOPTNONE

This is the Key to the Variety Master File.

cActionCodeEV01charOPTNONE

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

Related Functions

None

Related Tables

None
InsertCompRecords

InsertCompRecords

Calculate Composition for Resulting Lots

Minor Business Rule

Object Name: B31B0850

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B0850C - Insert/Delete Comp Cache

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobnumberJOBSMATH_NUMERICOPTNONE

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

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.

szErrorCodeDTAIcharOPTNONE

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.

Related Functions

None

Related Tables

None