AddMaterialType

F31B04 File Server

Minor Business Rule

Object Name: N31B0140

Parent DLL: CWIM

Location: Client/Server

Language: NER

Data Structure

D31B0140 - F31B04 File Server

Parameter NameData ItemData TypeReq/OptI/O/Both
szMaterialTypeCodeMATYPcharREQBOTH

A Code that uniquely identifies a Material Type.  Material Type is used to describe the contents of a Blend Lot.

szSummaryMaterialTypeSMTYPcharOPTBOTH

A Code that uniquely identifies a Summary Material Type.  Summary Material Type is used to group various Material Types together for 
inquiry or reporting purposes.

szDescriptionSumMatTypeDSCMTcharOPTBOTH

The description of a Material Type.

szDescriptionMaterialTypeDSCSMTcharOPTBOTH

The description of a Material Type.

szMaterialTypeUOMMTUOMcharOPTBOTH

The unit of Measure related to Material Type.

mnUpperAlcoholLimitUPALCMATH_NUMERICOPTBOTH

The Upper Alcohol Limit for a particular Material Type.  Used to validate against alcohol QA tests, and identifies any Material Types that 
fall outside the high end of the valid alcohol range.

mnLowerAlcoholLimitLOALCMATH_NUMERICOPTBOTH

The Lower Alcohol Limit for a particular Material Type.  Used to validate against alcohol QA tests, and identifies any Material Types that fall 
outside the low end of the valid alcohol range.

cMaterialTypeStatusMATSTcharOPTBOTH

The Status of a Material Type.  Material Type may be Active or Inactive.  Inactive Material Types may not be used in any new transactions.

mnIdentifierShortItemITMMATH_NUMERICOPTBOTH

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

szMaterialTypeCommentsMTCOMMcharOPTBOTH

Free form text field used to add comments to a Material Type record.  This may be used to give a reason for changing Material Type 
attributes.

szUserIdUSERcharOPTBOTH

The code that identifies a user profile.

szProgramIdPIDcharOPTBOTH

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.

mnTimeOfDayTDAYMATH_NUMERICOPTBOTH

The computer clock in hours:minutes:seconds.

jdDateUpdatedUPMJJDEDATEOPTBOTH

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

cMaterialTypeFermFlagMTFFcharOPTNONE

Indicates whether this Material Type is Fermented. Values are: W White Fermentation R Red Fermentation None 

szMaterialTypeTaxClassMTTCcharOPTNONE

The Tax Class of a Material Type.  Material Types may fall into different Tax Classes based on alcoholic content.

Related Functions

None

Related Tables

None
DeleteMaterialType

DeleteMaterialType

F31B04 File Server

Minor Business Rule

Object Name: N31B0140

Parent DLL: CWIM

Location: Client/Server

Language: NER

Data Structure

D31B0140 - F31B04 File Server

Parameter NameData ItemData TypeReq/OptI/O/Both
szMaterialTypeCodeMATYPcharREQBOTH

A Code that uniquely identifies a Material Type.  Material Type is used to describe the contents of a Blend Lot.

szSummaryMaterialTypeSMTYPcharOPTBOTH

A Code that uniquely identifies a Summary Material Type.  Summary Material Type is used to group various Material Types together for 
inquiry or reporting purposes.

szDescriptionSumMatTypeDSCMTcharOPTBOTH

The description of a Material Type.

szDescriptionMaterialTypeDSCSMTcharOPTBOTH

The description of a Material Type.

szMaterialTypeUOMMTUOMcharOPTBOTH

The unit of Measure related to Material Type.

mnUpperAlcoholLimitUPALCMATH_NUMERICOPTBOTH

The Upper Alcohol Limit for a particular Material Type.  Used to validate against alcohol QA tests, and identifies any Material Types that 
fall outside the high end of the valid alcohol range.

mnLowerAlcoholLimitLOALCMATH_NUMERICOPTBOTH

The Lower Alcohol Limit for a particular Material Type.  Used to validate against alcohol QA tests, and identifies any Material Types that fall 
outside the low end of the valid alcohol range.

cMaterialTypeStatusMATSTcharOPTBOTH

The Status of a Material Type.  Material Type may be Active or Inactive.  Inactive Material Types may not be used in any new transactions.

mnIdentifierShortItemITMMATH_NUMERICOPTBOTH

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

