[ 2037027 ] Invalid order Policy

http://sourceforge.net/tracker/?func=detail&atid=879332&aid=2037027&group_id=176962
This commit is contained in:
vpj-cd 2008-08-04 22:50:26 +00:00
parent ff4f19df1d
commit 979d9c553f
12 changed files with 628 additions and 628 deletions

View File

@ -180,19 +180,6 @@ public interface I_M_Movement
public I_C_DocType getC_DocType() throws Exception;
/** Column name ChargeAmt */
public static final String COLUMNNAME_ChargeAmt = "ChargeAmt";
/** Set Charge amount.
* Charge Amount
*/
public void setChargeAmt (BigDecimal ChargeAmt);
/** Get Charge amount.
* Charge Amount
*/
public BigDecimal getChargeAmt();
/** Column name C_Project_ID */
public static final String COLUMNNAME_C_Project_ID = "C_Project_ID";
@ -208,6 +195,19 @@ public interface I_M_Movement
public I_C_Project getC_Project() throws Exception;
/** Column name ChargeAmt */
public static final String COLUMNNAME_ChargeAmt = "ChargeAmt";
/** Set Charge amount.
* Charge Amount
*/
public void setChargeAmt (BigDecimal ChargeAmt);
/** Get Charge amount.
* Charge Amount
*/
public BigDecimal getChargeAmt();
/** Column name CreateFrom */
public static final String COLUMNNAME_CreateFrom = "CreateFrom";
@ -221,6 +221,17 @@ public interface I_M_Movement
*/
public String getCreateFrom();
/** Column name DD_Order_ID */
public static final String COLUMNNAME_DD_Order_ID = "DD_Order_ID";
/** Set Distribution Order */
public void setDD_Order_ID (int DD_Order_ID);
/** Get Distribution Order */
public int getDD_Order_ID();
public org.eevolution.model.I_DD_Order getDD_Order() throws Exception;
/** Column name DateReceived */
public static final String COLUMNNAME_DateReceived = "DateReceived";
@ -234,17 +245,6 @@ public interface I_M_Movement
*/
public Timestamp getDateReceived();
/** Column name DD_Order_ID */
public static final String COLUMNNAME_DD_Order_ID = "DD_Order_ID";
/** Set Distribution Order */
public void setDD_Order_ID (int DD_Order_ID);
/** Get Distribution Order */
public int getDD_Order_ID();
public org.eevolution.model.I_DD_Order getDD_Order() throws Exception;
/** Column name DeliveryRule */
public static final String COLUMNNAME_DeliveryRule = "DeliveryRule";
@ -388,19 +388,6 @@ public interface I_M_Movement
*/
public int getM_Movement_ID();
/** Column name MovementDate */
public static final String COLUMNNAME_MovementDate = "MovementDate";
/** Set Movement Date.
* Date a product was moved in or out of inventory
*/
public void setMovementDate (Timestamp MovementDate);
/** Get Movement Date.
* Date a product was moved in or out of inventory
*/
public Timestamp getMovementDate();
/** Column name M_Shipper_ID */
public static final String COLUMNNAME_M_Shipper_ID = "M_Shipper_ID";
@ -416,6 +403,19 @@ public interface I_M_Movement
public I_M_Shipper getM_Shipper() throws Exception;
/** Column name MovementDate */
public static final String COLUMNNAME_MovementDate = "MovementDate";
/** Set Movement Date.
* Date a product was moved in or out of inventory
*/
public void setMovementDate (Timestamp MovementDate);
/** Get Movement Date.
* Date a product was moved in or out of inventory
*/
public Timestamp getMovementDate();
/** Column name POReference */
public static final String COLUMNNAME_POReference = "POReference";

View File

@ -102,6 +102,19 @@ public interface I_M_MovementLine
*/
public int getLine();
/** Column name M_AttributeSetInstanceTo_ID */
public static final String COLUMNNAME_M_AttributeSetInstanceTo_ID = "M_AttributeSetInstanceTo_ID";
/** Set Attribute Set Instance To.
* Target Product Attribute Set Instance
*/
public void setM_AttributeSetInstanceTo_ID (int M_AttributeSetInstanceTo_ID);
/** Get Attribute Set Instance To.
* Target Product Attribute Set Instance
*/
public int getM_AttributeSetInstanceTo_ID();
/** Column name M_AttributeSetInstance_ID */
public static final String COLUMNNAME_M_AttributeSetInstance_ID = "M_AttributeSetInstance_ID";
@ -115,18 +128,18 @@ public interface I_M_MovementLine
*/
public int getM_AttributeSetInstance_ID();
/** Column name M_AttributeSetInstanceTo_ID */
public static final String COLUMNNAME_M_AttributeSetInstanceTo_ID = "M_AttributeSetInstanceTo_ID";
/** Column name M_LocatorTo_ID */
public static final String COLUMNNAME_M_LocatorTo_ID = "M_LocatorTo_ID";
/** Set Attribute Set Instance To.
* Target Product Attribute Set Instance
/** Set Locator To.
* Location inventory is moved to
*/
public void setM_AttributeSetInstanceTo_ID (int M_AttributeSetInstanceTo_ID);
public void setM_LocatorTo_ID (int M_LocatorTo_ID);
/** Get Attribute Set Instance To.
* Target Product Attribute Set Instance
/** Get Locator To.
* Location inventory is moved to
*/
public int getM_AttributeSetInstanceTo_ID();
public int getM_LocatorTo_ID();
/** Column name M_Locator_ID */
public static final String COLUMNNAME_M_Locator_ID = "M_Locator_ID";
@ -141,18 +154,18 @@ public interface I_M_MovementLine
*/
public int getM_Locator_ID();
/** Column name M_LocatorTo_ID */
public static final String COLUMNNAME_M_LocatorTo_ID = "M_LocatorTo_ID";
/** Column name M_MovementLine_ID */
public static final String COLUMNNAME_M_MovementLine_ID = "M_MovementLine_ID";
/** Set Locator To.
* Location inventory is moved to
/** Set Move Line.
* Inventory Move document Line
*/
public void setM_LocatorTo_ID (int M_LocatorTo_ID);
public void setM_MovementLine_ID (int M_MovementLine_ID);
/** Get Locator To.
* Location inventory is moved to
/** Get Move Line.
* Inventory Move document Line
*/
public int getM_LocatorTo_ID();
public int getM_MovementLine_ID();
/** Column name M_Movement_ID */
public static final String COLUMNNAME_M_Movement_ID = "M_Movement_ID";
@ -169,18 +182,18 @@ public interface I_M_MovementLine
public I_M_Movement getM_Movement() throws Exception;
/** Column name M_MovementLine_ID */
public static final String COLUMNNAME_M_MovementLine_ID = "M_MovementLine_ID";
/** Column name M_Product_ID */
public static final String COLUMNNAME_M_Product_ID = "M_Product_ID";
/** Set Move Line.
* Inventory Move document Line
/** Set Product.
* Product, Service, Item
*/
public void setM_MovementLine_ID (int M_MovementLine_ID);
public void setM_Product_ID (int M_Product_ID);
/** Get Move Line.
* Inventory Move document Line
/** Get Product.
* Product, Service, Item
*/
public int getM_MovementLine_ID();
public int getM_Product_ID();
/** Column name MovementQty */
public static final String COLUMNNAME_MovementQty = "MovementQty";
@ -195,19 +208,6 @@ public interface I_M_MovementLine
*/
public BigDecimal getMovementQty();
/** Column name M_Product_ID */
public static final String COLUMNNAME_M_Product_ID = "M_Product_ID";
/** Set Product.
* Product, Service, Item
*/
public void setM_Product_ID (int M_Product_ID);
/** Get Product.
* Product, Service, Item
*/
public int getM_Product_ID();
/** Column name Processed */
public static final String COLUMNNAME_Processed = "Processed";

