|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.framework.PO
org.compiere.model.X_M_Product
public class X_M_Product
Generated Model for M_Product
| Field Summary | |
|---|---|
protected BigDecimal |
accessLevel
|
static int |
M_PRODUCT_CATEGORY_ID_AD_Reference_ID
M_Product_Category_ID AD_Reference_ID=163 |
protected static KeyNamePair |
Model
|
static int |
PRODUCTTYPE_AD_Reference_ID
ProductType AD_Reference_ID=270 |
static String |
PRODUCTTYPE_ExpenseType
Expense type = E |
static String |
PRODUCTTYPE_Item
Item = I |
static String |
PRODUCTTYPE_Online
Online = O |
static String |
PRODUCTTYPE_Resource
Resource = R |
static String |
PRODUCTTYPE_Service
Service = S |
static int |
SALESREP_ID_AD_Reference_ID
SalesRep_ID AD_Reference_ID=190 |
static int |
Table_ID
AD_Table_ID=208 |
static String |
Table_Name
TableName=M_Product |
static long |
updatedMS
Last Updated Timestamp 2008-06-10 15:12:06.0 |
| Fields inherited from class org.compiere.framework.PO |
|---|
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Constructor Summary | |
|---|---|
X_M_Product(Ctx ctx,
int M_Product_ID,
String trxName)
Standard Constructor |
|
X_M_Product(Ctx ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected int |
get_AccessLevel()
AccessLevel |
int |
getC_SubscriptionType_ID()
Get Subscription Type. |
int |
getC_TaxCategory_ID()
Get Tax Category. |
int |
getC_UOM_ID()
Get UOM. |
String |
getClassification()
Get Classification. |
String |
getDescription()
Get Description. |
String |
getDescriptionURL()
Get Description URL. |
Timestamp |
getDiscontinuedBy()
Get Discontinued by. |
String |
getDocumentNote()
Get Document Note. |
int |
getGuaranteeDays()
Get Guarantee Days. |
int |
getGuaranteeDaysMin()
Get Min Guarantee Days. |
String |
getHelp()
Get Comment. |
String |
getImageURL()
Get Image URL. |
KeyNamePair |
getKeyNamePair()
Get Record ID/ColumnName |
String |
getLicenseInfo()
Get License Info. |
int |
getM_AttributeSet_ID()
Get Attribute Set. |
int |
getM_AttributeSetInstance_ID()
Get Attribute Set Instance. |
int |
getM_FreightCategory_ID()
Get Freight Category. |
int |
getM_Locator_ID()
Get Locator. |
int |
getM_Product_Category_ID()
Get Product Category. |
int |
getM_Product_ID()
Get Product. |
String |
getName()
Get Name. |
String |
getProductType()
Get Product Type. |
int |
getR_MailText_ID()
Get Mail Template. |
int |
getR_Source_ID()
Get Source. |
int |
getS_ExpenseType_ID()
Get Expense Type. |
int |
getS_Resource_ID()
Get Resource. |
int |
getSalesRep_ID()
Get Representative. |
int |
getShelfDepth()
Get Shelf Depth. |
int |
getShelfHeight()
Get Shelf Height. |
int |
getShelfWidth()
Get Shelf Width. |
String |
getSKU()
Get SKU. |
int |
getSupportUnits()
Get Support Units. |
int |
getTrialPhaseDays()
Get Trial Phase Days. |
int |
getUnitsPerPallet()
Get Units per Pallet. |
String |
getUPC()
Get UPC/EAN. |
String |
getValue()
Get Search Key. |
String |
getVersionNo()
Get Version No. |
BigDecimal |
getVolume()
Get Volume. |
BigDecimal |
getWeight()
Get Weight. |
protected POInfo |
initPO(Ctx ctx)
Load Meta Data |
boolean |
isBOM()
Get Bill of Materials. |
boolean |
isDiscontinued()
Get Discontinued. |
boolean |
isDropShip()
Get Drop Shipment. |
boolean |
isExcludeAutoDelivery()
Get Exclude Auto Delivery. |
boolean |
isInvoicePrintDetails()
Get Print detail records on invoice. |
boolean |
isPickListPrintDetails()
Get Print detail records on pick list. |
boolean |
isProcessing()
Get Process Now. |
boolean |
isProductTypeValid(String test)
Is test a valid value. |
boolean |
isPurchased()
Get Purchased. |
boolean |
isPurchasedToOrder()
Get Purchased To Order. |
boolean |
isSelfService()
Get Self-Service. |
boolean |
isSold()
Get Sold. |
boolean |
isStocked()
Get Stocked. |
boolean |
isSummary()
Get Summary Level. |
boolean |
isVerified()
Get Verified. |
boolean |
isWebStoreFeatured()
Get Featured in Web Store. |
void |
setC_SubscriptionType_ID(int C_SubscriptionType_ID)
Set Subscription Type. |
void |
setC_TaxCategory_ID(int C_TaxCategory_ID)
Set Tax Category. |
void |
setC_UOM_ID(int C_UOM_ID)
Set UOM. |
void |
setClassification(String Classification)
Set Classification. |
void |
setDescription(String Description)
Set Description. |
void |
setDescriptionURL(String DescriptionURL)
Set Description URL. |
void |
setDiscontinued(boolean Discontinued)
Set Discontinued. |
void |
setDiscontinuedBy(Timestamp DiscontinuedBy)
Set Discontinued by. |
void |
setDocumentNote(String DocumentNote)
Set Document Note. |
void |
setGuaranteeDays(int GuaranteeDays)
Set Guarantee Days. |
void |
setGuaranteeDaysMin(int GuaranteeDaysMin)
Set Min Guarantee Days. |
void |
setHelp(String Help)
Set Comment. |
void |
setImageURL(String ImageURL)
Set Image URL. |
void |
setIsBOM(boolean IsBOM)
Set Bill of Materials. |
void |
setIsDropShip(boolean IsDropShip)
Set Drop Shipment. |
void |
setIsExcludeAutoDelivery(boolean IsExcludeAutoDelivery)
Set Exclude Auto Delivery. |
void |
setIsInvoicePrintDetails(boolean IsInvoicePrintDetails)
Set Print detail records on invoice. |
void |
setIsPickListPrintDetails(boolean IsPickListPrintDetails)
Set Print detail records on pick list. |
void |
setIsPurchased(boolean IsPurchased)
Set Purchased. |
void |
setIsPurchasedToOrder(boolean IsPurchasedToOrder)
Set Purchased To Order. |
void |
setIsSelfService(boolean IsSelfService)
Set Self-Service. |
void |
setIsSold(boolean IsSold)
Set Sold. |
void |
setIsStocked(boolean IsStocked)
Set Stocked. |
void |
setIsSummary(boolean IsSummary)
Set Summary Level. |
void |
setIsVerified(boolean IsVerified)
Set Verified. |
void |
setIsWebStoreFeatured(boolean IsWebStoreFeatured)
Set Featured in Web Store. |
void |
setLicenseInfo(String LicenseInfo)
Set License Info. |
void |
setM_AttributeSet_ID(int M_AttributeSet_ID)
Set Attribute Set. |
void |
setM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)
Set Attribute Set Instance. |
void |
setM_FreightCategory_ID(int M_FreightCategory_ID)
Set Freight Category. |
void |
setM_Locator_ID(int M_Locator_ID)
Set Locator. |
void |
setM_Product_Category_ID(int M_Product_Category_ID)
Set Product Category. |
void |
setM_Product_ID(int M_Product_ID)
Set Product. |
void |
setName(String Name)
Set Name. |
void |
setProcessing(boolean Processing)
Set Process Now. |
void |
setProductType(String ProductType)
Set Product Type. |
void |
setR_MailText_ID(int R_MailText_ID)
Set Mail Template. |
void |
setR_Source_ID(int R_Source_ID)
Set Source. |
void |
setS_ExpenseType_ID(int S_ExpenseType_ID)
Set Expense Type. |
void |
setS_Resource_ID(int S_Resource_ID)
Set Resource. |
void |
setSalesRep_ID(int SalesRep_ID)
Set Representative. |
void |
setShelfDepth(int ShelfDepth)
Set Shelf Depth. |
void |
setShelfHeight(int ShelfHeight)
Set Shelf Height. |
void |
setShelfWidth(int ShelfWidth)
Set Shelf Width. |
void |
setSKU(String SKU)
Set SKU. |
void |
setSupportUnits(int SupportUnits)
Set Support Units. |
void |
setTrialPhaseDays(int TrialPhaseDays)
Set Trial Phase Days. |
void |
setUnitsPerPallet(int UnitsPerPallet)
Set Units per Pallet. |
void |
setUPC(String UPC)
Set UPC/EAN. |
void |
setValue(String Value)
Set Search Key. |
void |
setVersionNo(String VersionNo)
Set Version No. |
void |
setVolume(BigDecimal Volume)
Set Volume. |
void |
setWeight(BigDecimal Weight)
Set Weight. |
String |
toString()
Info |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long updatedMS
public static final int Table_ID
public static final String Table_Name
protected static KeyNamePair Model
protected BigDecimal accessLevel
public static final int M_PRODUCT_CATEGORY_ID_AD_Reference_ID
public static final int PRODUCTTYPE_AD_Reference_ID
public static final String PRODUCTTYPE_ExpenseType
public static final String PRODUCTTYPE_Item
public static final String PRODUCTTYPE_Online
public static final String PRODUCTTYPE_Resource
public static final String PRODUCTTYPE_Service
public static final int SALESREP_ID_AD_Reference_ID
| Constructor Detail |
|---|
public X_M_Product(Ctx ctx,
int M_Product_ID,
String trxName)
ctx - contextM_Product_ID - idtrxName - transaction
public X_M_Product(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction| Method Detail |
|---|
protected int get_AccessLevel()
get_AccessLevel in class POprotected POInfo initPO(Ctx ctx)
initPO in class POctx - context
public String toString()
toString in class POpublic void setC_SubscriptionType_ID(int C_SubscriptionType_ID)
C_SubscriptionType_ID - Type of subscriptionpublic int getC_SubscriptionType_ID()
public void setC_TaxCategory_ID(int C_TaxCategory_ID)
C_TaxCategory_ID - Tax Categorypublic int getC_TaxCategory_ID()
public void setC_UOM_ID(int C_UOM_ID)
C_UOM_ID - Unit of Measurepublic int getC_UOM_ID()
public void setClassification(String Classification)
Classification - Classification for groupingpublic String getClassification()
public void setDescription(String Description)
Description - Optional short description of the recordpublic String getDescription()
public void setDescriptionURL(String DescriptionURL)
DescriptionURL - URL for the descriptionpublic String getDescriptionURL()
public void setDiscontinued(boolean Discontinued)
Discontinued - This product is no longer availablepublic boolean isDiscontinued()
public void setDiscontinuedBy(Timestamp DiscontinuedBy)
DiscontinuedBy - Discontinued Bypublic Timestamp getDiscontinuedBy()
public void setDocumentNote(String DocumentNote)
DocumentNote - Additional information for a Documentpublic String getDocumentNote()
public void setGuaranteeDays(int GuaranteeDays)
GuaranteeDays - Number of days the product is guaranteed or availablepublic int getGuaranteeDays()
public void setGuaranteeDaysMin(int GuaranteeDaysMin)
GuaranteeDaysMin - Minimum number of guarantee dayspublic int getGuaranteeDaysMin()
public void setHelp(String Help)
Help - Comment, Help or Hintpublic String getHelp()
public void setImageURL(String ImageURL)
ImageURL - URL of imagepublic String getImageURL()
public void setIsBOM(boolean IsBOM)
IsBOM - Bill of Materialspublic boolean isBOM()
public void setIsDropShip(boolean IsDropShip)
IsDropShip - Drop Shipments are sent from the Vendor directly to the Customerpublic boolean isDropShip()
public void setIsExcludeAutoDelivery(boolean IsExcludeAutoDelivery)
IsExcludeAutoDelivery - Exclude from automatic Deliverypublic boolean isExcludeAutoDelivery()
public void setIsInvoicePrintDetails(boolean IsInvoicePrintDetails)
IsInvoicePrintDetails - Print detail BOM elements on the invoicepublic boolean isInvoicePrintDetails()
public void setIsPickListPrintDetails(boolean IsPickListPrintDetails)
IsPickListPrintDetails - Print detail BOM elements on the pick listpublic boolean isPickListPrintDetails()
public void setIsPurchased(boolean IsPurchased)
IsPurchased - Organization purchases this productpublic boolean isPurchased()
public void setIsPurchasedToOrder(boolean IsPurchasedToOrder)
IsPurchasedToOrder - Products that are usually not kept in stock, but are purchased whenever there is a demandpublic boolean isPurchasedToOrder()
public void setIsSelfService(boolean IsSelfService)
IsSelfService - This is a Self-Service entry or this entry can be changed via Self-Servicepublic boolean isSelfService()
public void setIsSold(boolean IsSold)
IsSold - Organization sells this productpublic boolean isSold()
public void setIsStocked(boolean IsStocked)
IsStocked - Organization stocks this productpublic boolean isStocked()
public void setIsSummary(boolean IsSummary)
IsSummary - This is a summary entitypublic boolean isSummary()
public void setIsVerified(boolean IsVerified)
IsVerified - The BOM configuration has been verifiedpublic boolean isVerified()
public void setIsWebStoreFeatured(boolean IsWebStoreFeatured)
IsWebStoreFeatured - If selected, the product is displayed in the initial or any empty searchpublic boolean isWebStoreFeatured()
public void setLicenseInfo(String LicenseInfo)
LicenseInfo - License Informationpublic String getLicenseInfo()
public void setM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)
M_AttributeSetInstance_ID - Product Attribute Set Instancepublic int getM_AttributeSetInstance_ID()
public void setM_AttributeSet_ID(int M_AttributeSet_ID)
M_AttributeSet_ID - Product Attribute Setpublic int getM_AttributeSet_ID()
public void setM_FreightCategory_ID(int M_FreightCategory_ID)
M_FreightCategory_ID - Category of the Freightpublic int getM_FreightCategory_ID()
public void setM_Locator_ID(int M_Locator_ID)
M_Locator_ID - Warehouse Locatorpublic int getM_Locator_ID()
public void setM_Product_Category_ID(int M_Product_Category_ID)
M_Product_Category_ID - Category of a Productpublic int getM_Product_Category_ID()
public void setM_Product_ID(int M_Product_ID)
M_Product_ID - Product, Service, Itempublic int getM_Product_ID()
public void setName(String Name)
Name - Alphanumeric identifier of the entitypublic String getName()
public KeyNamePair getKeyNamePair()
public void setProcessing(boolean Processing)
Processing - Process Nowpublic boolean isProcessing()
public boolean isProductTypeValid(String test)
test - testvalue
public void setProductType(String ProductType)
ProductType - Type of productpublic String getProductType()
public void setR_MailText_ID(int R_MailText_ID)
R_MailText_ID - Text templates for mailingspublic int getR_MailText_ID()
public void setR_Source_ID(int R_Source_ID)
R_Source_ID - Source for the Lead or Requestpublic int getR_Source_ID()
public void setSKU(String SKU)
SKU - Stock Keeping Unitpublic String getSKU()
public void setS_ExpenseType_ID(int S_ExpenseType_ID)
S_ExpenseType_ID - Expense report typepublic int getS_ExpenseType_ID()
public void setS_Resource_ID(int S_Resource_ID)
S_Resource_ID - Resourcepublic int getS_Resource_ID()
public void setSalesRep_ID(int SalesRep_ID)
SalesRep_ID - Company Agent like Sales Representative, Purchase Agent, and Customer Service Representative...public int getSalesRep_ID()
public void setShelfDepth(int ShelfDepth)
ShelfDepth - Shelf depth requiredpublic int getShelfDepth()
public void setShelfHeight(int ShelfHeight)
ShelfHeight - Shelf height requiredpublic int getShelfHeight()
public void setShelfWidth(int ShelfWidth)
ShelfWidth - Shelf width requiredpublic int getShelfWidth()
public void setSupportUnits(int SupportUnits)
SupportUnits - Number of Support Units, e.g. Supported Internal Userspublic int getSupportUnits()
public void setTrialPhaseDays(int TrialPhaseDays)
TrialPhaseDays - Days for a Trailpublic int getTrialPhaseDays()
public void setUPC(String UPC)
UPC - Bar Code (Universal Product Code or its superset European Article Number)public String getUPC()
public void setUnitsPerPallet(int UnitsPerPallet)
UnitsPerPallet - Units per Palletpublic int getUnitsPerPallet()
public void setValue(String Value)
Value - Search key for the record in the format required - must be uniquepublic String getValue()
public void setVersionNo(String VersionNo)
VersionNo - Version Numberpublic String getVersionNo()
public void setVolume(BigDecimal Volume)
Volume - Volume of a productpublic BigDecimal getVolume()
public void setWeight(BigDecimal Weight)
Weight - Weight of a productpublic BigDecimal getWeight()
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||