CalculateWineLotAttributes

Lot Creation Engine

Minor Business Rule

Object Name: B31B0690

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B0690D - Calculate Wine Lot and Child Entity Attributes

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.

mnTotalMoveQuantityLTQNTYMATH_NUMERICOPTNONE

Quantity of a Blend Lot.

cMovementFlagEV01charOPTNONE

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

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.

szDefaultTBBlendIDMethodWTBDBMETcharOPTNONE

Related Functions

None

Related Tables

None
CommitLotAndChildAttributes

CommitLotAndChildAttributes

Lot Creation Engine

Minor Business Rule

Object Name: B31B0690

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B0690E - Commit/Delete Lot And Child Entity Attributes

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.

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.

Related Functions

None

Related Tables

None
CreateWineLotNumbers

CreateWineLotNumbers

Lot Creation Engine

Minor Business Rule

Object Name: B31B0690

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B0690A - Create Wine Lot Numbers

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.

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.

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.

mnJobNumberJOBSMATH_NUMERICOPTNONE

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

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.

szFromAfterUOMLTUOMcharOPTNONE

Unit of Measure of a Blend Lot.

szToAfterUOMLTUOMcharOPTNONE

Unit of Measure of a Blend Lot.

szMoveUOMLTUOMcharOPTNONE

Unit of Measure of a Blend Lot.

mnMoveOutQuantityLTQNTYMATH_NUMERICOPTNONE

Quantity of a Blend Lot.

mnMoveInQuantityLTQNTYMATH_NUMERICOPTNONE

Quantity of a Blend Lot.

mnFromBeforeQuantityLTQNTYMATH_NUMERICOPTNONE

Quantity of a Blend Lot.

mnToBeforeQuantityLTQNTYMATH_NUMERICOPTNONE

Quantity of a Blend Lot.

mnFromAfterQuantityLTQNTYMATH_NUMERICOPTNONE

Quantity of a Blend Lot.

mnToAfterQuantityLTQNTYMATH_NUMERICOPTNONE

Quantity of a Blend Lot.

szStatusLTSTATcharOPTNONE

Status of the Blend Lot.

szFromBeforeUOMLTUOMcharOPTNONE

Unit of Measure of a Blend Lot.

szToBeforeUOMLTUOMcharOPTNONE

Unit of Measure of a Blend Lot.

nCfgOperationIDWCFGIDintegerOPTNONE

A unique identifier that identifies the Configured Operation.

szOriginalFromB4LotWLOTNcharOPTNONE

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

szOriginalToB4LotWLOTNcharOPTNONE

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

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
DeleteWineLotAndChildAttributes

DeleteWineLotAndChildAttributes

Lot Creation Engine

Minor Business Rule

Object Name: B31B0690

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B0690E - Commit/Delete Lot And Child Entity Attributes

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.

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.

Related Functions

None

Related Tables

None
FetchWineLotCache

FetchWineLotCache

Lot Creation Engine

Minor Business Rule

Object Name: B31B0690

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B0690B - Fetch/Update Wine Lot 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.

szBlendIDWBIDcharOPTNONE

Blend ID is an identifier that groups 'like' lots of wine for practical purposes.  The Blend ID is recorded on vessel labels to help identify lots 
used in operations, and typically contains information about ownership, variety, location and year. 

mnWineLotQuantityLTQNTYMATH_NUMERICOPTNONE

Quantity of a Blend Lot.

szWineLotUOMLTUOMcharOPTNONE

Unit of Measure of a Blend Lot.

szWineLotStatusLTSTATcharOPTNONE

Status of the Blend Lot.

szMaterialTypeCodeMATYPcharOPTNONE

A Code that uniquely identifies a Material Type.  Material Type is used to describe the contents of a Blend Lot.

szWineStatusShortCodeWISSCcharOPTNONE

This is the short code for wine status.

mnSurveyGainVolumeSRVGAVMATH_NUMERICOPTNONE

Operation Survey Gain Volume.

mnSurveyGainPercentageSRVGAPMATH_NUMERICOPTNONE