View File

@ -374,26 +374,6 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent
return ii.intValue();
}
/** Set Charge amount.
@param ChargeAmt
Charge Amount
*/
public void setChargeAmt (BigDecimal ChargeAmt)
{
set_Value (COLUMNNAME_ChargeAmt, ChargeAmt);
}
/** Get Charge amount.
@return Charge Amount
*/
public BigDecimal getChargeAmt ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ChargeAmt);
if (bd == null)
return Env.ZERO;
return bd;
}
public I_C_Project getC_Project() throws Exception
{
Class<?> clazz = MTable.getClass(I_C_Project.Table_Name);
@ -433,6 +413,26 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent
return ii.intValue();
}
/** Set Charge amount.
@param ChargeAmt
Charge Amount
*/
public void setChargeAmt (BigDecimal ChargeAmt)
{
set_Value (COLUMNNAME_ChargeAmt, ChargeAmt);
}
/** Get Charge amount.
@return Charge Amount
*/
public BigDecimal getChargeAmt ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ChargeAmt);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Create lines from.
@param CreateFrom
Process which will generate a new document lines based on an existing document
@ -450,23 +450,6 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent
return (String)get_Value(COLUMNNAME_CreateFrom);
}
/** Set Date received.
@param DateReceived
Date a product was received
*/
public void setDateReceived (Timestamp DateReceived)
{
set_Value (COLUMNNAME_DateReceived, DateReceived);
}
/** Get Date received.
@return Date a product was received
*/
public Timestamp getDateReceived ()
{
return (Timestamp)get_Value(COLUMNNAME_DateReceived);
}
public org.eevolution.model.I_DD_Order getDD_Order() throws Exception
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_DD_Order.Table_Name);
@ -503,6 +486,23 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent
return ii.intValue();
}
/** Set Date received.
@param DateReceived
Date a product was received
*/
public void setDateReceived (Timestamp DateReceived)
{
set_Value (COLUMNNAME_DateReceived, DateReceived);
}
/** Get Date received.
@return Date a product was received
*/
public Timestamp getDateReceived ()
{
return (Timestamp)get_Value(COLUMNNAME_DateReceived);
}
/** DeliveryRule AD_Reference_ID=151 */
public static final int DELIVERYRULE_AD_Reference_ID=151;
/** After Receipt = R */
@ -815,25 +815,6 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent
return ii.intValue();
}
/** Set Movement Date.
@param MovementDate
Date a product was moved in or out of inventory
*/
public void setMovementDate (Timestamp MovementDate)
{
if (MovementDate == null)
throw new IllegalArgumentException ("MovementDate is mandatory.");
set_Value (COLUMNNAME_MovementDate, MovementDate);
}
/** Get Movement Date.
@return Date a product was moved in or out of inventory
*/
public Timestamp getMovementDate ()
{
return (Timestamp)get_Value(COLUMNNAME_MovementDate);
}
public I_M_Shipper getM_Shipper() throws Exception
{
Class<?> clazz = MTable.getClass(I_M_Shipper.Table_Name);
@ -873,6 +854,25 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent
return ii.intValue();
}
/** Set Movement Date.
@param MovementDate
Date a product was moved in or out of inventory
*/
public void setMovementDate (Timestamp MovementDate)
{
if (MovementDate == null)
throw new IllegalArgumentException ("MovementDate is mandatory.");
set_Value (COLUMNNAME_MovementDate, MovementDate);
}
/** Get Movement Date.
@return Date a product was moved in or out of inventory
*/
public Timestamp getMovementDate ()
{
return (Timestamp)get_Value(COLUMNNAME_MovementDate);
}
/** Set Order Reference.
@param POReference
Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner

View File

@ -44,15 +44,15 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persiste
{
setLine (0);
// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM M_MovementLine WHERE M_Movement_ID=@M_Movement_ID@
setM_Locator_ID (0);
// @M_Locator_ID@
setM_LocatorTo_ID (0);
// @M_LocatorTo_ID@
setM_Movement_ID (0);
setM_Locator_ID (0);
// @M_Locator_ID@
setM_MovementLine_ID (0);
setM_Movement_ID (0);
setM_Product_ID (0);
setMovementQty (Env.ZERO);
// 1
setM_Product_ID (0);
setProcessed (false);
setTargetQty (Env.ZERO);
// 0
@ -188,6 +188,29 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persiste
return new KeyNamePair(get_ID(), String.valueOf(getLine()));
}
/** Set Attribute Set Instance To.
@param M_AttributeSetInstanceTo_ID
Target Product Attribute Set Instance
*/
public void setM_AttributeSetInstanceTo_ID (int M_AttributeSetInstanceTo_ID)
{
if (M_AttributeSetInstanceTo_ID < 1)
set_ValueNoCheck (COLUMNNAME_M_AttributeSetInstanceTo_ID, null);
else
set_ValueNoCheck (COLUMNNAME_M_AttributeSetInstanceTo_ID, Integer.valueOf(M_AttributeSetInstanceTo_ID));
}
/** Get Attribute Set Instance To.
@return Target Product Attribute Set Instance
*/
public int getM_AttributeSetInstanceTo_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_AttributeSetInstanceTo_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Attribute Set Instance.
@param M_AttributeSetInstance_ID
Product Attribute Set Instance
@ -211,24 +234,25 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persiste
return ii.intValue();
}
/** Set Attribute Set Instance To.
@param M_AttributeSetInstanceTo_ID
Target Product Attribute Set Instance
/** M_LocatorTo_ID AD_Reference_ID=191 */
public static final int M_LOCATORTO_ID_AD_Reference_ID=191;
/** Set Locator To.
@param M_LocatorTo_ID
Location inventory is moved to
*/
public void setM_AttributeSetInstanceTo_ID (int M_AttributeSetInstanceTo_ID)
public void setM_LocatorTo_ID (int M_LocatorTo_ID)
{
if (M_AttributeSetInstanceTo_ID < 1)
set_ValueNoCheck (COLUMNNAME_M_AttributeSetInstanceTo_ID, null);
else
set_ValueNoCheck (COLUMNNAME_M_AttributeSetInstanceTo_ID, Integer.valueOf(M_AttributeSetInstanceTo_ID));
if (M_LocatorTo_ID < 1)
throw new IllegalArgumentException ("M_LocatorTo_ID is mandatory.");
set_Value (COLUMNNAME_M_LocatorTo_ID, Integer.valueOf(M_LocatorTo_ID));
}
/** Get Attribute Set Instance To.
@return Target Product Attribute Set Instance
/** Get Locator To.
@return Location inventory is moved to
*/
public int getM_AttributeSetInstanceTo_ID ()
public int getM_LocatorTo_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_AttributeSetInstanceTo_ID);
Integer ii = (Integer)get_Value(COLUMNNAME_M_LocatorTo_ID);
if (ii == null)
return 0;
return ii.intValue();
@ -256,25 +280,23 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persiste
return ii.intValue();
}
/** M_LocatorTo_ID AD_Reference_ID=191 */
public static final int M_LOCATORTO_ID_AD_Reference_ID=191;
/** Set Locator To.
@param M_LocatorTo_ID
Location inventory is moved to
/** Set Move Line.
@param M_MovementLine_ID
Inventory Move document Line
*/
public void setM_LocatorTo_ID (int M_LocatorTo_ID)
public void setM_MovementLine_ID (int M_MovementLine_ID)
{
if (M_LocatorTo_ID < 1)
throw new IllegalArgumentException ("M_LocatorTo_ID is mandatory.");
set_Value (COLUMNNAME_M_LocatorTo_ID, Integer.valueOf(M_LocatorTo_ID));
if (M_MovementLine_ID < 1)
throw new IllegalArgumentException ("M_MovementLine_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_M_MovementLine_ID, Integer.valueOf(M_MovementLine_ID));
}
/** Get Locator To.
@return Location inventory is moved to
/** Get Move Line.
@return Inventory Move document Line
*/
public int getM_LocatorTo_ID ()
public int getM_MovementLine_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_LocatorTo_ID);
Integer ii = (Integer)get_Value(COLUMNNAME_M_MovementLine_ID);
if (ii == null)
return 0;
return ii.intValue();
@ -318,23 +340,25 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persiste
return ii.intValue();
}
/** Set Move Line.
@param M_MovementLine_ID
Inventory Move document Line
/** M_Product_ID AD_Reference_ID=171 */
public static final int M_PRODUCT_ID_AD_Reference_ID=171;
/** Set Product.
@param M_Product_ID
Product, Service, Item
*/
public void setM_MovementLine_ID (int M_MovementLine_ID)
public void setM_Product_ID (int M_Product_ID)
{
if (M_MovementLine_ID < 1)
throw new IllegalArgumentException ("M_MovementLine_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_M_MovementLine_ID, Integer.valueOf(M_MovementLine_ID));
if (M_Product_ID < 1)
throw new IllegalArgumentException ("M_Product_ID is mandatory.");
set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID));
}
/** Get Move Line.
@return Inventory Move document Line
/** Get Product.
@return Product, Service, Item
*/
public int getM_MovementLine_ID ()
public int getM_Product_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_MovementLine_ID);
Integer ii = (Integer)get_Value(COLUMNNAME_M_Product_ID);
if (ii == null)
return 0;
return ii.intValue();
@ -362,30 +386,6 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persiste
return bd;
}
/** M_Product_ID AD_Reference_ID=171 */
public static final int M_PRODUCT_ID_AD_Reference_ID=171;
/** Set Product.
@param M_Product_ID
Product, Service, Item
*/
public void setM_Product_ID (int M_Product_ID)
{
if (M_Product_ID < 1)
throw new IllegalArgumentException ("M_Product_ID is mandatory.");
set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID));
}
/** Get Product.
@return Product, Service, Item
*/
public int getM_Product_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_Product_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Processed.
@param Processed
The document has been processed

