ValidateOpVesselAssigment

Validate Operation Vessel Assignment

Minor Business Rule

Object Name: B31B1190

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B1190 - Validate Operation Vessel Assignments

Parameter NameData ItemData TypeReq/OptI/O/Both
nOperationIDWOPIDintegerOPTNONE

cFromToFlagWFTFcharOPTNONE

A flag that specifies the vessel as either the From or To vessel in a Blend Operation.

nVesselSequenceNoWVSEQintegerOPTNONE

The order in which operations are performed on vessels within an operation.

nNewVesselSequenceNoWVSEQintegerOPTNONE

The order in which operations are performed on vessels within an operation.

cVesselClassWVTYcharOPTNONE

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

mnVesselIDWVIDMATH_NUMERICOPTNONE

Unique identifier of any container used to store wine.

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. 

szVesselTypeWSVTcharOPTNONE

Vessel Type specifies the particular kind of vessel within a vessel class.  For example, tanks may have vessel types like steel, copper, 
open top, etc. 

szVesselLocationWVLOCNcharOPTNONE

The physical or logical place where the vessel is located.

szBeforeWineLotWBLOTNcharOPTNONE

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

szAfterWineLotWALOTNcharOPTNONE

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

cCacheActionACTNcharOPTNONE

A code that specifies the action that is performed. Valid values are: A Add C Change

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.

szErrorMessageIDDTAIcharOPTNONE

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.

mnVesselCapacityWVCAPMATH_NUMERICOPTNONE

szAfterBlendIDWABIDcharOPTNONE

mnBeforeAvailableCapacityWBACAPMATH_NUMERICOPTNONE

mnAfterAvailableCapacityWAACAPMATH_NUMERICOPTNONE

mnBeforeLotQuantityWBLQTYMATH_NUMERICOPTNONE

mnAvailableLotQuantityWALQTYMATH_NUMERICOPTNONE

cModeEV01charOPTNONE

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

mnOrigVesselIDWVIDMATH_NUMERICOPTNONE

Unique identifier of any container used to store wine.

mnInstructedMoveQuantityWIMVMATH_NUMERICOPTNONE

The quantity of material (wine, juice, must) instructed by a winemaker to be moved between vessels during a winery operation.  This may 
differ from the actual quantity moved.

szQuantityUOMWVUMcharOPTNONE

The unit of measure of the quantity.

mnInstructedAfterQuantityWIAVMATH_NUMERICOPTNONE

The quantity of material (wine, juice, must) instructed by a winemaker to remain in a vessel after the operation has been performed.  This 
may differ from the actual resulting quantity.

mnInstructedAlternateQuantityWIADMATH_NUMERICOPTNONE

The instructed volume measurement of material (wine, juice, must) in a tank recorded after an operation takes place.

szAlternateUOMWDUMcharOPTNONE

The unit of measure of a dip taken on a tank in a Blend Operation.

cGaugeTypeTKGTcharOPTNONE

A code to indicate the type of gauge with which a tank is equipped.

szVesselNumberWVNUMcharOPTNONE

cPerformAfterMeasureWPADcharOPTNONE

This indicates whether the AFTER measures (dips) are to be performed during a move operation. 

cPerformSurveyMeasureWPSDcharOPTNONE

This is a flag to instruct cellar personnel to take a survey measure in a winery operation.

cCapacityTypeCAPTYPcharOPTNONE

An option that specifies whether the barrel capacity is of type Fermentation or Total. 

mnBlockIdentifierBLUIDMATH_NUMERICOPTNONE

A Parcel of land that is the smallest entity of varietal details for a grower, vineyard or ranch.

cDependencyModeEV01charOPTNONE

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

szBlockShortCodeBLSCDcharOPTNONE

 A unique identifier of a Block entered by the user.

mnVintageVINTAGMATH_NUMERICOPTNONE

The year when Grapes were harvested.

mnPreviousVesselIDWVIDMATH_NUMERICOPTNONE

Unique identifier of any container used to store wine.

cTestingModeEV01charOPTNONE

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

szShippingWineryMCUcharOPTNONE

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.

szReceivingWineryMCUcharOPTNONE

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.

szMaterialTypeCodeMATYPcharOPTNONE

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

mnEURIdentifierEURIDMATH_NUMERICOPTNONE

A unique identifier of an End User Reservation (EUR) that cannot be changed once entered.

mnWorkOrderNumberWODMATH_NUMERICOPTNONE

The order number from the work order.

cIsGetB4LotEV01charOPTNONE

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

cIsWriteVACacheEV01charOPTNONE

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

cIsFixDependencyTreeEV01charOPTNONE

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

cIsGetValidateVesselEV01charOPTNONE

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

cIsLotValidationEV01charOPTNONE

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

cUnknownTankFlagEV01charOPTNONE

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

cVirtualVesselIndicatorVVIcharOPTNONE

This value identifies whether a Vessel is Virtual or not. Virtual Vessels may be assigned to Operations in the planning stage when Physical 
Vessels are unknown.  Values are: 0 Non-Virtual Lot 1 Virtual Lot 

cDoesVARecordExistEV01charOPTNONE

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

szUserIdUSERcharOPTNONE

The code that identifies a user profile.

mnProcessIDPEIDMATH_NUMERICOPTNONE

A code that identifies the Inter-Process Communication ID.

szPredWorkFlowStatusWSDcharOPTNONE

This is the name of the Workflow Status.  For example, a Configured Workflow Status can be Issued, Instructed, Pending, or Cellar to Write. 
This Workflow Status should be unique to the Status Type.  For each Workflow Type, the Workflow Name should be unique.

szSuccWorkFlowStatusWSDcharOPTNONE

This is the name of the Workflow Status.  For example, a Configured Workflow Status can be Issued, Instructed, Pending, or Cellar to Write. 
This Workflow Status should be unique to the Status Type.  For each Workflow Type, the Workflow Name should be unique.

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.

Related Functions

None

Related Tables

None