Operation Survey Gain expressed in Percentage.

mnOperationGainVolumeOPRGAVMATH_NUMERICOPTNONE

Quantity of Blend Lot Gained as a result of an operation.

mnOperationGainPercentageOPRGAPMATH_NUMERICOPTNONE

Operation Gain expressed in percentage.

mnLotYieldPercentageLOTYLDMATH_NUMERICOPTNONE

Wine Lot Yield expressed in Percentage.

mnCumulativeLotYieldCUMYLDMATH_NUMERICOPTNONE

Cumulative Yield of a Blend Lot expressed in Percentage.

mnSummaryAttribute1SATTN1MATH_NUMERICOPTNONE

Summary Attribute 1.

mnSummaryAttribute2SATTN2MATH_NUMERICOPTNONE

Lot Summary Attribute 2.

mnSummaryAttribute3SATTN3MATH_NUMERICOPTNONE

Lot Summary Attribute 3.

mnSummaryAttribute4SATTN4MATH_NUMERICOPTNONE

Lot Summary Attribute 4.

mnSummaryAttribute5SATTN5MATH_NUMERICOPTNONE

Lot Summary Attribute 5.

mnSummaryAttribute6SATTN6MATH_NUMERICOPTNONE

Lot Summary Attribute 6.

mnSummaryAttribute7SATTN7MATH_NUMERICOPTNONE

Lot Summary Attribute 7.

mnSummaryAttribute8SATTN8MATH_NUMERICOPTNONE

Lot Summary Attribute 8.

mnSummaryAttribute9SATTN9MATH_NUMERICOPTNONE

Lot Summary Attribute 9.

mnSummaryAttribute10SATTN10MATH_NUMERICOPTNONE

Lot Summary Attribute 10.

mnSummaryAttribute11SATTN11MATH_NUMERICOPTNONE

Lot Summary Attribute 11.

mnSummaryAttribute12SATTN12MATH_NUMERICOPTNONE

Lot Summary Attribute 12.

mnSummaryAttribute13SATTN13MATH_NUMERICOPTNONE

Lot Summary Attribute 13.

mnSummaryAttribute14SATTN14MATH_NUMERICOPTNONE

Lot Summary Attribute 14.

mnSummaryAttribute15SATTN15MATH_NUMERICOPTNONE

Lot Summary Attribute 15.

szSummaryAttribute16SATTS16charOPTNONE

Lot Summary Attribute 16.

szSummaryAttribute17SATTS17charOPTNONE

Lot Summary Attribute 17.

szSummaryAttribute18SATTS18charOPTNONE

Lot Summary Attribute 18.

szSummaryAttribute19SATTS19charOPTNONE

Lot Summary Attribute 19.

szSummaryAttribute20SATTS20charOPTNONE

Lot Summary Attribute 20.

szSummaryAttribute21SATTS21charOPTNONE

Lot Summary Attribute 21.

szSummaryAttribute22SATTS22charOPTNONE

Lot Summary Attribute 22.

szSummaryAttribute23SATTS23charOPTNONE

Lot Summary Attribute 23.

szSummaryAttribute24SATTS24charOPTNONE

Lot Summary Attribute 24.

szSummaryAttribute25SATTS25charOPTNONE

Lot  Summary Attribute 25.

mnInstructedAttribute1INATTN1MATH_NUMERICOPTNONE

Lot Instructed Attribute 1.

mnInstructedAttribute2INATTN2MATH_NUMERICOPTNONE

Lot Instructed Attribute 2.

mnInstructedAttribute3INATTN3MATH_NUMERICOPTNONE

Lot Instructed Attribute 3.

mnInstructedAttribute4INATTN4MATH_NUMERICOPTNONE

Lot Instructed Attribute 4.

szInstructedAttribute5INATTS5charOPTNONE

Lot Instructed Attribute 5.

szInstructedAttribute6INATTS6charOPTNONE

Lot Instructed Attribute 6.

szInstructedAttribute7INATTS7charOPTNONE

Lot Instructed Attribute 7.

szInstructedAttribute8INATTS8charOPTNONE

