AddUpdateVBTDetail

Add Update VBT Detail

Minor Business Rule

Object Name: N31B0870

Parent DLL: CWIM

Location: Client/Server

Language: NER

Data Structure

D31B0870A - Add Update VBT Detail

Parameter NameData ItemData TypeReq/OptI/O/Both
mnVBTIDVBTIDMATH_NUMERICOPTNONE

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

mnVBTVolumeVBTVOLMATH_NUMERICOPTNONE

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

szVBTUOMVBTUOMcharOPTNONE

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

mnTotalNumberOfBarrelsTOTBRLMATH_NUMERICOPTNONE

Number of Barrels in a VBT.

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.

mnVBTLineNumberVBTLNMATH_NUMERICOPTNONE

A VBT Detail Line number that uniquely identifies a record in the VBT Detail Table.

szBarrelTypeBATPcharOPTNONE

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

szBarrel_IDBARIDcharOPTNONE

A string that uniquely identifies an individual barrel (or collection of barrels). This is a string comprised of 3 segments. The length of 
segment 1 (as string) is user defined at implementation.  Segment 2 will consist of the current year. The length of segment 3 (a number) is also user 
defined at implementation. 

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.

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.

szMachineKeyMKEYcharOPTNONE

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

mnTimeLastUpdatedUPMTMATH_NUMERICOPTNONE

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

jdDateUpdatedUPMJJDEDATEOPTNONE

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

mnBarrelNumberBRLNUMMATH_NUMERICOPTNONE

A system generated number which uniquely identifies an individual barrel within the winery.

Related Functions

None

Related Tables

None