OperationHeaderValidation

Operation Header Validation

Minor Business Rule

Object Name: B31B0860

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B0860 - Operation Header Validation DS

Parameter NameData ItemData TypeReq/OptI/O/Both
cFormModeEV01charOPTNONE

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

cCacheModeEV01charOPTNONE

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

nOperationIDWOPIDintegerOPTNONE

mnOperationNumberWOPNMATH_NUMERICOPTNONE

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

szCostCenterAltMMCUcharOPTNONE

A code that represents a high-level business unit. Use this code to refer to a branch or plant that might have departments or jobs, which 
represent lower-level business units, subordinate to it. For example:     o Branch/Plant (MMCU)     o Dept A (MCU)     o Dept B (MCU)     o Job 123 
(MCU) Business unit security is based on the higher-level business unit.

nCfgOperationIDWCFGIDintegerOPTNONE

A unique identifier that identifies the Configured Operation.

szOperationStatusWOPSTcharOPTNONE

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

mnOperationYieldWOPYLMATH_NUMERICOPTNONE

This is a percentage that indicates the overall efficiency of the operation.

mnJobNumberMATH01MATH_NUMERICOPTNONE

- - - Good Performance Low Value. 

mnDurationWDURMATH_NUMERICOPTNONE

This indicates the elapsed time.

mnWIMActualDurationWADURMATH_NUMERICOPTNONE

The Actual Elapsed Time of an operation.

cTimeUOMWUOMTcharOPTNONE

The Unit Of Measure the Time calculations are made in. 

cElapsedChangedFlagEV01charOPTNONE

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

cDistributionMethodDISTMETcharOPTNONE

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

cInstructionMethodINSTMETcharOPTNONE

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

mnCreatorIDWCRTRMATH_NUMERICOPTNONE

cReturnCacheCursorEV01charOPTNONE

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

cCacheActionEV01charOPTNONE

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

idCacheCursorGENIDIDOPTNONE

Generic ID Value

nNumberOfKeysGENINTintegerOPTNONE

Generic Integer Value

cErrorCodeEV01charOPTNONE

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

szUserIdUSERcharOPTNONE

The code that identifies a user profile.

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.

szWorkStationIdJOBNcharOPTNONE

The code that identifies the work station ID that executed a particular job.

jdDateUpdatedUPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

mnTimeOfDayTDAYMATH_NUMERICOPTNONE

The computer clock in hours:minutes:seconds.

cSuppressErrorMessageEV01charOPTNONE

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.

mnWorkOrderIDWDOCOMATH_NUMERICOPTNONE

A unique number for a Blend Work Order.

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.

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.

szOldWorkflowStatusWSDcharOPTNONE

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.

utInstructedStartDateWSDTINVALID ITEM DATA TYPE: 55OPTNONE

The Instructed Start Date and Time of an operation.

utInstructedEndDateWEDTINVALID ITEM DATA TYPE: 55OPTNONE

This indicates the End Date and Time.

utActualStartDateWASDTINVALID ITEM DATA TYPE: 55OPTNONE

The Actual Start Date and Time of an operation.

utActualEndDateWAEDTINVALID ITEM DATA TYPE: 55OPTNONE

The Actual End Date and Time of an operation.

cPerformSurveyMeasureWPSDcharOPTNONE

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

cPerformAfterMeasureWPADcharOPTNONE

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

cShowBeforeMeasuresWSBDVcharOPTNONE

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

szCatCode1WH1charOPTNONE

A Blend Operation Category Code.

szCatCode2WH2charOPTNONE

A Blend Operation Category Code.

szCatCode3WH3charOPTNONE

A Blend Operation Category Code.

szCatCode4WH4charOPTNONE

A Blend Operation Category Code.

szCatCode5WH5charOPTNONE

A Blend Operation Category Code.

szUserString1EAURST1charOPTNONE

A reserved alphanumeric field that you can define and use to fit the needs of your organization.

szUserString2EAURST2charOPTNONE

A reserved alphanumeric field that you can define and use to fit the needs of your organization.

