ProcessBarrelMasterCache

Create Barrel Master Cache

Minor Business Rule

Object Name: B31B0330

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B0330A - Create Barrel Profiles Cache

Parameter NameData ItemData TypeReq/OptI/O/Both
szBarrelTypeBATPcharOPTNONE

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

szBarrelTypeVariationBATVcharOPTNONE

A string that identifies a variation of a particular type.  Along with Barrel Type (BATP), this string will be concatenated to create a Barrel 
Profile Code (BPCD). 

szBarrelProfileCodeBPCOcharOPTNONE

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.

szOriginCountryCTROcharOPTNONE

The origin country for the shipment.

szOrigLocalityOLOCcharOPTNONE

An indication of a region or location within a country.

mnBarrelSupplierSUPLMATH_NUMERICOPTNONE

A number indicating the address book number of the supplier of a tank, barrel, or other equipment .

mnCooperNumberCPNUMMATH_NUMERICOPTNONE

A number indicating the address book number of the Cooper (manufacturer) of a barrel, insert, plank, or other wine vessel. 

szForestFOREScharOPTNONE

Value to describe which forest wood was harvested from.

szToastLevelTLEVcharOPTNONE

A user-defined value indicated the level of toast (charring) to the interior of the barrel.

cBarrelHeadToastTSTHcharOPTNONE

A value that indicates whether or not the head(s) of a barrel have been toasted. 

mnBarrelTotalCapacityTOCAPMATH_NUMERICOPTNONE

A value that stores the total capacity of a barrel.

szBarrelCapUOMBCUOMcharOPTNONE

The Volume Unit of Measure (typically volume) associated with the Total Barrel Capacity.

mnFermentationCapacityFCAPMATH_NUMERICOPTNONE

A value which stores the total fermentation capacity of a barrel.

mnNumberHoopsNUMHPMATH_NUMERICOPTNONE

Barrel future use.

szStaveGrainGRAINcharOPTNONE

Barrel future use.

szBarrelSmokeBSMKcharOPTNONE

Barrel future use.

mnBarrelMonthSeasBNMSMATH_NUMERICOPTNONE

Barrel future use.

mnInsertSupplierINSUMATH_NUMERICOPTNONE

The address book number for the supplier of a barrel insert.

szInsertUOMIUOMcharOPTNONE

Barrel future use.

mnInsertLengthINLGMATH_NUMERICOPTNONE

Barrel future use.

mnInsertWidthINWDMATH_NUMERICOPTNONE

Barrel future use.

mnInsertHeightINHGMATH_NUMERICOPTNONE

Barrel future use.

szInsertGrainINGRcharOPTNONE

Barrel future use.

mnInsertQuantityINQTMATH_NUMERICOPTNONE

Barrel future use.

szInsertToastINTScharOPTNONE

Barrel future use.

mnInsertMthSeasINMSMATH_NUMERICOPTNONE

Barrel future use.

szSysArrangementSYARcharOPTNONE

Barrel future use.

szInsertOriginINOOcharOPTNONE

Barrel future use.

mnInsertSurfAreaISARMATH_NUMERICOPTNONE

Barrel future use.

szInsertSurfAreaUOMIUMSAcharOPTNONE

Barrel future use.

mnInsertSAVRISVRMATH_NUMERICOPTNONE

A number representing the ratio between the insert surface area (displacement) and total volume of a barrel.

cInsertFlagINSFcharOPTNONE

A flag that identifies whether or not a barrel (or other vessel) contains an Insert.  Values are:   Unchecked or 0 Vessel does not contain an 
insert(s). Checked or 1 Vessel does contain an insert(s). 

mnUserReservedAmountURATMATH_NUMERICOPTNONE

This is a 15 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

szUserReservedCodeURCDcharOPTNONE

This is a 2 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

jdUserReservedDateURDTJDEDATEOPTNONE

This is a 6 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

mnUserReservedNumberURABMATH_NUMERICOPTNONE

This is a 8 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

szUserReservedReferenceURRFcharOPTNONE

A 15-position reference that is reserved for the user.  J.D. Edwards does not currently use this field and does not plan to use it in the future.

szUserIdUSERcharOPTNONE

The code that identifies a user profile.

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.

szWorkStationIdJOBNcharOPTNONE

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

szMachineKeyMKEYcharOPTNONE

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

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.

cStatusBarrelProfileSCDPRcharOPTNONE