View File

@ -170,19 +170,6 @@ public interface I_DD_Order
public I_C_DocType getC_DocType() throws Exception;
/** Column name ChargeAmt */
public static final String COLUMNNAME_ChargeAmt = "ChargeAmt";
/** Set Charge amount.
* Charge Amount
*/
public void setChargeAmt (BigDecimal ChargeAmt);
/** Get Charge amount.
* Charge Amount
*/
public BigDecimal getChargeAmt();
/** Column name C_Invoice_ID */
public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID";
@ -228,6 +215,19 @@ public interface I_DD_Order
public I_C_Project getC_Project() throws Exception;
/** Column name ChargeAmt */
public static final String COLUMNNAME_ChargeAmt = "ChargeAmt";
/** Set Charge amount.
* Charge Amount
*/
public void setChargeAmt (BigDecimal ChargeAmt);
/** Get Charge amount.
* Charge Amount
*/
public BigDecimal getChargeAmt();
/** Column name CreateConfirm */
public static final String COLUMNNAME_CreateConfirm = "CreateConfirm";
@ -259,6 +259,15 @@ public interface I_DD_Order
/** Get Create Package */
public String getCreatePackage();
/** Column name DD_Order_ID */
public static final String COLUMNNAME_DD_Order_ID = "DD_Order_ID";
/** Set Distribution Order */
public void setDD_Order_ID (int DD_Order_ID);
/** Get Distribution Order */
public int getDD_Order_ID();
/** Column name DateOrdered */
public static final String COLUMNNAME_DateOrdered = "DateOrdered";
@ -311,15 +320,6 @@ public interface I_DD_Order
*/
public Timestamp getDateReceived();
/** Column name DD_Order_ID */
public static final String COLUMNNAME_DD_Order_ID = "DD_Order_ID";
/** Set Distribution Order */
public void setDD_Order_ID (int DD_Order_ID);
/** Get Distribution Order */
public int getDD_Order_ID();
/** Column name DeliveryRule */
public static final String COLUMNNAME_DeliveryRule = "DeliveryRule";
@ -511,15 +511,6 @@ public interface I_DD_Order
*/
public boolean isPrinted();
/** Column name IsSelected */
public static final String COLUMNNAME_IsSelected = "IsSelected";
/** Set Selected */
public void setIsSelected (boolean IsSelected);
/** Get Selected */
public boolean isSelected();
/** Column name IsSOTrx */
public static final String COLUMNNAME_IsSOTrx = "IsSOTrx";
@ -533,6 +524,15 @@ public interface I_DD_Order
*/
public boolean isSOTrx();
/** Column name IsSelected */
public static final String COLUMNNAME_IsSelected = "IsSelected";
/** Set Selected */
public void setIsSelected (boolean IsSelected);
/** Get Selected */
public boolean isSelected();
/** Column name M_Shipper_ID */
public static final String COLUMNNAME_M_Shipper_ID = "M_Shipper_ID";
@ -576,19 +576,6 @@ public interface I_DD_Order
*/
public int getNoPackages();
/** Column name PickDate */
public static final String COLUMNNAME_PickDate = "PickDate";
/** Set Pick Date.
* Date/Time when picked for Shipment
*/
public void setPickDate (Timestamp PickDate);
/** Get Pick Date.
* Date/Time when picked for Shipment
*/
public Timestamp getPickDate();
/** Column name POReference */
public static final String COLUMNNAME_POReference = "POReference";
@ -602,6 +589,19 @@ public interface I_DD_Order
*/
public String getPOReference();
/** Column name PickDate */
public static final String COLUMNNAME_PickDate = "PickDate";
/** Set Pick Date.
* Date/Time when picked for Shipment
*/
public void setPickDate (Timestamp PickDate);
/** Get Pick Date.
* Date/Time when picked for Shipment
*/
public Timestamp getPickDate();
/** Column name Posted */
public static final String COLUMNNAME_Posted = "Posted";