Lot Instructed Attribute 8.

jdInstructedAttribute9INATTD9JDEDATEOPTNONE

Lot Instructed Attribute 9.

jdInstructedAttribute10INATTD10JDEDATEOPTNONE

Lot Instructed Attribute 10.

jdInstructedAttribute11INATTD11JDEDATEOPTNONE

Lot Instructed Attribute 11.

jdInstructedAttribute12INATTD12JDEDATEOPTNONE

Lot Instructed Attribute 12.

szErrorMessageCodeDTAIcharOPTOUTPUT

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.

mnJobNumberJOBSMATH_NUMERICOPTNONE

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

szAlternateBlendIDAWBIDcharOPTNONE

This is the Alternate Blend ID.

cBlendIDApprovedWBIDAPPcharOPTNONE

This field indicates if the Blend ID is approved.

szGeneratedBlendIDWBIDcharOPTNONE

Blend ID is an identifier that groups 'like' lots of wine for practical purposes.  The Blend ID is recorded on vessel labels to help identify lots 
used in operations, and typically contains information about ownership, variety, location and year. 

cVirtualLotIndicatorVLIcharOPTNONE

This value identifies whether a Lot is Virtual or not. Virtual Lots are typically used to represent an abstract entity that has attributes similar to 
a physical Blend Lot, such as, a Trial Blend.  Values are: 0 Non-Virtual Lot 1 Virtual Lot 

szBlendMgmtReferenceWRFcharOPTNONE

Reserved for Blend Management.

szBlendMgmtCodeWCDcharOPTNONE

Reserved for Blend Management.

mnBlendMgmtABWABMATH_NUMERICOPTNONE

Reserved for Blend Management.

mnBlendMgmtNumericWNUMMATH_NUMERICOPTNONE

Reserved for Blend Management.

jdBlendMgmtDateWMDTJDEDATEOPTNONE

Reserved for Blend Management.

cMaterialTypeOverrideMATOVRcharOPTNONE

A Flag to indicate whether the material type is overridden by the user.

cWineSatusOverrideWSOVRcharOPTNONE

A flag that indicates whether the user overrides the wine status. 

cInstructedAttributeOverriINATOVR1charOPTNONE

Flag indicating if the Instructed Attribute is overridden by the user.

cInstructedAttributeOverri_2INATOVR2charOPTNONE

Flag indicating if the Instructed Attribute is overridden by the user.

cInstructedAttributeOverri_3INATOVR3charOPTNONE

Flag indicating if the Instructed Attribute is overridden by the user.

cInstructedAttributeOverri_4INATOVR4charOPTNONE

Flag indicating if the Instructed Attribute is overridden by the user.

cInstructedAttributeOverri_5INATOVR5charOPTNONE

Flag indicating if the Instructed Attribute is overridden by the user.

cEUROverrideEUROVRcharOPTNONE

Flag indicating if the EUR is overridden by the user.

cOwnerOverrideOWNOVRcharOPTNONE

Flag indicating if the Owner is overridden by the user.

cLotCommentOverrideLTCMTOVRcharOPTNONE

Flag indicating if the Lot Comment is overridden by the user.

cInstructedAttributeOverri_6INATOVR6charOPTNONE

Flag indicating if the Instructed Attribute is overridden by the user.

cInstructedAttributeOverri_7INATOVR7charOPTNONE

Flag indicating if the Instructed Attribute is overridden by the user.

cInstructedAttributeOverri_8INATOVR8charOPTNONE

Flag indicating if the Instructed Attribute is overridden by the user.

cInstructedAttributeOverri_9INATOVR9charOPTNONE

Flag indicating if the Instructed Attribute is overridden by the user.

cInstructedAttributeOverri_10INAOVR10charOPTNONE

Flag indicating if the Instructed Attribute is overridden by the user.

cInstructedAttributeOverri_11INAOVR11charOPTNONE

Flag indicating if the Instructed Attribute is overridden by the user.

cInstructedAttributeOverri_12INAOVR12charOPTNONE

Flag indicating if the Instructed Attribute is overridden by the user.