A code to indicate the status of a Barrel Profile record.

cSuppressErrorMessageEV01charOPTNONE

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

szCacheActionCodeCACTNcharOPTNONE

A code that indicates the activity you want to perform. Valid codes:     o Get - Retrieve the cache element     o Add - Add a cache element     o 
Update - Update a cache element     o Delete - Delete a cache element     o Delete All - Delete all cache elements     o Get Next - Retrieve the 
next cache element     o Add/Update - Add a cache element if it does not exist; Update a cache element if it does exist     o Terminate - 
Terminate Cache

mnNumberKeysNKEYSMATH_NUMERICOPTNONE

The number of keys in an index that will be used to retrieve, delete, or update a record.

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.

idCacheCursorGENLNGIDOPTNONE

General purpose ID variable.

nCacheIndexINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

szBarrelProfileCacheKeyDL01charOPTNONE

A user defined name or remark.

mnJobnumberAJOBSMATH_NUMERICOPTNONE

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

szComputerIDCTIDcharOPTNONE

mnProcessIDPEIDMATH_NUMERICOPTNONE

A code that identifies the Inter-Process Communication ID.

mnTransactionIDTCIDMATH_NUMERICOPTNONE

mnLeaseCompanyLESCOMATH_NUMERICOPTNONE

A value that indicates the address book number of the company that barrels are leased from if barrels are not owned. 

jdLeaseDateLESDTJDEDATEOPTNONE

Date when a lease contract was entered.

szLocationLOCNcharOPTNONE

The storage location from which goods will be moved.

szLeaseCoNameLESCNcharOPTNONE

The text name of the Barrel leasing company.

mnLeaseTermLESTMMATH_NUMERICOPTNONE

A value indicating the number of months (typically) in the term of a barrel lease.

mnLeaseDocNumLESDNMATH_NUMERICOPTNONE

A number that references the Document Number associated with a lease contract.

mnOriginalDocWWODOCMATH_NUMERICOPTNONE

A number stored and used to reference a document that records the original receipt of a group of barrels.

mnVirtualBarrelIDVBIDMATH_NUMERICOPTNONE

A value representing to which virtual barrel group a barrel belongs.

mnYearReceivedRECYMATH_NUMERICOPTNONE

A value to indicate the year a barrel (or other vessel) was received.

mnPreviousOwnerPOWNMATH_NUMERICOPTNONE

A number correlating to the address book number of the previous owner of a vessel.

mnOtherYearCodeOYRCMATH_NUMERICOPTNONE

A secondary to indicate a calendar year.

jdDateOutServiceDAOSJDEDATEOPTNONE

Date indicating when a barrel was taken out of service.   

mnAssetNumberWineANUMWMATH_NUMERICOPTNONE

A number that identifies an asset.

szIDMethodIDMTHDcharOPTNONE

Method used for identification of barrels.

mnBarrelNumberBANUMMATH_NUMERICOPTNONE

A system-generated number that uniquely identifies an individual barrel. This number is not user modifiable. 

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. 

szBarrelRecLocBRLCcharOPTNONE

Location where barrels were received.

szBarrelAvailCodeBAVCcharOPTNONE

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

szAdjReasonCodeAJRScharOPTNONE

A user-defined code that identifies the reason why a barrel adjustment or change was made.

szBarrelColorStatusBCSTcharOPTNONE

A value used to indicate the color status inside a barrel.

cBarrelConditionBARCOcharOPTNONE

A value indicating the condition of the barrel (New, Used, Reconditioned)

jdDateFirstUseDAFUJDEDATEOPTNONE

Date representing the Date when a barrel was first used.

mnNumberFillsNUMFLMATH_NUMERICOPTNONE

Over the useable life of a barrel, this value represents the cumulative number of times a barrel has been filled. 

szCurrentUseCUSEcharOPTNONE

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

szNextUseNXUSEcharOPTNONE

A user-defined value indicating the intended next-use of a particular barrel.

szMethodLastTreatMTDLTcharOPTNONE

The most recent treatment method that has been applied to a barrel.

jdDateLastTreatDALTJDEDATEOPTNONE

Date when the last treatment operation was performed on a barrel.

mnIDNumFrIDNOFRMATH_NUMERICOPTNONE

The "starting point" when using the COPY Barrel Functionality.

szBarrelVolStatusBVSTcharOPTNONE

A value indicating the fill status of a barrel.

