CaclulateVBTVolCapacity

Create VBT Header Record

Minor Business Rule

Object Name: B31B1620

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B1620C - Caclculate VBT Volume Capacities

Parameter NameData ItemData TypeReq/OptI/O/Both
szBarrelTypeBATPcharOPTNONE

A user-defined value indicating a particular  type or class of barrel.

mnVBTVolumeVBTVOLMATH_NUMERICOPTNONE

The volume of the material (wine, juice, must) that will be stored in the VBT.

mnTotalNumberOfBarrelsTOTBRLMATH_NUMERICOPTNONE

Number of Barrels in a VBT.

szVirtualBarrelTankUOMVBTUOMcharOPTNONE

The unit of measure in which the VBT will store the material (wine, juice, must).

cCapacityTypeEV01charOPTNONE

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

Related Functions

None

Related Tables

None
CreateVBTHeaderRec

CreateVBTHeaderRec

Create VBT Header Record

Minor Business Rule

Object Name: B31B1620

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B1620D - Create VBT Header

Parameter NameData ItemData TypeReq/OptI/O/Both
mnVirtualBarrelTankIDVBTIDMATH_NUMERICOPTNONE

A system-generated Next Number sequence that will be used to uniquely identify a Virtual Barrel Tank. 

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.

szLotNumberWLOTNcharOPTNONE

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

szVBTNumberVBTNcharOPTNONE

A System Generated VBT Number based on Defined Configuration in a Format as  Segment 1 = "VBT" Segment 2 = YYYY Segment 3 = 
Sequence Number

szBarrelTypeBATPcharOPTNONE

A user-defined value indicating a particular  type or class of barrel.

szCurrentUseCUSEcharOPTNONE

A user-defined value that indicates the current use of a wine barrel.

szBarrelAvailCodeBAVCcharOPTNONE

A user-defined value indicating the availability status of a barrel.

cCapacityTypeTFEV01charOPTNONE

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

cTypeOfVBTVBTTYPEcharOPTNONE

The type of VBT can either be a traditional Barrel (B), or a collection of Tanks (T).

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.

jdDateUpdatedUPMJJDEDATEOPTNONE

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

mnTimeLastUpdatedUPMTMATH_NUMERICOPTNONE

The time that specifies when the program executed the last update to this record.

szMachineKeyMKEYcharOPTNONE

The Location or Machine Key indicates the name of the machine on the network (server or workstation).

mnJobnumberAJOBSMATH_NUMERICOPTNONE

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

Related Functions

None

Related Tables

None
UpdateVBTHeaderRec

UpdateVBTHeaderRec

Create VBT Header Record

Minor Business Rule

Object Name: B31B1620

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B1620A - Create VBT Header Record

Parameter NameData ItemData TypeReq/OptI/O/Both
szVBTNumberVBTNcharOPTNONE

A System Generated VBT Number based on Defined Configuration in a Format as  Segment 1 = "VBT" Segment 2 = YYYY Segment 3 = 
Sequence Number

mnVBTIDVBTIDMATH_NUMERICOPTNONE

A system-generated Next Number sequence that will be used to uniquely identify a Virtual Barrel Tank. 

szCurrentUseCUSEcharOPTNONE

A user-defined value that indicates the current use of a wine barrel.

szBarrelTypeBATPcharOPTNONE

A user-defined value indicating a particular  type or class of barrel.

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.

jdDateUpdatedUPMJJDEDATEOPTNONE

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

mnTimeLastUpdatedUPMTMATH_NUMERICOPTNONE

The time that specifies when the program executed the last update to this record.

szMachineKeyMKEYcharOPTNONE

The Location or Machine Key indicates the name of the machine on the network (server or workstation).

szCostCenterMCUcharOPTNONE

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.

cCapacityTypeTFEV01charOPTNONE

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

szLotNumberWLOTNcharOPTNONE

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

szBarrelAvailCodeBAVCcharOPTNONE

A user-defined value indicating the availability status of a barrel.

cTypeOfVBTVBTTYPEcharOPTNONE

The type of VBT can either be a traditional Barrel (B), or a collection of Tanks (T).

Related Functions

None

Related Tables

None