View File

@ -112,19 +112,6 @@ public interface I_DD_OrderLine
public I_C_Charge getC_Charge() throws Exception;
/** Column name ConfirmedQty */
public static final String COLUMNNAME_ConfirmedQty = "ConfirmedQty";
/** Set Confirmed Quantity.
* Confirmation of a received quantity
*/
public void setConfirmedQty (BigDecimal ConfirmedQty);
/** Get Confirmed Quantity.
* Confirmation of a received quantity
*/
public BigDecimal getConfirmedQty();
/** Column name C_Project_ID */
public static final String COLUMNNAME_C_Project_ID = "C_Project_ID";
@ -155,6 +142,39 @@ public interface I_DD_OrderLine
public I_C_UOM getC_UOM() throws Exception;
/** Column name ConfirmedQty */
public static final String COLUMNNAME_ConfirmedQty = "ConfirmedQty";
/** Set Confirmed Quantity.
* Confirmation of a received quantity
*/
public void setConfirmedQty (BigDecimal ConfirmedQty);
/** Get Confirmed Quantity.
* Confirmation of a received quantity
*/
public BigDecimal getConfirmedQty();
/** Column name DD_OrderLine_ID */
public static final String COLUMNNAME_DD_OrderLine_ID = "DD_OrderLine_ID";
/** Set Distribution Order Line */
public void setDD_OrderLine_ID (int DD_OrderLine_ID);
/** Get Distribution Order Line */
public int getDD_OrderLine_ID();
/** Column name DD_Order_ID */
public static final String COLUMNNAME_DD_Order_ID = "DD_Order_ID";
/** Set Distribution Order */
public void setDD_Order_ID (int DD_Order_ID);
/** Get Distribution Order */
public int getDD_Order_ID();
public org.eevolution.model.I_DD_Order getDD_Order() throws Exception;
/** Column name DateDelivered */
public static final String COLUMNNAME_DateDelivered = "DateDelivered";
@ -194,26 +214,6 @@ public interface I_DD_OrderLine
*/
public Timestamp getDatePromised();
/** Column name DD_Order_ID */
public static final String COLUMNNAME_DD_Order_ID = "DD_Order_ID";
/** Set Distribution Order */
public void setDD_Order_ID (int DD_Order_ID);
/** Get Distribution Order */
public int getDD_Order_ID();
public org.eevolution.model.I_DD_Order getDD_Order() throws Exception;
/** Column name DD_OrderLine_ID */
public static final String COLUMNNAME_DD_OrderLine_ID = "DD_OrderLine_ID";
/** Set Distribution Order Line */
public void setDD_OrderLine_ID (int DD_OrderLine_ID);
/** Get Distribution Order Line */
public int getDD_OrderLine_ID();
/** Column name Description */
public static final String COLUMNNAME_Description = "Description";
@ -292,6 +292,19 @@ public interface I_DD_OrderLine
*/
public BigDecimal getLineNetAmt();
/** Column name M_AttributeSetInstanceTo_ID */
public static final String COLUMNNAME_M_AttributeSetInstanceTo_ID = "M_AttributeSetInstanceTo_ID";
/** Set Attribute Set Instance To.
* Target Product Attribute Set Instance
*/
public void setM_AttributeSetInstanceTo_ID (int M_AttributeSetInstanceTo_ID);
/** Get Attribute Set Instance To.
* Target Product Attribute Set Instance
*/
public int getM_AttributeSetInstanceTo_ID();
/** Column name M_AttributeSetInstance_ID */
public static final String COLUMNNAME_M_AttributeSetInstance_ID = "M_AttributeSetInstance_ID";
@ -305,18 +318,18 @@ public interface I_DD_OrderLine
*/
public int getM_AttributeSetInstance_ID();
/** Column name M_AttributeSetInstanceTo_ID */
public static final String COLUMNNAME_M_AttributeSetInstanceTo_ID = "M_AttributeSetInstanceTo_ID";
/** Column name M_LocatorTo_ID */
public static final String COLUMNNAME_M_LocatorTo_ID = "M_LocatorTo_ID";
/** Set Attribute Set Instance To.
* Target Product Attribute Set Instance
/** Set Locator To.
* Location inventory is moved to
*/
public void setM_AttributeSetInstanceTo_ID (int M_AttributeSetInstanceTo_ID);
public void setM_LocatorTo_ID (int M_LocatorTo_ID);
/** Get Attribute Set Instance To.
* Target Product Attribute Set Instance
/** Get Locator To.
* Location inventory is moved to
*/
public int getM_AttributeSetInstanceTo_ID();
public int getM_LocatorTo_ID();
/** Column name M_Locator_ID */
public static final String COLUMNNAME_M_Locator_ID = "M_Locator_ID";
@ -333,19 +346,6 @@ public interface I_DD_OrderLine
public I_M_Locator getM_Locator() throws Exception;
/** Column name M_LocatorTo_ID */
public static final String COLUMNNAME_M_LocatorTo_ID = "M_LocatorTo_ID";
/** Set Locator To.
* Location inventory is moved to
*/
public void setM_LocatorTo_ID (int M_LocatorTo_ID);
/** Get Locator To.
* Location inventory is moved to
*/
public int getM_LocatorTo_ID();
/** Column name M_Product_ID */
public static final String COLUMNNAME_M_Product_ID = "M_Product_ID";