jdDateLastSulfurDALSJDEDATEOPTNONE

Date when SO2 (Sulfur Dioxide) treatment was last performed to a barrel.

cToastReworkYNTSTRcharOPTNONE

Barrel future use.

cBarrelShaveSHAVcharOPTNONE

A flag indicating whether or not the interior of a barrel has been shaved to expose  a  fresh wood surface.

szShavedBySHAVBcharOPTNONE

An indication of the Winery staff member who performed a barrel shave operation.

jdShaveDateSHAVDJDEDATEOPTNONE

Date a barrel shave operation was completed.

mnBarrelOwnerBOWNMATH_NUMERICOPTNONE

A number corresponding to the Address Book number for the owner of a barrel.

mnQuantityOriginalQTORMATH_NUMERICOPTNONE

mnQuantityReceivedQTRCMATH_NUMERICOPTNONE

mnInsertNumberINUMMATH_NUMERICOPTNONE

A unique number that identifies a barrel insert.

mnInsertNumUseINUSMATH_NUMERICOPTNONE

Barrel future use.

jdDateFirstCommissionedDAFCJDEDATEOPTNONE

Date representing when a barrel was first brought into service.

mnBarrelPOWBPOMATH_NUMERICOPTNONE

The Purchase Order that the original barrel order was completed on.

mnBarrelCollNumBARCNMATH_NUMERICOPTNONE

A number that designates the group or collection of barrels a barrel belongs to. 

mnStaveThicknessSTAVTMATH_NUMERICOPTNONE

Barrel future use.

szGeneralCommentsGECMcharOPTNONE

A field that contains general comments. The system does not verify this information. You can enter any alphanumeric string.

szLeaseDocRefLDREFcharOPTNONE

cLeasedYNLEAScharOPTNONE

A flag indicating whether a barrel is leased or not.

jdStaveDryDateSDDRJDEDATEOPTNONE

Barrel future use.

szVersionVERScharOPTNONE

A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined 
processing option values and data selection and sequencing options. Interactive versions are associated with applications (usually as a 
menu selection). Batch versions are associated with batch jobs or reports. To run a batch process, you must choose a version.

mnBarrelNumberMathBRLNUMMATH_NUMERICOPTNONE

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

szBarrelProfileDescriptionBPDESCcharOPTNONE

A string that is a concatenation of Barrel Type and Barrel Type Variation to identify a Barrel Profile.  This code provides a method to 
uniquely identify instances of the same Barrel Type that differ in 1 or more attributes.

szBarrelClassificationBRLCLAcharOPTNONE

szRackNumberBrlRKNMRcharOPTNONE

A unique string that identifies a particular barrel storage rack.

mnShaveBySHAVEBYMATH_NUMERICOPTNONE

An indication of the Winery staff member who performed a barrel shave operation.

szBarrelCategoryCode1SCTMcharOPTNONE

A barrel Category Code defined by the user in 31B/R1.

szBarrelCategoryCode2SDRMcharOPTNONE

A barrel Category Code defined by the user in 31B/R2.

szBarrelCategoryCode3SBDMcharOPTNONE

A barrel Category Code defined by the user in 31B/R3.

szBarrelCategoryCode4SDRLcharOPTNONE

A barrel Category Code defined by the user in 31B/R4.

szBarrelCategoryCode5INFOcharOPTNONE

A barrel Category Code defined by the user in 31B/R5.

mnBarrelAgeRKNUMMATH_NUMERICOPTNONE

A number that identifies barrel age.

cOneTimeCostWOTCcharOPTNONE

One-time cost flag indicates whether non-recurring costs associated with the initial use of a vessel have been applied to the vessel.

szBlendMgmtReferenceWRFcharOPTNONE

Reserved for Blend Management.

szBlendMgmtCodeWCDcharOPTNONE

Reserved for Blend Management.

mnBlendMgmtABWABMATH_NUMERICOPTNONE

Reserved for Blend Management.

mnBlendMgmtNumericWNUMMATH_NUMERICOPTNONE

Reserved for Blend Management.

jdBlendMgmtDateWMDTJDEDATEOPTNONE

Reserved for Blend Management.

szCostGroupWCGcharOPTNONE

An alphanumeric code that identifies a set of one or more cost components associated with a Blend Operation. For example, a Cost Group 
can be assigned to material, vessels, equipment, staff, dry goods, overheads, or expenses.

Related Functions

None

Related Tables

None