PPO Window
This commit is contained in:
parent
5530f346f1
commit
567c7e0438
|
|
@ -14,6 +14,7 @@ import andromedia.midsuit.model.MID_MBillingList;
|
|||
import andromedia.midsuit.model.MID_MBillingListLine;
|
||||
import andromedia.midsuit.model.MID_MRequisitionTrx;
|
||||
import andromedia.midsuit.model.MID_MRequisitionTrxLine;
|
||||
import andromedia.midsuit.model.MID_PPO;
|
||||
import andromedia.midsuit.model.X_zpos_Cashier;
|
||||
|
||||
public class MID_ModelFactory implements IModelFactory{
|
||||
|
|
@ -26,6 +27,7 @@ public class MID_ModelFactory implements IModelFactory{
|
|||
mapTableModels.put(MID_Aging.Table_Name, "andromedia.midsuit.model.MID_Aging");
|
||||
mapTableModels.put(MID_MBillingList.Table_Name, "andromedia.midsuit.model.MID_MBillingList");
|
||||
mapTableModels.put(MID_MBillingListLine.Table_Name, "andromedia.midsuit.model.MID_MBillingListLine");
|
||||
mapTableModels.put(MID_PPO.Table_Name, "andromedia.midsuit.model.MID_PPO");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair;
|
|||
|
||||
/** Generated Interface for ps_ppo
|
||||
* @author iDempiere (generated)
|
||||
* @version Release 4.1
|
||||
* @version Release 5.1
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
public interface I_ps_ppo
|
||||
|
|
@ -32,8 +32,8 @@ public interface I_ps_ppo
|
|||
/** TableName=ps_ppo */
|
||||
public static final String Table_Name = "ps_ppo";
|
||||
|
||||
/** AD_Table_ID=1000003 */
|
||||
public static final int Table_ID = MTable.getTable_ID(Table_Name);
|
||||
/** AD_Table_ID=30013 */
|
||||
public static final int Table_ID = 30013;
|
||||
|
||||
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
|
||||
|
||||
|
|
@ -94,21 +94,6 @@ public interface I_ps_ppo
|
|||
|
||||
public org.compiere.model.I_C_DocType getC_DocTypeTarget() throws RuntimeException;
|
||||
|
||||
/** Column name C_UOM_ID */
|
||||
public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID";
|
||||
|
||||
/** Set UOM.
|
||||
* Unit of Measure
|
||||
*/
|
||||
public void setC_UOM_ID (int C_UOM_ID);
|
||||
|
||||
/** Get UOM.
|
||||
* Unit of Measure
|
||||
*/
|
||||
public int getC_UOM_ID();
|
||||
|
||||
public org.compiere.model.I_C_UOM getC_UOM() throws RuntimeException;
|
||||
|
||||
/** Column name Created */
|
||||
public static final String COLUMNNAME_Created = "Created";
|
||||
|
||||
|
|
@ -125,6 +110,21 @@ public interface I_ps_ppo
|
|||
*/
|
||||
public int getCreatedBy();
|
||||
|
||||
/** Column name C_UOM_ID */
|
||||
public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID";
|
||||
|
||||
/** Set UOM.
|
||||
* Unit of Measure
|
||||
*/
|
||||
public void setC_UOM_ID (int C_UOM_ID);
|
||||
|
||||
/** Get UOM.
|
||||
* Unit of Measure
|
||||
*/
|
||||
public int getC_UOM_ID();
|
||||
|
||||
public org.compiere.model.I_C_UOM getC_UOM() throws RuntimeException;
|
||||
|
||||
/** Column name DateAcct */
|
||||
public static final String COLUMNNAME_DateAcct = "DateAcct";
|
||||
|
||||
|
|
@ -322,6 +322,15 @@ public interface I_ps_ppo
|
|||
*/
|
||||
public boolean isPosted();
|
||||
|
||||
/** Column name ppo_priority */
|
||||
public static final String COLUMNNAME_ppo_priority = "ppo_priority";
|
||||
|
||||
/** Set PPO Priority */
|
||||
public void setppo_priority (String ppo_priority);
|
||||
|
||||
/** Get PPO Priority */
|
||||
public String getppo_priority();
|
||||
|
||||
/** Column name PP_Product_BOM_ID */
|
||||
public static final String COLUMNNAME_PP_Product_BOM_ID = "PP_Product_BOM_ID";
|
||||
|
||||
|
|
@ -375,10 +384,10 @@ public interface I_ps_ppo
|
|||
/** Column name ps_ppo_ID */
|
||||
public static final String COLUMNNAME_ps_ppo_ID = "ps_ppo_ID";
|
||||
|
||||
/** Set Petrosida PPO */
|
||||
/** Set Production Planning Order */
|
||||
public void setps_ppo_ID (int ps_ppo_ID);
|
||||
|
||||
/** Get Petrosida PPO */
|
||||
/** Get Production Planning Order */
|
||||
public int getps_ppo_ID();
|
||||
|
||||
/** Column name ps_ppo_UU */
|
||||
|
|
@ -390,6 +399,19 @@ public interface I_ps_ppo
|
|||
/** Get ps_ppo_UU */
|
||||
public String getps_ppo_UU();
|
||||
|
||||
/** Column name QtyBook */
|
||||
public static final String COLUMNNAME_QtyBook = "QtyBook";
|
||||
|
||||
/** Set Quantity book.
|
||||
* Book Quantity
|
||||
*/
|
||||
public void setQtyBook (BigDecimal QtyBook);
|
||||
|
||||
/** Get Quantity book.
|
||||
* Book Quantity
|
||||
*/
|
||||
public BigDecimal getQtyBook();
|
||||
|
||||
/** Column name QtyOrdered */
|
||||
public static final String COLUMNNAME_QtyOrdered = "QtyOrdered";
|
||||
|
||||
|
|
|
|||
|
|
@ -26,14 +26,14 @@ import org.compiere.util.Env;
|
|||
|
||||
/** Generated Model for ps_ppo
|
||||
* @author iDempiere (generated)
|
||||
* @version Release 4.1 - $Id$ */
|
||||
* @version Release 5.1 - $Id$ */
|
||||
public class X_ps_ppo extends PO implements I_ps_ppo, I_Persistent
|
||||
{
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 20170505L;
|
||||
private static final long serialVersionUID = 20180816L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_ps_ppo (Properties ctx, int ps_ppo_ID, String trxName)
|
||||
|
|
@ -42,7 +42,6 @@ public class X_ps_ppo extends PO implements I_ps_ppo, I_Persistent
|
|||
/** if (ps_ppo_ID == 0)
|
||||
{
|
||||
setC_DocTypeTarget_ID (0);
|
||||
// 50002
|
||||
setC_UOM_ID (0);
|
||||
setDateAcct (new Timestamp( System.currentTimeMillis() ));
|
||||
// @Date@
|
||||
|
|
@ -56,7 +55,6 @@ public class X_ps_ppo extends PO implements I_ps_ppo, I_Persistent
|
|||
setLine (0);
|
||||
setM_Product_ID (0);
|
||||
setM_Warehouse_ID (0);
|
||||
setPP_Product_BOM_ID (0);
|
||||
setProcessed (false);
|
||||
setps_ppo_ID (0);
|
||||
setQtyOrdered (Env.ZERO);
|
||||
|
|
@ -131,9 +129,9 @@ public class X_ps_ppo extends PO implements I_ps_ppo, I_Persistent
|
|||
public void setC_DocTypeTarget_ID (int C_DocTypeTarget_ID)
|
||||
{
|
||||
if (C_DocTypeTarget_ID < 1)
|
||||
set_ValueNoCheck (COLUMNNAME_C_DocTypeTarget_ID, null);
|
||||
set_Value (COLUMNNAME_C_DocTypeTarget_ID, null);
|
||||
else
|
||||
set_ValueNoCheck (COLUMNNAME_C_DocTypeTarget_ID, Integer.valueOf(C_DocTypeTarget_ID));
|
||||
set_Value (COLUMNNAME_C_DocTypeTarget_ID, Integer.valueOf(C_DocTypeTarget_ID));
|
||||
}
|
||||
|
||||
/** Get Target Document Type.
|
||||
|
|
@ -198,7 +196,7 @@ public class X_ps_ppo extends PO implements I_ps_ppo, I_Persistent
|
|||
*/
|
||||
public void setDateFinish (Timestamp DateFinish)
|
||||
{
|
||||
set_ValueNoCheck (COLUMNNAME_DateFinish, DateFinish);
|
||||
set_Value (COLUMNNAME_DateFinish, DateFinish);
|
||||
}
|
||||
|
||||
/** Get Finish Date.
|
||||
|
|
@ -215,7 +213,7 @@ public class X_ps_ppo extends PO implements I_ps_ppo, I_Persistent
|
|||
*/
|
||||
public void setDateOrdered (Timestamp DateOrdered)
|
||||
{
|
||||
set_ValueNoCheck (COLUMNNAME_DateOrdered, DateOrdered);
|
||||
set_Value (COLUMNNAME_DateOrdered, DateOrdered);
|
||||
}
|
||||
|
||||
/** Get Date Ordered.
|
||||
|
|
@ -341,7 +339,7 @@ public class X_ps_ppo extends PO implements I_ps_ppo, I_Persistent
|
|||
*/
|
||||
public void setDocumentNo (String DocumentNo)
|
||||
{
|
||||
set_ValueNoCheck (COLUMNNAME_DocumentNo, DocumentNo);
|
||||
set_Value (COLUMNNAME_DocumentNo, DocumentNo);
|
||||
}
|
||||
|
||||
/** Get Document No.
|
||||
|
|
@ -460,9 +458,9 @@ public class X_ps_ppo extends PO implements I_ps_ppo, I_Persistent
|
|||
public void setM_Warehouse_ID (int M_Warehouse_ID)
|
||||
{
|
||||
if (M_Warehouse_ID < 1)
|
||||
set_ValueNoCheck (COLUMNNAME_M_Warehouse_ID, null);
|
||||
set_Value (COLUMNNAME_M_Warehouse_ID, null);
|
||||
else
|
||||
set_ValueNoCheck (COLUMNNAME_M_Warehouse_ID, Integer.valueOf(M_Warehouse_ID));
|
||||
set_Value (COLUMNNAME_M_Warehouse_ID, Integer.valueOf(M_Warehouse_ID));
|
||||
}
|
||||
|
||||
/** Get Warehouse.
|
||||
|
|
@ -525,6 +523,33 @@ public class X_ps_ppo extends PO implements I_ps_ppo, I_Persistent
|
|||
return false;
|
||||
}
|
||||
|
||||
/** ppo_priority AD_Reference_ID=154 */
|
||||
public static final int PPO_PRIORITY_AD_Reference_ID=154;
|
||||
/** High = 3 */
|
||||
public static final String PPO_PRIORITY_High = "3";
|
||||
/** Medium = 5 */
|
||||
public static final String PPO_PRIORITY_Medium = "5";
|
||||
/** Low = 7 */
|
||||
public static final String PPO_PRIORITY_Low = "7";
|
||||
/** Urgent = 1 */
|
||||
public static final String PPO_PRIORITY_Urgent = "1";
|
||||
/** Minor = 9 */
|
||||
public static final String PPO_PRIORITY_Minor = "9";
|
||||
/** Set PPO Priority.
|
||||
@param ppo_priority PPO Priority */
|
||||
public void setppo_priority (String ppo_priority)
|
||||
{
|
||||
|
||||
set_Value (COLUMNNAME_ppo_priority, ppo_priority);
|
||||
}
|
||||
|
||||
/** Get PPO Priority.
|
||||
@return PPO Priority */
|
||||
public String getppo_priority ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_ppo_priority);
|
||||
}
|
||||
|
||||
public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws RuntimeException
|
||||
{
|
||||
return (org.eevolution.model.I_PP_Product_BOM)MTable.get(getCtx(), org.eevolution.model.I_PP_Product_BOM.Table_Name)
|
||||
|
|
@ -618,8 +643,8 @@ public class X_ps_ppo extends PO implements I_ps_ppo, I_Persistent
|
|||
return false;
|
||||
}
|
||||
|
||||
/** Set Petrosida PPO.
|
||||
@param ps_ppo_ID Petrosida PPO */
|
||||
/** Set Production Planning Order.
|
||||
@param ps_ppo_ID Production Planning Order */
|
||||
public void setps_ppo_ID (int ps_ppo_ID)
|
||||
{
|
||||
if (ps_ppo_ID < 1)
|
||||
|
|
@ -628,8 +653,8 @@ public class X_ps_ppo extends PO implements I_ps_ppo, I_Persistent
|
|||
set_ValueNoCheck (COLUMNNAME_ps_ppo_ID, Integer.valueOf(ps_ppo_ID));
|
||||
}
|
||||
|
||||
/** Get Petrosida PPO.
|
||||
@return Petrosida PPO */
|
||||
/** Get Production Planning Order.
|
||||
@return Production Planning Order */
|
||||
public int getps_ppo_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_ps_ppo_ID);
|
||||
|
|
@ -652,6 +677,26 @@ public class X_ps_ppo extends PO implements I_ps_ppo, I_Persistent
|
|||
return (String)get_Value(COLUMNNAME_ps_ppo_UU);
|
||||
}
|
||||
|
||||
/** Set Quantity book.
|
||||
@param QtyBook
|
||||
Book Quantity
|
||||
*/
|
||||
public void setQtyBook (BigDecimal QtyBook)
|
||||
{
|
||||
set_ValueNoCheck (COLUMNNAME_QtyBook, QtyBook);
|
||||
}
|
||||
|
||||
/** Get Quantity book.
|
||||
@return Book Quantity
|
||||
*/
|
||||
public BigDecimal getQtyBook ()
|
||||
{
|
||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyBook);
|
||||
if (bd == null)
|
||||
return Env.ZERO;
|
||||
return bd;
|
||||
}
|
||||
|
||||
/** Set Ordered Quantity.
|
||||
@param QtyOrdered
|
||||
Ordered Quantity
|
||||
|
|
|
|||
Loading…
Reference in New Issue