F31B01FetchWineryBU

Winery Master File Server

Minor Business Rule

Object Name: B31B0060

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B0060B - Fetch Winery BU by Winery Short Code

Parameter NameData ItemData TypeReq/OptI/O/Both
szWineryShortCodeWIDcharOPTNONE

The identification for a Winery on a transaction.

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.

cSuppressErrorMessageEV01charOPTNONE

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

szWineryNameDescDL01charOPTNONE

A user defined name or remark.

cWineryStatusWSTUcharOPTNONE

A code that indicates whether the Winery is active or inactive.  Valid values are: 0 Winery is active.  1 Winery is inactive.

mnAddressNumberAN8MATH_NUMERICOPTNONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

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.

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.

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.

Related Functions

None

Related Tables

None
WineryMasterFileServer

WineryMasterFileServer

Winery Master File Server

Major Business Rule

Object Name: B31B0060

Parent DLL: CWIM

Location: Client/Server

Language: C

Data Structure

D31B0060A - F31B01 File Server

Parameter NameData ItemData TypeReq/OptI/O/Both
nIndexNumberINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

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.

cProcessModeEV01charOPTNONE

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

szWineryBusinessUnitMCUcharOPTNONE

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.

szAddressLine1ADD1charOPTNONE

The first line of a mailing address for an employee, customer, or supplier in the Address Book system. The U.S. Internal Revenue Service 
(IRS) restricts the size of the address that prints on an employee's year-end tax return. To comply with IRS regulations, the system has the 
following restrictions:   o  On W-2 returns, the system prints only the last three nonblank address lines plus the city, state, and postal code.   o  On 
1099 returns, the system prints only the last nonblank address line plus the city, state, and postal code.   o  On other U.S. federal magnetic 
media, the system prints only the last nonblank address line plus the city, state, and postal code.

szAddressLine2ADD2charOPTNONE

The second line of the mailing address for an employee, customer, or supplier in the Address Book system. Attention Payroll users: The 
Internal Revenue Service (IRS) restricts the size of the address that prints on employee's year-end forms. To comply with IRS regulations, the 
address that prints on W-2 forms includes only the last three nonblank address lines plus the city, state, and postal code. The address that 
prints on 1099 forms includes only the last nonblank address line plus the city, state, and postal code. If you process year-end information using 
the federal magnetic media format, the address that prints on those forms contains only the last nonblank address line plus the city, state, 
and postal code.

szCityCTY1charOPTNONE

A name that indicates the city associated with the address.

szStateADDScharOPTNONE

A user defined code (00/S) that specifies the state or province. This code is usually a postal service abbreviation.

szZipCodePostalADDZcharOPTNONE

The United States ZIP code or the postal code that specifies where a letter is to be routed.  Attach this code to the address for delivery in 
other countries. This code is used as the low end value when doing Postal Code Transaction range processing.

szCountryCTRcharOPTNONE

A user defined code (00/CN) that identifies a country. The country code has no effect on currency conversion. The Address Book system 
uses the country code for data selection and address formatting.

mnAddressNumberAN8MATH_NUMERICOPTNONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

szTypeOfFacilityTPOFcharOPTNONE

A user defined code (UDC 31B/FT) used to identify the type of facility. A crushing facility will generally just have a crusher and destemmer, 
presses, and fermenter tanks, while a full production facility may have all this and a winery and a bottling line.

cThirdPartyCodeTPCDcharOPTNONE

The identification for a third party facility that indicates whether the Winery is owned by a third party. In the US, third party facilities are 
responsible for their own legal reporting to the TTB, though the inventory would still show up as owned inventory.

szBondedWineryNoBWIDcharOPTNONE

A number that indicates a winery has been registered and pays the required tax and duties in order to produce, store, and use alcohol. 
Bonded Winery Number is printed on most legal reports, Bills of Lading, and other documents. 

cWineryStatusWSTUcharOPTNONE