szMaterialTypeCommentsMTCOMMcharOPTBOTH

Free form text field used to add comments to a Material Type record.  This may be used to give a reason for changing Material Type 
attributes.

szUserIdUSERcharOPTBOTH

The code that identifies a user profile.

szProgramIdPIDcharOPTBOTH

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.

mnTimeOfDayTDAYMATH_NUMERICOPTBOTH

The computer clock in hours:minutes:seconds.

jdDateUpdatedUPMJJDEDATEOPTBOTH

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

cMaterialTypeFermFlagMTFFcharOPTNONE

Indicates whether this Material Type is Fermented. Values are: W White Fermentation R Red Fermentation None 

szMaterialTypeTaxClassMTTCcharOPTNONE

The Tax Class of a Material Type.  Material Types may fall into different Tax Classes based on alcoholic content.

Related Functions

None

Related Tables

None
GetMaterialTypeInformation

GetMaterialTypeInformation

F31B04 File Server

Minor Business Rule

Object Name: N31B0140

Parent DLL: CWIM

Location: Client/Server

Language: NER

Data Structure

D31B0140 - F31B04 File Server

Parameter NameData ItemData TypeReq/OptI/O/Both
szMaterialTypeCodeMATYPcharREQBOTH

A Code that uniquely identifies a Material Type.  Material Type is used to describe the contents of a Blend Lot.

szSummaryMaterialTypeSMTYPcharOPTBOTH

A Code that uniquely identifies a Summary Material Type.  Summary Material Type is used to group various Material Types together for 
inquiry or reporting purposes.

szDescriptionSumMatTypeDSCMTcharOPTBOTH

The description of a Material Type.

szDescriptionMaterialTypeDSCSMTcharOPTBOTH

The description of a Material Type.

szMaterialTypeUOMMTUOMcharOPTBOTH

The unit of Measure related to Material Type.

mnUpperAlcoholLimitUPALCMATH_NUMERICOPTBOTH

The Upper Alcohol Limit for a particular Material Type.  Used to validate against alcohol QA tests, and identifies any Material Types that 
fall outside the high end of the valid alcohol range.

mnLowerAlcoholLimitLOALCMATH_NUMERICOPTBOTH

The Lower Alcohol Limit for a particular Material Type.  Used to validate against alcohol QA tests, and identifies any Material Types that fall 
outside the low end of the valid alcohol range.

cMaterialTypeStatusMATSTcharOPTBOTH

The Status of a Material Type.  Material Type may be Active or Inactive.  Inactive Material Types may not be used in any new transactions.

mnIdentifierShortItemITMMATH_NUMERICOPTBOTH

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

szMaterialTypeCommentsMTCOMMcharOPTBOTH

Free form text field used to add comments to a Material Type record.  This may be used to give a reason for changing Material Type 
attributes.

szUserIdUSERcharOPTBOTH

The code that identifies a user profile.

szProgramIdPIDcharOPTBOTH

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.

mnTimeOfDayTDAYMATH_NUMERICOPTBOTH

The computer clock in hours:minutes:seconds.

jdDateUpdatedUPMJJDEDATEOPTBOTH

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

cMaterialTypeFermFlagMTFFcharOPTNONE

Indicates whether this Material Type is Fermented. Values are: W White Fermentation R Red Fermentation None 

szMaterialTypeTaxClassMTTCcharOPTNONE

The Tax Class of a Material Type.  Material Types may fall into different Tax Classes based on alcoholic content.

Related Functions

None

Related Tables

None
UpdateMaterialType

UpdateMaterialType

F31B04 File Server

Minor Business Rule

Object Name: N31B0140

Parent DLL: CWIM

Location: Client/Server

Language: NER

Data Structure

D31B0140 - F31B04 File Server

Parameter NameData ItemData TypeReq/OptI/O/Both
szMaterialTypeCodeMATYPcharREQBOTH

A Code that uniquely identifies a Material Type.  Material Type is used to describe the contents of a Blend Lot.

szSummaryMaterialTypeSMTYPcharOPTBOTH

A Code that uniquely identifies a Summary Material Type.  Summary Material Type is used to group various Material Types together for 
inquiry or reporting purposes.

szDescriptionSumMatTypeDSCMTcharOPTBOTH

The description of a Material Type.

szDescriptionMaterialTypeDSCSMTcharOPTBOTH

The description of a Material Type.