mnDeclaredLossQuantityDECLOVMATH_NUMERICOPTNONE

Quantity of the Blend Lot declared as lost as result of an operation.

Related Functions

None

Related Tables

None
InitialiseAllLotCaches

InitialiseAllLotCaches

Lot Creation Engine

Minor Business Rule

Object Name: B31B0690

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B0690C - Init/Terminate Wine Lot Caches

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobNumberJOBSMATH_NUMERICOPTNONE

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

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.

szCacheNameDL010charOPTNONE

A general description.

Related Functions

None

Related Tables

None
TerminateAllLotCaches

TerminateAllLotCaches

Lot Creation Engine

Minor Business Rule

Object Name: B31B0690

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B0690C - Init/Terminate Wine Lot Caches

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobNumberJOBSMATH_NUMERICOPTNONE

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

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.

szCacheNameDL010charOPTNONE

A general description.

Related Functions

None

Related Tables

None
UpdateWineLotCache

UpdateWineLotCache

Lot Creation Engine

Minor Business Rule

Object Name: B31B0690

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B0690B - Fetch/Update Wine Lot 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.

szBlendIDWBIDcharOPTNONE

Blend ID is an identifier that groups 'like' lots of wine for practical purposes.  The Blend ID is recorded on vessel labels to help identify lots 
used in operations, and typically contains information about ownership, variety, location and year. 

mnWineLotQuantityLTQNTYMATH_NUMERICOPTNONE

Quantity of a Blend Lot.

szWineLotUOMLTUOMcharOPTNONE

Unit of Measure of a Blend Lot.

szWineLotStatusLTSTATcharOPTNONE

Status of the Blend Lot.

szMaterialTypeCodeMATYPcharOPTNONE

A Code that uniquely identifies a Material Type.  Material Type is used to describe the contents of a Blend Lot.

szWineStatusShortCodeWISSCcharOPTNONE

This is the short code for wine status.

mnSurveyGainVolumeSRVGAVMATH_NUMERICOPTNONE

Operation Survey Gain Volume.

mnSurveyGainPercentageSRVGAPMATH_NUMERICOPTNONE

Operation Survey Gain expressed in Percentage.

mnOperationGainVolumeOPRGAVMATH_NUMERICOPTNONE

Quantity of Blend Lot Gained as a result of an operation.

mnOperationGainPercentageOPRGAPMATH_NUMERICOPTNONE

Operation Gain expressed in percentage.

mnLotYieldPercentageLOTYLDMATH_NUMERICOPTNONE

Wine Lot Yield expressed in Percentage.

mnCumulativeLotYieldCUMYLDMATH_NUMERICOPTNONE

Cumulative Yield of a Blend Lot expressed in Percentage.

mnSummaryAttribute1SATTN1MATH_NUMERICOPTNONE

Summary Attribute 1.

mnSummaryAttribute2SATTN2MATH_NUMERICOPTNONE

Lot Summary Attribute 2.

mnSummaryAttribute3SATTN3MATH_NUMERICOPTNONE

Lot Summary Attribute 3.

mnSummaryAttribute4SATTN4MATH_NUMERICOPTNONE

Lot Summary Attribute 4.

mnSummaryAttribute5SATTN5MATH_NUMERICOPTNONE

Lot Summary Attribute 5.

mnSummaryAttribute6SATTN6MATH_NUMERICOPTNONE

Lot Summary Attribute 6.

mnSummaryAttribute7SATTN7MATH_NUMERICOPTNONE

Lot Summary Attribute 7.

mnSummaryAttribute8SATTN8MATH_NUMERICOPTNONE

Lot Summary Attribute 8.

mnSummaryAttribute9SATTN9MATH_NUMERICOPTNONE

Lot Summary Attribute 9.

mnSummaryAttribute10SATTN10MATH_NUMERICOPTNONE

Lot Summary Attribute 10.

mnSummaryAttribute11SATTN11MATH_NUMERICOPTNONE

Lot Summary Attribute 11.

mnSummaryAttribute12SATTN12MATH_NUMERICOPTNONE

