CopyF31B65MediaObjects

F31B65 Operation Header File Server

Minor Business Rule

Object Name: B31B0660

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B0660B - Copy F31B65 Media Objects

Parameter NameData ItemData TypeReq/OptI/O/Both
iSourceOperationID_WOPIDWOPIDintegerREQINPUT

iDestinationOperationID_WOPIDWOPIDintegerREQINPUT

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
F31B65FileServer

F31B65FileServer

F31B65 Operation Header File Server

Minor Business Rule

Object Name: B31B0660

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B0660 - F31B65 Operation Header File Server

Parameter NameData ItemData TypeReq/OptI/O/Both
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.

mnDurationDURMATH_NUMERICOPTNONE

A value that specifies how long the setup task will take. The system also uses this value to calculate the task start date.

cTimeUOMWUOMTcharOPTNONE

The Unit Of Measure the Time calculations are made in. 

mnWIMActualDurationWADURMATH_NUMERICOPTNONE

The Actual Elapsed Time of an operation.

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. 

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.

idIndexGENIDIDOPTNONE

Generic ID Value

nNumKeysGENINTintegerOPTNONE

Generic Integer Value

cModeEV01charOPTNONE

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

idF31B65HandleGENIDIDOPTNONE

Generic ID Value

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.

mnCreatorIDWCRTRMATH_NUMERICOPTNONE

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.

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.

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

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.

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

cWSigntChgFlagWSGTCHGFcharOPTNONE

A value that indicates whether the changes in lot before quantity, blend ID, before wine status, and before material type of this operation are 
beyond the threshhold that is set up in configured operation.  Valid values and their meanings are:  0 There is not significant change in this 
operation.  1 There is significant change in this operation. 

nWJobNumberWJOBNintegerOPTNONE

The job number is assigned to operations for grouping and planning purposes. 

nParentOperationIDWPOPIDintegerOPTNONE

Parent Operation ID of an operation proves the relationship between these two operations.  This operation is created due to the facts that 
the parent operation exists and advances to certain operation status.

mnBlendMgmtABWABMATH_NUMERICOPTNONE

Reserved for Blend Management.

jdBlendMgmtDateWMDTJDEDATEOPTNONE

Reserved for Blend Management.

mnBlendMgmtNumericWNUMMATH_NUMERICOPTNONE

Reserved for Blend Management.

szBlendMgmtCodeWCDcharOPTNONE

Reserved for Blend Management.

szBlendMgmtReferenceWRFcharOPTNONE

Reserved for Blend Management.

cWOPReverseFlagWOPRVFcharOPTNONE

Value indicates whether an operation is a Reversed Operation.  Valid values and their meanings are:      0  This operation is not a Reversed 
Operation.      1  This operation is a Reversed Operation.

cWRelatedOPFlagWRLOPFcharOPTNONE

Value indicates whether an operation has related Operation(s).  Valid values and their meanings are:      0  This operation has not a Related 
Operation.      1  This operation has Related Operation(s).

Related Functions

None

Related Tables

None
F31B65MediaObjectsExist

F31B65MediaObjectsExist

F31B65 Operation Header File Server

Minor Business Rule

Object Name: B31B0660

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B0660C - F31B65 Media Objects Exist

Parameter NameData ItemData TypeReq/OptI/O/Both
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.

cMediaObjectsExist_EV01EV01charOPTOUTPUT

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

iOperationID_WOPIDWOPIDintegerREQINPUT

cGT31B65ACsExist_EV01EV01charOPTOUTPUT

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

cGT31B65AIsExist_EV01EV01charOPTOUTPUT

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

Related Functions

None

Related Tables

None