szUserString3EAURST3charOPTNONE

A reserved alphanumeric field that you can define and use to fit the needs of your organization.

szUserString4EAURST4charOPTNONE

A reserved alphanumeric field that you can define and use to fit the needs of your organization.

szUserString5EAURST5charOPTNONE

A reserved alphanumeric field that you can define and use to fit the needs of your organization.

szAltOperationNumberWALOPcharOPTNONE

This is an additional operation number identified for after-the-fact, or an outside processor's reference number.  There are no system 
validations for this number.

szErrorIDWEIDcharOPTNONE

utCreationDateWCDTINVALID ITEM DATA TYPE: 55OPTNONE

cActualElapsedChgFlagEV01charOPTNONE

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

cReleasedIndicatorWRIcharOPTNONE

Indicates whether an operation has been released to the operator.  If an operation has been changed after being released to the cellar, the 
indicator shows "Changed After Release".  After actual results have been recorded, the indicator reverts to blank.

nDependencyCounterWDCintegerOPTNONE

Dependency counter indicates how many dependent operations exist for a given operation.  Processing values include -1 (already 
processed) and 0 (ready to proceed).

szOpReasonCodeWOPRCcharOPTNONE

szSurveyReasonCodeWSRCcharOPTNONE

mnTotalSurveyGainLossWTSGLMATH_NUMERICOPTNONE

mnTotalOperationGainLossWTOGLMATH_NUMERICOPTNONE

mnTotalMoveQuantityWTMQMATH_NUMERICOPTNONE

cTemplateIndicatorWTIcharOPTNONE

szBlendMgmtReferenceWRFcharOPTNONE

Reserved for Blend Management.

utOrigInstructedStartWSDTINVALID ITEM DATA TYPE: 55OPTNONE

The Instructed Start Date and Time of an operation.

utOrigActualStartWASDTINVALID ITEM DATA TYPE: 55OPTNONE

The Actual Start Date and Time of an operation.

Related Functions

None

Related Tables

None
UpdateOprationHeaderCache

UpdateOprationHeaderCache

Operation Header Validation

Minor Business Rule

Object Name: B31B0860

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B0860 - Operation Header Validation DS

Parameter NameData ItemData TypeReq/OptI/O/Both
cFormModeEV01charOPTNONE

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

cCacheModeEV01charOPTNONE

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

nOperationIDWOPIDintegerOPTNONE

mnOperationNumberWOPNMATH_NUMERICOPTNONE

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

szCostCenterAltMMCUcharOPTNONE

A code that represents a high-level business unit. Use this code to refer to a branch or plant that might have departments or jobs, which 
represent lower-level business units, subordinate to it. For example:     o Branch/Plant (MMCU)     o Dept A (MCU)     o Dept B (MCU)     o Job 123 
(MCU) Business unit security is based on the higher-level business unit.

nCfgOperationIDWCFGIDintegerOPTNONE

A unique identifier that identifies the Configured Operation.

szOperationStatusWOPSTcharOPTNONE

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

mnOperationYieldWOPYLMATH_NUMERICOPTNONE

This is a percentage that indicates the overall efficiency of the operation.

mnJobNumberMATH01MATH_NUMERICOPTNONE

- - - Good Performance Low Value. 

mnDurationWDURMATH_NUMERICOPTNONE

This indicates the elapsed time.

mnWIMActualDurationWADURMATH_NUMERICOPTNONE

The Actual Elapsed Time of an operation.

cTimeUOMWUOMTcharOPTNONE

The Unit Of Measure the Time calculations are made in. 

cElapsedChangedFlagEV01charOPTNONE

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

cDistributionMethodDISTMETcharOPTNONE

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

cInstructionMethodINSTMETcharOPTNONE

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

mnCreatorIDWCRTRMATH_NUMERICOPTNONE

cReturnCacheCursorEV01charOPTNONE

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

cCacheActionEV01charOPTNONE

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

idCacheCursorGENIDIDOPTNONE

Generic ID Value

nNumberOfKeysGENINTintegerOPTNONE