A code that indicates whether the Winery is active or inactive.  Valid values are: 0 Winery is active.  1 Winery is inactive.

szWineryCatCode01WCC1charOPTNONE

A set of user definable category codes  that are pre-defined in UDC 31B/C1.  Use these codes to identify Winery category. 

szWineryCatCode02WCC2charOPTNONE

A set of user definable category codes  that are pre-defined in UDC 31B/C2.  Use these codes to identify Winery category. 

szWineryCatCode03WCC3charOPTNONE

A set of user definable category codes that are pre-defined in UDC 31B/C3.  Use these codes to identify Winery category. 

szWineryCatCode04WCC4charOPTNONE

A set of user definable category codes that are pre-defined in UDC 31B/C4.  Use these codes to identify Winery category . 

szWineryCatCode05WCC5charOPTNONE

A set of user definable category codes that are pre-defined in UDC 31B/C5.  Use these codes to identify Winery category . 

szWineryCatCode06WCC6charOPTNONE

A set of user definable category codes that are pre-defined in UDC 31B/C6.  Use these codes to identify Winery category . 

szWineryCatCode07WCC7charOPTNONE

A set of user definable category codes that are pre-defined in UDC 31B/C7.  Use these codes to identify Winery category . 

szWineryCatCode08WCC8charOPTNONE

A set of user definable category codes that are pre-defined in UDC 31B/C8.  Use these codes to identify Winery category . 

szWineryCatCode09WCC9charOPTNONE

A set of user definable category codes that are pre-defined in UDC 31B/C9.  Use these codes to identify Winery category . 

szWineryCatCode10WCC10charOPTNONE

A set of user definable category codes that are pre-defined in UDC 31B/CC.  Use these codes to identify Winery category . 

szWineryCapacity01WCP1charOPTNONE

This field is used to identify various capacity details for the Winery.  Examples are:  White Crush Capacity, Fermentation Capacity, etc.

szWineryCapacity02WCP2charOPTNONE

This field is used to identify various capacity details for the Winery.  Examples are:  White Crush Capacity, Fermentation Capacity, etc.

szWineryCapacity03WCP3charOPTNONE

This field is used to identify various capacity details for the Winery.  Examples are:  White Crush Capacity, Fermentation Capacity, etc.

szWineryCapacity04WCP4charOPTNONE

This field is used to identify various capacity details for the Winery.  Examples are:  White Crush Capacity, Fermentation Capacity, etc.

szWineryCapacity05WCP5charOPTNONE

This field is used to identify various capacity details for the Winery.  Examples are:  White Crush Capacity, Fermentation Capacity, etc.

szWineryCapacity06WCP6charOPTNONE

This field is used to identify various capacity details for the Winery.  Examples are:  White Crush Capacity, Fermentation Capacity, etc.

szWineryCapacity07WCP7charOPTNONE

This field is used to identify various capacity details for the Winery.  Examples are:  White Crush Capacity, Fermentation Capacity, etc.

szWineryCapacity08WCP8charOPTNONE

This field is used to identify various capacity details for the Winery.  Examples are:  White Crush Capacity, Fermentation Capactiy, etc.

szWineryCapacity09WCP9charOPTNONE

This field is used to identify various capacity details for the Winery.  Examples are:  White Crush Capacity, Fermentation Capacity, etc.

szWineryCapacity10WCP10charOPTNONE

This field is used to identify various capacity details for the Winery.  Examples are:  White Crush Capacity, Fermentation Capacity, etc.

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.

jdDateUpdatedUPMJJDEDATEOPTNONE

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

szWorkStationIdJOBNcharOPTNONE

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

mnTimeLastUpdatedUPMTMATH_NUMERICOPTNONE

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

cValidateWIDFlagEV01charOPTNONE

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

szWineryShortCodeWIDcharOPTNONE

The identification for a Winery on a transaction.

szWineryNameDescDL01charOPTNONE

A user defined name or remark.

Related Functions

None

Related Tables

None