P31B65GetDefaultValues

P31B65 Validate Operation Header

Minor Business Rule

Object Name: B31B0510

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B0510C - P31B65 Get Defaults DS

Parameter NameData ItemData TypeReq/OptI/O/Both
nCfgOperationIDWCFGIDintegerOPTNONE

A unique identifier that identifies the Configured Operation.

mnOperationNumberWOPNMATH_NUMERICOPTNONE

A unique identifier that represents a Blend Operation that is at a status greater than Draft.

szWineryNameWIDcharOPTNONE

The identification for a Winery on a transaction.

szOperationStatusWOPSTcharOPTNONE

This indicates the operation status.  The different status values are Draft, Active, Actual, Closed, Cancelled, and Deleted.

cInstructionMethodINSTMETcharOPTNONE

An identifier that indicates how quantity is moved. For example, From After, From Move, To After, To Move.

cDistributionMethodDISTMETcharOPTNONE

An identifier that indicates the method for moving quantity between vessels.  For example, Equal Distribution, To Vessel Capacity, 
Percentage. 

cPerformSurveyDipWPSDcharOPTNONE

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

cPerformAfterDipWPADcharOPTNONE

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

cShowBeforeDipValuesWSBDVcharOPTNONE

This is a flag to indicate whether the Before Measures are displayed or not.

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.

cSuppressErrorMessageEV01charOPTNONE

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

mnWorkOrderIDWDOCOMATH_NUMERICOPTNONE

A unique number for a Blend Work Order.

mnCreatorIDWCRTRMATH_NUMERICOPTNONE

szCreatorIDUSERcharOPTNONE

The code that identifies a user profile.

Related Functions

None

Related Tables

None
P31B65ValidateAndCalcTime

P31B65ValidateAndCalcTime

P31B65 Validate Operation Header

Minor Business Rule

Object Name: B31B0510

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B0510B - Op Header Time Validation and Calculation

Parameter NameData ItemData TypeReq/OptI/O/Both
UTStartDate_WSDTWSDTINVALID ITEM DATA TYPE: 55OPTNONE

The Instructed Start Date and Time of an operation.

UTEndDate_WEDTWEDTINVALID ITEM DATA TYPE: 55OPTNONE

This indicates the End Date and Time.

cTimeUOM_WUOMTWUOMTcharOPTNONE

The Unit Of Measure the Time calculations are made in. 

mnElapsedTime_MATH01MATH01MATH_NUMERICOPTNONE

- - - Good Performance Low Value. 

szErrorMsgID_DTAIDTAIcharOPTNONE

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.

cSuppressErrMsg_EV01EV01charOPTNONE

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

cElapsedChgFlag_EV01EV01charOPTNONE

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

cActualElapsedChgFlagEV01charOPTNONE

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

mnWIMActualDurationWADURMATH_NUMERICOPTNONE

The Actual Elapsed Time of an operation.

WIMActualStartDateWASDTINVALID ITEM DATA TYPE: 55OPTNONE

The Actual Start Date and Time of an operation.

WIMActualEndDateWAEDTINVALID ITEM DATA TYPE: 55OPTNONE

The Actual End Date and Time of an operation.

Related Functions

None

Related Tables

None
P31B65ValidateOperationRules

P31B65ValidateOperationRules

P31B65 Validate Operation Header

Minor Business Rule

Object Name: B31B0510

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B0510 - Operation Header Validation Data Structure

Parameter NameData ItemData TypeReq/OptI/O/Both
cDISTMETDISTMETcharOPTNONE

An identifier that indicates the method for moving quantity between vessels.  For example, Equal Distribution, To Vessel Capacity, 
Percentage. 

cINSTMETINSTMETcharOPTNONE

An identifier that indicates how quantity is moved. For example, From After, From Move, To After, To Move.

cSuppressErrorMessagesEV01charOPTNONE

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

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.

Related Functions

None

Related Tables

None
P31B65ValidateWorkflowStatus

P31B65ValidateWorkflowStatus

P31B65 Validate Operation Header

Minor Business Rule

Object Name: B31B0510

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B0510D - Validate Workflow Status DS

Parameter NameData ItemData TypeReq/OptI/O/Both
szWorkflowStatusNameWSDcharOPTNONE

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.

szOldWorkflowStatusNameWSDcharOPTNONE

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.

szOperationStatusWOPSTcharOPTNONE

This indicates the operation status.  The different status values are Draft, Active, Actual, Closed, Cancelled, and Deleted.

szOldOperationStatusWOPSTcharOPTNONE

This indicates the operation status.  The different status values are Draft, Active, Actual, Closed, Cancelled, and Deleted.

cWorkflowStatusTypeWSYcharOPTNONE

A Character that is used to denote the Workflow Status Type such as Configured Workflow Status, Work Order Status etc. This status will be 
mapped to one of four operation statuses, Draft, Active, Actual, Closed or Cancelled.

cSuppressErrorMessageEV01charOPTNONE

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

cErrorCodeEV01charOPTNONE

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

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.

Related Functions

None

Related Tables

None