szMaterialTypeUOMMTUOMcharOPTBOTH

The unit of Measure related to Material Type.

mnUpperAlcoholLimitUPALCMATH_NUMERICOPTBOTH

The Upper Alcohol Limit for a particular Material Type.  Used to validate against alcohol QA tests, and identifies any Material Types that 
fall outside the high end of the valid alcohol range.

mnLowerAlcoholLimitLOALCMATH_NUMERICOPTBOTH

The Lower Alcohol Limit for a particular Material Type.  Used to validate against alcohol QA tests, and identifies any Material Types that fall 
outside the low end of the valid alcohol range.

cMaterialTypeStatusMATSTcharOPTBOTH

The Status of a Material Type.  Material Type may be Active or Inactive.  Inactive Material Types may not be used in any new transactions.

mnIdentifierShortItemITMMATH_NUMERICOPTBOTH

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

szMaterialTypeCommentsMTCOMMcharOPTBOTH

Free form text field used to add comments to a Material Type record.  This may be used to give a reason for changing Material Type 
attributes.

szUserIdUSERcharOPTBOTH

The code that identifies a user profile.

szProgramIdPIDcharOPTBOTH

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.

mnTimeOfDayTDAYMATH_NUMERICOPTBOTH

The computer clock in hours:minutes:seconds.

jdDateUpdatedUPMJJDEDATEOPTBOTH

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

cMaterialTypeFermFlagMTFFcharOPTNONE

Indicates whether this Material Type is Fermented. Values are: W White Fermentation R Red Fermentation None 

szMaterialTypeTaxClassMTTCcharOPTNONE

The Tax Class of a Material Type.  Material Types may fall into different Tax Classes based on alcoholic content.

Related Functions

None

Related Tables

None
ValidateMaterialType

ValidateMaterialType

F31B04 File Server

Minor Business Rule

Object Name: N31B0140

Parent DLL: CWIM

Location: Client/Server

Language: NER

Data Structure

D31B0140 - F31B04 File Server

Parameter NameData ItemData TypeReq/OptI/O/Both
szMaterialTypeCodeMATYPcharREQBOTH

A Code that uniquely identifies a Material Type.  Material Type is used to describe the contents of a Blend Lot.

szSummaryMaterialTypeSMTYPcharOPTBOTH

A Code that uniquely identifies a Summary Material Type.  Summary Material Type is used to group various Material Types together for 
inquiry or reporting purposes.

szDescriptionSumMatTypeDSCMTcharOPTBOTH

The description of a Material Type.

szDescriptionMaterialTypeDSCSMTcharOPTBOTH

The description of a Material Type.

szMaterialTypeUOMMTUOMcharOPTBOTH

The unit of Measure related to Material Type.

mnUpperAlcoholLimitUPALCMATH_NUMERICOPTBOTH

The Upper Alcohol Limit for a particular Material Type.  Used to validate against alcohol QA tests, and identifies any Material Types that 
fall outside the high end of the valid alcohol range.

mnLowerAlcoholLimitLOALCMATH_NUMERICOPTBOTH

The Lower Alcohol Limit for a particular Material Type.  Used to validate against alcohol QA tests, and identifies any Material Types that fall 
outside the low end of the valid alcohol range.

cMaterialTypeStatusMATSTcharOPTBOTH

The Status of a Material Type.  Material Type may be Active or Inactive.  Inactive Material Types may not be used in any new transactions.

mnIdentifierShortItemITMMATH_NUMERICOPTBOTH

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

szMaterialTypeCommentsMTCOMMcharOPTBOTH

Free form text field used to add comments to a Material Type record.  This may be used to give a reason for changing Material Type 
attributes.

szUserIdUSERcharOPTBOTH

The code that identifies a user profile.

szProgramIdPIDcharOPTBOTH

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.

mnTimeOfDayTDAYMATH_NUMERICOPTBOTH

The computer clock in hours:minutes:seconds.

jdDateUpdatedUPMJJDEDATEOPTBOTH

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

cMaterialTypeFermFlagMTFFcharOPTNONE

Indicates whether this Material Type is Fermented. Values are: W White Fermentation R Red Fermentation None 

szMaterialTypeTaxClassMTTCcharOPTNONE

The Tax Class of a Material Type.  Material Types may fall into different Tax Classes based on alcoholic content.

Related Functions

None

Related Tables

None