View File

@ -54,19 +54,6 @@ public interface I_PP_Order_Node
/** Load Meta Data */
/** Column name Action */
public static final String COLUMNNAME_Action = "Action";
/** Set Action.
* Indicates the Action to be performed
*/
public void setAction (String Action);
/** Get Action.
* Indicates the Action to be performed
*/
public String getAction();
/** Column name AD_Column_ID */
public static final String COLUMNNAME_AD_Column_ID = "AD_Column_ID";
@ -217,6 +204,19 @@ public interface I_PP_Order_Node
public I_AD_Workflow getAD_Workflow() throws Exception;
/** Column name Action */
public static final String COLUMNNAME_Action = "Action";
/** Set Action.
* Indicates the Action to be performed
*/
public void setAction (String Action);
/** Get Action.
* Indicates the Action to be performed
*/
public String getAction();
/** Column name AttributeName */
public static final String COLUMNNAME_AttributeName = "AttributeName";
@ -603,6 +603,21 @@ public interface I_PP_Order_Node
/** Get QueuingTime */
public int getQueuingTime();
/** Column name S_Resource_ID */
public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID";
/** Set Resource.
* Resource
*/
public void setS_Resource_ID (int S_Resource_ID);
/** Get Resource.
* Resource
*/
public int getS_Resource_ID();
public I_S_Resource getS_Resource() throws Exception;
/** Column name SetupTime */
public static final String COLUMNNAME_SetupTime = "SetupTime";
@ -647,21 +662,6 @@ public interface I_PP_Order_Node
*/
public String getSplitElement();
/** Column name S_Resource_ID */
public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID";
/** Set Resource.
* Resource
*/
public void setS_Resource_ID (int S_Resource_ID);
/** Get Resource.
* Resource
*/
public int getS_Resource_ID();
public I_S_Resource getS_Resource() throws Exception;
/** Column name StartMode */
public static final String COLUMNNAME_StartMode = "StartMode";

View File

@ -142,6 +142,15 @@ public interface I_PP_Order_NodeNext
/** Get PP_Order_Next_ID */
public int getPP_Order_Next_ID();
/** Column name PP_Order_NodeNext_ID */
public static final String COLUMNNAME_PP_Order_NodeNext_ID = "PP_Order_NodeNext_ID";
/** Set PP_Order_NodeNext_ID */
public void setPP_Order_NodeNext_ID (int PP_Order_NodeNext_ID);
/** Get PP_Order_NodeNext_ID */
public int getPP_Order_NodeNext_ID();
/** Column name PP_Order_Node_ID */
public static final String COLUMNNAME_PP_Order_Node_ID = "PP_Order_Node_ID";
@ -153,15 +162,6 @@ public interface I_PP_Order_NodeNext
public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws Exception;
/** Column name PP_Order_NodeNext_ID */
public static final String COLUMNNAME_PP_Order_NodeNext_ID = "PP_Order_NodeNext_ID";
/** Set PP_Order_NodeNext_ID */
public void setPP_Order_NodeNext_ID (int PP_Order_NodeNext_ID);
/** Get PP_Order_NodeNext_ID */
public int getPP_Order_NodeNext_ID();
/** Column name SeqNo */
public static final String COLUMNNAME_SeqNo = "SeqNo";

View File

