|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.sqlj.Product
public class Product
SQLJ Product related Functions
| Constructor Summary | |
|---|---|
Product()
|
|
| Method Summary | |
|---|---|
static String |
attributeName(int p_M_AttributeSetInstance_ID)
Get Product Attribute Instance Name. |
static BigDecimal |
bomPriceLimit(int p_M_Product_ID,
int p_M_PriceList_Version_ID)
Get BOM Price Limit Previously: BOM_PriceLimit - Now: bomPriceLimit |
static BigDecimal |
bomPriceList(int p_M_Product_ID,
int p_M_PriceList_Version_ID)
Get BOM Price List Previously: BOM_PriceList - Now: bomPriceList |
static BigDecimal |
bomPriceStd(int p_M_Product_ID,
int p_M_PriceList_Version_ID)
Get BOM Price Std Previously: BOM_PriceStd - Now: bomPriceStd |
static BigDecimal |
bomQtyAvailable(int p_M_Product_ID,
int p_M_Warehouse_ID,
int p_M_Locator_ID)
Get BOM Quantity Available Previously: BOM_Qty_Available - Now: bomQtyAvailable |
static BigDecimal |
bomQtyAvailableASI(int p_M_Product_ID,
int p_M_AttributeSetInstance_ID,
int p_M_Warehouse_ID,
int p_M_Locator_ID)
Test |
static BigDecimal |
bomQtyOnHand(int p_M_Product_ID,
int p_M_Warehouse_ID,
int p_M_Locator_ID)
Get BOM Quantity OnHand Previously: BOM_Qty_OnHand - Now: bomQtyOnHand |
static BigDecimal |
bomQtyOnHandASI(int p_M_Product_ID,
int p_M_AttributeSetInstance_ID,
int p_M_Warehouse_ID,
int p_M_Locator_ID)
|
static BigDecimal |
bomQtyOrdered(int p_M_Product_ID,
int p_M_Warehouse_ID,
int p_M_Locator_ID)
Get BOM Quantity Ordered Previously: BOM_Qty_Ordered - Now: bomQtyOrdered |
static BigDecimal |
bomQtyOrderedASI(int p_M_Product_ID,
int p_M_AttributeSetInstance_ID,
int p_M_Warehouse_ID,
int p_M_Locator_ID)
|
static BigDecimal |
bomQtyReserved(int p_M_Product_ID,
int p_M_Warehouse_ID,
int p_M_Locator_ID)
Get BOM Quantity Reserved Previously: BOM_Qty_Reserved - Now: bomQtyReserved |
static BigDecimal |
bomQtyReservedASI(int p_M_Product_ID,
int p_M_AttributeSetInstance_ID,
int p_M_Warehouse_ID,
int p_M_Locator_ID)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Product()
| Method Detail |
|---|
public static String attributeName(int p_M_AttributeSetInstance_ID)
throws SQLException
p_M_AttributeSetInstance_ID - instance
SQLException
public static BigDecimal bomPriceLimit(int p_M_Product_ID,
int p_M_PriceList_Version_ID)
throws SQLException
p_M_Product_ID - p_M_PriceList_Version_ID -
SQLException
public static BigDecimal bomPriceList(int p_M_Product_ID,
int p_M_PriceList_Version_ID)
throws SQLException
p_M_Product_ID - p_M_PriceList_Version_ID -
SQLException
public static BigDecimal bomPriceStd(int p_M_Product_ID,
int p_M_PriceList_Version_ID)
throws SQLException
p_M_Product_ID - p_M_PriceList_Version_ID -
SQLException
public static BigDecimal bomQtyAvailable(int p_M_Product_ID,
int p_M_Warehouse_ID,
int p_M_Locator_ID)
throws SQLException
p_M_Product_ID - productp_M_Warehouse_ID - warehousep_M_Locator_ID - locator
SQLException
public static BigDecimal bomQtyOnHand(int p_M_Product_ID,
int p_M_Warehouse_ID,
int p_M_Locator_ID)
throws SQLException
p_M_Product_ID - productp_M_Warehouse_ID - warehousep_M_Locator_ID - locator
SQLException
public static BigDecimal bomQtyOrdered(int p_M_Product_ID,
int p_M_Warehouse_ID,
int p_M_Locator_ID)
throws SQLException
p_M_Product_ID - productp_M_Warehouse_ID - warehousep_M_Locator_ID - locator
SQLException
public static BigDecimal bomQtyReserved(int p_M_Product_ID,
int p_M_Warehouse_ID,
int p_M_Locator_ID)
throws SQLException
p_M_Product_ID - productp_M_Warehouse_ID - warehousep_M_Locator_ID - locator
SQLException
public static BigDecimal bomQtyAvailableASI(int p_M_Product_ID,
int p_M_AttributeSetInstance_ID,
int p_M_Warehouse_ID,
int p_M_Locator_ID)
throws SQLException
args - public static void main (String[] args)
{
try
{
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Adempiere.s_type = Adempiere.TYPE_ORACLE;
Adempiere.s_url = "jdbc:oracle:thin:@//dev1:1521/dev1.adempiere.org";
Adempiere.s_uid = "adempiere";
Adempiere.s_pwd = "adempiere";
// System.out.println(Product.bomQtyOnHand(p_M_Product_ID, 0, p_M_Locator_ID));
}
catch (SQLException e)
{
e.printStackTrace();
}
} // main /*
SQLException
public static BigDecimal bomQtyOnHandASI(int p_M_Product_ID,
int p_M_AttributeSetInstance_ID,
int p_M_Warehouse_ID,
int p_M_Locator_ID)
throws SQLException
SQLException
public static BigDecimal bomQtyOrderedASI(int p_M_Product_ID,
int p_M_AttributeSetInstance_ID,
int p_M_Warehouse_ID,
int p_M_Locator_ID)
throws SQLException
SQLException
public static BigDecimal bomQtyReservedASI(int p_M_Product_ID,
int p_M_AttributeSetInstance_ID,
int p_M_Warehouse_ID,
int p_M_Locator_ID)
throws SQLException
SQLException
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||