Generic Integer Value

cErrorCodeEV01charOPTNONE

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

szUserIdUSERcharOPTNONE

The code that identifies a user profile.

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.

szWorkStationIdJOBNcharOPTNONE

The code that identifies the work station ID that executed a particular job.

jdDateUpdatedUPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

mnTimeOfDayTDAYMATH_NUMERICOPTNONE

The computer clock in hours:minutes:seconds.

cSuppressErrorMessageEV01charOPTNONE

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.

mnWorkOrderIDWDOCOMATH_NUMERICOPTNONE

A unique number for a Blend Work Order.

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.

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.

szOldWorkflowStatusWSDcharOPTNONE

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.

utInstructedStartDateWSDTINVALID ITEM DATA TYPE: 55OPTNONE

The Instructed Start Date and Time of an operation.

utInstructedEndDateWEDTINVALID ITEM DATA TYPE: 55OPTNONE

This indicates the End Date and Time.

utActualStartDateWASDTINVALID ITEM DATA TYPE: 55OPTNONE

The Actual Start Date and Time of an operation.

utActualEndDateWAEDTINVALID ITEM DATA TYPE: 55OPTNONE

The Actual End Date and Time of an operation.

cPerformSurveyMeasureWPSDcharOPTNONE

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

cPerformAfterMeasureWPADcharOPTNONE

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

cShowBeforeMeasuresWSBDVcharOPTNONE

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

szCatCode1WH1charOPTNONE

A Blend Operation Category Code.

szCatCode2WH2charOPTNONE

A Blend Operation Category Code.

szCatCode3WH3charOPTNONE

A Blend Operation Category Code.

szCatCode4WH4charOPTNONE

A Blend Operation Category Code.

szCatCode5WH5charOPTNONE

A Blend Operation Category Code.

szUserString1EAURST1charOPTNONE

A reserved alphanumeric field that you can define and use to fit the needs of your organization.

szUserString2EAURST2charOPTNONE

A reserved alphanumeric field that you can define and use to fit the needs of your organization.

szUserString3EAURST3charOPTNONE

A reserved alphanumeric field that you can define and use to fit the needs of your organization.

szUserString4EAURST4charOPTNONE

A reserved alphanumeric field that you can define and use to fit the needs of your organization.

szUserString5EAURST5charOPTNONE

A reserved alphanumeric field that you can define and use to fit the needs of your organization.

szAltOperationNumberWALOPcharOPTNONE

This is an additional operation number identified for after-the-fact, or an outside processor's reference number.  There are no system 
validations for this number.

szErrorIDWEIDcharOPTNONE

utCreationDateWCDTINVALID ITEM DATA TYPE: 55OPTNONE

cActualElapsedChgFlagEV01charOPTNONE

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

cReleasedIndicatorWRIcharOPTNONE

Indicates whether an operation has been released to the operator.  If an operation has been changed after being released to the cellar, the 
indicator shows "Changed After Release".  After actual results have been recorded, the indicator reverts to blank.

nDependencyCounterWDCintegerOPTNONE

Dependency counter indicates how many dependent operations exist for a given operation.  Processing values include -1 (already 
processed) and 0 (ready to proceed).

szOpReasonCodeWOPRCcharOPTNONE

szSurveyReasonCodeWSRCcharOPTNONE

mnTotalSurveyGainLossWTSGLMATH_NUMERICOPTNONE

mnTotalOperationGainLossWTOGLMATH_NUMERICOPTNONE

mnTotalMoveQuantityWTMQMATH_NUMERICOPTNONE

cTemplateIndicatorWTIcharOPTNONE

szBlendMgmtReferenceWRFcharOPTNONE

Reserved for Blend Management.

utOrigInstructedStartWSDTINVALID ITEM DATA TYPE: 55OPTNONE

The Instructed Start Date and Time of an operation.

utOrigActualStartWASDTINVALID ITEM DATA TYPE: 55OPTNONE

The Actual Start Date and Time of an operation.

Related Functions

None

Related Tables

None