@ -44,6 +44,7 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
super (ctx, DD_Order_ID, trxName);
/** if (DD_Order_ID == 0)
{
setC_BPartner_ID (0);
setC_DocType_ID (0);
setDD_Order_ID (0);
setDeliveryRule (null);
@ -225,10 +226,9 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
*/
public void setC_BPartner_ID (int C_BPartner_ID)
{
if (C_BPartner_ID < 1)
set_Value (COLUMNNAME_C_BPartner_ID, null);
else
set_Value (COLUMNNAME_C_BPartner_ID, Integer.valueOf(C_BPartner_ID));
if (C_BPartner_ID < 1)
throw new IllegalArgumentException ("C_BPartner_ID is mandatory.");
set_Value (COLUMNNAME_C_BPartner_ID, Integer.valueOf(C_BPartner_ID));
}
/** Get Business Partner .
@ -383,26 +383,6 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return ii.intValue();
}
/** Set Charge amount.
@param ChargeAmt
Charge Amount
*/
public void setChargeAmt (BigDecimal ChargeAmt)
{
set_Value (COLUMNNAME_ChargeAmt, ChargeAmt);
}
/** Get Charge amount.
@return Charge Amount
*/
public BigDecimal getChargeAmt ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ChargeAmt);
if (bd == null)
return Env.ZERO;
return bd;
}
public I_C_Invoice getC_Invoice() throws Exception
{
Class<?> clazz = MTable.getClass(I_C_Invoice.Table_Name);
@ -520,6 +500,26 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return ii.intValue();
}
/** Set Charge amount.
@param ChargeAmt
Charge Amount
*/
public void setChargeAmt (BigDecimal ChargeAmt)
{
set_Value (COLUMNNAME_ChargeAmt, ChargeAmt);
}
/** Get Charge amount.
@return Charge Amount
*/
public BigDecimal getChargeAmt ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ChargeAmt);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Create Confirm.
@param CreateConfirm Create Confirm */
public void setCreateConfirm (String CreateConfirm)
@ -565,6 +565,25 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return (String)get_Value(COLUMNNAME_CreatePackage);
}
/** Set Distribution Order.
@param DD_Order_ID Distribution Order */
public void setDD_Order_ID (int DD_Order_ID)
{
if (DD_Order_ID < 1)
throw new IllegalArgumentException ("DD_Order_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_DD_Order_ID, Integer.valueOf(DD_Order_ID));
}
/** Get Distribution Order.
@return Distribution Order */
public int getDD_Order_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_DD_Order_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Date Ordered.
@param DateOrdered
Date of Order
@ -633,25 +652,6 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return (Timestamp)get_Value(COLUMNNAME_DateReceived);
}
/** Set Distribution Order.
@param DD_Order_ID Distribution Order */
public void setDD_Order_ID (int DD_Order_ID)
{
if (DD_Order_ID < 1)
throw new IllegalArgumentException ("DD_Order_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_DD_Order_ID, Integer.valueOf(DD_Order_ID));
}
/** Get Distribution Order.
@return Distribution Order */
public int getDD_Order_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_DD_Order_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** DeliveryRule AD_Reference_ID=151 */
public static final int DELIVERYRULE_AD_Reference_ID=151;
/** After Receipt = R */
@ -1052,27 +1052,6 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return false;
}
/** Set Selected.
@param IsSelected Selected */
public void setIsSelected (boolean IsSelected)
{
set_Value (COLUMNNAME_IsSelected, Boolean.valueOf(IsSelected));
}
/** Get Selected.
@return Selected */
public boolean isSelected ()
{
Object oo = get_Value(COLUMNNAME_IsSelected);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Sales Transaction.
@param IsSOTrx
This is a Sales Transaction
@ -1097,6 +1076,27 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return false;
}
/** Set Selected.
@param IsSelected Selected */
public void setIsSelected (boolean IsSelected)
{
set_Value (COLUMNNAME_IsSelected, Boolean.valueOf(IsSelected));
}
/** Get Selected.
@return Selected */
public boolean isSelected ()
{
Object oo = get_Value(COLUMNNAME_IsSelected);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
public I_M_Shipper getM_Shipper() throws Exception
{
Class<?> clazz = MTable.getClass(I_M_Shipper.Table_Name);
@ -1194,23 +1194,6 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return ii.intValue();
}
/** Set Pick Date.
@param PickDate
Date/Time when picked for Shipment
*/
public void setPickDate (Timestamp PickDate)
{
set_Value (COLUMNNAME_PickDate, PickDate);
}
/** Get Pick Date.
@return Date/Time when picked for Shipment
*/
public Timestamp getPickDate ()
{
return (Timestamp)get_Value(COLUMNNAME_PickDate);
}
/** Set Order Reference.
@param POReference
Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner
@ -1228,6 +1211,23 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent
return (String)get_Value(COLUMNNAME_POReference);
}
/** Set Pick Date.
@param PickDate
Date/Time when picked for Shipment
*/
public void setPickDate (Timestamp PickDate)
{
set_Value (COLUMNNAME_PickDate, PickDate);
}
/** Get Pick Date.
@return Date/Time when picked for Shipment
*/
public Timestamp getPickDate ()
{
return (Timestamp)get_Value(COLUMNNAME_PickDate);
}
/** Set Posted.
@param Posted
Posting status

View File

@ -46,17 +46,17 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
{
setC_UOM_ID (0);
// @#C_UOM_ID@
setDD_Order_ID (0);
setDD_OrderLine_ID (0);
setDD_Order_ID (0);
setIsDescription (false);
// N
setIsInvoiced (false);
setLine (0);
// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM DD_OrderLine WHERE DD_OrderLine_ID=@DD_OrderLine_ID@
setM_Locator_ID (0);
// @M_Locator_ID@
setM_LocatorTo_ID (0);
// @M_LocatorTo_ID@
setM_Locator_ID (0);
// @M_Locator_ID@
setProcessed (false);
setQtyEntered (Env.ZERO);
// 1
@ -235,26 +235,6 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
return ii.intValue();
}
/** Set Confirmed Quantity.
@param ConfirmedQty
Confirmation of a received quantity
*/
public void setConfirmedQty (BigDecimal ConfirmedQty)
{
set_Value (COLUMNNAME_ConfirmedQty, ConfirmedQty);
}
/** Get Confirmed Quantity.
@return Confirmation of a received quantity
*/
public BigDecimal getConfirmedQty ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ConfirmedQty);
if (bd == null)
return Env.ZERO;
return bd;
}
public I_C_Project getC_Project() throws Exception
{
Class<?> clazz = MTable.getClass(I_C_Project.Table_Name);
@ -332,6 +312,80 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
return ii.intValue();
}
/** Set Confirmed Quantity.
@param ConfirmedQty
Confirmation of a received quantity
*/
public void setConfirmedQty (BigDecimal ConfirmedQty)
{
set_Value (COLUMNNAME_ConfirmedQty, ConfirmedQty);
}
/** Get Confirmed Quantity.
@return Confirmation of a received quantity
*/
public BigDecimal getConfirmedQty ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ConfirmedQty);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Distribution Order Line.
@param DD_OrderLine_ID Distribution Order Line */
public void setDD_OrderLine_ID (int DD_OrderLine_ID)
{
if (DD_OrderLine_ID < 1)
throw new IllegalArgumentException ("DD_OrderLine_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_DD_OrderLine_ID, Integer.valueOf(DD_OrderLine_ID));
}
/** Get Distribution Order Line.
@return Distribution Order Line */
public int getDD_OrderLine_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_DD_OrderLine_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_DD_Order getDD_Order() throws Exception
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_DD_Order.Table_Name);
org.eevolution.model.I_DD_Order result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_DD_Order)constructor.newInstance(new Object[] {getCtx(), new Integer(getDD_Order_ID()), get_TrxName()});
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw e;
}
return result;
}
/** Set Distribution Order.
@param DD_Order_ID Distribution Order */
public void setDD_Order_ID (int DD_Order_ID)
{
if (DD_Order_ID < 1)
throw new IllegalArgumentException ("DD_Order_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_DD_Order_ID, Integer.valueOf(DD_Order_ID));
}
/** Get Distribution Order.
@return Distribution Order */
public int getDD_Order_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_DD_Order_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Date Delivered.
@param DateDelivered
Date when the product was delivered
@ -383,60 +437,6 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
return (Timestamp)get_Value(COLUMNNAME_DatePromised);
}
public org.eevolution.model.I_DD_Order getDD_Order() throws Exception
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_DD_Order.Table_Name);
org.eevolution.model.I_DD_Order result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (org.eevolution.model.I_DD_Order)constructor.newInstance(new Object[] {getCtx(), new Integer(getDD_Order_ID()), get_TrxName()});
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw e;
}
return result;
}
/** Set Distribution Order.
@param DD_Order_ID Distribution Order */
public void setDD_Order_ID (int DD_Order_ID)
{
if (DD_Order_ID < 1)
throw new IllegalArgumentException ("DD_Order_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_DD_Order_ID, Integer.valueOf(DD_Order_ID));
}
/** Get Distribution Order.
@return Distribution Order */
public int getDD_Order_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_DD_Order_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Distribution Order Line.
@param DD_OrderLine_ID Distribution Order Line */
public void setDD_OrderLine_ID (int DD_OrderLine_ID)
{
if (DD_OrderLine_ID < 1)
throw new IllegalArgumentException ("DD_OrderLine_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_DD_OrderLine_ID, Integer.valueOf(DD_OrderLine_ID));
}
/** Get Distribution Order Line.
@return Distribution Order Line */
public int getDD_OrderLine_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_DD_OrderLine_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Description.
@param Description
Optional short description of the record
@ -570,6 +570,29 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
return bd;
}
/** Set Attribute Set Instance To.
@param M_AttributeSetInstanceTo_ID
Target Product Attribute Set Instance
*/
public void setM_AttributeSetInstanceTo_ID (int M_AttributeSetInstanceTo_ID)
{
if (M_AttributeSetInstanceTo_ID < 1)
set_Value (COLUMNNAME_M_AttributeSetInstanceTo_ID, null);
else
set_Value (COLUMNNAME_M_AttributeSetInstanceTo_ID, Integer.valueOf(M_AttributeSetInstanceTo_ID));
}
/** Get Attribute Set Instance To.
@return Target Product Attribute Set Instance
*/
public int getM_AttributeSetInstanceTo_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_AttributeSetInstanceTo_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Attribute Set Instance.
@param M_AttributeSetInstance_ID
Product Attribute Set Instance
@ -593,24 +616,25 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
return ii.intValue();
}
/** Set Attribute Set Instance To.
@param M_AttributeSetInstanceTo_ID
Target Product Attribute Set Instance
/** M_LocatorTo_ID AD_Reference_ID=191 */
public static final int M_LOCATORTO_ID_AD_Reference_ID=191;
/** Set Locator To.
@param M_LocatorTo_ID
Location inventory is moved to
*/
public void setM_AttributeSetInstanceTo_ID (int M_AttributeSetInstanceTo_ID)
public void setM_LocatorTo_ID (int M_LocatorTo_ID)
{
if (M_AttributeSetInstanceTo_ID < 1)
set_Value (COLUMNNAME_M_AttributeSetInstanceTo_ID, null);
else
set_Value (COLUMNNAME_M_AttributeSetInstanceTo_ID, Integer.valueOf(M_AttributeSetInstanceTo_ID));
if (M_LocatorTo_ID < 1)
throw new IllegalArgumentException ("M_LocatorTo_ID is mandatory.");
set_Value (COLUMNNAME_M_LocatorTo_ID, Integer.valueOf(M_LocatorTo_ID));
}
/** Get Attribute Set Instance To.
@return Target Product Attribute Set Instance
/** Get Locator To.
@return Location inventory is moved to
*/
public int getM_AttributeSetInstanceTo_ID ()
public int getM_LocatorTo_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_AttributeSetInstanceTo_ID);
Integer ii = (Integer)get_Value(COLUMNNAME_M_LocatorTo_ID);
if (ii == null)
return 0;
return ii.intValue();
@ -654,30 +678,6 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent
return ii.intValue();
}
/** M_LocatorTo_ID AD_Reference_ID=191 */
public static final int M_LOCATORTO_ID_AD_Reference_ID=191;
/** Set Locator To.
@param M_LocatorTo_ID
Location inventory is moved to
*/
public void setM_LocatorTo_ID (int M_LocatorTo_ID)
{
if (M_LocatorTo_ID < 1)
throw new IllegalArgumentException ("M_LocatorTo_ID is mandatory.");
set_Value (COLUMNNAME_M_LocatorTo_ID, Integer.valueOf(M_LocatorTo_ID));
}
/** Get Locator To.
@return Location inventory is moved to
*/
public int getM_LocatorTo_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_LocatorTo_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** M_Product_ID AD_Reference_ID=171 */
public static final int M_PRODUCT_ID_AD_Reference_ID=171;
/** Set Product.

View File

@ -44,10 +44,10 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
super (ctx, PP_Order_Node_ID, trxName);
/** if (PP_Order_Node_ID == 0)
{
setAction (null);
// N
setAD_WF_Node_ID (0);
setAD_Workflow_ID (0);
setAction (null);
// N
setCost (Env.ZERO);
setEntityType (null);
// U
@ -98,50 +98,6 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
return sb.toString();
}
/** Action AD_Reference_ID=302 */
public static final int ACTION_AD_Reference_ID=302;
/** Wait (Sleep) = Z */
public static final String ACTION_WaitSleep = "Z";
/** User Choice = C */
public static final String ACTION_UserChoice = "C";
/** Sub Workflow = F */
public static final String ACTION_SubWorkflow = "F";
/** Set Variable = V */
public static final String ACTION_SetVariable = "V";
/** User Window = W */
public static final String ACTION_UserWindow = "W";
/** User Form = X */
public static final String ACTION_UserForm = "X";
/** Apps Task = T */
public static final String ACTION_AppsTask = "T";
/** Apps Report = R */
public static final String ACTION_AppsReport = "R";
/** Apps Process = P */
public static final String ACTION_AppsProcess = "P";
/** Document Action = D */
public static final String ACTION_DocumentAction = "D";
/** EMail = M */
public static final String ACTION_EMail = "M";
/** User Workbench = B */
public static final String ACTION_UserWorkbench = "B";
/** Set Action.
@param Action
Indicates the Action to be performed
*/
public void setAction (String Action)
{
if (Action == null) throw new IllegalArgumentException ("Action is mandatory");
if (Action.equals("Z") || Action.equals("C") || Action.equals("F") || Action.equals("V") || Action.equals("W") || Action.equals("X") || Action.equals("T") || Action.equals("R") || Action.equals("P") || Action.equals("D") || Action.equals("M") || Action.equals("B")); else throw new IllegalArgumentException ("Action Invalid value - " + Action + " - Reference_ID=302 - Z - C - F - V - W - X - T - R - P - D - M - B"); set_Value (COLUMNNAME_Action, Action);
}
/** Get Action.
@return Indicates the Action to be performed
*/
public String getAction ()
{
return (String)get_Value(COLUMNNAME_Action);
}
public I_AD_Column getAD_Column() throws Exception
{
Class<?> clazz = MTable.getClass(I_AD_Column.Table_Name);
@ -530,6 +486,50 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
return ii.intValue();
}
/** Action AD_Reference_ID=302 */
public static final int ACTION_AD_Reference_ID=302;
/** Wait (Sleep) = Z */
public static final String ACTION_WaitSleep = "Z";
/** User Choice = C */
public static final String ACTION_UserChoice = "C";
/** Sub Workflow = F */
public static final String ACTION_SubWorkflow = "F";
/** Set Variable = V */
public static final String ACTION_SetVariable = "V";
/** User Window = W */
public static final String ACTION_UserWindow = "W";
/** User Form = X */
public static final String ACTION_UserForm = "X";
/** Apps Task = T */
public static final String ACTION_AppsTask = "T";
/** Apps Report = R */
public static final String ACTION_AppsReport = "R";
/** Apps Process = P */
public static final String ACTION_AppsProcess = "P";
/** Document Action = D */
public static final String ACTION_DocumentAction = "D";
/** EMail = M */
public static final String ACTION_EMail = "M";
/** User Workbench = B */
public static final String ACTION_UserWorkbench = "B";
/** Set Action.
@param Action
Indicates the Action to be performed
*/
public void setAction (String Action)
{
if (Action == null) throw new IllegalArgumentException ("Action is mandatory");
if (Action.equals("Z") || Action.equals("C") || Action.equals("F") || Action.equals("V") || Action.equals("W") || Action.equals("X") || Action.equals("T") || Action.equals("R") || Action.equals("P") || Action.equals("D") || Action.equals("M") || Action.equals("B")); else throw new IllegalArgumentException ("Action Invalid value - " + Action + " - Reference_ID=302 - Z - C - F - V - W - X - T - R - P - D - M - B"); set_Value (COLUMNNAME_Action, Action);
}
/** Get Action.
@return Indicates the Action to be performed
*/
public String getAction ()
{
return (String)get_Value(COLUMNNAME_Action);
}
/** Set Attribute Name.
@param AttributeName
Name of the Attribute
@ -1275,6 +1275,45 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
return ii.intValue();
}
public I_S_Resource getS_Resource() throws Exception
{
Class<?> clazz = MTable.getClass(I_S_Resource.Table_Name);
I_S_Resource result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_S_Resource)constructor.newInstance(new Object[] {getCtx(), new Integer(getS_Resource_ID()), get_TrxName()});
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw e;
}
return result;
}
/** Set Resource.
@param S_Resource_ID
Resource
*/
public void setS_Resource_ID (int S_Resource_ID)
{
if (S_Resource_ID < 1)
set_Value (COLUMNNAME_S_Resource_ID, null);
else
set_Value (COLUMNNAME_S_Resource_ID, Integer.valueOf(S_Resource_ID));
}
/** Get Resource.
@return Resource
*/
public int getS_Resource_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_S_Resource_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Setup Time.
@param SetupTime
Setup time before starting Production
@ -1353,45 +1392,6 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent
return (String)get_Value(COLUMNNAME_SplitElement);
}
public I_S_Resource getS_Resource() throws Exception
{
Class<?> clazz = MTable.getClass(I_S_Resource.Table_Name);
I_S_Resource result = null;
try {
Constructor<?> constructor = null;
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
result = (I_S_Resource)constructor.newInstance(new Object[] {getCtx(), new Integer(getS_Resource_ID()), get_TrxName()});
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw e;
}
return result;
}
/** Set Resource.
@param S_Resource_ID
Resource
*/
public void setS_Resource_ID (int S_Resource_ID)
{
if (S_Resource_ID < 1)
set_Value (COLUMNNAME_S_Resource_ID, null);
else
set_Value (COLUMNNAME_S_Resource_ID, Integer.valueOf(S_Resource_ID));
}
/** Get Resource.
@return Resource
*/
public int getS_Resource_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_S_Resource_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** StartMode AD_Reference_ID=303 */
public static final int STARTMODE_AD_Reference_ID=303;
/** Automatic = A */