Lot Summary Attribute 12.

mnSummaryAttribute13SATTN13MATH_NUMERICOPTNONE

Lot Summary Attribute 13.

mnSummaryAttribute14SATTN14MATH_NUMERICOPTNONE

Lot Summary Attribute 14.

mnSummaryAttribute15SATTN15MATH_NUMERICOPTNONE

Lot Summary Attribute 15.

szSummaryAttribute16SATTS16charOPTNONE

Lot Summary Attribute 16.

szSummaryAttribute17SATTS17charOPTNONE

Lot Summary Attribute 17.

szSummaryAttribute18SATTS18charOPTNONE

Lot Summary Attribute 18.

szSummaryAttribute19SATTS19charOPTNONE

Lot Summary Attribute 19.

szSummaryAttribute20SATTS20charOPTNONE

Lot Summary Attribute 20.

szSummaryAttribute21SATTS21charOPTNONE

Lot Summary Attribute 21.

szSummaryAttribute22SATTS22charOPTNONE

Lot Summary Attribute 22.

szSummaryAttribute23SATTS23charOPTNONE

Lot Summary Attribute 23.

szSummaryAttribute24SATTS24charOPTNONE

Lot Summary Attribute 24.

szSummaryAttribute25SATTS25charOPTNONE

Lot  Summary Attribute 25.

mnInstructedAttribute1INATTN1MATH_NUMERICOPTNONE

Lot Instructed Attribute 1.

mnInstructedAttribute2INATTN2MATH_NUMERICOPTNONE

Lot Instructed Attribute 2.

mnInstructedAttribute3INATTN3MATH_NUMERICOPTNONE

Lot Instructed Attribute 3.

mnInstructedAttribute4INATTN4MATH_NUMERICOPTNONE

Lot Instructed Attribute 4.

szInstructedAttribute5INATTS5charOPTNONE

Lot Instructed Attribute 5.

szInstructedAttribute6INATTS6charOPTNONE

Lot Instructed Attribute 6.

szInstructedAttribute7INATTS7charOPTNONE

Lot Instructed Attribute 7.

szInstructedAttribute8INATTS8charOPTNONE

Lot Instructed Attribute 8.

jdInstructedAttribute9INATTD9JDEDATEOPTNONE

Lot Instructed Attribute 9.

jdInstructedAttribute10INATTD10JDEDATEOPTNONE

Lot Instructed Attribute 10.

jdInstructedAttribute11INATTD11JDEDATEOPTNONE

Lot Instructed Attribute 11.

jdInstructedAttribute12INATTD12JDEDATEOPTNONE

Lot Instructed Attribute 12.

szErrorMessageCodeDTAIcharOPTOUTPUT

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.

mnJobNumberJOBSMATH_NUMERICOPTNONE

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

szAlternateBlendIDAWBIDcharOPTNONE

This is the Alternate Blend ID.

cBlendIDApprovedWBIDAPPcharOPTNONE

This field indicates if the Blend ID is approved.

szGeneratedBlendIDWBIDcharOPTNONE

Blend ID is an identifier that groups 'like' lots of wine for practical purposes.  The Blend ID is recorded on vessel labels to help identify lots 
used in operations, and typically contains information about ownership, variety, location and year. 

cVirtualLotIndicatorVLIcharOPTNONE

This value identifies whether a Lot is Virtual or not. Virtual Lots are typically used to represent an abstract entity that has attributes similar to 
a physical Blend Lot, such as, a Trial Blend.  Values are: 0 Non-Virtual Lot 1 Virtual Lot 

szBlendMgmtReferenceWRFcharOPTNONE

Reserved for Blend Management.

szBlendMgmtCodeWCDcharOPTNONE

Reserved for Blend Management.

mnBlendMgmtABWABMATH_NUMERICOPTNONE

Reserved for Blend Management.

mnBlendMgmtNumericWNUMMATH_NUMERICOPTNONE

Reserved for Blend Management.

jdBlendMgmtDateWMDTJDEDATEOPTNONE

Reserved for Blend Management.