View File

@ -258,6 +258,26 @@ public class X_PP_Order_NodeNext extends PO implements I_PP_Order_NodeNext, I_Pe
return ii.intValue();
}
/** Set PP_Order_NodeNext_ID.
@param PP_Order_NodeNext_ID PP_Order_NodeNext_ID */
public void setPP_Order_NodeNext_ID (int PP_Order_NodeNext_ID)
{
if (PP_Order_NodeNext_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_NodeNext_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_NodeNext_ID, Integer.valueOf(PP_Order_NodeNext_ID));
}
/** Get PP_Order_NodeNext_ID.
@return PP_Order_NodeNext_ID */
public int getPP_Order_NodeNext_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_NodeNext_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws Exception
{
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order_Node.Table_Name);
@ -293,26 +313,6 @@ public class X_PP_Order_NodeNext extends PO implements I_PP_Order_NodeNext, I_Pe
return ii.intValue();
}
/** Set PP_Order_NodeNext_ID.
@param PP_Order_NodeNext_ID PP_Order_NodeNext_ID */
public void setPP_Order_NodeNext_ID (int PP_Order_NodeNext_ID)
{
if (PP_Order_NodeNext_ID < 1)
set_ValueNoCheck (COLUMNNAME_PP_Order_NodeNext_ID, null);
else
set_ValueNoCheck (COLUMNNAME_PP_Order_NodeNext_ID, Integer.valueOf(PP_Order_NodeNext_ID));
}
/** Get PP_Order_NodeNext_ID.
@return PP_Order_NodeNext_ID */
public int getPP_Order_NodeNext_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_NodeNext_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** SeqNo AD_Reference_ID=110 */
public static final int SEQNO_AD_Reference_ID=110;
/** Set Sequence.