cMaterialTypeOverrideMATOVRcharOPTNONE

A Flag to indicate whether the material type is overridden by the user.

cWineSatusOverrideWSOVRcharOPTNONE

A flag that indicates whether the user overrides the wine status. 

cInstructedAttributeOverriINATOVR1charOPTNONE

Flag indicating if the Instructed Attribute is overridden by the user.

cInstructedAttributeOverri_2INATOVR2charOPTNONE

Flag indicating if the Instructed Attribute is overridden by the user.

cInstructedAttributeOverri_3INATOVR3charOPTNONE

Flag indicating if the Instructed Attribute is overridden by the user.

cInstructedAttributeOverri_4INATOVR4charOPTNONE

Flag indicating if the Instructed Attribute is overridden by the user.

cInstructedAttributeOverri_5INATOVR5charOPTNONE

Flag indicating if the Instructed Attribute is overridden by the user.

cEUROverrideEUROVRcharOPTNONE

Flag indicating if the EUR is overridden by the user.

cOwnerOverrideOWNOVRcharOPTNONE

Flag indicating if the Owner is overridden by the user.

cLotCommentOverrideLTCMTOVRcharOPTNONE

Flag indicating if the Lot Comment is overridden by the user.

cInstructedAttributeOverri_6INATOVR6charOPTNONE

Flag indicating if the Instructed Attribute is overridden by the user.

cInstructedAttributeOverri_7INATOVR7charOPTNONE

Flag indicating if the Instructed Attribute is overridden by the user.

cInstructedAttributeOverri_8INATOVR8charOPTNONE

Flag indicating if the Instructed Attribute is overridden by the user.

cInstructedAttributeOverri_9INATOVR9charOPTNONE

Flag indicating if the Instructed Attribute is overridden by the user.

cInstructedAttributeOverri_10INAOVR10charOPTNONE

Flag indicating if the Instructed Attribute is overridden by the user.

cInstructedAttributeOverri_11INAOVR11charOPTNONE

Flag indicating if the Instructed Attribute is overridden by the user.

cInstructedAttributeOverri_12INAOVR12charOPTNONE

Flag indicating if the Instructed Attribute is overridden by the user.

mnDeclaredLossQuantityDECLOVMATH_NUMERICOPTNONE

Quantity of the Blend Lot declared as lost as result of an operation.

Related Functions

None

Related Tables

None
ValidateWineLotMaterialType

ValidateWineLotMaterialType

Lot Creation Engine

Minor Business Rule

Object Name: B31B0690

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B0690F - Validate Wine Lot Material Type

Parameter NameData ItemData TypeReq/OptI/O/Both
szMaterialTypeCode_MATYPMATYPcharREQINPUT

A Code that uniquely identifies a Material Type.  Material Type is used to describe the contents of a Blend Lot.

szWinery_MCUMCUcharREQINPUT

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.

szBlendLotUOM_LTUOMLTUOMcharOPTOUTPUT

Unit of Measure of a Blend Lot.

mnBlendLotQuantity_LTQNTYLTQNTYMATH_NUMERICOPTBOTH

Quantity of a Blend Lot.

cSuppressErrorMessages_SUPPSSUPPScharOPTINPUT

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.

szErrorMessageID_DTAIDTAIcharOPTOUTPUT

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.

szBlendLotNumber_WLOTNWLOTNcharOPTINPUT

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

szInitialBlendLotUOM_LTUOMLTUOMcharOPTINPUT

Unit of Measure of a Blend Lot.

Related Functions

None

Related Tables

None
ValidateWineStatusShortCode

ValidateWineStatusShortCode

Lot Creation Engine

Minor Business Rule

Object Name: B31B0690

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B0690G - Validate Wine Status Short Code

Parameter NameData ItemData TypeReq/OptI/O/Both
szWineStatusShortCode_WISSCWISSCcharOPTINPUT

This is the short code for wine status.

cSuppressErrorMessages_SUPPSSUPPScharOPTINPUT

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.

szErrorMessageID_DTAIDTAIcharOPTOUTPUT

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