IDEMPIERE-197 Stabilize Fixed Assets / Bring migration script and generate model classes

This commit is contained in:
Carlos Ruiz 2012-10-24 21:30:00 -05:00
parent 2d08fb3f3d
commit c6f25f2a6d
79 changed files with 92394 additions and 1516 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -31,7 +31,7 @@ public interface I_A_Asset
public static final String Table_Name = "A_Asset"; public static final String Table_Name = "A_Asset";
/** AD_Table_ID=539 */ /** AD_Table_ID=539 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 539;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -41,13 +41,33 @@ public interface I_A_Asset
/** Load Meta Data */ /** Load Meta Data */
/** Column name A_Asset_Action */
public static final String COLUMNNAME_A_Asset_Action = "A_Asset_Action";
/** Set Asset Action */
public void setA_Asset_Action (String A_Asset_Action);
/** Get Asset Action */
public String getA_Asset_Action();
/** Column name A_Asset_Class_ID */
public static final String COLUMNNAME_A_Asset_Class_ID = "A_Asset_Class_ID";
/** Set Asset class */
public void setA_Asset_Class_ID (int A_Asset_Class_ID);
/** Get Asset class */
public int getA_Asset_Class_ID();
public org.compiere.model.I_A_Asset_Class getA_Asset_Class() throws RuntimeException;
/** Column name A_Asset_CreateDate */ /** Column name A_Asset_CreateDate */
public static final String COLUMNNAME_A_Asset_CreateDate = "A_Asset_CreateDate"; public static final String COLUMNNAME_A_Asset_CreateDate = "A_Asset_CreateDate";
/** Set Asset Creation Date */ /** Set Create Date */
public void setA_Asset_CreateDate (Timestamp A_Asset_CreateDate); public void setA_Asset_CreateDate (Timestamp A_Asset_CreateDate);
/** Get Asset Creation Date */ /** Get Create Date */
public Timestamp getA_Asset_CreateDate(); public Timestamp getA_Asset_CreateDate();
/** Column name A_Asset_Group_ID */ /** Column name A_Asset_Group_ID */
@ -63,7 +83,7 @@ public interface I_A_Asset
*/ */
public int getA_Asset_Group_ID(); public int getA_Asset_Group_ID();
public I_A_Asset_Group getA_Asset_Group() throws RuntimeException; public org.compiere.model.I_A_Asset_Group getA_Asset_Group() throws RuntimeException;
/** Column name A_Asset_ID */ /** Column name A_Asset_ID */
public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID";
@ -81,12 +101,50 @@ public interface I_A_Asset
/** Column name A_Asset_RevalDate */ /** Column name A_Asset_RevalDate */
public static final String COLUMNNAME_A_Asset_RevalDate = "A_Asset_RevalDate"; public static final String COLUMNNAME_A_Asset_RevalDate = "A_Asset_RevalDate";
/** Set Asset Reval. Date */ /** Set Revaluation Date */
public void setA_Asset_RevalDate (Timestamp A_Asset_RevalDate); public void setA_Asset_RevalDate (Timestamp A_Asset_RevalDate);
/** Get Asset Reval. Date */ /** Get Revaluation Date */
public Timestamp getA_Asset_RevalDate(); public Timestamp getA_Asset_RevalDate();
/** Column name A_Asset_Status */
public static final String COLUMNNAME_A_Asset_Status = "A_Asset_Status";
/** Set Asset Status */
public void setA_Asset_Status (String A_Asset_Status);
/** Get Asset Status */
public String getA_Asset_Status();
/** Column name A_AssetType */
public static final String COLUMNNAME_A_AssetType = "A_AssetType";
/** Set Asset Type */
public void setA_AssetType (String A_AssetType);
/** Get Asset Type */
public String getA_AssetType();
/** Column name A_Asset_Type_ID */
public static final String COLUMNNAME_A_Asset_Type_ID = "A_Asset_Type_ID";
/** Set Asset Type */
public void setA_Asset_Type_ID (int A_Asset_Type_ID);
/** Get Asset Type */
public int getA_Asset_Type_ID();
public org.compiere.model.I_A_Asset_Type getA_Asset_Type() throws RuntimeException;
/** Column name A_Asset_UU */
public static final String COLUMNNAME_A_Asset_UU = "A_Asset_UU";
/** Set A_Asset_UU */
public void setA_Asset_UU (String A_Asset_UU);
/** Get A_Asset_UU */
public String getA_Asset_UU();
/** Column name AD_Client_ID */ /** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
@ -121,37 +179,46 @@ public interface I_A_Asset
*/ */
public int getAD_User_ID(); public int getAD_User_ID();
public I_AD_User getAD_User() throws RuntimeException; public org.compiere.model.I_AD_User getAD_User() throws RuntimeException;
/** Column name A_Parent_Asset_ID */ /** Column name A_Parent_Asset_ID */
public static final String COLUMNNAME_A_Parent_Asset_ID = "A_Parent_Asset_ID"; public static final String COLUMNNAME_A_Parent_Asset_ID = "A_Parent_Asset_ID";
/** Set Asset ID */ /** Set Parent Asset */
public void setA_Parent_Asset_ID (int A_Parent_Asset_ID); public void setA_Parent_Asset_ID (int A_Parent_Asset_ID);
/** Get Asset ID */ /** Get Parent Asset */
public int getA_Parent_Asset_ID(); public int getA_Parent_Asset_ID();
public I_A_Asset getA_Parent_Asset() throws RuntimeException; public org.compiere.model.I_A_Asset getA_Parent_Asset() throws RuntimeException;
/** Column name A_QTY_Current */ /** Column name A_QTY_Current */
public static final String COLUMNNAME_A_QTY_Current = "A_QTY_Current"; public static final String COLUMNNAME_A_QTY_Current = "A_QTY_Current";
/** Set Quantity */ /** Set Current Qty */
public void setA_QTY_Current (BigDecimal A_QTY_Current); public void setA_QTY_Current (BigDecimal A_QTY_Current);
/** Get Quantity */ /** Get Current Qty */
public BigDecimal getA_QTY_Current(); public BigDecimal getA_QTY_Current();
/** Column name A_QTY_Original */ /** Column name A_QTY_Original */
public static final String COLUMNNAME_A_QTY_Original = "A_QTY_Original"; public static final String COLUMNNAME_A_QTY_Original = "A_QTY_Original";
/** Set Original Qty */ /** Set A_QTY_Original */
public void setA_QTY_Original (BigDecimal A_QTY_Original); public void setA_QTY_Original (BigDecimal A_QTY_Original);
/** Get Original Qty */ /** Get A_QTY_Original */
public BigDecimal getA_QTY_Original(); public BigDecimal getA_QTY_Original();
/** Column name AssetActivationDate */
public static final String COLUMNNAME_AssetActivationDate = "AssetActivationDate";
/** Set Activation Date */
public void setAssetActivationDate (Timestamp AssetActivationDate);
/** Get Activation Date */
public Timestamp getAssetActivationDate();
/** Column name AssetDepreciationDate */ /** Column name AssetDepreciationDate */
public static final String COLUMNNAME_AssetDepreciationDate = "AssetDepreciationDate"; public static final String COLUMNNAME_AssetDepreciationDate = "AssetDepreciationDate";
@ -191,6 +258,21 @@ public interface I_A_Asset
*/ */
public Timestamp getAssetServiceDate(); public Timestamp getAssetServiceDate();
/** Column name C_Activity_ID */
public static final String COLUMNNAME_C_Activity_ID = "C_Activity_ID";
/** Set Activity.
* Business Activity
*/
public void setC_Activity_ID (int C_Activity_ID);
/** Get Activity.
* Business Activity
*/
public int getC_Activity_ID();
public org.compiere.model.I_C_Activity getC_Activity() throws RuntimeException;
/** Column name C_BPartner_ID */ /** Column name C_BPartner_ID */
public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID";
@ -204,7 +286,7 @@ public interface I_A_Asset
*/ */
public int getC_BPartner_ID(); public int getC_BPartner_ID();
public I_C_BPartner getC_BPartner() throws RuntimeException; public org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException;
/** Column name C_BPartner_Location_ID */ /** Column name C_BPartner_Location_ID */
public static final String COLUMNNAME_C_BPartner_Location_ID = "C_BPartner_Location_ID"; public static final String COLUMNNAME_C_BPartner_Location_ID = "C_BPartner_Location_ID";
@ -219,7 +301,7 @@ public interface I_A_Asset
*/ */
public int getC_BPartner_Location_ID(); public int getC_BPartner_Location_ID();
public I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException; public org.compiere.model.I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException;
/** Column name C_BPartnerSR_ID */ /** Column name C_BPartnerSR_ID */
public static final String COLUMNNAME_C_BPartnerSR_ID = "C_BPartnerSR_ID"; public static final String COLUMNNAME_C_BPartnerSR_ID = "C_BPartnerSR_ID";
@ -234,7 +316,7 @@ public interface I_A_Asset
*/ */
public int getC_BPartnerSR_ID(); public int getC_BPartnerSR_ID();
public I_C_BPartner getC_BPartnerSR() throws RuntimeException; public org.compiere.model.I_C_BPartner getC_BPartnerSR() throws RuntimeException;
/** Column name C_Location_ID */ /** Column name C_Location_ID */
public static final String COLUMNNAME_C_Location_ID = "C_Location_ID"; public static final String COLUMNNAME_C_Location_ID = "C_Location_ID";
@ -264,7 +346,7 @@ public interface I_A_Asset
*/ */
public int getC_Project_ID(); public int getC_Project_ID();
public I_C_Project getC_Project() throws RuntimeException; public org.compiere.model.I_C_Project getC_Project() throws RuntimeException;
/** Column name Created */ /** Column name Created */
public static final String COLUMNNAME_Created = "Created"; public static final String COLUMNNAME_Created = "Created";
@ -321,6 +403,15 @@ public interface I_A_Asset
*/ */
public String getHelp(); public String getHelp();
/** Column name InventoryNo */
public static final String COLUMNNAME_InventoryNo = "InventoryNo";
/** Set Inventory No */
public void setInventoryNo (String InventoryNo);
/** Get Inventory No */
public String getInventoryNo();
/** Column name IsActive */ /** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive"; public static final String COLUMNNAME_IsActive = "IsActive";
@ -451,7 +542,7 @@ public interface I_A_Asset
*/ */
public int getLease_BPartner_ID(); public int getLease_BPartner_ID();
public I_C_BPartner getLease_BPartner() throws RuntimeException; public org.compiere.model.I_C_BPartner getLease_BPartner() throws RuntimeException;
/** Column name LeaseTerminationDate */ /** Column name LeaseTerminationDate */
public static final String COLUMNNAME_LeaseTerminationDate = "LeaseTerminationDate"; public static final String COLUMNNAME_LeaseTerminationDate = "LeaseTerminationDate";
@ -505,6 +596,28 @@ public interface I_A_Asset
*/ */
public String getLot(); public String getLot();
/** Column name ManufacturedYear */
public static final String COLUMNNAME_ManufacturedYear = "ManufacturedYear";
/** Set Manufactured Year */
public void setManufacturedYear (int ManufacturedYear);
/** Get Manufactured Year */
public int getManufacturedYear();
/** Column name Manufacturer */
public static final String COLUMNNAME_Manufacturer = "Manufacturer";
/** Set Manufacturer.
* Manufacturer of the Product
*/
public void setManufacturer (String Manufacturer);
/** Get Manufacturer.
* Manufacturer of the Product
*/
public String getManufacturer();
/** Column name M_AttributeSetInstance_ID */ /** Column name M_AttributeSetInstance_ID */
public static final String COLUMNNAME_M_AttributeSetInstance_ID = "M_AttributeSetInstance_ID"; public static final String COLUMNNAME_M_AttributeSetInstance_ID = "M_AttributeSetInstance_ID";
@ -533,7 +646,7 @@ public interface I_A_Asset
*/ */
public int getM_InOutLine_ID(); public int getM_InOutLine_ID();
public I_M_InOutLine getM_InOutLine() throws RuntimeException; public org.compiere.model.I_M_InOutLine getM_InOutLine() throws RuntimeException;
/** Column name M_Locator_ID */ /** Column name M_Locator_ID */
public static final String COLUMNNAME_M_Locator_ID = "M_Locator_ID"; public static final String COLUMNNAME_M_Locator_ID = "M_Locator_ID";
@ -563,7 +676,7 @@ public interface I_A_Asset
*/ */
public int getM_Product_ID(); public int getM_Product_ID();
public I_M_Product getM_Product() throws RuntimeException; public org.compiere.model.I_M_Product getM_Product() throws RuntimeException;
/** Column name Name */ /** Column name Name */
public static final String COLUMNNAME_Name = "Name"; public static final String COLUMNNAME_Name = "Name";
@ -581,13 +694,13 @@ public interface I_A_Asset
/** Column name NextMaintenenceDate */ /** Column name NextMaintenenceDate */
public static final String COLUMNNAME_NextMaintenenceDate = "NextMaintenenceDate"; public static final String COLUMNNAME_NextMaintenenceDate = "NextMaintenenceDate";
/** Set Next Maintenance. /** Set Next Maintenence.
* Next Maintenance Date * Next Maintenence Date
*/ */
public void setNextMaintenenceDate (Timestamp NextMaintenenceDate); public void setNextMaintenenceDate (Timestamp NextMaintenenceDate);
/** Get Next Maintenance. /** Get Next Maintenence.
* Next Maintenance Date * Next Maintenence Date
*/ */
public Timestamp getNextMaintenenceDate(); public Timestamp getNextMaintenenceDate();
@ -595,15 +708,28 @@ public interface I_A_Asset
public static final String COLUMNNAME_NextMaintenenceUnit = "NextMaintenenceUnit"; public static final String COLUMNNAME_NextMaintenenceUnit = "NextMaintenenceUnit";
/** Set Next Unit. /** Set Next Unit.
* Next Maintenance Unit * Next Maintenence Unit
*/ */
public void setNextMaintenenceUnit (int NextMaintenenceUnit); public void setNextMaintenenceUnit (int NextMaintenenceUnit);
/** Get Next Unit. /** Get Next Unit.
* Next Maintenance Unit * Next Maintenence Unit
*/ */
public int getNextMaintenenceUnit(); public int getNextMaintenenceUnit();
/** Column name Processed */
public static final String COLUMNNAME_Processed = "Processed";
/** Set Processed.
* The document has been processed
*/
public void setProcessed (boolean Processed);
/** Get Processed.
* The document has been processed
*/
public boolean isProcessed();
/** Column name Processing */ /** Column name Processing */
public static final String COLUMNNAME_Processing = "Processing"; public static final String COLUMNNAME_Processing = "Processing";

View File

@ -31,7 +31,7 @@ public interface I_A_Asset_Acct
public static final String Table_Name = "A_Asset_Acct"; public static final String Table_Name = "A_Asset_Acct";
/** AD_Table_ID=53123 */ /** AD_Table_ID=53123 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53123;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -44,10 +44,10 @@ public interface I_A_Asset_Acct
/** Column name A_Accumdepreciation_Acct */ /** Column name A_Accumdepreciation_Acct */
public static final String COLUMNNAME_A_Accumdepreciation_Acct = "A_Accumdepreciation_Acct"; public static final String COLUMNNAME_A_Accumdepreciation_Acct = "A_Accumdepreciation_Acct";
/** Set Accumulated Depreciation */ /** Set Accumulated Depreciation Account */
public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct); public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct);
/** Get Accumulated Depreciation */ /** Get Accumulated Depreciation Account */
public int getA_Accumdepreciation_Acct(); public int getA_Accumdepreciation_Acct();
public I_C_ValidCombination getA_Accumdepreciation_A() throws RuntimeException; public I_C_ValidCombination getA_Accumdepreciation_A() throws RuntimeException;
@ -55,10 +55,10 @@ public interface I_A_Asset_Acct
/** Column name A_Asset_Acct */ /** Column name A_Asset_Acct */
public static final String COLUMNNAME_A_Asset_Acct = "A_Asset_Acct"; public static final String COLUMNNAME_A_Asset_Acct = "A_Asset_Acct";
/** Set Asset Cost Account */ /** Set Asset Acct */
public void setA_Asset_Acct (int A_Asset_Acct); public void setA_Asset_Acct (int A_Asset_Acct);
/** Get Asset Cost Account */ /** Get Asset Acct */
public int getA_Asset_Acct(); public int getA_Asset_Acct();
public I_C_ValidCombination getA_Asset_A() throws RuntimeException; public I_C_ValidCombination getA_Asset_A() throws RuntimeException;
@ -66,12 +66,21 @@ public interface I_A_Asset_Acct
/** Column name A_Asset_Acct_ID */ /** Column name A_Asset_Acct_ID */
public static final String COLUMNNAME_A_Asset_Acct_ID = "A_Asset_Acct_ID"; public static final String COLUMNNAME_A_Asset_Acct_ID = "A_Asset_Acct_ID";
/** Set Asset Acct. */ /** Set A_Asset_Acct_ID */
public void setA_Asset_Acct_ID (int A_Asset_Acct_ID); public void setA_Asset_Acct_ID (int A_Asset_Acct_ID);
/** Get Asset Acct. */ /** Get A_Asset_Acct_ID */
public int getA_Asset_Acct_ID(); public int getA_Asset_Acct_ID();
/** Column name A_Asset_Acct_UU */
public static final String COLUMNNAME_A_Asset_Acct_UU = "A_Asset_Acct_UU";
/** Set A_Asset_Acct_UU */
public void setA_Asset_Acct_UU (String A_Asset_Acct_UU);
/** Get A_Asset_Acct_UU */
public String getA_Asset_Acct_UU();
/** Column name A_Asset_ID */ /** Column name A_Asset_ID */
public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID";
@ -85,16 +94,18 @@ public interface I_A_Asset_Acct
*/ */
public int getA_Asset_ID(); public int getA_Asset_ID();
public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException;
/** Column name A_Asset_Spread_ID */ /** Column name A_Asset_Spread_ID */
public static final String COLUMNNAME_A_Asset_Spread_ID = "A_Asset_Spread_ID"; public static final String COLUMNNAME_A_Asset_Spread_ID = "A_Asset_Spread_ID";
/** Set Asset Spread */ /** Set A_Asset_Spread_ID */
public void setA_Asset_Spread_ID (int A_Asset_Spread_ID); public void setA_Asset_Spread_ID (int A_Asset_Spread_ID);
/** Get Asset Spread */ /** Get A_Asset_Spread_ID */
public int getA_Asset_Spread_ID(); public int getA_Asset_Spread_ID();
public I_A_Asset_Spread getA_Asset_Spread() throws RuntimeException; public org.compiere.model.I_A_Asset_Spread getA_Asset_Spread() throws RuntimeException;
/** Column name AD_Client_ID */ /** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
@ -107,14 +118,25 @@ public interface I_A_Asset_Acct
/** Column name A_Depreciation_Acct */ /** Column name A_Depreciation_Acct */
public static final String COLUMNNAME_A_Depreciation_Acct = "A_Depreciation_Acct"; public static final String COLUMNNAME_A_Depreciation_Acct = "A_Depreciation_Acct";
/** Set Depreciation Expense Account */ /** Set Depreciation Account */
public void setA_Depreciation_Acct (int A_Depreciation_Acct); public void setA_Depreciation_Acct (int A_Depreciation_Acct);
/** Get Depreciation Expense Account */ /** Get Depreciation Account */
public int getA_Depreciation_Acct(); public int getA_Depreciation_Acct();
public I_C_ValidCombination getA_Depreciation_A() throws RuntimeException; public I_C_ValidCombination getA_Depreciation_A() throws RuntimeException;
/** Column name A_Depreciation_Conv_F_ID */
public static final String COLUMNNAME_A_Depreciation_Conv_F_ID = "A_Depreciation_Conv_F_ID";
/** Set Depreciation Convention (fiscal) */
public void setA_Depreciation_Conv_F_ID (int A_Depreciation_Conv_F_ID);
/** Get Depreciation Convention (fiscal) */
public int getA_Depreciation_Conv_F_ID();
public org.compiere.model.I_A_Depreciation_Convention getA_Depreciation_Conv_F() throws RuntimeException;
/** Column name A_Depreciation_Conv_ID */ /** Column name A_Depreciation_Conv_ID */
public static final String COLUMNNAME_A_Depreciation_Conv_ID = "A_Depreciation_Conv_ID"; public static final String COLUMNNAME_A_Depreciation_Conv_ID = "A_Depreciation_Conv_ID";
@ -124,68 +146,99 @@ public interface I_A_Asset_Acct
/** Get Convention Type */ /** Get Convention Type */
public int getA_Depreciation_Conv_ID(); public int getA_Depreciation_Conv_ID();
public I_A_Depreciation_Convention getA_Depreciation_Conv() throws RuntimeException; public org.compiere.model.I_A_Depreciation_Convention getA_Depreciation_Conv() throws RuntimeException;
/** Column name A_Depreciation_F_ID */
public static final String COLUMNNAME_A_Depreciation_F_ID = "A_Depreciation_F_ID";
/** Set Depreciation (fiscal) */
public void setA_Depreciation_F_ID (int A_Depreciation_F_ID);
/** Get Depreciation (fiscal) */
public int getA_Depreciation_F_ID();
public org.compiere.model.I_A_Depreciation getA_Depreciation_F() throws RuntimeException;
/** Column name A_Depreciation_ID */ /** Column name A_Depreciation_ID */
public static final String COLUMNNAME_A_Depreciation_ID = "A_Depreciation_ID"; public static final String COLUMNNAME_A_Depreciation_ID = "A_Depreciation_ID";
/** Set Depreciation Type */ /** Set Depreciation */
public void setA_Depreciation_ID (int A_Depreciation_ID); public void setA_Depreciation_ID (int A_Depreciation_ID);
/** Get Depreciation Type */ /** Get Depreciation */
public int getA_Depreciation_ID(); public int getA_Depreciation_ID();
public I_A_Depreciation getA_Depreciation() throws RuntimeException; public org.compiere.model.I_A_Depreciation getA_Depreciation() throws RuntimeException;
/** Column name A_Depreciation_Manual_Amount */ /** Column name A_Depreciation_Manual_Amount */
public static final String COLUMNNAME_A_Depreciation_Manual_Amount = "A_Depreciation_Manual_Amount"; public static final String COLUMNNAME_A_Depreciation_Manual_Amount = "A_Depreciation_Manual_Amount";
/** Set Depreciation Manual Amount */ /** Set A_Depreciation_Manual_Amount */
public void setA_Depreciation_Manual_Amount (BigDecimal A_Depreciation_Manual_Amount); public void setA_Depreciation_Manual_Amount (BigDecimal A_Depreciation_Manual_Amount);
/** Get Depreciation Manual Amount */ /** Get A_Depreciation_Manual_Amount */
public BigDecimal getA_Depreciation_Manual_Amount(); public BigDecimal getA_Depreciation_Manual_Amount();
/** Column name A_Depreciation_Manual_Period */ /** Column name A_Depreciation_Manual_Period */
public static final String COLUMNNAME_A_Depreciation_Manual_Period = "A_Depreciation_Manual_Period"; public static final String COLUMNNAME_A_Depreciation_Manual_Period = "A_Depreciation_Manual_Period";
/** Set Depreciation Manual Period */ /** Set A_Depreciation_Manual_Period */
public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period); public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period);
/** Get Depreciation Manual Period */ /** Get A_Depreciation_Manual_Period */
public String getA_Depreciation_Manual_Period(); public String getA_Depreciation_Manual_Period();
/** Column name A_Depreciation_Method_F_ID */
public static final String COLUMNNAME_A_Depreciation_Method_F_ID = "A_Depreciation_Method_F_ID";
/** Set Depreciation Method (fiscal) */
public void setA_Depreciation_Method_F_ID (int A_Depreciation_Method_F_ID);
/** Get Depreciation Method (fiscal) */
public int getA_Depreciation_Method_F_ID();
public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Method_F() throws RuntimeException;
/** Column name A_Depreciation_Method_ID */ /** Column name A_Depreciation_Method_ID */
public static final String COLUMNNAME_A_Depreciation_Method_ID = "A_Depreciation_Method_ID"; public static final String COLUMNNAME_A_Depreciation_Method_ID = "A_Depreciation_Method_ID";
/** Set Depreciation Calculation Type */ /** Set Depreciation Method */
public void setA_Depreciation_Method_ID (int A_Depreciation_Method_ID); public void setA_Depreciation_Method_ID (int A_Depreciation_Method_ID);
/** Get Depreciation Calculation Type */ /** Get Depreciation Method */
public int getA_Depreciation_Method_ID(); public int getA_Depreciation_Method_ID();
public I_A_Depreciation_Method getA_Depreciation_Method() throws RuntimeException; public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Method() throws RuntimeException;
/** Column name A_Depreciation_Table_Header_ID */ /** Column name A_Depreciation_Table_Header_ID */
public static final String COLUMNNAME_A_Depreciation_Table_Header_ID = "A_Depreciation_Table_Header_ID"; public static final String COLUMNNAME_A_Depreciation_Table_Header_ID = "A_Depreciation_Table_Header_ID";
/** Set Depreciation Table Header */ /** Set A_Depreciation_Table_Header_ID */
public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID); public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID);
/** Get Depreciation Table Header */ /** Get A_Depreciation_Table_Header_ID */
public int getA_Depreciation_Table_Header_ID(); public int getA_Depreciation_Table_Header_ID();
public I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException; public org.compiere.model.I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException;
/** Column name A_Depreciation_Variable_Perc */ /** Column name A_Depreciation_Variable_Perc */
public static final String COLUMNNAME_A_Depreciation_Variable_Perc = "A_Depreciation_Variable_Perc"; public static final String COLUMNNAME_A_Depreciation_Variable_Perc = "A_Depreciation_Variable_Perc";
/** Set Depreciation Variable Perc. */ /** Set Variable Percent */
public void setA_Depreciation_Variable_Perc (BigDecimal A_Depreciation_Variable_Perc); public void setA_Depreciation_Variable_Perc (BigDecimal A_Depreciation_Variable_Perc);
/** Get Depreciation Variable Perc. */ /** Get Variable Percent */
public BigDecimal getA_Depreciation_Variable_Perc(); public BigDecimal getA_Depreciation_Variable_Perc();
/** Column name A_Depreciation_Variable_Perc_F */
public static final String COLUMNNAME_A_Depreciation_Variable_Perc_F = "A_Depreciation_Variable_Perc_F";
/** Set Variable Percent (fiscal) */
public void setA_Depreciation_Variable_Perc_F (BigDecimal A_Depreciation_Variable_Perc_F);
/** Get Variable Percent (fiscal) */
public BigDecimal getA_Depreciation_Variable_Perc_F();
/** Column name A_Disposal_Gain */ /** Column name A_Disposal_Gain */
public static final String COLUMNNAME_A_Disposal_Gain = "A_Disposal_Gain"; public static final String COLUMNNAME_A_Disposal_Gain = "A_Disposal_Gain";
@ -197,6 +250,17 @@ public interface I_A_Asset_Acct
public I_C_ValidCombination getA_Disposal_G() throws RuntimeException; public I_C_ValidCombination getA_Disposal_G() throws RuntimeException;
/** Column name A_Disposal_Gain_Acct */
public static final String COLUMNNAME_A_Disposal_Gain_Acct = "A_Disposal_Gain_Acct";
/** Set Disposal Gain Acct */
public void setA_Disposal_Gain_Acct (int A_Disposal_Gain_Acct);
/** Get Disposal Gain Acct */
public int getA_Disposal_Gain_Acct();
public I_C_ValidCombination getA_Disposal_Gain_A() throws RuntimeException;
/** Column name A_Disposal_Loss */ /** Column name A_Disposal_Loss */
public static final String COLUMNNAME_A_Disposal_Loss = "A_Disposal_Loss"; public static final String COLUMNNAME_A_Disposal_Loss = "A_Disposal_Loss";
@ -208,6 +272,17 @@ public interface I_A_Asset_Acct
public I_C_ValidCombination getA_Disposal_L() throws RuntimeException; public I_C_ValidCombination getA_Disposal_L() throws RuntimeException;
/** Column name A_Disposal_Loss_Acct */
public static final String COLUMNNAME_A_Disposal_Loss_Acct = "A_Disposal_Loss_Acct";
/** Set Disposal Loss Acct */
public void setA_Disposal_Loss_Acct (int A_Disposal_Loss_Acct);
/** Get Disposal Loss Acct */
public int getA_Disposal_Loss_Acct();
public I_C_ValidCombination getA_Disposal_Loss_A() throws RuntimeException;
/** Column name A_Disposal_Revenue */ /** Column name A_Disposal_Revenue */
public static final String COLUMNNAME_A_Disposal_Revenue = "A_Disposal_Revenue"; public static final String COLUMNNAME_A_Disposal_Revenue = "A_Disposal_Revenue";
@ -219,6 +294,17 @@ public interface I_A_Asset_Acct
public I_C_ValidCombination getA_Disposal_Reve() throws RuntimeException; public I_C_ValidCombination getA_Disposal_Reve() throws RuntimeException;
/** Column name A_Disposal_Revenue_Acct */
public static final String COLUMNNAME_A_Disposal_Revenue_Acct = "A_Disposal_Revenue_Acct";
/** Set Disposal Revenue Acct */
public void setA_Disposal_Revenue_Acct (int A_Disposal_Revenue_Acct);
/** Get Disposal Revenue Acct */
public int getA_Disposal_Revenue_Acct();
public I_C_ValidCombination getA_Disposal_Revenue_A() throws RuntimeException;
/** Column name AD_Org_ID */ /** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -235,19 +321,19 @@ public interface I_A_Asset_Acct
/** Column name A_Period_End */ /** Column name A_Period_End */
public static final String COLUMNNAME_A_Period_End = "A_Period_End"; public static final String COLUMNNAME_A_Period_End = "A_Period_End";
/** Set Period End */ /** Set A_Period_End */
public void setA_Period_End (int A_Period_End); public void setA_Period_End (int A_Period_End);
/** Get Period End */ /** Get A_Period_End */
public int getA_Period_End(); public int getA_Period_End();
/** Column name A_Period_Start */ /** Column name A_Period_Start */
public static final String COLUMNNAME_A_Period_Start = "A_Period_Start"; public static final String COLUMNNAME_A_Period_Start = "A_Period_Start";
/** Set Period Start */ /** Set A_Period_Start */
public void setA_Period_Start (int A_Period_Start); public void setA_Period_Start (int A_Period_Start);
/** Get Period Start */ /** Get A_Period_Start */
public int getA_Period_Start(); public int getA_Period_Start();
/** Column name A_Reval_Accumdep_Offset_Cur */ /** Column name A_Reval_Accumdep_Offset_Cur */
@ -272,13 +358,35 @@ public interface I_A_Asset_Acct
public I_C_ValidCombination getA_Reval_Accumdep_Offset_Pr() throws RuntimeException; public I_C_ValidCombination getA_Reval_Accumdep_Offset_Pr() throws RuntimeException;
/** Column name A_Reval_Adep_Offset_Cur_Acct */
public static final String COLUMNNAME_A_Reval_Adep_Offset_Cur_Acct = "A_Reval_Adep_Offset_Cur_Acct";
/** Set A_Reval_Accumdep_Offset_Cur */
public void setA_Reval_Adep_Offset_Cur_Acct (int A_Reval_Adep_Offset_Cur_Acct);
/** Get A_Reval_Accumdep_Offset_Cur */
public int getA_Reval_Adep_Offset_Cur_Acct();
public I_C_ValidCombination getA_Reval_Adep_Offset_Cur_A() throws RuntimeException;
/** Column name A_Reval_Adep_Offset_Prior_Acct */
public static final String COLUMNNAME_A_Reval_Adep_Offset_Prior_Acct = "A_Reval_Adep_Offset_Prior_Acct";
/** Set A_Reval_Accumdep_Offset_Prior */
public void setA_Reval_Adep_Offset_Prior_Acct (int A_Reval_Adep_Offset_Prior_Acct);
/** Get A_Reval_Accumdep_Offset_Prior */
public int getA_Reval_Adep_Offset_Prior_Acct();
public I_C_ValidCombination getA_Reval_Adep_Offset_Prior_A() throws RuntimeException;
/** Column name A_Reval_Cal_Method */ /** Column name A_Reval_Cal_Method */
public static final String COLUMNNAME_A_Reval_Cal_Method = "A_Reval_Cal_Method"; public static final String COLUMNNAME_A_Reval_Cal_Method = "A_Reval_Cal_Method";
/** Set Revaluation Calculation Method */ /** Set A_Reval_Cal_Method */
public void setA_Reval_Cal_Method (String A_Reval_Cal_Method); public void setA_Reval_Cal_Method (String A_Reval_Cal_Method);
/** Get Revaluation Calculation Method */ /** Get A_Reval_Cal_Method */
public String getA_Reval_Cal_Method(); public String getA_Reval_Cal_Method();
/** Column name A_Reval_Cost_Offset */ /** Column name A_Reval_Cost_Offset */
@ -292,6 +400,17 @@ public interface I_A_Asset_Acct
public I_C_ValidCombination getA_Reval_Cost_Off() throws RuntimeException; public I_C_ValidCombination getA_Reval_Cost_Off() throws RuntimeException;
/** Column name A_Reval_Cost_Offset_Acct */
public static final String COLUMNNAME_A_Reval_Cost_Offset_Acct = "A_Reval_Cost_Offset_Acct";
/** Set Reval Cost Offset Acct */
public void setA_Reval_Cost_Offset_Acct (int A_Reval_Cost_Offset_Acct);
/** Get Reval Cost Offset Acct */
public int getA_Reval_Cost_Offset_Acct();
public I_C_ValidCombination getA_Reval_Cost_Offset_A() throws RuntimeException;
/** Column name A_Reval_Cost_Offset_Prior */ /** Column name A_Reval_Cost_Offset_Prior */
public static final String COLUMNNAME_A_Reval_Cost_Offset_Prior = "A_Reval_Cost_Offset_Prior"; public static final String COLUMNNAME_A_Reval_Cost_Offset_Prior = "A_Reval_Cost_Offset_Prior";
@ -303,6 +422,17 @@ public interface I_A_Asset_Acct
public I_C_ValidCombination getA_Reval_Cost_Offset_Pr() throws RuntimeException; public I_C_ValidCombination getA_Reval_Cost_Offset_Pr() throws RuntimeException;
/** Column name A_Reval_Cost_Offset_Prior_Acct */
public static final String COLUMNNAME_A_Reval_Cost_Offset_Prior_Acct = "A_Reval_Cost_Offset_Prior_Acct";
/** Set Reval Cost Offset Prior Acct */
public void setA_Reval_Cost_Offset_Prior_Acct (int A_Reval_Cost_Offset_Prior_Acct);
/** Get Reval Cost Offset Prior Acct */
public int getA_Reval_Cost_Offset_Prior_Acct();
public I_C_ValidCombination getA_Reval_Cost_Offset_Prior_A() throws RuntimeException;
/** Column name A_Reval_Depexp_Offset */ /** Column name A_Reval_Depexp_Offset */
public static final String COLUMNNAME_A_Reval_Depexp_Offset = "A_Reval_Depexp_Offset"; public static final String COLUMNNAME_A_Reval_Depexp_Offset = "A_Reval_Depexp_Offset";
@ -314,22 +444,33 @@ public interface I_A_Asset_Acct
public I_C_ValidCombination getA_Reval_Depexp_Off() throws RuntimeException; public I_C_ValidCombination getA_Reval_Depexp_Off() throws RuntimeException;
/** Column name A_Reval_Depexp_Offset_Acct */
public static final String COLUMNNAME_A_Reval_Depexp_Offset_Acct = "A_Reval_Depexp_Offset_Acct";
/** Set Reval Depexp Offset Acct */
public void setA_Reval_Depexp_Offset_Acct (int A_Reval_Depexp_Offset_Acct);
/** Get Reval Depexp Offset Acct */
public int getA_Reval_Depexp_Offset_Acct();
public I_C_ValidCombination getA_Reval_Depexp_Offset_A() throws RuntimeException;
/** Column name A_Salvage_Value */ /** Column name A_Salvage_Value */
public static final String COLUMNNAME_A_Salvage_Value = "A_Salvage_Value"; public static final String COLUMNNAME_A_Salvage_Value = "A_Salvage_Value";
/** Set Salvage Value */ /** Set Asset Salvage Value */
public void setA_Salvage_Value (BigDecimal A_Salvage_Value); public void setA_Salvage_Value (BigDecimal A_Salvage_Value);
/** Get Salvage Value */ /** Get Asset Salvage Value */
public BigDecimal getA_Salvage_Value(); public BigDecimal getA_Salvage_Value();
/** Column name A_Split_Percent */ /** Column name A_Split_Percent */
public static final String COLUMNNAME_A_Split_Percent = "A_Split_Percent"; public static final String COLUMNNAME_A_Split_Percent = "A_Split_Percent";
/** Set Split Percentage */ /** Set Split Percent */
public void setA_Split_Percent (BigDecimal A_Split_Percent); public void setA_Split_Percent (BigDecimal A_Split_Percent);
/** Get Split Percentage */ /** Get Split Percent */
public BigDecimal getA_Split_Percent(); public BigDecimal getA_Split_Percent();
/** Column name C_AcctSchema_ID */ /** Column name C_AcctSchema_ID */
@ -345,7 +486,7 @@ public interface I_A_Asset_Acct
*/ */
public int getC_AcctSchema_ID(); public int getC_AcctSchema_ID();
public I_C_AcctSchema getC_AcctSchema() throws RuntimeException; public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException;
/** Column name Created */ /** Column name Created */
public static final String COLUMNNAME_Created = "Created"; public static final String COLUMNNAME_Created = "Created";
@ -413,4 +554,17 @@ public interface I_A_Asset_Acct
* User who updated this records * User who updated this records
*/ */
public int getUpdatedBy(); public int getUpdatedBy();
/** Column name ValidFrom */
public static final String COLUMNNAME_ValidFrom = "ValidFrom";
/** Set Valid from.
* Valid from including this date (first day)
*/
public void setValidFrom (Timestamp ValidFrom);
/** Get Valid from.
* Valid from including this date (first day)
*/
public Timestamp getValidFrom();
} }

View File

@ -31,16 +31,43 @@ public interface I_A_Asset_Addition
public static final String Table_Name = "A_Asset_Addition"; public static final String Table_Name = "A_Asset_Addition";
/** AD_Table_ID=53137 */ /** AD_Table_ID=53137 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53137;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
/** AccessLevel = 7 - System - Client - Org /** AccessLevel = 3 - Client - Org
*/ */
BigDecimal accessLevel = BigDecimal.valueOf(7); BigDecimal accessLevel = BigDecimal.valueOf(3);
/** Load Meta Data */ /** Load Meta Data */
/** Column name A_Accumulated_Depr */
public static final String COLUMNNAME_A_Accumulated_Depr = "A_Accumulated_Depr";
/** Set Accumulated Depreciation */
public void setA_Accumulated_Depr (BigDecimal A_Accumulated_Depr);
/** Get Accumulated Depreciation */
public BigDecimal getA_Accumulated_Depr();
/** Column name A_Accumulated_Depr_Adjust */
public static final String COLUMNNAME_A_Accumulated_Depr_Adjust = "A_Accumulated_Depr_Adjust";
/** Set Adjust Accumulated Depreciation */
public void setA_Accumulated_Depr_Adjust (boolean A_Accumulated_Depr_Adjust);
/** Get Adjust Accumulated Depreciation */
public boolean isA_Accumulated_Depr_Adjust();
/** Column name A_Accumulated_Depr_F */
public static final String COLUMNNAME_A_Accumulated_Depr_F = "A_Accumulated_Depr_F";
/** Set Accumulated Depreciation (fiscal) */
public void setA_Accumulated_Depr_F (BigDecimal A_Accumulated_Depr_F);
/** Get Accumulated Depreciation (fiscal) */
public BigDecimal getA_Accumulated_Depr_F();
/** Column name A_Asset_Addition_ID */ /** Column name A_Asset_Addition_ID */
public static final String COLUMNNAME_A_Asset_Addition_ID = "A_Asset_Addition_ID"; public static final String COLUMNNAME_A_Asset_Addition_ID = "A_Asset_Addition_ID";
@ -50,6 +77,15 @@ public interface I_A_Asset_Addition
/** Get Asset Addition */ /** Get Asset Addition */
public int getA_Asset_Addition_ID(); public int getA_Asset_Addition_ID();
/** Column name A_Asset_Addition_UU */
public static final String COLUMNNAME_A_Asset_Addition_UU = "A_Asset_Addition_UU";
/** Set A_Asset_Addition_UU */
public void setA_Asset_Addition_UU (String A_Asset_Addition_UU);
/** Get A_Asset_Addition_UU */
public String getA_Asset_Addition_UU();
/** Column name A_Asset_ID */ /** Column name A_Asset_ID */
public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID";
@ -63,15 +99,26 @@ public interface I_A_Asset_Addition
*/ */
public int getA_Asset_ID(); public int getA_Asset_ID();
public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException;
/** Column name A_CapvsExp */ /** Column name A_CapvsExp */
public static final String COLUMNNAME_A_CapvsExp = "A_CapvsExp"; public static final String COLUMNNAME_A_CapvsExp = "A_CapvsExp";
/** Set Capital vs Expense */ /** Set Capital/Expense */
public void setA_CapvsExp (String A_CapvsExp); public void setA_CapvsExp (String A_CapvsExp);
/** Get Capital vs Expense */ /** Get Capital/Expense */
public String getA_CapvsExp(); public String getA_CapvsExp();
/** Column name A_CreateAsset */
public static final String COLUMNNAME_A_CreateAsset = "A_CreateAsset";
/** Set Create Asset */
public void setA_CreateAsset (boolean A_CreateAsset);
/** Get Create Asset */
public boolean isA_CreateAsset();
/** Column name AD_Client_ID */ /** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
@ -93,24 +140,78 @@ public interface I_A_Asset_Addition
*/ */
public int getAD_Org_ID(); public int getAD_Org_ID();
/** Column name A_Life_Period_Max */
public static final String COLUMNNAME_A_Life_Period_Max = "A_Life_Period_Max";
/** Set Life periods (max) */
public void setA_Life_Period_Max (int A_Life_Period_Max);
/** Get Life periods (max) */
public int getA_Life_Period_Max();
/** Column name A_Life_Period_Min */
public static final String COLUMNNAME_A_Life_Period_Min = "A_Life_Period_Min";
/** Set Life periods (min) */
public void setA_Life_Period_Min (int A_Life_Period_Min);
/** Get Life periods (min) */
public int getA_Life_Period_Min();
/** Column name A_Period_Start */
public static final String COLUMNNAME_A_Period_Start = "A_Period_Start";
/** Set A_Period_Start */
public void setA_Period_Start (int A_Period_Start);
/** Get A_Period_Start */
public int getA_Period_Start();
/** Column name A_QTY_Current */ /** Column name A_QTY_Current */
public static final String COLUMNNAME_A_QTY_Current = "A_QTY_Current"; public static final String COLUMNNAME_A_QTY_Current = "A_QTY_Current";
/** Set Quantity */ /** Set Current Qty */
public void setA_QTY_Current (BigDecimal A_QTY_Current); public void setA_QTY_Current (BigDecimal A_QTY_Current);
/** Get Quantity */ /** Get Current Qty */
public BigDecimal getA_QTY_Current(); public BigDecimal getA_QTY_Current();
/** Column name A_Salvage_Value */
public static final String COLUMNNAME_A_Salvage_Value = "A_Salvage_Value";
/** Set Asset Salvage Value */
public void setA_Salvage_Value (BigDecimal A_Salvage_Value);
/** Get Asset Salvage Value */
public BigDecimal getA_Salvage_Value();
/** Column name A_SourceType */ /** Column name A_SourceType */
public static final String COLUMNNAME_A_SourceType = "A_SourceType"; public static final String COLUMNNAME_A_SourceType = "A_SourceType";
/** Set Source of Entry */ /** Set Source Type */
public void setA_SourceType (String A_SourceType); public void setA_SourceType (String A_SourceType);
/** Get Source of Entry */ /** Get Source Type */
public String getA_SourceType(); public String getA_SourceType();
/** Column name AssetAmtEntered */
public static final String COLUMNNAME_AssetAmtEntered = "AssetAmtEntered";
/** Set Entered Amount */
public void setAssetAmtEntered (BigDecimal AssetAmtEntered);
/** Get Entered Amount */
public BigDecimal getAssetAmtEntered();
/** Column name AssetSourceAmt */
public static final String COLUMNNAME_AssetSourceAmt = "AssetSourceAmt";
/** Set Source Amount */
public void setAssetSourceAmt (BigDecimal AssetSourceAmt);
/** Get Source Amount */
public BigDecimal getAssetSourceAmt();
/** Column name AssetValueAmt */ /** Column name AssetValueAmt */
public static final String COLUMNNAME_AssetValueAmt = "AssetValueAmt"; public static final String COLUMNNAME_AssetValueAmt = "AssetValueAmt";
@ -124,6 +225,51 @@ public interface I_A_Asset_Addition
*/ */
public BigDecimal getAssetValueAmt(); public BigDecimal getAssetValueAmt();
/** Column name C_Charge_ID */
public static final String COLUMNNAME_C_Charge_ID = "C_Charge_ID";
/** Set Charge.
* Additional document charges
*/
public void setC_Charge_ID (int C_Charge_ID);
/** Get Charge.
* Additional document charges
*/
public int getC_Charge_ID();
public org.compiere.model.I_C_Charge getC_Charge() throws RuntimeException;
/** Column name C_ConversionType_ID */
public static final String COLUMNNAME_C_ConversionType_ID = "C_ConversionType_ID";
/** Set Currency Type.
* Currency Conversion Rate Type
*/
public void setC_ConversionType_ID (int C_ConversionType_ID);
/** Get Currency Type.
* Currency Conversion Rate Type
*/
public int getC_ConversionType_ID();
public org.compiere.model.I_C_ConversionType getC_ConversionType() throws RuntimeException;
/** Column name C_Currency_ID */
public static final String COLUMNNAME_C_Currency_ID = "C_Currency_ID";
/** Set Currency.
* The Currency for this record
*/
public void setC_Currency_ID (int C_Currency_ID);
/** Get Currency.
* The Currency for this record
*/
public int getC_Currency_ID();
public org.compiere.model.I_C_Currency getC_Currency() throws RuntimeException;
/** Column name C_Invoice_ID */ /** Column name C_Invoice_ID */
public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID"; public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID";
@ -137,7 +283,37 @@ public interface I_A_Asset_Addition
*/ */
public int getC_Invoice_ID(); public int getC_Invoice_ID();
public I_C_Invoice getC_Invoice() throws RuntimeException; public org.compiere.model.I_C_Invoice getC_Invoice() throws RuntimeException;
/** Column name C_InvoiceLine_ID */
public static final String COLUMNNAME_C_InvoiceLine_ID = "C_InvoiceLine_ID";
/** Set Invoice Line.
* Invoice Detail Line
*/
public void setC_InvoiceLine_ID (int C_InvoiceLine_ID);
/** Get Invoice Line.
* Invoice Detail Line
*/
public int getC_InvoiceLine_ID();
public org.compiere.model.I_C_InvoiceLine getC_InvoiceLine() throws RuntimeException;
/** Column name C_Project_ID */
public static final String COLUMNNAME_C_Project_ID = "C_Project_ID";
/** Set Project.
* Financial Project
*/
public void setC_Project_ID (int C_Project_ID);
/** Get Project.
* Financial Project
*/
public int getC_Project_ID();
public org.compiere.model.I_C_Project getC_Project() throws RuntimeException;
/** Column name Created */ /** Column name Created */
public static final String COLUMNNAME_Created = "Created"; public static final String COLUMNNAME_Created = "Created";
@ -155,6 +331,67 @@ public interface I_A_Asset_Addition
*/ */
public int getCreatedBy(); public int getCreatedBy();
/** Column name CurrencyRate */
public static final String COLUMNNAME_CurrencyRate = "CurrencyRate";
/** Set Rate.
* Currency Conversion Rate
*/
public void setCurrencyRate (BigDecimal CurrencyRate);
/** Get Rate.
* Currency Conversion Rate
*/
public BigDecimal getCurrencyRate();
/** Column name DateAcct */
public static final String COLUMNNAME_DateAcct = "DateAcct";
/** Set Account Date.
* Accounting Date
*/
public void setDateAcct (Timestamp DateAcct);
/** Get Account Date.
* Accounting Date
*/
public Timestamp getDateAcct();
/** Column name DateDoc */
public static final String COLUMNNAME_DateDoc = "DateDoc";
/** Set Document Date.
* Date of the Document
*/
public void setDateDoc (Timestamp DateDoc);
/** Get Document Date.
* Date of the Document
*/
public Timestamp getDateDoc();
/** Column name DeltaUseLifeYears */
public static final String COLUMNNAME_DeltaUseLifeYears = "DeltaUseLifeYears";
/** Set Delta Use Life Years */
public void setDeltaUseLifeYears (int DeltaUseLifeYears);
/** Get Delta Use Life Years */
public int getDeltaUseLifeYears();
/** Column name DeltaUseLifeYears_F */
public static final String COLUMNNAME_DeltaUseLifeYears_F = "DeltaUseLifeYears_F";
/** Set Delta Use Life Years (fiscal).
* Delta Use Life Years (fiscal)
*/
public void setDeltaUseLifeYears_F (int DeltaUseLifeYears_F);
/** Get Delta Use Life Years (fiscal).
* Delta Use Life Years (fiscal)
*/
public int getDeltaUseLifeYears_F();
/** Column name Description */ /** Column name Description */
public static final String COLUMNNAME_Description = "Description"; public static final String COLUMNNAME_Description = "Description";
@ -168,6 +405,32 @@ public interface I_A_Asset_Addition
*/ */
public String getDescription(); public String getDescription();
/** Column name DocAction */
public static final String COLUMNNAME_DocAction = "DocAction";
/** Set Document Action.
* The targeted status of the document
*/
public void setDocAction (String DocAction);
/** Get Document Action.
* The targeted status of the document
*/
public String getDocAction();
/** Column name DocStatus */
public static final String COLUMNNAME_DocStatus = "DocStatus";
/** Set Document Status.
* The current status of the document
*/
public void setDocStatus (String DocStatus);
/** Get Document Status.
* The current status of the document
*/
public String getDocStatus();
/** Column name DocumentNo */ /** Column name DocumentNo */
public static final String COLUMNNAME_DocumentNo = "DocumentNo"; public static final String COLUMNNAME_DocumentNo = "DocumentNo";
@ -194,7 +457,18 @@ public interface I_A_Asset_Addition
*/ */
public int getGL_JournalBatch_ID(); public int getGL_JournalBatch_ID();
public I_GL_JournalBatch getGL_JournalBatch() throws RuntimeException; public org.compiere.model.I_GL_JournalBatch getGL_JournalBatch() throws RuntimeException;
/** Column name I_FixedAsset_ID */
public static final String COLUMNNAME_I_FixedAsset_ID = "I_FixedAsset_ID";
/** Set Imported Fixed Asset */
public void setI_FixedAsset_ID (int I_FixedAsset_ID);
/** Get Imported Fixed Asset */
public int getI_FixedAsset_ID();
public org.compiere.model.I_I_FixedAsset getI_FixedAsset() throws RuntimeException;
/** Column name IsActive */ /** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive"; public static final String COLUMNNAME_IsActive = "IsActive";
@ -209,6 +483,19 @@ public interface I_A_Asset_Addition
*/ */
public boolean isActive(); public boolean isActive();
/** Column name IsApproved */
public static final String COLUMNNAME_IsApproved = "IsApproved";
/** Set Approved.
* Indicates if this document requires approval
*/
public void setIsApproved (boolean IsApproved);
/** Get Approved.
* Indicates if this document requires approval
*/
public boolean isApproved();
/** Column name Line */ /** Column name Line */
public static final String COLUMNNAME_Line = "Line"; public static final String COLUMNNAME_Line = "Line";
@ -222,6 +509,21 @@ public interface I_A_Asset_Addition
*/ */
public int getLine(); public int getLine();
/** Column name M_AttributeSetInstance_ID */
public static final String COLUMNNAME_M_AttributeSetInstance_ID = "M_AttributeSetInstance_ID";
/** Set Attribute Set Instance.
* Product Attribute Set Instance
*/
public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID);
/** Get Attribute Set Instance.
* Product Attribute Set Instance
*/
public int getM_AttributeSetInstance_ID();
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException;
/** Column name M_InOutLine_ID */ /** Column name M_InOutLine_ID */
public static final String COLUMNNAME_M_InOutLine_ID = "M_InOutLine_ID"; public static final String COLUMNNAME_M_InOutLine_ID = "M_InOutLine_ID";
@ -235,6 +537,66 @@ public interface I_A_Asset_Addition
*/ */
public int getM_InOutLine_ID(); public int getM_InOutLine_ID();
public org.compiere.model.I_M_InOutLine getM_InOutLine() throws RuntimeException;
/** Column name M_Locator_ID */
public static final String COLUMNNAME_M_Locator_ID = "M_Locator_ID";
/** Set Locator.
* Warehouse Locator
*/
public void setM_Locator_ID (int M_Locator_ID);
/** Get Locator.
* Warehouse Locator
*/
public int getM_Locator_ID();
public I_M_Locator getM_Locator() throws RuntimeException;
/** Column name M_MatchInv_ID */
public static final String COLUMNNAME_M_MatchInv_ID = "M_MatchInv_ID";
/** Set Match Invoice.
* Match Shipment/Receipt to Invoice
*/
public void setM_MatchInv_ID (int M_MatchInv_ID);
/** Get Match Invoice.
* Match Shipment/Receipt to Invoice
*/
public int getM_MatchInv_ID();
public org.compiere.model.I_M_MatchInv getM_MatchInv() throws RuntimeException;
/** 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();
public org.compiere.model.I_M_Product getM_Product() throws RuntimeException;
/** Column name Posted */
public static final String COLUMNNAME_Posted = "Posted";
/** Set Posted.
* Posting status
*/
public void setPosted (boolean Posted);
/** Get Posted.
* Posting status
*/
public boolean isPosted();
/** Column name PostingType */ /** Column name PostingType */
public static final String COLUMNNAME_PostingType = "PostingType"; public static final String COLUMNNAME_PostingType = "PostingType";
@ -248,6 +610,41 @@ public interface I_A_Asset_Addition
*/ */
public String getPostingType(); public String getPostingType();
/** Column name Processed */
public static final String COLUMNNAME_Processed = "Processed";
/** Set Processed.
* The document has been processed
*/
public void setProcessed (boolean Processed);
/** Get Processed.
* The document has been processed
*/
public boolean isProcessed();
/** Column name ProcessedOn */
public static final String COLUMNNAME_ProcessedOn = "ProcessedOn";
/** Set Processed On.
* The date+time (expressed in decimal format) when the document has been processed
*/
public void setProcessedOn (BigDecimal ProcessedOn);
/** Get Processed On.
* The date+time (expressed in decimal format) when the document has been processed
*/
public BigDecimal getProcessedOn();
/** Column name Processing */
public static final String COLUMNNAME_Processing = "Processing";
/** Set Process Now */
public void setProcessing (boolean Processing);
/** Get Process Now */
public boolean isProcessing();
/** Column name Updated */ /** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated"; public static final String COLUMNNAME_Updated = "Updated";

View File

@ -31,7 +31,7 @@ public interface I_A_Asset_Change
public static final String Table_Name = "A_Asset_Change"; public static final String Table_Name = "A_Asset_Change";
/** AD_Table_ID=53133 */ /** AD_Table_ID=53133 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53133;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -44,10 +44,10 @@ public interface I_A_Asset_Change
/** Column name A_Accumdepreciation_Acct */ /** Column name A_Accumdepreciation_Acct */
public static final String COLUMNNAME_A_Accumdepreciation_Acct = "A_Accumdepreciation_Acct"; public static final String COLUMNNAME_A_Accumdepreciation_Acct = "A_Accumdepreciation_Acct";
/** Set Accumulated Depreciation */ /** Set Accumulated Depreciation Account */
public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct); public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct);
/** Get Accumulated Depreciation */ /** Get Accumulated Depreciation Account */
public int getA_Accumdepreciation_Acct(); public int getA_Accumdepreciation_Acct();
public I_C_ValidCombination getA_Accumdepreciation_A() throws RuntimeException; public I_C_ValidCombination getA_Accumdepreciation_A() throws RuntimeException;
@ -55,10 +55,10 @@ public interface I_A_Asset_Change
/** Column name A_Asset_Acct */ /** Column name A_Asset_Acct */
public static final String COLUMNNAME_A_Asset_Acct = "A_Asset_Acct"; public static final String COLUMNNAME_A_Asset_Acct = "A_Asset_Acct";
/** Set Asset Cost Account */ /** Set Asset Acct */
public void setA_Asset_Acct (int A_Asset_Acct); public void setA_Asset_Acct (int A_Asset_Acct);
/** Get Asset Cost Account */ /** Get Asset Acct */
public int getA_Asset_Acct(); public int getA_Asset_Acct();
public I_C_ValidCombination getA_Asset_A() throws RuntimeException; public I_C_ValidCombination getA_Asset_A() throws RuntimeException;
@ -66,10 +66,10 @@ public interface I_A_Asset_Change
/** Column name A_Asset_Acct_ID */ /** Column name A_Asset_Acct_ID */
public static final String COLUMNNAME_A_Asset_Acct_ID = "A_Asset_Acct_ID"; public static final String COLUMNNAME_A_Asset_Acct_ID = "A_Asset_Acct_ID";
/** Set Asset Acct. */ /** Set A_Asset_Acct_ID */
public void setA_Asset_Acct_ID (int A_Asset_Acct_ID); public void setA_Asset_Acct_ID (int A_Asset_Acct_ID);
/** Get Asset Acct. */ /** Get A_Asset_Acct_ID */
public int getA_Asset_Acct_ID(); public int getA_Asset_Acct_ID();
/** Column name A_Asset_Addition_ID */ /** Column name A_Asset_Addition_ID */
@ -84,19 +84,28 @@ public interface I_A_Asset_Change
/** Column name A_Asset_Change_ID */ /** Column name A_Asset_Change_ID */
public static final String COLUMNNAME_A_Asset_Change_ID = "A_Asset_Change_ID"; public static final String COLUMNNAME_A_Asset_Change_ID = "A_Asset_Change_ID";
/** Set Asset Change */ /** Set A_Asset_Change_ID */
public void setA_Asset_Change_ID (int A_Asset_Change_ID); public void setA_Asset_Change_ID (int A_Asset_Change_ID);
/** Get Asset Change */ /** Get A_Asset_Change_ID */
public int getA_Asset_Change_ID(); public int getA_Asset_Change_ID();
/** Column name A_Asset_Change_UU */
public static final String COLUMNNAME_A_Asset_Change_UU = "A_Asset_Change_UU";
/** Set A_Asset_Change_UU */
public void setA_Asset_Change_UU (String A_Asset_Change_UU);
/** Get A_Asset_Change_UU */
public String getA_Asset_Change_UU();
/** Column name A_Asset_CreateDate */ /** Column name A_Asset_CreateDate */
public static final String COLUMNNAME_A_Asset_CreateDate = "A_Asset_CreateDate"; public static final String COLUMNNAME_A_Asset_CreateDate = "A_Asset_CreateDate";
/** Set Asset Creation Date */ /** Set Create Date */
public void setA_Asset_CreateDate (Timestamp A_Asset_CreateDate); public void setA_Asset_CreateDate (Timestamp A_Asset_CreateDate);
/** Get Asset Creation Date */ /** Get Create Date */
public Timestamp getA_Asset_CreateDate(); public Timestamp getA_Asset_CreateDate();
/** Column name A_Asset_ID */ /** Column name A_Asset_ID */
@ -112,7 +121,7 @@ public interface I_A_Asset_Change
*/ */
public int getA_Asset_ID(); public int getA_Asset_ID();
public I_A_Asset getA_Asset() throws RuntimeException; public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException;
/** Column name A_Asset_Retirement_ID */ /** Column name A_Asset_Retirement_ID */
public static final String COLUMNNAME_A_Asset_Retirement_ID = "A_Asset_Retirement_ID"; public static final String COLUMNNAME_A_Asset_Retirement_ID = "A_Asset_Retirement_ID";
@ -130,22 +139,22 @@ public interface I_A_Asset_Change
/** Column name A_Asset_RevalDate */ /** Column name A_Asset_RevalDate */
public static final String COLUMNNAME_A_Asset_RevalDate = "A_Asset_RevalDate"; public static final String COLUMNNAME_A_Asset_RevalDate = "A_Asset_RevalDate";
/** Set Asset Reval. Date */ /** Set Revaluation Date */
public void setA_Asset_RevalDate (Timestamp A_Asset_RevalDate); public void setA_Asset_RevalDate (Timestamp A_Asset_RevalDate);
/** Get Asset Reval. Date */ /** Get Revaluation Date */
public Timestamp getA_Asset_RevalDate(); public Timestamp getA_Asset_RevalDate();
/** Column name A_Asset_Spread_Type */ /** Column name A_Asset_Spread_Type */
public static final String COLUMNNAME_A_Asset_Spread_Type = "A_Asset_Spread_Type"; public static final String COLUMNNAME_A_Asset_Spread_Type = "A_Asset_Spread_Type";
/** Set Asset Spread Type */ /** Set Spread Type */
public void setA_Asset_Spread_Type (int A_Asset_Spread_Type); public void setA_Asset_Spread_Type (int A_Asset_Spread_Type);
/** Get Asset Spread Type */ /** Get Spread Type */
public int getA_Asset_Spread_Type(); public int getA_Asset_Spread_Type();
public I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException; public org.compiere.model.I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException;
/** Column name AD_Client_ID */ /** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
@ -158,10 +167,10 @@ public interface I_A_Asset_Change
/** Column name A_Depreciation_Acct */ /** Column name A_Depreciation_Acct */
public static final String COLUMNNAME_A_Depreciation_Acct = "A_Depreciation_Acct"; public static final String COLUMNNAME_A_Depreciation_Acct = "A_Depreciation_Acct";
/** Set Depreciation Expense Account */ /** Set Depreciation Account */
public void setA_Depreciation_Acct (int A_Depreciation_Acct); public void setA_Depreciation_Acct (int A_Depreciation_Acct);
/** Get Depreciation Expense Account */ /** Get Depreciation Account */
public int getA_Depreciation_Acct(); public int getA_Depreciation_Acct();
public I_C_ValidCombination getA_Depreciation_A() throws RuntimeException; public I_C_ValidCombination getA_Depreciation_A() throws RuntimeException;
@ -169,50 +178,50 @@ public interface I_A_Asset_Change
/** Column name A_Depreciation_Calc_Type */ /** Column name A_Depreciation_Calc_Type */
public static final String COLUMNNAME_A_Depreciation_Calc_Type = "A_Depreciation_Calc_Type"; public static final String COLUMNNAME_A_Depreciation_Calc_Type = "A_Depreciation_Calc_Type";
/** Set Depreciation Calculation Type */ /** Set Calculation Type */
public void setA_Depreciation_Calc_Type (int A_Depreciation_Calc_Type); public void setA_Depreciation_Calc_Type (int A_Depreciation_Calc_Type);
/** Get Depreciation Calculation Type */ /** Get Calculation Type */
public int getA_Depreciation_Calc_Type(); public int getA_Depreciation_Calc_Type();
public I_A_Depreciation_Method getA_Depreciation_Calc_T() throws RuntimeException; public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Calc_T() throws RuntimeException;
/** Column name A_Depreciation_Manual_Amount */ /** Column name A_Depreciation_Manual_Amount */
public static final String COLUMNNAME_A_Depreciation_Manual_Amount = "A_Depreciation_Manual_Amount"; public static final String COLUMNNAME_A_Depreciation_Manual_Amount = "A_Depreciation_Manual_Amount";
/** Set Depreciation Manual Amount */ /** Set A_Depreciation_Manual_Amount */
public void setA_Depreciation_Manual_Amount (BigDecimal A_Depreciation_Manual_Amount); public void setA_Depreciation_Manual_Amount (BigDecimal A_Depreciation_Manual_Amount);
/** Get Depreciation Manual Amount */ /** Get A_Depreciation_Manual_Amount */
public BigDecimal getA_Depreciation_Manual_Amount(); public BigDecimal getA_Depreciation_Manual_Amount();
/** Column name A_Depreciation_Manual_Period */ /** Column name A_Depreciation_Manual_Period */
public static final String COLUMNNAME_A_Depreciation_Manual_Period = "A_Depreciation_Manual_Period"; public static final String COLUMNNAME_A_Depreciation_Manual_Period = "A_Depreciation_Manual_Period";
/** Set Depreciation Manual Period */ /** Set A_Depreciation_Manual_Period */
public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period); public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period);
/** Get Depreciation Manual Period */ /** Get A_Depreciation_Manual_Period */
public String getA_Depreciation_Manual_Period(); public String getA_Depreciation_Manual_Period();
/** Column name A_Depreciation_Table_Header_ID */ /** Column name A_Depreciation_Table_Header_ID */
public static final String COLUMNNAME_A_Depreciation_Table_Header_ID = "A_Depreciation_Table_Header_ID"; public static final String COLUMNNAME_A_Depreciation_Table_Header_ID = "A_Depreciation_Table_Header_ID";
/** Set Depreciation Table Header */ /** Set A_Depreciation_Table_Header_ID */
public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID); public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID);
/** Get Depreciation Table Header */ /** Get A_Depreciation_Table_Header_ID */
public int getA_Depreciation_Table_Header_ID(); public int getA_Depreciation_Table_Header_ID();
public I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException; public org.compiere.model.I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException;
/** Column name A_Depreciation_Variable_Perc */ /** Column name A_Depreciation_Variable_Perc */
public static final String COLUMNNAME_A_Depreciation_Variable_Perc = "A_Depreciation_Variable_Perc"; public static final String COLUMNNAME_A_Depreciation_Variable_Perc = "A_Depreciation_Variable_Perc";
/** Set Depreciation Variable Perc. */ /** Set Variable Percent */
public void setA_Depreciation_Variable_Perc (BigDecimal A_Depreciation_Variable_Perc); public void setA_Depreciation_Variable_Perc (BigDecimal A_Depreciation_Variable_Perc);
/** Get Depreciation Variable Perc. */ /** Get Variable Percent */
public BigDecimal getA_Depreciation_Variable_Perc(); public BigDecimal getA_Depreciation_Variable_Perc();
/** Column name A_Disposal_Loss */ /** Column name A_Disposal_Loss */
@ -226,6 +235,17 @@ public interface I_A_Asset_Change
public I_C_ValidCombination getA_Disposal_L() throws RuntimeException; public I_C_ValidCombination getA_Disposal_L() throws RuntimeException;
/** Column name A_Disposal_Loss_Acct */
public static final String COLUMNNAME_A_Disposal_Loss_Acct = "A_Disposal_Loss_Acct";
/** Set Disposal Loss Acct */
public void setA_Disposal_Loss_Acct (int A_Disposal_Loss_Acct);
/** Get Disposal Loss Acct */
public int getA_Disposal_Loss_Acct();
public I_C_ValidCombination getA_Disposal_Loss_A() throws RuntimeException;
/** Column name A_Disposal_Revenue */ /** Column name A_Disposal_Revenue */
public static final String COLUMNNAME_A_Disposal_Revenue = "A_Disposal_Revenue"; public static final String COLUMNNAME_A_Disposal_Revenue = "A_Disposal_Revenue";
@ -237,6 +257,17 @@ public interface I_A_Asset_Change
public I_C_ValidCombination getA_Disposal_Reve() throws RuntimeException; public I_C_ValidCombination getA_Disposal_Reve() throws RuntimeException;
/** Column name A_Disposal_Revenue_Acct */
public static final String COLUMNNAME_A_Disposal_Revenue_Acct = "A_Disposal_Revenue_Acct";
/** Set Disposal Revenue Acct */
public void setA_Disposal_Revenue_Acct (int A_Disposal_Revenue_Acct);
/** Get Disposal Revenue Acct */
public int getA_Disposal_Revenue_Acct();
public I_C_ValidCombination getA_Disposal_Revenue_A() throws RuntimeException;
/** Column name AD_Org_ID */ /** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -263,53 +294,53 @@ public interface I_A_Asset_Change
*/ */
public int getAD_User_ID(); public int getAD_User_ID();
public I_AD_User getAD_User() throws RuntimeException; public org.compiere.model.I_AD_User getAD_User() throws RuntimeException;
/** Column name A_Parent_Asset_ID */ /** Column name A_Parent_Asset_ID */
public static final String COLUMNNAME_A_Parent_Asset_ID = "A_Parent_Asset_ID"; public static final String COLUMNNAME_A_Parent_Asset_ID = "A_Parent_Asset_ID";
/** Set Asset ID */ /** Set Parent Asset */
public void setA_Parent_Asset_ID (int A_Parent_Asset_ID); public void setA_Parent_Asset_ID (int A_Parent_Asset_ID);
/** Get Asset ID */ /** Get Parent Asset */
public int getA_Parent_Asset_ID(); public int getA_Parent_Asset_ID();
public I_A_Asset getA_Parent_Asset() throws RuntimeException; public org.compiere.model.I_A_Asset getA_Parent_Asset() throws RuntimeException;
/** Column name A_Period_End */ /** Column name A_Period_End */
public static final String COLUMNNAME_A_Period_End = "A_Period_End"; public static final String COLUMNNAME_A_Period_End = "A_Period_End";
/** Set Period End */ /** Set A_Period_End */
public void setA_Period_End (int A_Period_End); public void setA_Period_End (int A_Period_End);
/** Get Period End */ /** Get A_Period_End */
public int getA_Period_End(); public int getA_Period_End();
/** Column name A_Period_Start */ /** Column name A_Period_Start */
public static final String COLUMNNAME_A_Period_Start = "A_Period_Start"; public static final String COLUMNNAME_A_Period_Start = "A_Period_Start";
/** Set Period Start */ /** Set A_Period_Start */
public void setA_Period_Start (int A_Period_Start); public void setA_Period_Start (int A_Period_Start);
/** Get Period Start */ /** Get A_Period_Start */
public int getA_Period_Start(); public int getA_Period_Start();
/** Column name A_QTY_Current */ /** Column name A_QTY_Current */
public static final String COLUMNNAME_A_QTY_Current = "A_QTY_Current"; public static final String COLUMNNAME_A_QTY_Current = "A_QTY_Current";
/** Set Quantity */ /** Set Current Qty */
public void setA_QTY_Current (BigDecimal A_QTY_Current); public void setA_QTY_Current (BigDecimal A_QTY_Current);
/** Get Quantity */ /** Get Current Qty */
public BigDecimal getA_QTY_Current(); public BigDecimal getA_QTY_Current();
/** Column name A_QTY_Original */ /** Column name A_QTY_Original */
public static final String COLUMNNAME_A_QTY_Original = "A_QTY_Original"; public static final String COLUMNNAME_A_QTY_Original = "A_QTY_Original";
/** Set Original Qty */ /** Set A_QTY_Original */
public void setA_QTY_Original (BigDecimal A_QTY_Original); public void setA_QTY_Original (BigDecimal A_QTY_Original);
/** Get Original Qty */ /** Get A_QTY_Original */
public BigDecimal getA_QTY_Original(); public BigDecimal getA_QTY_Original();
/** Column name A_Reval_Accumdep_Offset_Cur */ /** Column name A_Reval_Accumdep_Offset_Cur */
@ -330,13 +361,31 @@ public interface I_A_Asset_Change
/** Get Revaluation Accumulated Depreciation Offset for Prior Year */ /** Get Revaluation Accumulated Depreciation Offset for Prior Year */
public int getA_Reval_Accumdep_Offset_Prior(); public int getA_Reval_Accumdep_Offset_Prior();
/** Column name A_Reval_Adep_Offset_Cur_Acct */
public static final String COLUMNNAME_A_Reval_Adep_Offset_Cur_Acct = "A_Reval_Adep_Offset_Cur_Acct";
/** Set A_Reval_Accumdep_Offset_Cur */
public void setA_Reval_Adep_Offset_Cur_Acct (int A_Reval_Adep_Offset_Cur_Acct);
/** Get A_Reval_Accumdep_Offset_Cur */
public int getA_Reval_Adep_Offset_Cur_Acct();
/** Column name A_Reval_Adep_Offset_Prior_Acct */
public static final String COLUMNNAME_A_Reval_Adep_Offset_Prior_Acct = "A_Reval_Adep_Offset_Prior_Acct";
/** Set A_Reval_Accumdep_Offset_Prior */
public void setA_Reval_Adep_Offset_Prior_Acct (int A_Reval_Adep_Offset_Prior_Acct);
/** Get A_Reval_Accumdep_Offset_Prior */
public int getA_Reval_Adep_Offset_Prior_Acct();
/** Column name A_Reval_Cal_Method */ /** Column name A_Reval_Cal_Method */
public static final String COLUMNNAME_A_Reval_Cal_Method = "A_Reval_Cal_Method"; public static final String COLUMNNAME_A_Reval_Cal_Method = "A_Reval_Cal_Method";
/** Set Revaluation Calculation Method */ /** Set A_Reval_Cal_Method */
public void setA_Reval_Cal_Method (String A_Reval_Cal_Method); public void setA_Reval_Cal_Method (String A_Reval_Cal_Method);
/** Get Revaluation Calculation Method */ /** Get A_Reval_Cal_Method */
public String getA_Reval_Cal_Method(); public String getA_Reval_Cal_Method();
/** Column name A_Reval_Cost_Offset */ /** Column name A_Reval_Cost_Offset */
@ -348,6 +397,15 @@ public interface I_A_Asset_Change
/** Get Revaluation Cost Offset for Current Year */ /** Get Revaluation Cost Offset for Current Year */
public int getA_Reval_Cost_Offset(); public int getA_Reval_Cost_Offset();
/** Column name A_Reval_Cost_Offset_Acct */
public static final String COLUMNNAME_A_Reval_Cost_Offset_Acct = "A_Reval_Cost_Offset_Acct";
/** Set Reval Cost Offset Acct */
public void setA_Reval_Cost_Offset_Acct (int A_Reval_Cost_Offset_Acct);
/** Get Reval Cost Offset Acct */
public int getA_Reval_Cost_Offset_Acct();
/** Column name A_Reval_Cost_Offset_Prior */ /** Column name A_Reval_Cost_Offset_Prior */
public static final String COLUMNNAME_A_Reval_Cost_Offset_Prior = "A_Reval_Cost_Offset_Prior"; public static final String COLUMNNAME_A_Reval_Cost_Offset_Prior = "A_Reval_Cost_Offset_Prior";
@ -357,6 +415,15 @@ public interface I_A_Asset_Change
/** Get Revaluation Cost Offset for Prior Year */ /** Get Revaluation Cost Offset for Prior Year */
public int getA_Reval_Cost_Offset_Prior(); public int getA_Reval_Cost_Offset_Prior();
/** Column name A_Reval_Cost_Offset_Prior_Acct */
public static final String COLUMNNAME_A_Reval_Cost_Offset_Prior_Acct = "A_Reval_Cost_Offset_Prior_Acct";
/** Set Reval Cost Offset Prior Acct */
public void setA_Reval_Cost_Offset_Prior_Acct (int A_Reval_Cost_Offset_Prior_Acct);
/** Get Reval Cost Offset Prior Acct */
public int getA_Reval_Cost_Offset_Prior_Acct();
/** Column name A_Reval_Depexp_Offset */ /** Column name A_Reval_Depexp_Offset */
public static final String COLUMNNAME_A_Reval_Depexp_Offset = "A_Reval_Depexp_Offset"; public static final String COLUMNNAME_A_Reval_Depexp_Offset = "A_Reval_Depexp_Offset";
@ -366,40 +433,49 @@ public interface I_A_Asset_Change
/** Get Revaluation Expense Offs */ /** Get Revaluation Expense Offs */
public int getA_Reval_Depexp_Offset(); public int getA_Reval_Depexp_Offset();
/** Column name A_Reval_Depexp_Offset_Acct */
public static final String COLUMNNAME_A_Reval_Depexp_Offset_Acct = "A_Reval_Depexp_Offset_Acct";
/** Set Reval Depexp Offset Acct */
public void setA_Reval_Depexp_Offset_Acct (int A_Reval_Depexp_Offset_Acct);
/** Get Reval Depexp Offset Acct */
public int getA_Reval_Depexp_Offset_Acct();
/** Column name A_Salvage_Value */ /** Column name A_Salvage_Value */
public static final String COLUMNNAME_A_Salvage_Value = "A_Salvage_Value"; public static final String COLUMNNAME_A_Salvage_Value = "A_Salvage_Value";
/** Set Salvage Value */ /** Set Asset Salvage Value */
public void setA_Salvage_Value (BigDecimal A_Salvage_Value); public void setA_Salvage_Value (BigDecimal A_Salvage_Value);
/** Get Salvage Value */ /** Get Asset Salvage Value */
public BigDecimal getA_Salvage_Value(); public BigDecimal getA_Salvage_Value();
/** Column name A_Split_Percent */ /** Column name A_Split_Percent */
public static final String COLUMNNAME_A_Split_Percent = "A_Split_Percent"; public static final String COLUMNNAME_A_Split_Percent = "A_Split_Percent";
/** Set Split Percentage */ /** Set Split Percent */
public void setA_Split_Percent (BigDecimal A_Split_Percent); public void setA_Split_Percent (BigDecimal A_Split_Percent);
/** Get Split Percentage */ /** Get Split Percent */
public BigDecimal getA_Split_Percent(); public BigDecimal getA_Split_Percent();
/** Column name AssetAccumDepreciationAmt */ /** Column name AssetAccumDepreciationAmt */
public static final String COLUMNNAME_AssetAccumDepreciationAmt = "AssetAccumDepreciationAmt"; public static final String COLUMNNAME_AssetAccumDepreciationAmt = "AssetAccumDepreciationAmt";
/** Set Asset Accum. Depreciation Amt. */ /** Set AssetAccumDepreciationAmt */
public void setAssetAccumDepreciationAmt (BigDecimal AssetAccumDepreciationAmt); public void setAssetAccumDepreciationAmt (BigDecimal AssetAccumDepreciationAmt);
/** Get Asset Accum. Depreciation Amt. */ /** Get AssetAccumDepreciationAmt */
public BigDecimal getAssetAccumDepreciationAmt(); public BigDecimal getAssetAccumDepreciationAmt();
/** Column name AssetBookValueAmt */ /** Column name AssetBookValueAmt */
public static final String COLUMNNAME_AssetBookValueAmt = "AssetBookValueAmt"; public static final String COLUMNNAME_AssetBookValueAmt = "AssetBookValueAmt";
/** Set Asset Book value amt. */ /** Set AssetBookValueAmt */
public void setAssetBookValueAmt (BigDecimal AssetBookValueAmt); public void setAssetBookValueAmt (BigDecimal AssetBookValueAmt);
/** Get Asset Book value amt. */ /** Get AssetBookValueAmt */
public BigDecimal getAssetBookValueAmt(); public BigDecimal getAssetBookValueAmt();
/** Column name AssetDepreciationDate */ /** Column name AssetDepreciationDate */
@ -480,7 +556,7 @@ public interface I_A_Asset_Change
*/ */
public int getC_AcctSchema_ID(); public int getC_AcctSchema_ID();
public I_C_AcctSchema getC_AcctSchema() throws RuntimeException; public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException;
/** Column name C_BPartner_ID */ /** Column name C_BPartner_ID */
public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID";
@ -495,6 +571,8 @@ public interface I_A_Asset_Change
*/ */
public int getC_BPartner_ID(); public int getC_BPartner_ID();
public org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException;
/** Column name C_BPartner_Location_ID */ /** Column name C_BPartner_Location_ID */
public static final String COLUMNNAME_C_BPartner_Location_ID = "C_BPartner_Location_ID"; public static final String COLUMNNAME_C_BPartner_Location_ID = "C_BPartner_Location_ID";
@ -508,7 +586,7 @@ public interface I_A_Asset_Change
*/ */
public int getC_BPartner_Location_ID(); public int getC_BPartner_Location_ID();
public I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException; public org.compiere.model.I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException;
/** Column name ChangeAmt */ /** Column name ChangeAmt */
public static final String COLUMNNAME_ChangeAmt = "ChangeAmt"; public static final String COLUMNNAME_ChangeAmt = "ChangeAmt";
@ -561,7 +639,7 @@ public interface I_A_Asset_Change
/** Get ConventionType */ /** Get ConventionType */
public int getConventionType(); public int getConventionType();
public I_A_Depreciation_Convention getConventionT() throws RuntimeException; public org.compiere.model.I_A_Depreciation_Convention getConventionT() throws RuntimeException;
/** Column name Created */ /** Column name Created */
public static final String COLUMNNAME_Created = "Created"; public static final String COLUMNNAME_Created = "Created";
@ -616,7 +694,7 @@ public interface I_A_Asset_Change
/** Get DepreciationType */ /** Get DepreciationType */
public int getDepreciationType(); public int getDepreciationType();
public I_A_Depreciation getDepreciationT() throws RuntimeException; public org.compiere.model.I_A_Depreciation getDepreciationT() throws RuntimeException;
/** Column name IsActive */ /** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive"; public static final String COLUMNNAME_IsActive = "IsActive";

View File

@ -0,0 +1,229 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
package org.compiere.model;
import java.math.BigDecimal;
import java.sql.Timestamp;
import org.compiere.util.KeyNamePair;
/** Generated Interface for A_Asset_Class
* @author Adempiere (generated)
* @version Release 3.6.0LTS
*/
public interface I_A_Asset_Class
{
/** TableName=A_Asset_Class */
public static final String Table_Name = "A_Asset_Class";
/** AD_Table_ID=53269 */
public static final int Table_ID = 53269;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
/** AccessLevel = 7 - System - Client - Org
*/
BigDecimal accessLevel = BigDecimal.valueOf(7);
/** Load Meta Data */
/** Column name A_Asset_Class_ID */
public static final String COLUMNNAME_A_Asset_Class_ID = "A_Asset_Class_ID";
/** Set Asset class */
public void setA_Asset_Class_ID (int A_Asset_Class_ID);
/** Get Asset class */
public int getA_Asset_Class_ID();
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
/** Set Organization.
* Organizational entity within client
*/
public void setAD_Org_ID (int AD_Org_ID);
/** Get Organization.
* Organizational entity within client
*/
public int getAD_Org_ID();
/** Column name A_Life_Period_2004 */
public static final String COLUMNNAME_A_Life_Period_2004 = "A_Life_Period_2004";
/** Set Life Periods 2004 (min) */
public void setA_Life_Period_2004 (int A_Life_Period_2004);
/** Get Life Periods 2004 (min) */
public int getA_Life_Period_2004();
/** Column name A_Life_Period_Max */
public static final String COLUMNNAME_A_Life_Period_Max = "A_Life_Period_Max";
/** Set Life periods (max) */
public void setA_Life_Period_Max (int A_Life_Period_Max);
/** Get Life periods (max) */
public int getA_Life_Period_Max();
/** Column name A_Life_Period_Min */
public static final String COLUMNNAME_A_Life_Period_Min = "A_Life_Period_Min";
/** Set Life periods (min) */
public void setA_Life_Period_Min (int A_Life_Period_Min);
/** Get Life periods (min) */
public int getA_Life_Period_Min();
/** Column name A_Value_2004 */
public static final String COLUMNNAME_A_Value_2004 = "A_Value_2004";
/** Set Value 2004 */
public void setA_Value_2004 (String A_Value_2004);
/** Get Value 2004 */
public String getA_Value_2004();
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name Description */
public static final String COLUMNNAME_Description = "Description";
/** Set Description.
* Optional short description of the record
*/
public void setDescription (String Description);
/** Get Description.
* Optional short description of the record
*/
public String getDescription();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name MFX_Clasa */
public static final String COLUMNNAME_MFX_Clasa = "MFX_Clasa";
/** Set Fixed Asset Class */
public void setMFX_Clasa (int MFX_Clasa);
/** Get Fixed Asset Class */
public int getMFX_Clasa();
/** Column name MFX_Grupa */
public static final String COLUMNNAME_MFX_Grupa = "MFX_Grupa";
/** Set Fixed Asset Group */
public void setMFX_Grupa (int MFX_Grupa);
/** Get Fixed Asset Group */
public int getMFX_Grupa();
/** Column name MFX_SubClasa */
public static final String COLUMNNAME_MFX_SubClasa = "MFX_SubClasa";
/** Set Fixed Asset Subclass */
public void setMFX_SubClasa (int MFX_SubClasa);
/** Get Fixed Asset Subclass */
public int getMFX_SubClasa();
/** Column name MFX_SubGrupa */
public static final String COLUMNNAME_MFX_SubGrupa = "MFX_SubGrupa";
/** Set Fixed Asset Subgroup */
public void setMFX_SubGrupa (int MFX_SubGrupa);
/** Get Fixed Asset Subgroup */
public int getMFX_SubGrupa();
/** Column name Name */
public static final String COLUMNNAME_Name = "Name";
/** Set Name.
* Alphanumeric identifier of the entity
*/
public void setName (String Name);
/** Get Name.
* Alphanumeric identifier of the entity
*/
public String getName();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
/** Column name Value */
public static final String COLUMNNAME_Value = "Value";
/** Set Search Key.
* Search key for the record in the format required - must be unique
*/
public void setValue (String Value);
/** Get Search Key.
* Search key for the record in the format required - must be unique
*/
public String getValue();
}

View File

@ -31,7 +31,7 @@ public interface I_A_Asset_Delivery
public static final String Table_Name = "A_Asset_Delivery"; public static final String Table_Name = "A_Asset_Delivery";
/** AD_Table_ID=541 */ /** AD_Table_ID=541 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 541;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -54,6 +54,15 @@ public interface I_A_Asset_Delivery
*/ */
public int getA_Asset_Delivery_ID(); public int getA_Asset_Delivery_ID();
/** Column name A_Asset_Delivery_UU */
public static final String COLUMNNAME_A_Asset_Delivery_UU = "A_Asset_Delivery_UU";
/** Set A_Asset_Delivery_UU */
public void setA_Asset_Delivery_UU (String A_Asset_Delivery_UU);
/** Get A_Asset_Delivery_UU */
public String getA_Asset_Delivery_UU();
/** Column name A_Asset_ID */ /** Column name A_Asset_ID */
public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID";
@ -67,7 +76,7 @@ public interface I_A_Asset_Delivery
*/ */
public int getA_Asset_ID(); public int getA_Asset_ID();
public I_A_Asset getA_Asset() throws RuntimeException; public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException;
/** Column name AD_Client_ID */ /** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
@ -103,7 +112,7 @@ public interface I_A_Asset_Delivery
*/ */
public int getAD_User_ID(); public int getAD_User_ID();
public I_AD_User getAD_User() throws RuntimeException; public org.compiere.model.I_AD_User getAD_User() throws RuntimeException;
/** Column name Created */ /** Column name Created */
public static final String COLUMNNAME_Created = "Created"; public static final String COLUMNNAME_Created = "Created";
@ -212,7 +221,7 @@ public interface I_A_Asset_Delivery
*/ */
public int getM_InOutLine_ID(); public int getM_InOutLine_ID();
public I_M_InOutLine getM_InOutLine() throws RuntimeException; public org.compiere.model.I_M_InOutLine getM_InOutLine() throws RuntimeException;
/** Column name MovementDate */ /** Column name MovementDate */
public static final String COLUMNNAME_MovementDate = "MovementDate"; public static final String COLUMNNAME_MovementDate = "MovementDate";
@ -240,7 +249,7 @@ public interface I_A_Asset_Delivery
*/ */
public int getM_ProductDownload_ID(); public int getM_ProductDownload_ID();
public I_M_ProductDownload getM_ProductDownload() throws RuntimeException; public org.compiere.model.I_M_ProductDownload getM_ProductDownload() throws RuntimeException;
/** Column name Referrer */ /** Column name Referrer */
public static final String COLUMNNAME_Referrer = "Referrer"; public static final String COLUMNNAME_Referrer = "Referrer";
@ -314,12 +323,12 @@ public interface I_A_Asset_Delivery
public static final String COLUMNNAME_URL = "URL"; public static final String COLUMNNAME_URL = "URL";
/** Set URL. /** Set URL.
* Full URL address - e.g. http://www.adempiere.org * Full URL address - e.g. http://www.idempiere.org
*/ */
public void setURL (String URL); public void setURL (String URL);
/** Get URL. /** Get URL.
* Full URL address - e.g. http://www.adempiere.org * Full URL address - e.g. http://www.idempiere.org
*/ */
public String getURL(); public String getURL();

View File

@ -31,7 +31,7 @@ public interface I_A_Asset_Disposed
public static final String Table_Name = "A_Asset_Disposed"; public static final String Table_Name = "A_Asset_Disposed";
/** AD_Table_ID=53127 */ /** AD_Table_ID=53127 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53127;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -41,15 +41,60 @@ public interface I_A_Asset_Disposed
/** Load Meta Data */ /** Load Meta Data */
/** Column name A_Accumulated_Depr */
public static final String COLUMNNAME_A_Accumulated_Depr = "A_Accumulated_Depr";
/** Set Accumulated Depreciation */
public void setA_Accumulated_Depr (BigDecimal A_Accumulated_Depr);
/** Get Accumulated Depreciation */
public BigDecimal getA_Accumulated_Depr();
/** Column name A_Accumulated_Depr_Delta */
public static final String COLUMNNAME_A_Accumulated_Depr_Delta = "A_Accumulated_Depr_Delta";
/** Set Accumulated Depreciation (delta) */
public void setA_Accumulated_Depr_Delta (BigDecimal A_Accumulated_Depr_Delta);
/** Get Accumulated Depreciation (delta) */
public BigDecimal getA_Accumulated_Depr_Delta();
/** Column name A_Activation_Method */
public static final String COLUMNNAME_A_Activation_Method = "A_Activation_Method";
/** Set Activation Method */
public void setA_Activation_Method (String A_Activation_Method);
/** Get Activation Method */
public String getA_Activation_Method();
/** Column name A_Asset_Cost */
public static final String COLUMNNAME_A_Asset_Cost = "A_Asset_Cost";
/** Set Asset Cost */
public void setA_Asset_Cost (BigDecimal A_Asset_Cost);
/** Get Asset Cost */
public BigDecimal getA_Asset_Cost();
/** Column name A_Asset_Disposed_ID */ /** Column name A_Asset_Disposed_ID */
public static final String COLUMNNAME_A_Asset_Disposed_ID = "A_Asset_Disposed_ID"; public static final String COLUMNNAME_A_Asset_Disposed_ID = "A_Asset_Disposed_ID";
/** Set Disposed Asset */ /** Set Asset Disposed */
public void setA_Asset_Disposed_ID (int A_Asset_Disposed_ID); public void setA_Asset_Disposed_ID (int A_Asset_Disposed_ID);
/** Get Disposed Asset */ /** Get Asset Disposed */
public int getA_Asset_Disposed_ID(); public int getA_Asset_Disposed_ID();
/** Column name A_Asset_Disposed_UU */
public static final String COLUMNNAME_A_Asset_Disposed_UU = "A_Asset_Disposed_UU";
/** Set A_Asset_Disposed_UU */
public void setA_Asset_Disposed_UU (String A_Asset_Disposed_UU);
/** Get A_Asset_Disposed_UU */
public String getA_Asset_Disposed_UU();
/** Column name A_Asset_ID */ /** Column name A_Asset_ID */
public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID";
@ -63,6 +108,17 @@ public interface I_A_Asset_Disposed
*/ */
public int getA_Asset_ID(); public int getA_Asset_ID();
public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException;
/** Column name A_Asset_Status */
public static final String COLUMNNAME_A_Asset_Status = "A_Asset_Status";
/** Set Asset Status */
public void setA_Asset_Status (String A_Asset_Status);
/** Get Asset Status */
public String getA_Asset_Status();
/** Column name A_Asset_Trade_ID */ /** Column name A_Asset_Trade_ID */
public static final String COLUMNNAME_A_Asset_Trade_ID = "A_Asset_Trade_ID"; public static final String COLUMNNAME_A_Asset_Trade_ID = "A_Asset_Trade_ID";
@ -72,7 +128,7 @@ public interface I_A_Asset_Disposed
/** Get Asset Trade */ /** Get Asset Trade */
public int getA_Asset_Trade_ID(); public int getA_Asset_Trade_ID();
public I_A_Asset getA_Asset_Trade() throws RuntimeException; public org.compiere.model.I_A_Asset getA_Asset_Trade() throws RuntimeException;
/** Column name AD_Client_ID */ /** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
@ -82,6 +138,15 @@ public interface I_A_Asset_Disposed
*/ */
public int getAD_Client_ID(); public int getAD_Client_ID();
/** Column name A_Disposal_Amt */
public static final String COLUMNNAME_A_Disposal_Amt = "A_Disposal_Amt";
/** Set Disposal Amount */
public void setA_Disposal_Amt (BigDecimal A_Disposal_Amt);
/** Get Disposal Amount */
public BigDecimal getA_Disposal_Amt();
/** Column name A_Disposed_Date */ /** Column name A_Disposed_Date */
public static final String COLUMNNAME_A_Disposed_Date = "A_Disposed_Date"; public static final String COLUMNNAME_A_Disposed_Date = "A_Disposed_Date";
@ -94,19 +159,19 @@ public interface I_A_Asset_Disposed
/** Column name A_Disposed_Method */ /** Column name A_Disposed_Method */
public static final String COLUMNNAME_A_Disposed_Method = "A_Disposed_Method"; public static final String COLUMNNAME_A_Disposed_Method = "A_Disposed_Method";
/** Set Disposal Method */ /** Set Disposed Method */
public void setA_Disposed_Method (String A_Disposed_Method); public void setA_Disposed_Method (String A_Disposed_Method);
/** Get Disposal Method */ /** Get Disposed Method */
public String getA_Disposed_Method(); public String getA_Disposed_Method();
/** Column name A_Disposed_Reason */ /** Column name A_Disposed_Reason */
public static final String COLUMNNAME_A_Disposed_Reason = "A_Disposed_Reason"; public static final String COLUMNNAME_A_Disposed_Reason = "A_Disposed_Reason";
/** Set Disposed Reason Code */ /** Set Disposed Reason */
public void setA_Disposed_Reason (String A_Disposed_Reason); public void setA_Disposed_Reason (String A_Disposed_Reason);
/** Get Disposed Reason Code */ /** Get Disposed Reason */
public String getA_Disposed_Reason(); public String getA_Disposed_Reason();
/** Column name AD_Org_ID */ /** Column name AD_Org_ID */
@ -125,12 +190,42 @@ public interface I_A_Asset_Disposed
/** Column name A_Proceeds */ /** Column name A_Proceeds */
public static final String COLUMNNAME_A_Proceeds = "A_Proceeds"; public static final String COLUMNNAME_A_Proceeds = "A_Proceeds";
/** Set Proceeds */ /** Set Asset Proceeds */
public void setA_Proceeds (BigDecimal A_Proceeds); public void setA_Proceeds (BigDecimal A_Proceeds);
/** Get Proceeds */ /** Get Asset Proceeds */
public BigDecimal getA_Proceeds(); public BigDecimal getA_Proceeds();
/** Column name C_Invoice_ID */
public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID";
/** Set Invoice.
* Invoice Identifier
*/
public void setC_Invoice_ID (int C_Invoice_ID);
/** Get Invoice.
* Invoice Identifier
*/
public int getC_Invoice_ID();
public org.compiere.model.I_C_Invoice getC_Invoice() throws RuntimeException;
/** Column name C_InvoiceLine_ID */
public static final String COLUMNNAME_C_InvoiceLine_ID = "C_InvoiceLine_ID";
/** Set Invoice Line.
* Invoice Detail Line
*/
public void setC_InvoiceLine_ID (int C_InvoiceLine_ID);
/** Get Invoice Line.
* Invoice Detail Line
*/
public int getC_InvoiceLine_ID();
public org.compiere.model.I_C_InvoiceLine getC_InvoiceLine() throws RuntimeException;
/** Column name C_Period_ID */ /** Column name C_Period_ID */
public static final String COLUMNNAME_C_Period_ID = "C_Period_ID"; public static final String COLUMNNAME_C_Period_ID = "C_Period_ID";
@ -144,7 +239,7 @@ public interface I_A_Asset_Disposed
*/ */
public int getC_Period_ID(); public int getC_Period_ID();
public I_C_Period getC_Period() throws RuntimeException; public org.compiere.model.I_C_Period getC_Period() throws RuntimeException;
/** Column name Created */ /** Column name Created */
public static final String COLUMNNAME_Created = "Created"; public static final String COLUMNNAME_Created = "Created";
@ -188,6 +283,67 @@ public interface I_A_Asset_Disposed
*/ */
public Timestamp getDateDoc(); public Timestamp getDateDoc();
/** Column name Description */
public static final String COLUMNNAME_Description = "Description";
/** Set Description.
* Optional short description of the record
*/
public void setDescription (String Description);
/** Get Description.
* Optional short description of the record
*/
public String getDescription();
/** Column name DocAction */
public static final String COLUMNNAME_DocAction = "DocAction";
/** Set Document Action.
* The targeted status of the document
*/
public void setDocAction (String DocAction);
/** Get Document Action.
* The targeted status of the document
*/
public String getDocAction();
/** Column name DocStatus */
public static final String COLUMNNAME_DocStatus = "DocStatus";
/** Set Document Status.
* The current status of the document
*/
public void setDocStatus (String DocStatus);
/** Get Document Status.
* The current status of the document
*/
public String getDocStatus();
/** Column name DocumentNo */
public static final String COLUMNNAME_DocumentNo = "DocumentNo";
/** Set Document No.
* Document sequence number of the document
*/
public void setDocumentNo (String DocumentNo);
/** Get Document No.
* Document sequence number of the document
*/
public String getDocumentNo();
/** Column name Expense */
public static final String COLUMNNAME_Expense = "Expense";
/** Set Expense */
public void setExpense (BigDecimal Expense);
/** Get Expense */
public BigDecimal getExpense();
/** Column name IsActive */ /** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive"; public static final String COLUMNNAME_IsActive = "IsActive";
@ -201,6 +357,58 @@ public interface I_A_Asset_Disposed
*/ */
public boolean isActive(); public boolean isActive();
/** Column name IsApproved */
public static final String COLUMNNAME_IsApproved = "IsApproved";
/** Set Approved.
* Indicates if this document requires approval
*/
public void setIsApproved (boolean IsApproved);
/** Get Approved.
* Indicates if this document requires approval
*/
public boolean isApproved();
/** Column name IsDisposed */
public static final String COLUMNNAME_IsDisposed = "IsDisposed";
/** Set Disposed.
* The asset is disposed
*/
public void setIsDisposed (boolean IsDisposed);
/** Get Disposed.
* The asset is disposed
*/
public boolean isDisposed();
/** Column name Posted */
public static final String COLUMNNAME_Posted = "Posted";
/** Set Posted.
* Posting status
*/
public void setPosted (boolean Posted);
/** Get Posted.
* Posting status
*/
public boolean isPosted();
/** Column name PostingType */
public static final String COLUMNNAME_PostingType = "PostingType";
/** Set PostingType.
* The type of posted amount for the transaction
*/
public void setPostingType (String PostingType);
/** Get PostingType.
* The type of posted amount for the transaction
*/
public String getPostingType();
/** Column name Processed */ /** Column name Processed */
public static final String COLUMNNAME_Processed = "Processed"; public static final String COLUMNNAME_Processed = "Processed";
@ -214,6 +422,19 @@ public interface I_A_Asset_Disposed
*/ */
public boolean isProcessed(); public boolean isProcessed();
/** Column name ProcessedOn */
public static final String COLUMNNAME_ProcessedOn = "ProcessedOn";
/** Set Processed On.
* The date+time (expressed in decimal format) when the document has been processed
*/
public void setProcessedOn (BigDecimal ProcessedOn);
/** Get Processed On.
* The date+time (expressed in decimal format) when the document has been processed
*/
public BigDecimal getProcessedOn();
/** Column name Processing */ /** Column name Processing */
public static final String COLUMNNAME_Processing = "Processing"; public static final String COLUMNNAME_Processing = "Processing";

View File

@ -31,7 +31,7 @@ public interface I_A_Asset_Group
public static final String Table_Name = "A_Asset_Group"; public static final String Table_Name = "A_Asset_Group";
/** AD_Table_ID=542 */ /** AD_Table_ID=542 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 542;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -41,6 +41,17 @@ public interface I_A_Asset_Group
/** Load Meta Data */ /** Load Meta Data */
/** Column name A_Asset_Class_ID */
public static final String COLUMNNAME_A_Asset_Class_ID = "A_Asset_Class_ID";
/** Set Asset class */
public void setA_Asset_Class_ID (int A_Asset_Class_ID);
/** Get Asset class */
public int getA_Asset_Class_ID();
public org.compiere.model.I_A_Asset_Class getA_Asset_Class() throws RuntimeException;
/** Column name A_Asset_Group_ID */ /** Column name A_Asset_Group_ID */
public static final String COLUMNNAME_A_Asset_Group_ID = "A_Asset_Group_ID"; public static final String COLUMNNAME_A_Asset_Group_ID = "A_Asset_Group_ID";
@ -54,6 +65,26 @@ public interface I_A_Asset_Group
*/ */
public int getA_Asset_Group_ID(); public int getA_Asset_Group_ID();
/** Column name A_Asset_Group_UU */
public static final String COLUMNNAME_A_Asset_Group_UU = "A_Asset_Group_UU";
/** Set A_Asset_Group_UU */
public void setA_Asset_Group_UU (String A_Asset_Group_UU);
/** Get A_Asset_Group_UU */
public String getA_Asset_Group_UU();
/** Column name A_Asset_Type_ID */
public static final String COLUMNNAME_A_Asset_Type_ID = "A_Asset_Type_ID";
/** Set Asset Type */
public void setA_Asset_Type_ID (int A_Asset_Type_ID);
/** Get Asset Type */
public int getA_Asset_Type_ID();
public org.compiere.model.I_A_Asset_Type getA_Asset_Type() throws RuntimeException;
/** Column name AD_Client_ID */ /** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
@ -143,6 +174,19 @@ public interface I_A_Asset_Group
*/ */
public boolean isCreateAsActive(); public boolean isCreateAsActive();
/** Column name IsDefault */
public static final String COLUMNNAME_IsDefault = "IsDefault";
/** Set Default.
* Default value
*/
public void setIsDefault (boolean IsDefault);
/** Get Default.
* Default value
*/
public boolean isDefault();
/** Column name IsDepreciated */ /** Column name IsDepreciated */
public static final String COLUMNNAME_IsDepreciated = "IsDepreciated"; public static final String COLUMNNAME_IsDepreciated = "IsDepreciated";
@ -156,6 +200,15 @@ public interface I_A_Asset_Group
*/ */
public boolean isDepreciated(); public boolean isDepreciated();
/** Column name IsFixedAsset */
public static final String COLUMNNAME_IsFixedAsset = "IsFixedAsset";
/** Set IsFixedAsset */
public void setIsFixedAsset (boolean IsFixedAsset);
/** Get IsFixedAsset */
public boolean isFixedAsset();
/** Column name IsOneAssetPerUOM */ /** Column name IsOneAssetPerUOM */
public static final String COLUMNNAME_IsOneAssetPerUOM = "IsOneAssetPerUOM"; public static final String COLUMNNAME_IsOneAssetPerUOM = "IsOneAssetPerUOM";

View File

@ -31,7 +31,7 @@ public interface I_A_Asset_Group_Acct
public static final String Table_Name = "A_Asset_Group_Acct"; public static final String Table_Name = "A_Asset_Group_Acct";
/** AD_Table_ID=53130 */ /** AD_Table_ID=53130 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53130;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -44,10 +44,10 @@ public interface I_A_Asset_Group_Acct
/** Column name A_Accumdepreciation_Acct */ /** Column name A_Accumdepreciation_Acct */
public static final String COLUMNNAME_A_Accumdepreciation_Acct = "A_Accumdepreciation_Acct"; public static final String COLUMNNAME_A_Accumdepreciation_Acct = "A_Accumdepreciation_Acct";
/** Set Accumulated Depreciation */ /** Set Accumulated Depreciation Account */
public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct); public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct);
/** Get Accumulated Depreciation */ /** Get Accumulated Depreciation Account */
public int getA_Accumdepreciation_Acct(); public int getA_Accumdepreciation_Acct();
public I_C_ValidCombination getA_Accumdepreciation_A() throws RuntimeException; public I_C_ValidCombination getA_Accumdepreciation_A() throws RuntimeException;
@ -55,10 +55,10 @@ public interface I_A_Asset_Group_Acct
/** Column name A_Asset_Acct */ /** Column name A_Asset_Acct */
public static final String COLUMNNAME_A_Asset_Acct = "A_Asset_Acct"; public static final String COLUMNNAME_A_Asset_Acct = "A_Asset_Acct";
/** Set Asset Cost Account */ /** Set Asset Acct */
public void setA_Asset_Acct (int A_Asset_Acct); public void setA_Asset_Acct (int A_Asset_Acct);
/** Get Asset Cost Account */ /** Get Asset Acct */
public int getA_Asset_Acct(); public int getA_Asset_Acct();
public I_C_ValidCombination getA_Asset_A() throws RuntimeException; public I_C_ValidCombination getA_Asset_A() throws RuntimeException;
@ -66,12 +66,21 @@ public interface I_A_Asset_Group_Acct
/** Column name A_Asset_Group_Acct_ID */ /** Column name A_Asset_Group_Acct_ID */
public static final String COLUMNNAME_A_Asset_Group_Acct_ID = "A_Asset_Group_Acct_ID"; public static final String COLUMNNAME_A_Asset_Group_Acct_ID = "A_Asset_Group_Acct_ID";
/** Set Asset Group Acct. */ /** Set Asset Group Accounting */
public void setA_Asset_Group_Acct_ID (int A_Asset_Group_Acct_ID); public void setA_Asset_Group_Acct_ID (int A_Asset_Group_Acct_ID);
/** Get Asset Group Acct. */ /** Get Asset Group Accounting */
public int getA_Asset_Group_Acct_ID(); public int getA_Asset_Group_Acct_ID();
/** Column name A_Asset_Group_Acct_UU */
public static final String COLUMNNAME_A_Asset_Group_Acct_UU = "A_Asset_Group_Acct_UU";
/** Set A_Asset_Group_Acct_UU */
public void setA_Asset_Group_Acct_UU (String A_Asset_Group_Acct_UU);
/** Get A_Asset_Group_Acct_UU */
public String getA_Asset_Group_Acct_UU();
/** Column name A_Asset_Group_ID */ /** Column name A_Asset_Group_ID */
public static final String COLUMNNAME_A_Asset_Group_ID = "A_Asset_Group_ID"; public static final String COLUMNNAME_A_Asset_Group_ID = "A_Asset_Group_ID";
@ -85,18 +94,18 @@ public interface I_A_Asset_Group_Acct
*/ */
public int getA_Asset_Group_ID(); public int getA_Asset_Group_ID();
public I_A_Asset_Group getA_Asset_Group() throws RuntimeException; public org.compiere.model.I_A_Asset_Group getA_Asset_Group() throws RuntimeException;
/** Column name A_Asset_Spread_Type */ /** Column name A_Asset_Spread_Type */
public static final String COLUMNNAME_A_Asset_Spread_Type = "A_Asset_Spread_Type"; public static final String COLUMNNAME_A_Asset_Spread_Type = "A_Asset_Spread_Type";
/** Set Asset Spread Type */ /** Set Spread Type */
public void setA_Asset_Spread_Type (int A_Asset_Spread_Type); public void setA_Asset_Spread_Type (int A_Asset_Spread_Type);
/** Get Asset Spread Type */ /** Get Spread Type */
public int getA_Asset_Spread_Type(); public int getA_Asset_Spread_Type();
public I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException; public org.compiere.model.I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException;
/** Column name AD_Client_ID */ /** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
@ -109,10 +118,10 @@ public interface I_A_Asset_Group_Acct
/** Column name A_Depreciation_Acct */ /** Column name A_Depreciation_Acct */
public static final String COLUMNNAME_A_Depreciation_Acct = "A_Depreciation_Acct"; public static final String COLUMNNAME_A_Depreciation_Acct = "A_Depreciation_Acct";
/** Set Depreciation Expense Account */ /** Set Depreciation Account */
public void setA_Depreciation_Acct (int A_Depreciation_Acct); public void setA_Depreciation_Acct (int A_Depreciation_Acct);
/** Get Depreciation Expense Account */ /** Get Depreciation Account */
public int getA_Depreciation_Acct(); public int getA_Depreciation_Acct();
public I_C_ValidCombination getA_Depreciation_A() throws RuntimeException; public I_C_ValidCombination getA_Depreciation_A() throws RuntimeException;
@ -120,61 +129,127 @@ public interface I_A_Asset_Group_Acct
/** Column name A_Depreciation_Calc_Type */ /** Column name A_Depreciation_Calc_Type */
public static final String COLUMNNAME_A_Depreciation_Calc_Type = "A_Depreciation_Calc_Type"; public static final String COLUMNNAME_A_Depreciation_Calc_Type = "A_Depreciation_Calc_Type";
/** Set Depreciation Calculation Type */ /** Set Calculation Type */
public void setA_Depreciation_Calc_Type (int A_Depreciation_Calc_Type); public void setA_Depreciation_Calc_Type (int A_Depreciation_Calc_Type);
/** Get Depreciation Calculation Type */ /** Get Calculation Type */
public int getA_Depreciation_Calc_Type(); public int getA_Depreciation_Calc_Type();
public I_A_Depreciation_Method getA_Depreciation_Calc_T() throws RuntimeException; public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Calc_T() throws RuntimeException;
/** Column name A_Depreciation_Conv_F_ID */
public static final String COLUMNNAME_A_Depreciation_Conv_F_ID = "A_Depreciation_Conv_F_ID";
/** Set Depreciation Convention (fiscal) */
public void setA_Depreciation_Conv_F_ID (int A_Depreciation_Conv_F_ID);
/** Get Depreciation Convention (fiscal) */
public int getA_Depreciation_Conv_F_ID();
public org.compiere.model.I_A_Depreciation_Convention getA_Depreciation_Conv_F() throws RuntimeException;
/** Column name A_Depreciation_Conv_ID */
public static final String COLUMNNAME_A_Depreciation_Conv_ID = "A_Depreciation_Conv_ID";
/** Set Convention Type */
public void setA_Depreciation_Conv_ID (int A_Depreciation_Conv_ID);
/** Get Convention Type */
public int getA_Depreciation_Conv_ID();
public org.compiere.model.I_A_Depreciation_Convention getA_Depreciation_Conv() throws RuntimeException;
/** Column name A_Depreciation_F_ID */
public static final String COLUMNNAME_A_Depreciation_F_ID = "A_Depreciation_F_ID";
/** Set Depreciation (fiscal) */
public void setA_Depreciation_F_ID (int A_Depreciation_F_ID);
/** Get Depreciation (fiscal) */
public int getA_Depreciation_F_ID();
public org.compiere.model.I_A_Depreciation getA_Depreciation_F() throws RuntimeException;
/** Column name A_Depreciation_ID */ /** Column name A_Depreciation_ID */
public static final String COLUMNNAME_A_Depreciation_ID = "A_Depreciation_ID"; public static final String COLUMNNAME_A_Depreciation_ID = "A_Depreciation_ID";
/** Set Depreciation Type */ /** Set Depreciation */
public void setA_Depreciation_ID (int A_Depreciation_ID); public void setA_Depreciation_ID (int A_Depreciation_ID);
/** Get Depreciation Type */ /** Get Depreciation */
public int getA_Depreciation_ID(); public int getA_Depreciation_ID();
public org.compiere.model.I_A_Depreciation getA_Depreciation() throws RuntimeException;
/** Column name A_Depreciation_Manual_Amount */ /** Column name A_Depreciation_Manual_Amount */
public static final String COLUMNNAME_A_Depreciation_Manual_Amount = "A_Depreciation_Manual_Amount"; public static final String COLUMNNAME_A_Depreciation_Manual_Amount = "A_Depreciation_Manual_Amount";
/** Set Depreciation Manual Amount */ /** Set A_Depreciation_Manual_Amount */
public void setA_Depreciation_Manual_Amount (BigDecimal A_Depreciation_Manual_Amount); public void setA_Depreciation_Manual_Amount (BigDecimal A_Depreciation_Manual_Amount);
/** Get Depreciation Manual Amount */ /** Get A_Depreciation_Manual_Amount */
public BigDecimal getA_Depreciation_Manual_Amount(); public BigDecimal getA_Depreciation_Manual_Amount();
/** Column name A_Depreciation_Manual_Period */ /** Column name A_Depreciation_Manual_Period */
public static final String COLUMNNAME_A_Depreciation_Manual_Period = "A_Depreciation_Manual_Period"; public static final String COLUMNNAME_A_Depreciation_Manual_Period = "A_Depreciation_Manual_Period";
/** Set Depreciation Manual Period */ /** Set A_Depreciation_Manual_Period */
public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period); public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period);
/** Get Depreciation Manual Period */ /** Get A_Depreciation_Manual_Period */
public String getA_Depreciation_Manual_Period(); public String getA_Depreciation_Manual_Period();
/** Column name A_Depreciation_Method_F_ID */
public static final String COLUMNNAME_A_Depreciation_Method_F_ID = "A_Depreciation_Method_F_ID";
/** Set Depreciation Method (fiscal) */
public void setA_Depreciation_Method_F_ID (int A_Depreciation_Method_F_ID);
/** Get Depreciation Method (fiscal) */
public int getA_Depreciation_Method_F_ID();
public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Method_F() throws RuntimeException;
/** Column name A_Depreciation_Method_ID */
public static final String COLUMNNAME_A_Depreciation_Method_ID = "A_Depreciation_Method_ID";
/** Set Depreciation Method */
public void setA_Depreciation_Method_ID (int A_Depreciation_Method_ID);
/** Get Depreciation Method */
public int getA_Depreciation_Method_ID();
public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Method() throws RuntimeException;
/** Column name A_Depreciation_Table_Header_ID */ /** Column name A_Depreciation_Table_Header_ID */
public static final String COLUMNNAME_A_Depreciation_Table_Header_ID = "A_Depreciation_Table_Header_ID"; public static final String COLUMNNAME_A_Depreciation_Table_Header_ID = "A_Depreciation_Table_Header_ID";
/** Set Depreciation Table Header */ /** Set A_Depreciation_Table_Header_ID */
public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID); public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID);
/** Get Depreciation Table Header */ /** Get A_Depreciation_Table_Header_ID */
public int getA_Depreciation_Table_Header_ID(); public int getA_Depreciation_Table_Header_ID();
public I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException; public org.compiere.model.I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException;
/** Column name A_Depreciation_Variable_Perc */ /** Column name A_Depreciation_Variable_Perc */
public static final String COLUMNNAME_A_Depreciation_Variable_Perc = "A_Depreciation_Variable_Perc"; public static final String COLUMNNAME_A_Depreciation_Variable_Perc = "A_Depreciation_Variable_Perc";
/** Set Depreciation Variable Perc. */ /** Set Variable Percent */
public void setA_Depreciation_Variable_Perc (BigDecimal A_Depreciation_Variable_Perc); public void setA_Depreciation_Variable_Perc (BigDecimal A_Depreciation_Variable_Perc);
/** Get Depreciation Variable Perc. */ /** Get Variable Percent */
public BigDecimal getA_Depreciation_Variable_Perc(); public BigDecimal getA_Depreciation_Variable_Perc();
/** Column name A_Depreciation_Variable_Perc_F */
public static final String COLUMNNAME_A_Depreciation_Variable_Perc_F = "A_Depreciation_Variable_Perc_F";
/** Set Variable Percent (fiscal) */
public void setA_Depreciation_Variable_Perc_F (BigDecimal A_Depreciation_Variable_Perc_F);
/** Get Variable Percent (fiscal) */
public BigDecimal getA_Depreciation_Variable_Perc_F();
/** Column name A_Disposal_Gain */ /** Column name A_Disposal_Gain */
public static final String COLUMNNAME_A_Disposal_Gain = "A_Disposal_Gain"; public static final String COLUMNNAME_A_Disposal_Gain = "A_Disposal_Gain";
@ -186,6 +261,17 @@ public interface I_A_Asset_Group_Acct
public I_C_ValidCombination getA_Disposal_G() throws RuntimeException; public I_C_ValidCombination getA_Disposal_G() throws RuntimeException;
/** Column name A_Disposal_Gain_Acct */
public static final String COLUMNNAME_A_Disposal_Gain_Acct = "A_Disposal_Gain_Acct";
/** Set Disposal Gain Acct */
public void setA_Disposal_Gain_Acct (int A_Disposal_Gain_Acct);
/** Get Disposal Gain Acct */
public int getA_Disposal_Gain_Acct();
public I_C_ValidCombination getA_Disposal_Gain_A() throws RuntimeException;
/** Column name A_Disposal_Loss */ /** Column name A_Disposal_Loss */
public static final String COLUMNNAME_A_Disposal_Loss = "A_Disposal_Loss"; public static final String COLUMNNAME_A_Disposal_Loss = "A_Disposal_Loss";
@ -197,6 +283,17 @@ public interface I_A_Asset_Group_Acct
public I_C_ValidCombination getA_Disposal_L() throws RuntimeException; public I_C_ValidCombination getA_Disposal_L() throws RuntimeException;
/** Column name A_Disposal_Loss_Acct */
public static final String COLUMNNAME_A_Disposal_Loss_Acct = "A_Disposal_Loss_Acct";
/** Set Disposal Loss Acct */
public void setA_Disposal_Loss_Acct (int A_Disposal_Loss_Acct);
/** Get Disposal Loss Acct */
public int getA_Disposal_Loss_Acct();
public I_C_ValidCombination getA_Disposal_Loss_A() throws RuntimeException;
/** Column name A_Disposal_Revenue */ /** Column name A_Disposal_Revenue */
public static final String COLUMNNAME_A_Disposal_Revenue = "A_Disposal_Revenue"; public static final String COLUMNNAME_A_Disposal_Revenue = "A_Disposal_Revenue";
@ -208,6 +305,17 @@ public interface I_A_Asset_Group_Acct
public I_C_ValidCombination getA_Disposal_Reve() throws RuntimeException; public I_C_ValidCombination getA_Disposal_Reve() throws RuntimeException;
/** Column name A_Disposal_Revenue_Acct */
public static final String COLUMNNAME_A_Disposal_Revenue_Acct = "A_Disposal_Revenue_Acct";
/** Set Disposal Revenue Acct */
public void setA_Disposal_Revenue_Acct (int A_Disposal_Revenue_Acct);
/** Get Disposal Revenue Acct */
public int getA_Disposal_Revenue_Acct();
public I_C_ValidCombination getA_Disposal_Revenue_A() throws RuntimeException;
/** Column name AD_Org_ID */ /** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -243,13 +351,35 @@ public interface I_A_Asset_Group_Acct
public I_C_ValidCombination getA_Reval_Accumdep_Offset_Pr() throws RuntimeException; public I_C_ValidCombination getA_Reval_Accumdep_Offset_Pr() throws RuntimeException;
/** Column name A_Reval_Adep_Offset_Cur_Acct */
public static final String COLUMNNAME_A_Reval_Adep_Offset_Cur_Acct = "A_Reval_Adep_Offset_Cur_Acct";
/** Set A_Reval_Accumdep_Offset_Cur */
public void setA_Reval_Adep_Offset_Cur_Acct (int A_Reval_Adep_Offset_Cur_Acct);
/** Get A_Reval_Accumdep_Offset_Cur */
public int getA_Reval_Adep_Offset_Cur_Acct();
public I_C_ValidCombination getA_Reval_Adep_Offset_Cur_A() throws RuntimeException;
/** Column name A_Reval_Adep_Offset_Prior_Acct */
public static final String COLUMNNAME_A_Reval_Adep_Offset_Prior_Acct = "A_Reval_Adep_Offset_Prior_Acct";
/** Set A_Reval_Accumdep_Offset_Prior */
public void setA_Reval_Adep_Offset_Prior_Acct (int A_Reval_Adep_Offset_Prior_Acct);
/** Get A_Reval_Accumdep_Offset_Prior */
public int getA_Reval_Adep_Offset_Prior_Acct();
public I_C_ValidCombination getA_Reval_Adep_Offset_Prior_A() throws RuntimeException;
/** Column name A_Reval_Cal_Method */ /** Column name A_Reval_Cal_Method */
public static final String COLUMNNAME_A_Reval_Cal_Method = "A_Reval_Cal_Method"; public static final String COLUMNNAME_A_Reval_Cal_Method = "A_Reval_Cal_Method";
/** Set Revaluation Calculation Method */ /** Set A_Reval_Cal_Method */
public void setA_Reval_Cal_Method (String A_Reval_Cal_Method); public void setA_Reval_Cal_Method (String A_Reval_Cal_Method);
/** Get Revaluation Calculation Method */ /** Get A_Reval_Cal_Method */
public String getA_Reval_Cal_Method(); public String getA_Reval_Cal_Method();
/** Column name A_Reval_Cost_Offset */ /** Column name A_Reval_Cost_Offset */
@ -263,6 +393,17 @@ public interface I_A_Asset_Group_Acct
public I_C_ValidCombination getA_Reval_Cost_Off() throws RuntimeException; public I_C_ValidCombination getA_Reval_Cost_Off() throws RuntimeException;
/** Column name A_Reval_Cost_Offset_Acct */
public static final String COLUMNNAME_A_Reval_Cost_Offset_Acct = "A_Reval_Cost_Offset_Acct";
/** Set Reval Cost Offset Acct */
public void setA_Reval_Cost_Offset_Acct (int A_Reval_Cost_Offset_Acct);
/** Get Reval Cost Offset Acct */
public int getA_Reval_Cost_Offset_Acct();
public I_C_ValidCombination getA_Reval_Cost_Offset_A() throws RuntimeException;
/** Column name A_Reval_Cost_Offset_Prior */ /** Column name A_Reval_Cost_Offset_Prior */
public static final String COLUMNNAME_A_Reval_Cost_Offset_Prior = "A_Reval_Cost_Offset_Prior"; public static final String COLUMNNAME_A_Reval_Cost_Offset_Prior = "A_Reval_Cost_Offset_Prior";
@ -274,6 +415,17 @@ public interface I_A_Asset_Group_Acct
public I_C_ValidCombination getA_Reval_Cost_Offset_Pr() throws RuntimeException; public I_C_ValidCombination getA_Reval_Cost_Offset_Pr() throws RuntimeException;
/** Column name A_Reval_Cost_Offset_Prior_Acct */
public static final String COLUMNNAME_A_Reval_Cost_Offset_Prior_Acct = "A_Reval_Cost_Offset_Prior_Acct";
/** Set Reval Cost Offset Prior Acct */
public void setA_Reval_Cost_Offset_Prior_Acct (int A_Reval_Cost_Offset_Prior_Acct);
/** Get Reval Cost Offset Prior Acct */
public int getA_Reval_Cost_Offset_Prior_Acct();
public I_C_ValidCombination getA_Reval_Cost_Offset_Prior_A() throws RuntimeException;
/** Column name A_Reval_Depexp_Offset */ /** Column name A_Reval_Depexp_Offset */
public static final String COLUMNNAME_A_Reval_Depexp_Offset = "A_Reval_Depexp_Offset"; public static final String COLUMNNAME_A_Reval_Depexp_Offset = "A_Reval_Depexp_Offset";
@ -285,13 +437,24 @@ public interface I_A_Asset_Group_Acct
public I_C_ValidCombination getA_Reval_Depexp_Off() throws RuntimeException; public I_C_ValidCombination getA_Reval_Depexp_Off() throws RuntimeException;
/** Column name A_Reval_Depexp_Offset_Acct */
public static final String COLUMNNAME_A_Reval_Depexp_Offset_Acct = "A_Reval_Depexp_Offset_Acct";
/** Set Reval Depexp Offset Acct */
public void setA_Reval_Depexp_Offset_Acct (int A_Reval_Depexp_Offset_Acct);
/** Get Reval Depexp Offset Acct */
public int getA_Reval_Depexp_Offset_Acct();
public I_C_ValidCombination getA_Reval_Depexp_Offset_A() throws RuntimeException;
/** Column name A_Split_Percent */ /** Column name A_Split_Percent */
public static final String COLUMNNAME_A_Split_Percent = "A_Split_Percent"; public static final String COLUMNNAME_A_Split_Percent = "A_Split_Percent";
/** Set Split Percentage */ /** Set Split Percent */
public void setA_Split_Percent (BigDecimal A_Split_Percent); public void setA_Split_Percent (BigDecimal A_Split_Percent);
/** Get Split Percentage */ /** Get Split Percent */
public BigDecimal getA_Split_Percent(); public BigDecimal getA_Split_Percent();
/** Column name C_AcctSchema_ID */ /** Column name C_AcctSchema_ID */
@ -307,7 +470,7 @@ public interface I_A_Asset_Group_Acct
*/ */
public int getC_AcctSchema_ID(); public int getC_AcctSchema_ID();
public I_C_AcctSchema getC_AcctSchema() throws RuntimeException; public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException;
/** Column name ConventionType */ /** Column name ConventionType */
public static final String COLUMNNAME_ConventionType = "ConventionType"; public static final String COLUMNNAME_ConventionType = "ConventionType";
@ -318,7 +481,7 @@ public interface I_A_Asset_Group_Acct
/** Get ConventionType */ /** Get ConventionType */
public int getConventionType(); public int getConventionType();
public I_A_Depreciation_Convention getConventionT() throws RuntimeException; public org.compiere.model.I_A_Depreciation_Convention getConventionT() throws RuntimeException;
/** Column name Created */ /** Column name Created */
public static final String COLUMNNAME_Created = "Created"; public static final String COLUMNNAME_Created = "Created";
@ -345,7 +508,7 @@ public interface I_A_Asset_Group_Acct
/** Get DepreciationType */ /** Get DepreciationType */
public int getDepreciationType(); public int getDepreciationType();
public I_A_Depreciation getDepreciationT() throws RuntimeException; public org.compiere.model.I_A_Depreciation getDepreciationT() throws RuntimeException;
/** Column name IsActive */ /** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive"; public static final String COLUMNNAME_IsActive = "IsActive";
@ -411,6 +574,15 @@ public interface I_A_Asset_Group_Acct
*/ */
public int getUseLifeMonths(); public int getUseLifeMonths();
/** Column name UseLifeMonths_F */
public static final String COLUMNNAME_UseLifeMonths_F = "UseLifeMonths_F";
/** Set Use Life - Months (fiscal) */
public void setUseLifeMonths_F (int UseLifeMonths_F);
/** Get Use Life - Months (fiscal) */
public int getUseLifeMonths_F();
/** Column name UseLifeYears */ /** Column name UseLifeYears */
public static final String COLUMNNAME_UseLifeYears = "UseLifeYears"; public static final String COLUMNNAME_UseLifeYears = "UseLifeYears";
@ -423,4 +595,13 @@ public interface I_A_Asset_Group_Acct
* Years of the usable life of the asset * Years of the usable life of the asset
*/ */
public int getUseLifeYears(); public int getUseLifeYears();
/** Column name UseLifeYears_F */
public static final String COLUMNNAME_UseLifeYears_F = "UseLifeYears_F";
/** Set Use Life - Years (fiscal) */
public void setUseLifeYears_F (int UseLifeYears_F);
/** Get Use Life - Years (fiscal) */
public int getUseLifeYears_F();
} }

View File

@ -31,7 +31,7 @@ public interface I_A_Asset_Info_Fin
public static final String Table_Name = "A_Asset_Info_Fin"; public static final String Table_Name = "A_Asset_Info_Fin";
/** AD_Table_ID=53132 */ /** AD_Table_ID=53132 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53132;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -54,15 +54,26 @@ public interface I_A_Asset_Info_Fin
*/ */
public int getA_Asset_ID(); public int getA_Asset_ID();
public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException;
/** Column name A_Asset_Info_Fin_ID */ /** Column name A_Asset_Info_Fin_ID */
public static final String COLUMNNAME_A_Asset_Info_Fin_ID = "A_Asset_Info_Fin_ID"; public static final String COLUMNNAME_A_Asset_Info_Fin_ID = "A_Asset_Info_Fin_ID";
/** Set Asset Info Fin. */ /** Set Asset Info Financial ID */
public void setA_Asset_Info_Fin_ID (int A_Asset_Info_Fin_ID); public void setA_Asset_Info_Fin_ID (int A_Asset_Info_Fin_ID);
/** Get Asset Info Fin. */ /** Get Asset Info Financial ID */
public int getA_Asset_Info_Fin_ID(); public int getA_Asset_Info_Fin_ID();
/** Column name A_Asset_Info_Fin_UU */
public static final String COLUMNNAME_A_Asset_Info_Fin_UU = "A_Asset_Info_Fin_UU";
/** Set A_Asset_Info_Fin_UU */
public void setA_Asset_Info_Fin_UU (String A_Asset_Info_Fin_UU);
/** Get A_Asset_Info_Fin_UU */
public String getA_Asset_Info_Fin_UU();
/** Column name A_Contract_Date */ /** Column name A_Contract_Date */
public static final String COLUMNNAME_A_Contract_Date = "A_Contract_Date"; public static final String COLUMNNAME_A_Contract_Date = "A_Contract_Date";
@ -96,37 +107,37 @@ public interface I_A_Asset_Info_Fin
/** Column name A_Due_On */ /** Column name A_Due_On */
public static final String COLUMNNAME_A_Due_On = "A_Due_On"; public static final String COLUMNNAME_A_Due_On = "A_Due_On";
/** Set Payment Due Date */ /** Set Asset Due On */
public void setA_Due_On (String A_Due_On); public void setA_Due_On (String A_Due_On);
/** Get Payment Due Date */ /** Get Asset Due On */
public String getA_Due_On(); public String getA_Due_On();
/** Column name A_Expired_Date */ /** Column name A_Expired_Date */
public static final String COLUMNNAME_A_Expired_Date = "A_Expired_Date"; public static final String COLUMNNAME_A_Expired_Date = "A_Expired_Date";
/** Set Contract Expiration Date */ /** Set Asset Expired Date */
public void setA_Expired_Date (Timestamp A_Expired_Date); public void setA_Expired_Date (Timestamp A_Expired_Date);
/** Get Contract Expiration Date */ /** Get Asset Expired Date */
public Timestamp getA_Expired_Date(); public Timestamp getA_Expired_Date();
/** Column name A_Finance_Meth */ /** Column name A_Finance_Meth */
public static final String COLUMNNAME_A_Finance_Meth = "A_Finance_Meth"; public static final String COLUMNNAME_A_Finance_Meth = "A_Finance_Meth";
/** Set Finance Method */ /** Set Asset Finance Method */
public void setA_Finance_Meth (String A_Finance_Meth); public void setA_Finance_Meth (String A_Finance_Meth);
/** Get Finance Method */ /** Get Asset Finance Method */
public String getA_Finance_Meth(); public String getA_Finance_Meth();
/** Column name A_Monthly_Payment */ /** Column name A_Monthly_Payment */
public static final String COLUMNNAME_A_Monthly_Payment = "A_Monthly_Payment"; public static final String COLUMNNAME_A_Monthly_Payment = "A_Monthly_Payment";
/** Set Monthly Payment */ /** Set Asset Monthly Payment */
public void setA_Monthly_Payment (BigDecimal A_Monthly_Payment); public void setA_Monthly_Payment (BigDecimal A_Monthly_Payment);
/** Get Monthly Payment */ /** Get Asset Monthly Payment */
public BigDecimal getA_Monthly_Payment(); public BigDecimal getA_Monthly_Payment();
/** Column name A_Purchase_Option */ /** Column name A_Purchase_Option */
@ -159,10 +170,10 @@ public interface I_A_Asset_Info_Fin
/** Column name A_Purchase_Price */ /** Column name A_Purchase_Price */
public static final String COLUMNNAME_A_Purchase_Price = "A_Purchase_Price"; public static final String COLUMNNAME_A_Purchase_Price = "A_Purchase_Price";
/** Set Option Purchase Price */ /** Set Purchase Price */
public void setA_Purchase_Price (BigDecimal A_Purchase_Price); public void setA_Purchase_Price (BigDecimal A_Purchase_Price);
/** Get Option Purchase Price */ /** Get Purchase Price */
public BigDecimal getA_Purchase_Price(); public BigDecimal getA_Purchase_Price();
/** Column name C_BPartner_ID */ /** Column name C_BPartner_ID */
@ -178,6 +189,8 @@ public interface I_A_Asset_Info_Fin
*/ */
public int getC_BPartner_ID(); public int getC_BPartner_ID();
public org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException;
/** Column name Created */ /** Column name Created */
public static final String COLUMNNAME_Created = "Created"; public static final String COLUMNNAME_Created = "Created";
@ -207,6 +220,19 @@ public interface I_A_Asset_Info_Fin
*/ */
public boolean isActive(); public boolean isActive();
/** Column name Processed */
public static final String COLUMNNAME_Processed = "Processed";
/** Set Processed.
* The document has been processed
*/
public void setProcessed (boolean Processed);
/** Get Processed.
* The document has been processed
*/
public boolean isProcessed();
/** Column name TextMsg */ /** Column name TextMsg */
public static final String COLUMNNAME_TextMsg = "TextMsg"; public static final String COLUMNNAME_TextMsg = "TextMsg";

View File

@ -31,7 +31,7 @@ public interface I_A_Asset_Info_Ins
public static final String Table_Name = "A_Asset_Info_Ins"; public static final String Table_Name = "A_Asset_Info_Ins";
/** AD_Table_ID=53135 */ /** AD_Table_ID=53135 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53135;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -57,12 +57,21 @@ public interface I_A_Asset_Info_Ins
/** Column name A_Asset_Info_Ins_ID */ /** Column name A_Asset_Info_Ins_ID */
public static final String COLUMNNAME_A_Asset_Info_Ins_ID = "A_Asset_Info_Ins_ID"; public static final String COLUMNNAME_A_Asset_Info_Ins_ID = "A_Asset_Info_Ins_ID";
/** Set Asset Info Ins. */ /** Set A_Asset_Info_Ins_ID */
public void setA_Asset_Info_Ins_ID (int A_Asset_Info_Ins_ID); public void setA_Asset_Info_Ins_ID (int A_Asset_Info_Ins_ID);
/** Get Asset Info Ins. */ /** Get A_Asset_Info_Ins_ID */
public int getA_Asset_Info_Ins_ID(); public int getA_Asset_Info_Ins_ID();
/** Column name A_Asset_Info_Ins_UU */
public static final String COLUMNNAME_A_Asset_Info_Ins_UU = "A_Asset_Info_Ins_UU";
/** Set A_Asset_Info_Ins_UU */
public void setA_Asset_Info_Ins_UU (String A_Asset_Info_Ins_UU);
/** Get A_Asset_Info_Ins_UU */
public String getA_Asset_Info_Ins_UU();
/** Column name AD_Client_ID */ /** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
@ -87,10 +96,10 @@ public interface I_A_Asset_Info_Ins
/** Column name A_Ins_Premium */ /** Column name A_Ins_Premium */
public static final String COLUMNNAME_A_Ins_Premium = "A_Ins_Premium"; public static final String COLUMNNAME_A_Ins_Premium = "A_Ins_Premium";
/** Set Insurance Premium */ /** Set Asset Insurance Premium */
public void setA_Ins_Premium (BigDecimal A_Ins_Premium); public void setA_Ins_Premium (BigDecimal A_Ins_Premium);
/** Get Insurance Premium */ /** Get Asset Insurance Premium */
public BigDecimal getA_Ins_Premium(); public BigDecimal getA_Ins_Premium();
/** Column name A_Insurance_Co */ /** Column name A_Insurance_Co */
@ -105,37 +114,37 @@ public interface I_A_Asset_Info_Ins
/** Column name A_Ins_Value */ /** Column name A_Ins_Value */
public static final String COLUMNNAME_A_Ins_Value = "A_Ins_Value"; public static final String COLUMNNAME_A_Ins_Value = "A_Ins_Value";
/** Set Insured Value */ /** Set Asset Insurance Value */
public void setA_Ins_Value (BigDecimal A_Ins_Value); public void setA_Ins_Value (BigDecimal A_Ins_Value);
/** Get Insured Value */ /** Get Asset Insurance Value */
public BigDecimal getA_Ins_Value(); public BigDecimal getA_Ins_Value();
/** Column name A_Policy_No */ /** Column name A_Policy_No */
public static final String COLUMNNAME_A_Policy_No = "A_Policy_No"; public static final String COLUMNNAME_A_Policy_No = "A_Policy_No";
/** Set Policy Number */ /** Set Asset Policy No */
public void setA_Policy_No (String A_Policy_No); public void setA_Policy_No (String A_Policy_No);
/** Get Policy Number */ /** Get Asset Policy No */
public String getA_Policy_No(); public String getA_Policy_No();
/** Column name A_Renewal_Date */ /** Column name A_Renewal_Date */
public static final String COLUMNNAME_A_Renewal_Date = "A_Renewal_Date"; public static final String COLUMNNAME_A_Renewal_Date = "A_Renewal_Date";
/** Set Policy Renewal Date */ /** Set Asset Renewal Date */
public void setA_Renewal_Date (Timestamp A_Renewal_Date); public void setA_Renewal_Date (Timestamp A_Renewal_Date);
/** Get Policy Renewal Date */ /** Get Asset Renewal Date */
public Timestamp getA_Renewal_Date(); public Timestamp getA_Renewal_Date();
/** Column name A_Replace_Cost */ /** Column name A_Replace_Cost */
public static final String COLUMNNAME_A_Replace_Cost = "A_Replace_Cost"; public static final String COLUMNNAME_A_Replace_Cost = "A_Replace_Cost";
/** Set Replacement Costs */ /** Set Asset Replace Cost */
public void setA_Replace_Cost (BigDecimal A_Replace_Cost); public void setA_Replace_Cost (BigDecimal A_Replace_Cost);
/** Get Replacement Costs */ /** Get Asset Replace Cost */
public BigDecimal getA_Replace_Cost(); public BigDecimal getA_Replace_Cost();
/** Column name Created */ /** Column name Created */
@ -170,10 +179,10 @@ public interface I_A_Asset_Info_Ins
/** Column name Text */ /** Column name Text */
public static final String COLUMNNAME_Text = "Text"; public static final String COLUMNNAME_Text = "Text";
/** Set Text */ /** Set Description */
public void setText (String Text); public void setText (String Text);
/** Get Text */ /** Get Description */
public String getText(); public String getText();
/** Column name Updated */ /** Column name Updated */

View File

@ -31,7 +31,7 @@ public interface I_A_Asset_Info_Lic
public static final String Table_Name = "A_Asset_Info_Lic"; public static final String Table_Name = "A_Asset_Info_Lic";
/** AD_Table_ID=53134 */ /** AD_Table_ID=53134 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53134;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -54,15 +54,26 @@ public interface I_A_Asset_Info_Lic
*/ */
public int getA_Asset_ID(); public int getA_Asset_ID();
public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException;
/** Column name A_Asset_Info_Lic_ID */ /** Column name A_Asset_Info_Lic_ID */
public static final String COLUMNNAME_A_Asset_Info_Lic_ID = "A_Asset_Info_Lic_ID"; public static final String COLUMNNAME_A_Asset_Info_Lic_ID = "A_Asset_Info_Lic_ID";
/** Set Asset Info Lic. */ /** Set A_Asset_Info_Lic_ID */
public void setA_Asset_Info_Lic_ID (int A_Asset_Info_Lic_ID); public void setA_Asset_Info_Lic_ID (int A_Asset_Info_Lic_ID);
/** Get Asset Info Lic. */ /** Get A_Asset_Info_Lic_ID */
public int getA_Asset_Info_Lic_ID(); public int getA_Asset_Info_Lic_ID();
/** Column name A_Asset_Info_Lic_UU */
public static final String COLUMNNAME_A_Asset_Info_Lic_UU = "A_Asset_Info_Lic_UU";
/** Set A_Asset_Info_Lic_UU */
public void setA_Asset_Info_Lic_UU (String A_Asset_Info_Lic_UU);
/** Get A_Asset_Info_Lic_UU */
public String getA_Asset_Info_Lic_UU();
/** Column name AD_Client_ID */ /** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
@ -96,28 +107,28 @@ public interface I_A_Asset_Info_Lic
/** Column name A_License_Fee */ /** Column name A_License_Fee */
public static final String COLUMNNAME_A_License_Fee = "A_License_Fee"; public static final String COLUMNNAME_A_License_Fee = "A_License_Fee";
/** Set License Fee */ /** Set Asset License Fee */
public void setA_License_Fee (BigDecimal A_License_Fee); public void setA_License_Fee (BigDecimal A_License_Fee);
/** Get License Fee */ /** Get Asset License Fee */
public BigDecimal getA_License_Fee(); public BigDecimal getA_License_Fee();
/** Column name A_License_No */ /** Column name A_License_No */
public static final String COLUMNNAME_A_License_No = "A_License_No"; public static final String COLUMNNAME_A_License_No = "A_License_No";
/** Set License No */ /** Set Asset License No */
public void setA_License_No (String A_License_No); public void setA_License_No (String A_License_No);
/** Get License No */ /** Get Asset License No */
public String getA_License_No(); public String getA_License_No();
/** Column name A_Renewal_Date */ /** Column name A_Renewal_Date */
public static final String COLUMNNAME_A_Renewal_Date = "A_Renewal_Date"; public static final String COLUMNNAME_A_Renewal_Date = "A_Renewal_Date";
/** Set Policy Renewal Date */ /** Set Asset Renewal Date */
public void setA_Renewal_Date (Timestamp A_Renewal_Date); public void setA_Renewal_Date (Timestamp A_Renewal_Date);
/** Get Policy Renewal Date */ /** Get Asset Renewal Date */
public Timestamp getA_Renewal_Date(); public Timestamp getA_Renewal_Date();
/** Column name A_State */ /** Column name A_State */
@ -162,13 +173,26 @@ public interface I_A_Asset_Info_Lic
*/ */
public boolean isActive(); public boolean isActive();
/** Column name Processed */
public static final String COLUMNNAME_Processed = "Processed";
/** Set Processed.
* The document has been processed
*/
public void setProcessed (boolean Processed);
/** Get Processed.
* The document has been processed
*/
public boolean isProcessed();
/** Column name Text */ /** Column name Text */
public static final String COLUMNNAME_Text = "Text"; public static final String COLUMNNAME_Text = "Text";
/** Set Text */ /** Set Description */
public void setText (String Text); public void setText (String Text);
/** Get Text */ /** Get Description */
public String getText(); public String getText();
/** Column name Updated */ /** Column name Updated */

View File

@ -31,7 +31,7 @@ public interface I_A_Asset_Info_Oth
public static final String Table_Name = "A_Asset_Info_Oth"; public static final String Table_Name = "A_Asset_Info_Oth";
/** AD_Table_ID=53136 */ /** AD_Table_ID=53136 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53136;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -57,12 +57,21 @@ public interface I_A_Asset_Info_Oth
/** Column name A_Asset_Info_Oth_ID */ /** Column name A_Asset_Info_Oth_ID */
public static final String COLUMNNAME_A_Asset_Info_Oth_ID = "A_Asset_Info_Oth_ID"; public static final String COLUMNNAME_A_Asset_Info_Oth_ID = "A_Asset_Info_Oth_ID";
/** Set Asset Info Oth. */ /** Set A_Asset_Info_Oth_ID */
public void setA_Asset_Info_Oth_ID (int A_Asset_Info_Oth_ID); public void setA_Asset_Info_Oth_ID (int A_Asset_Info_Oth_ID);
/** Get Asset Info Oth. */ /** Get A_Asset_Info_Oth_ID */
public int getA_Asset_Info_Oth_ID(); public int getA_Asset_Info_Oth_ID();
/** Column name A_Asset_Info_Oth_UU */
public static final String COLUMNNAME_A_Asset_Info_Oth_UU = "A_Asset_Info_Oth_UU";
/** Set A_Asset_Info_Oth_UU */
public void setA_Asset_Info_Oth_UU (String A_Asset_Info_Oth_UU);
/** Get A_Asset_Info_Oth_UU */
public String getA_Asset_Info_Oth_UU();
/** Column name AD_Client_ID */ /** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
@ -87,136 +96,136 @@ public interface I_A_Asset_Info_Oth
/** Column name A_User1 */ /** Column name A_User1 */
public static final String COLUMNNAME_A_User1 = "A_User1"; public static final String COLUMNNAME_A_User1 = "A_User1";
/** Set User 1 */ /** Set A_User1 */
public void setA_User1 (String A_User1); public void setA_User1 (String A_User1);
/** Get User 1 */ /** Get A_User1 */
public String getA_User1(); public String getA_User1();
/** Column name A_User10 */ /** Column name A_User10 */
public static final String COLUMNNAME_A_User10 = "A_User10"; public static final String COLUMNNAME_A_User10 = "A_User10";
/** Set User 10 */ /** Set A_User10 */
public void setA_User10 (String A_User10); public void setA_User10 (String A_User10);
/** Get User 10 */ /** Get A_User10 */
public String getA_User10(); public String getA_User10();
/** Column name A_User11 */ /** Column name A_User11 */
public static final String COLUMNNAME_A_User11 = "A_User11"; public static final String COLUMNNAME_A_User11 = "A_User11";
/** Set User 11 */ /** Set A_User11 */
public void setA_User11 (String A_User11); public void setA_User11 (String A_User11);
/** Get User 11 */ /** Get A_User11 */
public String getA_User11(); public String getA_User11();
/** Column name A_User12 */ /** Column name A_User12 */
public static final String COLUMNNAME_A_User12 = "A_User12"; public static final String COLUMNNAME_A_User12 = "A_User12";
/** Set User 12 */ /** Set A_User12 */
public void setA_User12 (String A_User12); public void setA_User12 (String A_User12);
/** Get User 12 */ /** Get A_User12 */
public String getA_User12(); public String getA_User12();
/** Column name A_User13 */ /** Column name A_User13 */
public static final String COLUMNNAME_A_User13 = "A_User13"; public static final String COLUMNNAME_A_User13 = "A_User13";
/** Set User 13 */ /** Set A_User13 */
public void setA_User13 (String A_User13); public void setA_User13 (String A_User13);
/** Get User 13 */ /** Get A_User13 */
public String getA_User13(); public String getA_User13();
/** Column name A_User14 */ /** Column name A_User14 */
public static final String COLUMNNAME_A_User14 = "A_User14"; public static final String COLUMNNAME_A_User14 = "A_User14";
/** Set User 14 */ /** Set A_User14 */
public void setA_User14 (String A_User14); public void setA_User14 (String A_User14);
/** Get User 14 */ /** Get A_User14 */
public String getA_User14(); public String getA_User14();
/** Column name A_User15 */ /** Column name A_User15 */
public static final String COLUMNNAME_A_User15 = "A_User15"; public static final String COLUMNNAME_A_User15 = "A_User15";
/** Set User 15 */ /** Set A_User15 */
public void setA_User15 (String A_User15); public void setA_User15 (String A_User15);
/** Get User 15 */ /** Get A_User15 */
public String getA_User15(); public String getA_User15();
/** Column name A_User2 */ /** Column name A_User2 */
public static final String COLUMNNAME_A_User2 = "A_User2"; public static final String COLUMNNAME_A_User2 = "A_User2";
/** Set User 2 */ /** Set A_User2 */
public void setA_User2 (String A_User2); public void setA_User2 (String A_User2);
/** Get User 2 */ /** Get A_User2 */
public String getA_User2(); public String getA_User2();
/** Column name A_User3 */ /** Column name A_User3 */
public static final String COLUMNNAME_A_User3 = "A_User3"; public static final String COLUMNNAME_A_User3 = "A_User3";
/** Set User 3 */ /** Set A_User3 */
public void setA_User3 (String A_User3); public void setA_User3 (String A_User3);
/** Get User 3 */ /** Get A_User3 */
public String getA_User3(); public String getA_User3();
/** Column name A_User4 */ /** Column name A_User4 */
public static final String COLUMNNAME_A_User4 = "A_User4"; public static final String COLUMNNAME_A_User4 = "A_User4";
/** Set User 4 */ /** Set A_User4 */
public void setA_User4 (String A_User4); public void setA_User4 (String A_User4);
/** Get User 4 */ /** Get A_User4 */
public String getA_User4(); public String getA_User4();
/** Column name A_User5 */ /** Column name A_User5 */
public static final String COLUMNNAME_A_User5 = "A_User5"; public static final String COLUMNNAME_A_User5 = "A_User5";
/** Set User 5 */ /** Set A_User5 */
public void setA_User5 (String A_User5); public void setA_User5 (String A_User5);
/** Get User 5 */ /** Get A_User5 */
public String getA_User5(); public String getA_User5();
/** Column name A_User6 */ /** Column name A_User6 */
public static final String COLUMNNAME_A_User6 = "A_User6"; public static final String COLUMNNAME_A_User6 = "A_User6";
/** Set User 6 */ /** Set A_User6 */
public void setA_User6 (String A_User6); public void setA_User6 (String A_User6);
/** Get User 6 */ /** Get A_User6 */
public String getA_User6(); public String getA_User6();
/** Column name A_User7 */ /** Column name A_User7 */
public static final String COLUMNNAME_A_User7 = "A_User7"; public static final String COLUMNNAME_A_User7 = "A_User7";
/** Set User 7 */ /** Set A_User7 */
public void setA_User7 (String A_User7); public void setA_User7 (String A_User7);
/** Get User 7 */ /** Get A_User7 */
public String getA_User7(); public String getA_User7();
/** Column name A_User8 */ /** Column name A_User8 */
public static final String COLUMNNAME_A_User8 = "A_User8"; public static final String COLUMNNAME_A_User8 = "A_User8";
/** Set User 8 */ /** Set A_User8 */
public void setA_User8 (String A_User8); public void setA_User8 (String A_User8);
/** Get User 8 */ /** Get A_User8 */
public String getA_User8(); public String getA_User8();
/** Column name A_User9 */ /** Column name A_User9 */
public static final String COLUMNNAME_A_User9 = "A_User9"; public static final String COLUMNNAME_A_User9 = "A_User9";
/** Set User 9 */ /** Set A_User9 */
public void setA_User9 (String A_User9); public void setA_User9 (String A_User9);
/** Get User 9 */ /** Get A_User9 */
public String getA_User9(); public String getA_User9();
/** Column name Created */ /** Column name Created */
@ -251,10 +260,10 @@ public interface I_A_Asset_Info_Oth
/** Column name Text */ /** Column name Text */
public static final String COLUMNNAME_Text = "Text"; public static final String COLUMNNAME_Text = "Text";
/** Set Text */ /** Set Description */
public void setText (String Text); public void setText (String Text);
/** Get Text */ /** Get Description */
public String getText(); public String getText();
/** Column name Updated */ /** Column name Updated */

View File

@ -31,7 +31,7 @@ public interface I_A_Asset_Info_Tax
public static final String Table_Name = "A_Asset_Info_Tax"; public static final String Table_Name = "A_Asset_Info_Tax";
/** AD_Table_ID=53131 */ /** AD_Table_ID=53131 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53131;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -63,6 +63,15 @@ public interface I_A_Asset_Info_Tax
/** Get Asset Info Tax */ /** Get Asset Info Tax */
public int getA_Asset_Info_Tax_ID(); public int getA_Asset_Info_Tax_ID();
/** Column name A_Asset_Info_Tax_UU */
public static final String COLUMNNAME_A_Asset_Info_Tax_UU = "A_Asset_Info_Tax_UU";
/** Set A_Asset_Info_Tax_UU */
public void setA_Asset_Info_Tax_UU (String A_Asset_Info_Tax_UU);
/** Get A_Asset_Info_Tax_UU */
public String getA_Asset_Info_Tax_UU();
/** Column name AD_Client_ID */ /** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
@ -87,28 +96,28 @@ public interface I_A_Asset_Info_Tax
/** Column name A_Finance_Meth */ /** Column name A_Finance_Meth */
public static final String COLUMNNAME_A_Finance_Meth = "A_Finance_Meth"; public static final String COLUMNNAME_A_Finance_Meth = "A_Finance_Meth";
/** Set Finance Method */ /** Set Asset Finance Method */
public void setA_Finance_Meth (String A_Finance_Meth); public void setA_Finance_Meth (String A_Finance_Meth);
/** Get Finance Method */ /** Get Asset Finance Method */
public String getA_Finance_Meth(); public String getA_Finance_Meth();
/** Column name A_Investment_CR */ /** Column name A_Investment_CR */
public static final String COLUMNNAME_A_Investment_CR = "A_Investment_CR"; public static final String COLUMNNAME_A_Investment_CR = "A_Investment_CR";
/** Set Investment Credit */ /** Set Asset Investment CR */
public void setA_Investment_CR (int A_Investment_CR); public void setA_Investment_CR (int A_Investment_CR);
/** Get Investment Credit */ /** Get Asset Investment CR */
public int getA_Investment_CR(); public int getA_Investment_CR();
/** Column name A_New_Used */ /** Column name A_New_Used */
public static final String COLUMNNAME_A_New_Used = "A_New_Used"; public static final String COLUMNNAME_A_New_Used = "A_New_Used";
/** Set Purchased New? */ /** Set Asset New Used */
public void setA_New_Used (boolean A_New_Used); public void setA_New_Used (boolean A_New_Used);
/** Get Purchased New? */ /** Get Asset New Used */
public boolean isA_New_Used(); public boolean isA_New_Used();
/** Column name A_State */ /** Column name A_State */
@ -127,10 +136,10 @@ public interface I_A_Asset_Info_Tax
/** Column name A_Tax_Entity */ /** Column name A_Tax_Entity */
public static final String COLUMNNAME_A_Tax_Entity = "A_Tax_Entity"; public static final String COLUMNNAME_A_Tax_Entity = "A_Tax_Entity";
/** Set Tax Entity */ /** Set Asset Tax Entity */
public void setA_Tax_Entity (String A_Tax_Entity); public void setA_Tax_Entity (String A_Tax_Entity);
/** Get Tax Entity */ /** Get Asset Tax Entity */
public String getA_Tax_Entity(); public String getA_Tax_Entity();
/** Column name Created */ /** Column name Created */

View File

@ -0,0 +1,200 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
package org.compiere.model;
import java.math.BigDecimal;
import java.sql.Timestamp;
import org.compiere.util.KeyNamePair;
/** Generated Interface for A_Asset_Product
* @author Adempiere (generated)
* @version Release 3.6.0LTS
*/
public interface I_A_Asset_Product
{
/** TableName=A_Asset_Product */
public static final String Table_Name = "A_Asset_Product";
/** AD_Table_ID=53270 */
public static final int Table_ID = 53270;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
/** AccessLevel = 3 - Client - Org
*/
BigDecimal accessLevel = BigDecimal.valueOf(3);
/** Load Meta Data */
/** Column name A_Asset_ID */
public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID";
/** Set Asset.
* Asset used internally or by customers
*/
public void setA_Asset_ID (int A_Asset_ID);
/** Get Asset.
* Asset used internally or by customers
*/
public int getA_Asset_ID();
public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException;
/** Column name A_Asset_Product_ID */
public static final String COLUMNNAME_A_Asset_Product_ID = "A_Asset_Product_ID";
/** Set Asset Product */
public void setA_Asset_Product_ID (int A_Asset_Product_ID);
/** Get Asset Product */
public int getA_Asset_Product_ID();
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
/** Set Organization.
* Organizational entity within client
*/
public void setAD_Org_ID (int AD_Org_ID);
/** Get Organization.
* Organizational entity within client
*/
public int getAD_Org_ID();
/** Column name A_QTY_Current */
public static final String COLUMNNAME_A_QTY_Current = "A_QTY_Current";
/** Set Current Qty */
public void setA_QTY_Current (BigDecimal A_QTY_Current);
/** Get Current Qty */
public BigDecimal getA_QTY_Current();
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name Description */
public static final String COLUMNNAME_Description = "Description";
/** Set Description.
* Optional short description of the record
*/
public void setDescription (String Description);
/** Get Description.
* Optional short description of the record
*/
public String getDescription();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name M_AttributeSetInstance_ID */
public static final String COLUMNNAME_M_AttributeSetInstance_ID = "M_AttributeSetInstance_ID";
/** Set Attribute Set Instance.
* Product Attribute Set Instance
*/
public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID);
/** Get Attribute Set Instance.
* Product Attribute Set Instance
*/
public int getM_AttributeSetInstance_ID();
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException;
/** Column name M_Locator_ID */
public static final String COLUMNNAME_M_Locator_ID = "M_Locator_ID";
/** Set Locator.
* Warehouse Locator
*/
public void setM_Locator_ID (int M_Locator_ID);
/** Get Locator.
* Warehouse Locator
*/
public int getM_Locator_ID();
public I_M_Locator getM_Locator() throws RuntimeException;
/** 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();
public org.compiere.model.I_M_Product getM_Product() throws RuntimeException;
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
}

View File

@ -31,7 +31,7 @@ public interface I_A_Asset_Retirement
public static final String Table_Name = "A_Asset_Retirement"; public static final String Table_Name = "A_Asset_Retirement";
/** AD_Table_ID=540 */ /** AD_Table_ID=540 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 540;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -54,7 +54,7 @@ public interface I_A_Asset_Retirement
*/ */
public int getA_Asset_ID(); public int getA_Asset_ID();
public I_A_Asset getA_Asset() throws RuntimeException; public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException;
/** Column name A_Asset_Retirement_ID */ /** Column name A_Asset_Retirement_ID */
public static final String COLUMNNAME_A_Asset_Retirement_ID = "A_Asset_Retirement_ID"; public static final String COLUMNNAME_A_Asset_Retirement_ID = "A_Asset_Retirement_ID";
@ -69,6 +69,15 @@ public interface I_A_Asset_Retirement
*/ */
public int getA_Asset_Retirement_ID(); public int getA_Asset_Retirement_ID();
/** Column name A_Asset_Retirement_UU */
public static final String COLUMNNAME_A_Asset_Retirement_UU = "A_Asset_Retirement_UU";
/** Set A_Asset_Retirement_UU */
public void setA_Asset_Retirement_UU (String A_Asset_Retirement_UU);
/** Get A_Asset_Retirement_UU */
public String getA_Asset_Retirement_UU();
/** Column name AD_Client_ID */ /** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
@ -129,7 +138,7 @@ public interface I_A_Asset_Retirement
*/ */
public int getC_InvoiceLine_ID(); public int getC_InvoiceLine_ID();
public I_C_InvoiceLine getC_InvoiceLine() throws RuntimeException; public org.compiere.model.I_C_InvoiceLine getC_InvoiceLine() throws RuntimeException;
/** Column name Created */ /** Column name Created */
public static final String COLUMNNAME_Created = "Created"; public static final String COLUMNNAME_Created = "Created";

View File

@ -0,0 +1,295 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
package org.compiere.model;
import java.math.BigDecimal;
import java.sql.Timestamp;
import org.compiere.util.KeyNamePair;
/** Generated Interface for A_Asset_Reval
* @author Adempiere (generated)
* @version Release 3.6.0LTS
*/
public interface I_A_Asset_Reval
{
/** TableName=A_Asset_Reval */
public static final String Table_Name = "A_Asset_Reval";
/** AD_Table_ID=53275 */
public static final int Table_ID = 53275;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
/** AccessLevel = 3 - Client - Org
*/
BigDecimal accessLevel = BigDecimal.valueOf(3);
/** Load Meta Data */
/** Column name A_Accumulated_Depr */
public static final String COLUMNNAME_A_Accumulated_Depr = "A_Accumulated_Depr";
/** Set Accumulated Depreciation */
public void setA_Accumulated_Depr (BigDecimal A_Accumulated_Depr);
/** Get Accumulated Depreciation */
public BigDecimal getA_Accumulated_Depr();
/** Column name A_Asset_Cost */
public static final String COLUMNNAME_A_Asset_Cost = "A_Asset_Cost";
/** Set Asset Cost */
public void setA_Asset_Cost (BigDecimal A_Asset_Cost);
/** Get Asset Cost */
public BigDecimal getA_Asset_Cost();
/** Column name A_Asset_Cost_Change */
public static final String COLUMNNAME_A_Asset_Cost_Change = "A_Asset_Cost_Change";
/** Set Asset Cost Change */
public void setA_Asset_Cost_Change (BigDecimal A_Asset_Cost_Change);
/** Get Asset Cost Change */
public BigDecimal getA_Asset_Cost_Change();
/** Column name A_Asset_ID */
public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID";
/** Set Asset.
* Asset used internally or by customers
*/
public void setA_Asset_ID (int A_Asset_ID);
/** Get Asset.
* Asset used internally or by customers
*/
public int getA_Asset_ID();
public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException;
/** Column name A_Asset_Reval_ID */
public static final String COLUMNNAME_A_Asset_Reval_ID = "A_Asset_Reval_ID";
/** Set Asset Revaluation */
public void setA_Asset_Reval_ID (int A_Asset_Reval_ID);
/** Get Asset Revaluation */
public int getA_Asset_Reval_ID();
/** Column name A_Change_Acumulated_Depr */
public static final String COLUMNNAME_A_Change_Acumulated_Depr = "A_Change_Acumulated_Depr";
/** Set Change Acumulated Depreciation */
public void setA_Change_Acumulated_Depr (BigDecimal A_Change_Acumulated_Depr);
/** Get Change Acumulated Depreciation */
public BigDecimal getA_Change_Acumulated_Depr();
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
/** Set Organization.
* Organizational entity within client
*/
public void setAD_Org_ID (int AD_Org_ID);
/** Get Organization.
* Organizational entity within client
*/
public int getAD_Org_ID();
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name DateAcct */
public static final String COLUMNNAME_DateAcct = "DateAcct";
/** Set Account Date.
* Accounting Date
*/
public void setDateAcct (Timestamp DateAcct);
/** Get Account Date.
* Accounting Date
*/
public Timestamp getDateAcct();
/** Column name DateDoc */
public static final String COLUMNNAME_DateDoc = "DateDoc";
/** Set Document Date.
* Date of the Document
*/
public void setDateDoc (Timestamp DateDoc);
/** Get Document Date.
* Date of the Document
*/
public Timestamp getDateDoc();
/** Column name DocAction */
public static final String COLUMNNAME_DocAction = "DocAction";
/** Set Document Action.
* The targeted status of the document
*/
public void setDocAction (String DocAction);
/** Get Document Action.
* The targeted status of the document
*/
public String getDocAction();
/** Column name DocStatus */
public static final String COLUMNNAME_DocStatus = "DocStatus";
/** Set Document Status.
* The current status of the document
*/
public void setDocStatus (String DocStatus);
/** Get Document Status.
* The current status of the document
*/
public String getDocStatus();
/** Column name DocumentNo */
public static final String COLUMNNAME_DocumentNo = "DocumentNo";
/** Set Document No.
* Document sequence number of the document
*/
public void setDocumentNo (String DocumentNo);
/** Get Document No.
* Document sequence number of the document
*/
public String getDocumentNo();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name Posted */
public static final String COLUMNNAME_Posted = "Posted";
/** Set Posted.
* Posting status
*/
public void setPosted (boolean Posted);
/** Get Posted.
* Posting status
*/
public boolean isPosted();
/** Column name PostingType */
public static final String COLUMNNAME_PostingType = "PostingType";
/** Set PostingType.
* The type of posted amount for the transaction
*/
public void setPostingType (String PostingType);
/** Get PostingType.
* The type of posted amount for the transaction
*/
public String getPostingType();
/** Column name Processed */
public static final String COLUMNNAME_Processed = "Processed";
/** Set Processed.
* The document has been processed
*/
public void setProcessed (boolean Processed);
/** Get Processed.
* The document has been processed
*/
public boolean isProcessed();
/** Column name ProcessedOn */
public static final String COLUMNNAME_ProcessedOn = "ProcessedOn";
/** Set Processed On.
* The date+time (expressed in decimal format) when the document has been processed
*/
public void setProcessedOn (BigDecimal ProcessedOn);
/** Get Processed On.
* The date+time (expressed in decimal format) when the document has been processed
*/
public BigDecimal getProcessedOn();
/** Column name Processing */
public static final String COLUMNNAME_Processing = "Processing";
/** Set Process Now */
public void setProcessing (boolean Processing);
/** Get Process Now */
public boolean isProcessing();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
}

View File

@ -31,7 +31,7 @@ public interface I_A_Asset_Reval_Entry
public static final String Table_Name = "A_Asset_Reval_Entry"; public static final String Table_Name = "A_Asset_Reval_Entry";
/** AD_Table_ID=53119 */ /** AD_Table_ID=53119 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53119;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -50,6 +50,15 @@ public interface I_A_Asset_Reval_Entry
/** Get Asset Reval. Entry */ /** Get Asset Reval. Entry */
public int getA_Asset_Reval_Entry_ID(); public int getA_Asset_Reval_Entry_ID();
/** Column name A_Asset_Reval_Entry_UU */
public static final String COLUMNNAME_A_Asset_Reval_Entry_UU = "A_Asset_Reval_Entry_UU";
/** Set A_Asset_Reval_Entry_UU */
public void setA_Asset_Reval_Entry_UU (String A_Asset_Reval_Entry_UU);
/** Get A_Asset_Reval_Entry_UU */
public String getA_Asset_Reval_Entry_UU();
/** Column name AD_Client_ID */ /** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
@ -83,10 +92,10 @@ public interface I_A_Asset_Reval_Entry
/** Column name A_Reval_Cal_Method */ /** Column name A_Reval_Cal_Method */
public static final String COLUMNNAME_A_Reval_Cal_Method = "A_Reval_Cal_Method"; public static final String COLUMNNAME_A_Reval_Cal_Method = "A_Reval_Cal_Method";
/** Set Revaluation Calculation Method */ /** Set A_Reval_Cal_Method */
public void setA_Reval_Cal_Method (String A_Reval_Cal_Method); public void setA_Reval_Cal_Method (String A_Reval_Cal_Method);
/** Get Revaluation Calculation Method */ /** Get A_Reval_Cal_Method */
public String getA_Reval_Cal_Method(); public String getA_Reval_Cal_Method();
/** Column name A_Reval_Effective_Date */ /** Column name A_Reval_Effective_Date */
@ -129,7 +138,7 @@ public interface I_A_Asset_Reval_Entry
*/ */
public int getC_AcctSchema_ID(); public int getC_AcctSchema_ID();
public I_C_AcctSchema getC_AcctSchema() throws RuntimeException; public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException;
/** Column name C_Currency_ID */ /** Column name C_Currency_ID */
public static final String COLUMNNAME_C_Currency_ID = "C_Currency_ID"; public static final String COLUMNNAME_C_Currency_ID = "C_Currency_ID";
@ -144,7 +153,7 @@ public interface I_A_Asset_Reval_Entry
*/ */
public int getC_Currency_ID(); public int getC_Currency_ID();
public I_C_Currency getC_Currency() throws RuntimeException; public org.compiere.model.I_C_Currency getC_Currency() throws RuntimeException;
/** Column name C_DocType_ID */ /** Column name C_DocType_ID */
public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID"; public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID";
@ -159,7 +168,7 @@ public interface I_A_Asset_Reval_Entry
*/ */
public int getC_DocType_ID(); public int getC_DocType_ID();
public I_C_DocType getC_DocType() throws RuntimeException; public org.compiere.model.I_C_DocType getC_DocType() throws RuntimeException;
/** Column name C_Period_ID */ /** Column name C_Period_ID */
public static final String COLUMNNAME_C_Period_ID = "C_Period_ID"; public static final String COLUMNNAME_C_Period_ID = "C_Period_ID";
@ -174,7 +183,7 @@ public interface I_A_Asset_Reval_Entry
*/ */
public int getC_Period_ID(); public int getC_Period_ID();
public I_C_Period getC_Period() throws RuntimeException; public org.compiere.model.I_C_Period getC_Period() throws RuntimeException;
/** Column name Created */ /** Column name Created */
public static final String COLUMNNAME_Created = "Created"; public static final String COLUMNNAME_Created = "Created";
@ -257,7 +266,7 @@ public interface I_A_Asset_Reval_Entry
*/ */
public int getGL_Category_ID(); public int getGL_Category_ID();
public I_GL_Category getGL_Category() throws RuntimeException; public org.compiere.model.I_GL_Category getGL_Category() throws RuntimeException;
/** Column name IsActive */ /** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive"; public static final String COLUMNNAME_IsActive = "IsActive";

View File

@ -31,7 +31,7 @@ public interface I_A_Asset_Reval_Index
public static final String Table_Name = "A_Asset_Reval_Index"; public static final String Table_Name = "A_Asset_Reval_Index";
/** AD_Table_ID=53120 */ /** AD_Table_ID=53120 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53120;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -50,6 +50,15 @@ public interface I_A_Asset_Reval_Index
/** Get Asset Reval Index */ /** Get Asset Reval Index */
public int getA_Asset_Reval_Index_ID(); public int getA_Asset_Reval_Index_ID();
/** Column name A_Asset_Reval_Index_UU */
public static final String COLUMNNAME_A_Asset_Reval_Index_UU = "A_Asset_Reval_Index_UU";
/** Set A_Asset_Reval_Index_UU */
public void setA_Asset_Reval_Index_UU (String A_Asset_Reval_Index_UU);
/** Get A_Asset_Reval_Index_UU */
public String getA_Asset_Reval_Index_UU();
/** Column name AD_Client_ID */ /** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";

View File

@ -31,7 +31,7 @@ public interface I_A_Asset_Split
public static final String Table_Name = "A_Asset_Split"; public static final String Table_Name = "A_Asset_Split";
/** AD_Table_ID=53122 */ /** AD_Table_ID=53122 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53122;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -53,10 +53,10 @@ public interface I_A_Asset_Split
/** Column name A_Asset_Acct_ID */ /** Column name A_Asset_Acct_ID */
public static final String COLUMNNAME_A_Asset_Acct_ID = "A_Asset_Acct_ID"; public static final String COLUMNNAME_A_Asset_Acct_ID = "A_Asset_Acct_ID";
/** Set Asset Acct. */ /** Set A_Asset_Acct_ID */
public void setA_Asset_Acct_ID (int A_Asset_Acct_ID); public void setA_Asset_Acct_ID (int A_Asset_Acct_ID);
/** Get Asset Acct. */ /** Get A_Asset_Acct_ID */
public int getA_Asset_Acct_ID(); public int getA_Asset_Acct_ID();
/** Column name A_Asset_Cost */ /** Column name A_Asset_Cost */
@ -90,7 +90,7 @@ public interface I_A_Asset_Split
/** Get To Asset ID */ /** Get To Asset ID */
public int getA_Asset_ID_To(); public int getA_Asset_ID_To();
public I_A_Asset getA_Asset_To() throws RuntimeException; public org.compiere.model.I_A_Asset getA_Asset_To() throws RuntimeException;
/** Column name A_Asset_Split_ID */ /** Column name A_Asset_Split_ID */
public static final String COLUMNNAME_A_Asset_Split_ID = "A_Asset_Split_ID"; public static final String COLUMNNAME_A_Asset_Split_ID = "A_Asset_Split_ID";
@ -101,6 +101,15 @@ public interface I_A_Asset_Split
/** Get Asset Split */ /** Get Asset Split */
public int getA_Asset_Split_ID(); public int getA_Asset_Split_ID();
/** Column name A_Asset_Split_UU */
public static final String COLUMNNAME_A_Asset_Split_UU = "A_Asset_Split_UU";
/** Set A_Asset_Split_UU */
public void setA_Asset_Split_UU (String A_Asset_Split_UU);
/** Get A_Asset_Split_UU */
public String getA_Asset_Split_UU();
/** Column name AD_Client_ID */ /** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
@ -112,10 +121,10 @@ public interface I_A_Asset_Split
/** Column name A_Depreciation_Workfile_ID */ /** Column name A_Depreciation_Workfile_ID */
public static final String COLUMNNAME_A_Depreciation_Workfile_ID = "A_Depreciation_Workfile_ID"; public static final String COLUMNNAME_A_Depreciation_Workfile_ID = "A_Depreciation_Workfile_ID";
/** Set Depreciation Workfile */ /** Set A_Depreciation_Workfile_ID */
public void setA_Depreciation_Workfile_ID (int A_Depreciation_Workfile_ID); public void setA_Depreciation_Workfile_ID (int A_Depreciation_Workfile_ID);
/** Get Depreciation Workfile */ /** Get A_Depreciation_Workfile_ID */
public int getA_Depreciation_Workfile_ID(); public int getA_Depreciation_Workfile_ID();
/** Column name AD_Org_ID */ /** Column name AD_Org_ID */
@ -152,10 +161,10 @@ public interface I_A_Asset_Split
/** Column name A_QTY_Current */ /** Column name A_QTY_Current */
public static final String COLUMNNAME_A_QTY_Current = "A_QTY_Current"; public static final String COLUMNNAME_A_QTY_Current = "A_QTY_Current";
/** Set Quantity */ /** Set Current Qty */
public void setA_QTY_Current (BigDecimal A_QTY_Current); public void setA_QTY_Current (BigDecimal A_QTY_Current);
/** Get Quantity */ /** Get Current Qty */
public BigDecimal getA_QTY_Current(); public BigDecimal getA_QTY_Current();
/** Column name A_QTY_Split */ /** Column name A_QTY_Split */
@ -179,10 +188,10 @@ public interface I_A_Asset_Split
/** Column name A_Transfer_Balance_IS */ /** Column name A_Transfer_Balance_IS */
public static final String COLUMNNAME_A_Transfer_Balance_IS = "A_Transfer_Balance_IS"; public static final String COLUMNNAME_A_Transfer_Balance_IS = "A_Transfer_Balance_IS";
/** Set Transfer Balance IS */ /** Set A_Transfer_Balance_IS */
public void setA_Transfer_Balance_IS (boolean A_Transfer_Balance_IS); public void setA_Transfer_Balance_IS (boolean A_Transfer_Balance_IS);
/** Get Transfer Balance IS */ /** Get A_Transfer_Balance_IS */
public boolean isA_Transfer_Balance_IS(); public boolean isA_Transfer_Balance_IS();
/** Column name C_Period_ID */ /** Column name C_Period_ID */
@ -198,7 +207,7 @@ public interface I_A_Asset_Split
*/ */
public int getC_Period_ID(); public int getC_Period_ID();
public I_C_Period getC_Period() throws RuntimeException; public org.compiere.model.I_C_Period getC_Period() throws RuntimeException;
/** Column name Created */ /** Column name Created */
public static final String COLUMNNAME_Created = "Created"; public static final String COLUMNNAME_Created = "Created";

View File

@ -31,7 +31,7 @@ public interface I_A_Asset_Spread
public static final String Table_Name = "A_Asset_Spread"; public static final String Table_Name = "A_Asset_Spread";
/** AD_Table_ID=53126 */ /** AD_Table_ID=53126 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53126;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -44,21 +44,30 @@ public interface I_A_Asset_Spread
/** Column name A_Asset_Spread_ID */ /** Column name A_Asset_Spread_ID */
public static final String COLUMNNAME_A_Asset_Spread_ID = "A_Asset_Spread_ID"; public static final String COLUMNNAME_A_Asset_Spread_ID = "A_Asset_Spread_ID";
/** Set Asset Spread */ /** Set A_Asset_Spread_ID */
public void setA_Asset_Spread_ID (int A_Asset_Spread_ID); public void setA_Asset_Spread_ID (int A_Asset_Spread_ID);
/** Get Asset Spread */ /** Get A_Asset_Spread_ID */
public int getA_Asset_Spread_ID(); public int getA_Asset_Spread_ID();
/** Column name A_Asset_Spread_Type */ /** Column name A_Asset_Spread_Type */
public static final String COLUMNNAME_A_Asset_Spread_Type = "A_Asset_Spread_Type"; public static final String COLUMNNAME_A_Asset_Spread_Type = "A_Asset_Spread_Type";
/** Set Asset Spread Type */ /** Set Spread Type */
public void setA_Asset_Spread_Type (String A_Asset_Spread_Type); public void setA_Asset_Spread_Type (String A_Asset_Spread_Type);
/** Get Asset Spread Type */ /** Get Spread Type */
public String getA_Asset_Spread_Type(); public String getA_Asset_Spread_Type();
/** Column name A_Asset_Spread_UU */
public static final String COLUMNNAME_A_Asset_Spread_UU = "A_Asset_Spread_UU";
/** Set A_Asset_Spread_UU */
public void setA_Asset_Spread_UU (String A_Asset_Spread_UU);
/** Get A_Asset_Spread_UU */
public String getA_Asset_Spread_UU();
/** Column name AD_Client_ID */ /** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";

View File

@ -31,7 +31,7 @@ public interface I_A_Asset_Transfer
public static final String Table_Name = "A_Asset_Transfer"; public static final String Table_Name = "A_Asset_Transfer";
/** AD_Table_ID=53128 */ /** AD_Table_ID=53128 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53128;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -44,12 +44,14 @@ public interface I_A_Asset_Transfer
/** Column name A_Accumdepreciation_Acct */ /** Column name A_Accumdepreciation_Acct */
public static final String COLUMNNAME_A_Accumdepreciation_Acct = "A_Accumdepreciation_Acct"; public static final String COLUMNNAME_A_Accumdepreciation_Acct = "A_Accumdepreciation_Acct";
/** Set Accumulated Depreciation */ /** Set Accumulated Depreciation Account */
public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct); public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct);
/** Get Accumulated Depreciation */ /** Get Accumulated Depreciation Account */
public int getA_Accumdepreciation_Acct(); public int getA_Accumdepreciation_Acct();
public I_C_ValidCombination getA_Accumdepreciation_A() throws RuntimeException;
/** Column name A_Accumdepreciation_Acct_New */ /** Column name A_Accumdepreciation_Acct_New */
public static final String COLUMNNAME_A_Accumdepreciation_Acct_New = "A_Accumdepreciation_Acct_New"; public static final String COLUMNNAME_A_Accumdepreciation_Acct_New = "A_Accumdepreciation_Acct_New";
@ -64,28 +66,50 @@ public interface I_A_Asset_Transfer
/** Column name A_Accumdepreciation_Acct_Str */ /** Column name A_Accumdepreciation_Acct_Str */
public static final String COLUMNNAME_A_Accumdepreciation_Acct_Str = "A_Accumdepreciation_Acct_Str"; public static final String COLUMNNAME_A_Accumdepreciation_Acct_Str = "A_Accumdepreciation_Acct_Str";
/** Set Old Accum Depreciation Acct */ /** Set Old Asset Cost Acct */
public void setA_Accumdepreciation_Acct_Str (String A_Accumdepreciation_Acct_Str); public void setA_Accumdepreciation_Acct_Str (String A_Accumdepreciation_Acct_Str);
/** Get Old Accum Depreciation Acct */ /** Get Old Asset Cost Acct */
public String getA_Accumdepreciation_Acct_Str(); public String getA_Accumdepreciation_Acct_Str();
/** Column name A_Accumdepreciation_New_Acct */
public static final String COLUMNNAME_A_Accumdepreciation_New_Acct = "A_Accumdepreciation_New_Acct";
/** Set Accumulated Depreciation Account (new) */
public void setA_Accumdepreciation_New_Acct (int A_Accumdepreciation_New_Acct);
/** Get Accumulated Depreciation Account (new) */
public int getA_Accumdepreciation_New_Acct();
public I_C_ValidCombination getA_Accumdepreciation_New_A() throws RuntimeException;
/** Column name A_Accumulated_Depr_F */
public static final String COLUMNNAME_A_Accumulated_Depr_F = "A_Accumulated_Depr_F";
/** Set Accumulated Depreciation (fiscal) */
public void setA_Accumulated_Depr_F (BigDecimal A_Accumulated_Depr_F);
/** Get Accumulated Depreciation (fiscal) */
public BigDecimal getA_Accumulated_Depr_F();
/** Column name A_Asset_Acct */ /** Column name A_Asset_Acct */
public static final String COLUMNNAME_A_Asset_Acct = "A_Asset_Acct"; public static final String COLUMNNAME_A_Asset_Acct = "A_Asset_Acct";
/** Set Asset Cost Account */ /** Set Asset Acct */
public void setA_Asset_Acct (int A_Asset_Acct); public void setA_Asset_Acct (int A_Asset_Acct);
/** Get Asset Cost Account */ /** Get Asset Acct */
public int getA_Asset_Acct(); public int getA_Asset_Acct();
public I_C_ValidCombination getA_Asset_A() throws RuntimeException;
/** Column name A_Asset_Acct_ID */ /** Column name A_Asset_Acct_ID */
public static final String COLUMNNAME_A_Asset_Acct_ID = "A_Asset_Acct_ID"; public static final String COLUMNNAME_A_Asset_Acct_ID = "A_Asset_Acct_ID";
/** Set Asset Acct. */ /** Set A_Asset_Acct_ID */
public void setA_Asset_Acct_ID (int A_Asset_Acct_ID); public void setA_Asset_Acct_ID (int A_Asset_Acct_ID);
/** Get Asset Acct. */ /** Get A_Asset_Acct_ID */
public int getA_Asset_Acct_ID(); public int getA_Asset_Acct_ID();
/** Column name A_Asset_Acct_New */ /** Column name A_Asset_Acct_New */
@ -102,10 +126,10 @@ public interface I_A_Asset_Transfer
/** Column name A_Asset_Acct_Str */ /** Column name A_Asset_Acct_Str */
public static final String COLUMNNAME_A_Asset_Acct_Str = "A_Asset_Acct_Str"; public static final String COLUMNNAME_A_Asset_Acct_Str = "A_Asset_Acct_Str";
/** Set Old Asset Cost Acct */ /** Set A_Asset_Acct_Str */
public void setA_Asset_Acct_Str (String A_Asset_Acct_Str); public void setA_Asset_Acct_Str (String A_Asset_Acct_Str);
/** Get Old Asset Cost Acct */ /** Get A_Asset_Acct_Str */
public String getA_Asset_Acct_Str(); public String getA_Asset_Acct_Str();
/** Column name A_Asset_ID */ /** Column name A_Asset_ID */
@ -121,15 +145,46 @@ public interface I_A_Asset_Transfer
*/ */
public int getA_Asset_ID(); public int getA_Asset_ID();
public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException;
/** Column name A_Asset_New_Acct */
public static final String COLUMNNAME_A_Asset_New_Acct = "A_Asset_New_Acct";
/** Set Asset Acct (new) */
public void setA_Asset_New_Acct (int A_Asset_New_Acct);
/** Get Asset Acct (new) */
public int getA_Asset_New_Acct();
public I_C_ValidCombination getA_Asset_New_A() throws RuntimeException;
/** Column name A_Asset_Transfer_ID */ /** Column name A_Asset_Transfer_ID */
public static final String COLUMNNAME_A_Asset_Transfer_ID = "A_Asset_Transfer_ID"; public static final String COLUMNNAME_A_Asset_Transfer_ID = "A_Asset_Transfer_ID";
/** Set Asset Transfer */ /** Set A_Asset_Transfer_ID */
public void setA_Asset_Transfer_ID (int A_Asset_Transfer_ID); public void setA_Asset_Transfer_ID (int A_Asset_Transfer_ID);
/** Get Asset Transfer */ /** Get A_Asset_Transfer_ID */
public int getA_Asset_Transfer_ID(); public int getA_Asset_Transfer_ID();
/** Column name A_Asset_Transfer_UU */
public static final String COLUMNNAME_A_Asset_Transfer_UU = "A_Asset_Transfer_UU";
/** Set A_Asset_Transfer_UU */
public void setA_Asset_Transfer_UU (String A_Asset_Transfer_UU);
/** Get A_Asset_Transfer_UU */
public String getA_Asset_Transfer_UU();
/** Column name A_CapvsExp */
public static final String COLUMNNAME_A_CapvsExp = "A_CapvsExp";
/** Set Capital/Expense */
public void setA_CapvsExp (String A_CapvsExp);
/** Get Capital/Expense */
public String getA_CapvsExp();
/** Column name AD_Client_ID */ /** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
@ -141,12 +196,14 @@ public interface I_A_Asset_Transfer
/** Column name A_Depreciation_Acct */ /** Column name A_Depreciation_Acct */
public static final String COLUMNNAME_A_Depreciation_Acct = "A_Depreciation_Acct"; public static final String COLUMNNAME_A_Depreciation_Acct = "A_Depreciation_Acct";
/** Set Depreciation Expense Account */ /** Set Depreciation Account */
public void setA_Depreciation_Acct (int A_Depreciation_Acct); public void setA_Depreciation_Acct (int A_Depreciation_Acct);
/** Get Depreciation Expense Account */ /** Get Depreciation Account */
public int getA_Depreciation_Acct(); public int getA_Depreciation_Acct();
public I_C_ValidCombination getA_Depreciation_A() throws RuntimeException;
/** Column name A_Depreciation_Acct_New */ /** Column name A_Depreciation_Acct_New */
public static final String COLUMNNAME_A_Depreciation_Acct_New = "A_Depreciation_Acct_New"; public static final String COLUMNNAME_A_Depreciation_Acct_New = "A_Depreciation_Acct_New";
@ -161,12 +218,23 @@ public interface I_A_Asset_Transfer
/** Column name A_Depreciation_Acct_Str */ /** Column name A_Depreciation_Acct_Str */
public static final String COLUMNNAME_A_Depreciation_Acct_Str = "A_Depreciation_Acct_Str"; public static final String COLUMNNAME_A_Depreciation_Acct_Str = "A_Depreciation_Acct_Str";
/** Set Old Depreciation Exp Acct */ /** Set A_Depreciation_Acct_Str */
public void setA_Depreciation_Acct_Str (String A_Depreciation_Acct_Str); public void setA_Depreciation_Acct_Str (String A_Depreciation_Acct_Str);
/** Get Old Depreciation Exp Acct */ /** Get A_Depreciation_Acct_Str */
public String getA_Depreciation_Acct_Str(); public String getA_Depreciation_Acct_Str();
/** Column name A_Depreciation_New_Acct */
public static final String COLUMNNAME_A_Depreciation_New_Acct = "A_Depreciation_New_Acct";
/** Set Depreciation Acct (new) */
public void setA_Depreciation_New_Acct (int A_Depreciation_New_Acct);
/** Get Depreciation Acct (new) */
public int getA_Depreciation_New_Acct();
public I_C_ValidCombination getA_Depreciation_New_A() throws RuntimeException;
/** Column name A_Disposal_Loss */ /** Column name A_Disposal_Loss */
public static final String COLUMNNAME_A_Disposal_Loss = "A_Disposal_Loss"; public static final String COLUMNNAME_A_Disposal_Loss = "A_Disposal_Loss";
@ -176,6 +244,17 @@ public interface I_A_Asset_Transfer
/** Get Loss on Disposal */ /** Get Loss on Disposal */
public int getA_Disposal_Loss(); public int getA_Disposal_Loss();
/** Column name A_Disposal_Loss_Acct */
public static final String COLUMNNAME_A_Disposal_Loss_Acct = "A_Disposal_Loss_Acct";
/** Set Disposal Loss Acct */
public void setA_Disposal_Loss_Acct (int A_Disposal_Loss_Acct);
/** Get Disposal Loss Acct */
public int getA_Disposal_Loss_Acct();
public I_C_ValidCombination getA_Disposal_Loss_A() throws RuntimeException;
/** Column name A_Disposal_Loss_New */ /** Column name A_Disposal_Loss_New */
public static final String COLUMNNAME_A_Disposal_Loss_New = "A_Disposal_Loss_New"; public static final String COLUMNNAME_A_Disposal_Loss_New = "A_Disposal_Loss_New";
@ -187,13 +266,24 @@ public interface I_A_Asset_Transfer
public I_C_ValidCombination getA_Disposal_Loss_() throws RuntimeException; public I_C_ValidCombination getA_Disposal_Loss_() throws RuntimeException;
/** Column name A_Disposal_Loss_New_Acct */
public static final String COLUMNNAME_A_Disposal_Loss_New_Acct = "A_Disposal_Loss_New_Acct";
/** Set Disposal Loss Acct (new) */
public void setA_Disposal_Loss_New_Acct (int A_Disposal_Loss_New_Acct);
/** Get Disposal Loss Acct (new) */
public int getA_Disposal_Loss_New_Acct();
public I_C_ValidCombination getA_Disposal_Loss_New_A() throws RuntimeException;
/** Column name A_Disposal_Loss_Str */ /** Column name A_Disposal_Loss_Str */
public static final String COLUMNNAME_A_Disposal_Loss_Str = "A_Disposal_Loss_Str"; public static final String COLUMNNAME_A_Disposal_Loss_Str = "A_Disposal_Loss_Str";
/** Set Old Disposal Loss */ /** Set Disposal Loss Str */
public void setA_Disposal_Loss_Str (String A_Disposal_Loss_Str); public void setA_Disposal_Loss_Str (String A_Disposal_Loss_Str);
/** Get Old Disposal Loss */ /** Get Disposal Loss Str */
public String getA_Disposal_Loss_Str(); public String getA_Disposal_Loss_Str();
/** Column name A_Disposal_Revenue */ /** Column name A_Disposal_Revenue */
@ -205,6 +295,17 @@ public interface I_A_Asset_Transfer
/** Get Disposal Revenue */ /** Get Disposal Revenue */
public int getA_Disposal_Revenue(); public int getA_Disposal_Revenue();
/** Column name A_Disposal_Revenue_Acct */
public static final String COLUMNNAME_A_Disposal_Revenue_Acct = "A_Disposal_Revenue_Acct";
/** Set Disposal Revenue Acct */
public void setA_Disposal_Revenue_Acct (int A_Disposal_Revenue_Acct);
/** Get Disposal Revenue Acct */
public int getA_Disposal_Revenue_Acct();
public I_C_ValidCombination getA_Disposal_Revenue_A() throws RuntimeException;
/** Column name A_Disposal_Revenue_New */ /** Column name A_Disposal_Revenue_New */
public static final String COLUMNNAME_A_Disposal_Revenue_New = "A_Disposal_Revenue_New"; public static final String COLUMNNAME_A_Disposal_Revenue_New = "A_Disposal_Revenue_New";
@ -216,13 +317,24 @@ public interface I_A_Asset_Transfer
public I_C_ValidCombination getA_Disposal_Revenue_() throws RuntimeException; public I_C_ValidCombination getA_Disposal_Revenue_() throws RuntimeException;
/** Column name A_Disposal_Revenue_New_Acct */
public static final String COLUMNNAME_A_Disposal_Revenue_New_Acct = "A_Disposal_Revenue_New_Acct";
/** Set Disposal Revenue Acct (new) */
public void setA_Disposal_Revenue_New_Acct (int A_Disposal_Revenue_New_Acct);
/** Get Disposal Revenue Acct (new) */
public int getA_Disposal_Revenue_New_Acct();
public I_C_ValidCombination getA_Disposal_Revenue_New_A() throws RuntimeException;
/** Column name A_Disposal_Revenue_Str */ /** Column name A_Disposal_Revenue_Str */
public static final String COLUMNNAME_A_Disposal_Revenue_Str = "A_Disposal_Revenue_Str"; public static final String COLUMNNAME_A_Disposal_Revenue_Str = "A_Disposal_Revenue_Str";
/** Set Old Disposal Revenue */ /** Set Disposal Revenue Str */
public void setA_Disposal_Revenue_Str (String A_Disposal_Revenue_Str); public void setA_Disposal_Revenue_Str (String A_Disposal_Revenue_Str);
/** Get Old Disposal Revenue */ /** Get Disposal Revenue Str */
public String getA_Disposal_Revenue_Str(); public String getA_Disposal_Revenue_Str();
/** Column name AD_Org_ID */ /** Column name AD_Org_ID */
@ -241,46 +353,46 @@ public interface I_A_Asset_Transfer
/** Column name A_Period_End */ /** Column name A_Period_End */
public static final String COLUMNNAME_A_Period_End = "A_Period_End"; public static final String COLUMNNAME_A_Period_End = "A_Period_End";
/** Set Period End */ /** Set A_Period_End */
public void setA_Period_End (int A_Period_End); public void setA_Period_End (int A_Period_End);
/** Get Period End */ /** Get A_Period_End */
public int getA_Period_End(); public int getA_Period_End();
/** Column name A_Period_Start */ /** Column name A_Period_Start */
public static final String COLUMNNAME_A_Period_Start = "A_Period_Start"; public static final String COLUMNNAME_A_Period_Start = "A_Period_Start";
/** Set Period Start */ /** Set A_Period_Start */
public void setA_Period_Start (int A_Period_Start); public void setA_Period_Start (int A_Period_Start);
/** Get Period Start */ /** Get A_Period_Start */
public int getA_Period_Start(); public int getA_Period_Start();
/** Column name A_Split_Percent */ /** Column name A_Split_Percent */
public static final String COLUMNNAME_A_Split_Percent = "A_Split_Percent"; public static final String COLUMNNAME_A_Split_Percent = "A_Split_Percent";
/** Set Split Percentage */ /** Set Split Percent */
public void setA_Split_Percent (BigDecimal A_Split_Percent); public void setA_Split_Percent (BigDecimal A_Split_Percent);
/** Get Split Percentage */ /** Get Split Percent */
public BigDecimal getA_Split_Percent(); public BigDecimal getA_Split_Percent();
/** Column name A_Transfer_Balance */ /** Column name A_Transfer_Balance */
public static final String COLUMNNAME_A_Transfer_Balance = "A_Transfer_Balance"; public static final String COLUMNNAME_A_Transfer_Balance = "A_Transfer_Balance";
/** Set Transfer Balance Sheet */ /** Set A_Transfer_Balance */
public void setA_Transfer_Balance (boolean A_Transfer_Balance); public void setA_Transfer_Balance (boolean A_Transfer_Balance);
/** Get Transfer Balance Sheet */ /** Get A_Transfer_Balance */
public boolean isA_Transfer_Balance(); public boolean isA_Transfer_Balance();
/** Column name A_Transfer_Balance_IS */ /** Column name A_Transfer_Balance_IS */
public static final String COLUMNNAME_A_Transfer_Balance_IS = "A_Transfer_Balance_IS"; public static final String COLUMNNAME_A_Transfer_Balance_IS = "A_Transfer_Balance_IS";
/** Set Transfer Balance IS */ /** Set A_Transfer_Balance_IS */
public void setA_Transfer_Balance_IS (boolean A_Transfer_Balance_IS); public void setA_Transfer_Balance_IS (boolean A_Transfer_Balance_IS);
/** Get Transfer Balance IS */ /** Get A_Transfer_Balance_IS */
public boolean isA_Transfer_Balance_IS(); public boolean isA_Transfer_Balance_IS();
/** Column name C_AcctSchema_ID */ /** Column name C_AcctSchema_ID */
@ -296,7 +408,7 @@ public interface I_A_Asset_Transfer
*/ */
public int getC_AcctSchema_ID(); public int getC_AcctSchema_ID();
public I_C_AcctSchema getC_AcctSchema() throws RuntimeException; public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException;
/** Column name C_Period_ID */ /** Column name C_Period_ID */
public static final String COLUMNNAME_C_Period_ID = "C_Period_ID"; public static final String COLUMNNAME_C_Period_ID = "C_Period_ID";
@ -311,7 +423,7 @@ public interface I_A_Asset_Transfer
*/ */
public int getC_Period_ID(); public int getC_Period_ID();
public I_C_Period getC_Period() throws RuntimeException; public org.compiere.model.I_C_Period getC_Period() throws RuntimeException;
/** Column name Created */ /** Column name Created */
public static final String COLUMNNAME_Created = "Created"; public static final String COLUMNNAME_Created = "Created";
@ -342,6 +454,58 @@ public interface I_A_Asset_Transfer
*/ */
public Timestamp getDateAcct(); public Timestamp getDateAcct();
/** Column name DateDoc */
public static final String COLUMNNAME_DateDoc = "DateDoc";
/** Set Document Date.
* Date of the Document
*/
public void setDateDoc (Timestamp DateDoc);
/** Get Document Date.
* Date of the Document
*/
public Timestamp getDateDoc();
/** Column name DocAction */
public static final String COLUMNNAME_DocAction = "DocAction";
/** Set Document Action.
* The targeted status of the document
*/
public void setDocAction (String DocAction);
/** Get Document Action.
* The targeted status of the document
*/
public String getDocAction();
/** Column name DocStatus */
public static final String COLUMNNAME_DocStatus = "DocStatus";
/** Set Document Status.
* The current status of the document
*/
public void setDocStatus (String DocStatus);
/** Get Document Status.
* The current status of the document
*/
public String getDocStatus();
/** Column name DocumentNo */
public static final String COLUMNNAME_DocumentNo = "DocumentNo";
/** Set Document No.
* Document sequence number of the document
*/
public void setDocumentNo (String DocumentNo);
/** Get Document No.
* Document sequence number of the document
*/
public String getDocumentNo();
/** Column name IsActive */ /** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive"; public static final String COLUMNNAME_IsActive = "IsActive";
@ -355,6 +519,19 @@ public interface I_A_Asset_Transfer
*/ */
public boolean isActive(); public boolean isActive();
/** Column name Posted */
public static final String COLUMNNAME_Posted = "Posted";
/** Set Posted.
* Posting status
*/
public void setPosted (boolean Posted);
/** Get Posted.
* Posting status
*/
public boolean isPosted();
/** Column name PostingType */ /** Column name PostingType */
public static final String COLUMNNAME_PostingType = "PostingType"; public static final String COLUMNNAME_PostingType = "PostingType";
@ -381,6 +558,19 @@ public interface I_A_Asset_Transfer
*/ */
public boolean isProcessed(); public boolean isProcessed();
/** Column name ProcessedOn */
public static final String COLUMNNAME_ProcessedOn = "ProcessedOn";
/** Set Processed On.
* The date+time (expressed in decimal format) when the document has been processed
*/
public void setProcessedOn (BigDecimal ProcessedOn);
/** Get Processed On.
* The date+time (expressed in decimal format) when the document has been processed
*/
public BigDecimal getProcessedOn();
/** Column name Processing */ /** Column name Processing */
public static final String COLUMNNAME_Processing = "Processing"; public static final String COLUMNNAME_Processing = "Processing";

View File

@ -0,0 +1,196 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
package org.compiere.model;
import java.math.BigDecimal;
import java.sql.Timestamp;
import org.compiere.util.KeyNamePair;
/** Generated Interface for A_Asset_Type
* @author Adempiere (generated)
* @version Release 3.6.0LTS
*/
public interface I_A_Asset_Type
{
/** TableName=A_Asset_Type */
public static final String Table_Name = "A_Asset_Type";
/** AD_Table_ID=53276 */
public static final int Table_ID = 53276;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
/** AccessLevel = 3 - Client - Org
*/
BigDecimal accessLevel = BigDecimal.valueOf(3);
/** Load Meta Data */
/** Column name A_Asset_Type_ID */
public static final String COLUMNNAME_A_Asset_Type_ID = "A_Asset_Type_ID";
/** Set Asset Type */
public void setA_Asset_Type_ID (int A_Asset_Type_ID);
/** Get Asset Type */
public int getA_Asset_Type_ID();
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
/** Set Organization.
* Organizational entity within client
*/
public void setAD_Org_ID (int AD_Org_ID);
/** Get Organization.
* Organizational entity within client
*/
public int getAD_Org_ID();
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name Description */
public static final String COLUMNNAME_Description = "Description";
/** Set Description.
* Optional short description of the record
*/
public void setDescription (String Description);
/** Get Description.
* Optional short description of the record
*/
public String getDescription();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name IsDepreciable */
public static final String COLUMNNAME_IsDepreciable = "IsDepreciable";
/** Set Is Depreciable.
* This asset CAN be depreciated
*/
public void setIsDepreciable (String IsDepreciable);
/** Get Is Depreciable.
* This asset CAN be depreciated
*/
public String getIsDepreciable();
/** Column name IsInPosession */
public static final String COLUMNNAME_IsInPosession = "IsInPosession";
/** Set In Possession.
* The asset is in the possession of the organization
*/
public void setIsInPosession (String IsInPosession);
/** Get In Possession.
* The asset is in the possession of the organization
*/
public String getIsInPosession();
/** Column name IsOwned */
public static final String COLUMNNAME_IsOwned = "IsOwned";
/** Set Owned.
* The asset is owned by the organization
*/
public void setIsOwned (String IsOwned);
/** Get Owned.
* The asset is owned by the organization
*/
public String getIsOwned();
/** Column name Name */
public static final String COLUMNNAME_Name = "Name";
/** Set Name.
* Alphanumeric identifier of the entity
*/
public void setName (String Name);
/** Get Name.
* Alphanumeric identifier of the entity
*/
public String getName();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
/** Column name Value */
public static final String COLUMNNAME_Value = "Value";
/** Set Search Key.
* Search key for the record in the format required - must be unique
*/
public void setValue (String Value);
/** Get Search Key.
* Search key for the record in the format required - must be unique
*/
public String getValue();
}

View File

@ -31,7 +31,7 @@ public interface I_A_Asset_Use
public static final String Table_Name = "A_Asset_Use"; public static final String Table_Name = "A_Asset_Use";
/** AD_Table_ID=53138 */ /** AD_Table_ID=53138 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53138;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -54,15 +54,26 @@ public interface I_A_Asset_Use
*/ */
public int getA_Asset_ID(); public int getA_Asset_ID();
public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException;
/** Column name A_Asset_Use_ID */ /** Column name A_Asset_Use_ID */
public static final String COLUMNNAME_A_Asset_Use_ID = "A_Asset_Use_ID"; public static final String COLUMNNAME_A_Asset_Use_ID = "A_Asset_Use_ID";
/** Set Asset Use */ /** Set A_Asset_Use_ID */
public void setA_Asset_Use_ID (int A_Asset_Use_ID); public void setA_Asset_Use_ID (int A_Asset_Use_ID);
/** Get Asset Use */ /** Get A_Asset_Use_ID */
public int getA_Asset_Use_ID(); public int getA_Asset_Use_ID();
/** Column name A_Asset_Use_UU */
public static final String COLUMNNAME_A_Asset_Use_UU = "A_Asset_Use_UU";
/** Set A_Asset_Use_UU */
public void setA_Asset_Use_UU (String A_Asset_Use_UU);
/** Get A_Asset_Use_UU */
public String getA_Asset_Use_UU();
/** Column name AD_Client_ID */ /** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";

View File

@ -31,7 +31,7 @@ public interface I_A_Depreciation
public static final String Table_Name = "A_Depreciation"; public static final String Table_Name = "A_Depreciation";
/** AD_Table_ID=53112 */ /** AD_Table_ID=53112 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53112;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -52,12 +52,21 @@ public interface I_A_Depreciation
/** Column name A_Depreciation_ID */ /** Column name A_Depreciation_ID */
public static final String COLUMNNAME_A_Depreciation_ID = "A_Depreciation_ID"; public static final String COLUMNNAME_A_Depreciation_ID = "A_Depreciation_ID";
/** Set Depreciation Type */ /** Set Depreciation */
public void setA_Depreciation_ID (int A_Depreciation_ID); public void setA_Depreciation_ID (int A_Depreciation_ID);
/** Get Depreciation Type */ /** Get Depreciation */
public int getA_Depreciation_ID(); public int getA_Depreciation_ID();
/** Column name A_Depreciation_UU */
public static final String COLUMNNAME_A_Depreciation_UU = "A_Depreciation_UU";
/** Set A_Depreciation_UU */
public void setA_Depreciation_UU (String A_Depreciation_UU);
/** Get A_Depreciation_UU */
public String getA_Depreciation_UU();
/** Column name AD_Org_ID */ /** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -151,10 +160,10 @@ public interface I_A_Depreciation
/** Column name Text */ /** Column name Text */
public static final String COLUMNNAME_Text = "Text"; public static final String COLUMNNAME_Text = "Text";
/** Set Text */ /** Set Description */
public void setText (String Text); public void setText (String Text);
/** Get Text */ /** Get Description */
public String getText(); public String getText();
/** Column name Updated */ /** Column name Updated */

View File

@ -31,7 +31,7 @@ public interface I_A_Depreciation_Build
public static final String Table_Name = "A_Depreciation_Build"; public static final String Table_Name = "A_Depreciation_Build";
/** AD_Table_ID=53129 */ /** AD_Table_ID=53129 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53129;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -52,12 +52,21 @@ public interface I_A_Depreciation_Build
/** Column name A_Depreciation_Build_ID */ /** Column name A_Depreciation_Build_ID */
public static final String COLUMNNAME_A_Depreciation_Build_ID = "A_Depreciation_Build_ID"; public static final String COLUMNNAME_A_Depreciation_Build_ID = "A_Depreciation_Build_ID";
/** Set Depreciation Build */ /** Set Build Depreciation */
public void setA_Depreciation_Build_ID (int A_Depreciation_Build_ID); public void setA_Depreciation_Build_ID (int A_Depreciation_Build_ID);
/** Get Depreciation Build */ /** Get Build Depreciation */
public int getA_Depreciation_Build_ID(); public int getA_Depreciation_Build_ID();
/** Column name A_Depreciation_Build_UU */
public static final String COLUMNNAME_A_Depreciation_Build_UU = "A_Depreciation_Build_UU";
/** Set A_Depreciation_Build_UU */
public void setA_Depreciation_Build_UU (String A_Depreciation_Build_UU);
/** Get A_Depreciation_Build_UU */
public String getA_Depreciation_Build_UU();
/** Column name AD_Org_ID */ /** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -74,24 +83,24 @@ public interface I_A_Depreciation_Build
/** Column name A_End_Asset_ID */ /** Column name A_End_Asset_ID */
public static final String COLUMNNAME_A_End_Asset_ID = "A_End_Asset_ID"; public static final String COLUMNNAME_A_End_Asset_ID = "A_End_Asset_ID";
/** Set End Aset ID */ /** Set To Asset */
public void setA_End_Asset_ID (int A_End_Asset_ID); public void setA_End_Asset_ID (int A_End_Asset_ID);
/** Get End Aset ID */ /** Get To Asset */
public int getA_End_Asset_ID(); public int getA_End_Asset_ID();
public I_A_Asset getA_End_Asset() throws RuntimeException; public org.compiere.model.I_A_Asset getA_End_Asset() throws RuntimeException;
/** Column name A_Start_Asset_ID */ /** Column name A_Start_Asset_ID */
public static final String COLUMNNAME_A_Start_Asset_ID = "A_Start_Asset_ID"; public static final String COLUMNNAME_A_Start_Asset_ID = "A_Start_Asset_ID";
/** Set Start Asset */ /** Set From Asset */
public void setA_Start_Asset_ID (int A_Start_Asset_ID); public void setA_Start_Asset_ID (int A_Start_Asset_ID);
/** Get Start Asset */ /** Get From Asset */
public int getA_Start_Asset_ID(); public int getA_Start_Asset_ID();
public I_A_Asset getA_Start_Asset() throws RuntimeException; public org.compiere.model.I_A_Asset getA_Start_Asset() throws RuntimeException;
/** Column name C_Period_ID */ /** Column name C_Period_ID */
public static final String COLUMNNAME_C_Period_ID = "C_Period_ID"; public static final String COLUMNNAME_C_Period_ID = "C_Period_ID";
@ -106,7 +115,7 @@ public interface I_A_Depreciation_Build
*/ */
public int getC_Period_ID(); public int getC_Period_ID();
public I_C_Period getC_Period() throws RuntimeException; public org.compiere.model.I_C_Period getC_Period() throws RuntimeException;
/** Column name Created */ /** Column name Created */
public static final String COLUMNNAME_Created = "Created"; public static final String COLUMNNAME_Created = "Created";

View File

@ -31,7 +31,7 @@ public interface I_A_Depreciation_Convention
public static final String Table_Name = "A_Depreciation_Convention"; public static final String Table_Name = "A_Depreciation_Convention";
/** AD_Table_ID=53125 */ /** AD_Table_ID=53125 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53125;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -58,6 +58,15 @@ public interface I_A_Depreciation_Convention
/** Get Depreciation Convention */ /** Get Depreciation Convention */
public int getA_Depreciation_Convention_ID(); public int getA_Depreciation_Convention_ID();
/** Column name A_Depreciation_Convention_UU */
public static final String COLUMNNAME_A_Depreciation_Convention_UU = "A_Depreciation_Convention_UU";
/** Set A_Depreciation_Convention_UU */
public void setA_Depreciation_Convention_UU (String A_Depreciation_Convention_UU);
/** Get A_Depreciation_Convention_UU */
public String getA_Depreciation_Convention_UU();
/** Column name AD_Org_ID */ /** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";

View File

@ -31,13 +31,13 @@ public interface I_A_Depreciation_Entry
public static final String Table_Name = "A_Depreciation_Entry"; public static final String Table_Name = "A_Depreciation_Entry";
/** AD_Table_ID=53121 */ /** AD_Table_ID=53121 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53121;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
/** AccessLevel = 7 - System - Client - Org /** AccessLevel = 3 - Client - Org
*/ */
BigDecimal accessLevel = BigDecimal.valueOf(7); BigDecimal accessLevel = BigDecimal.valueOf(3);
/** Load Meta Data */ /** Load Meta Data */
@ -58,6 +58,15 @@ public interface I_A_Depreciation_Entry
/** Get Depreciation Entry */ /** Get Depreciation Entry */
public int getA_Depreciation_Entry_ID(); public int getA_Depreciation_Entry_ID();
/** Column name A_Depreciation_Entry_UU */
public static final String COLUMNNAME_A_Depreciation_Entry_UU = "A_Depreciation_Entry_UU";
/** Set A_Depreciation_Entry_UU */
public void setA_Depreciation_Entry_UU (String A_Depreciation_Entry_UU);
/** Get A_Depreciation_Entry_UU */
public String getA_Depreciation_Entry_UU();
/** Column name AD_Org_ID */ /** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -93,7 +102,7 @@ public interface I_A_Depreciation_Entry
*/ */
public int getC_AcctSchema_ID(); public int getC_AcctSchema_ID();
public I_C_AcctSchema getC_AcctSchema() throws RuntimeException; public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException;
/** Column name C_Currency_ID */ /** Column name C_Currency_ID */
public static final String COLUMNNAME_C_Currency_ID = "C_Currency_ID"; public static final String COLUMNNAME_C_Currency_ID = "C_Currency_ID";
@ -108,7 +117,7 @@ public interface I_A_Depreciation_Entry
*/ */
public int getC_Currency_ID(); public int getC_Currency_ID();
public I_C_Currency getC_Currency() throws RuntimeException; public org.compiere.model.I_C_Currency getC_Currency() throws RuntimeException;
/** Column name C_DocType_ID */ /** Column name C_DocType_ID */
public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID"; public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID";
@ -123,7 +132,7 @@ public interface I_A_Depreciation_Entry
*/ */
public int getC_DocType_ID(); public int getC_DocType_ID();
public I_C_DocType getC_DocType() throws RuntimeException; public org.compiere.model.I_C_DocType getC_DocType() throws RuntimeException;
/** Column name C_Period_ID */ /** Column name C_Period_ID */
public static final String COLUMNNAME_C_Period_ID = "C_Period_ID"; public static final String COLUMNNAME_C_Period_ID = "C_Period_ID";
@ -138,7 +147,7 @@ public interface I_A_Depreciation_Entry
*/ */
public int getC_Period_ID(); public int getC_Period_ID();
public I_C_Period getC_Period() throws RuntimeException; public org.compiere.model.I_C_Period getC_Period() throws RuntimeException;
/** Column name Created */ /** Column name Created */
public static final String COLUMNNAME_Created = "Created"; public static final String COLUMNNAME_Created = "Created";
@ -195,6 +204,32 @@ public interface I_A_Depreciation_Entry
*/ */
public String getDescription(); public String getDescription();
/** Column name DocAction */
public static final String COLUMNNAME_DocAction = "DocAction";
/** Set Document Action.
* The targeted status of the document
*/
public void setDocAction (String DocAction);
/** Get Document Action.
* The targeted status of the document
*/
public String getDocAction();
/** Column name DocStatus */
public static final String COLUMNNAME_DocStatus = "DocStatus";
/** Set Document Status.
* The current status of the document
*/
public void setDocStatus (String DocStatus);
/** Get Document Status.
* The current status of the document
*/
public String getDocStatus();
/** Column name DocumentNo */ /** Column name DocumentNo */
public static final String COLUMNNAME_DocumentNo = "DocumentNo"; public static final String COLUMNNAME_DocumentNo = "DocumentNo";
@ -221,7 +256,7 @@ public interface I_A_Depreciation_Entry
*/ */
public int getGL_Category_ID(); public int getGL_Category_ID();
public I_GL_Category getGL_Category() throws RuntimeException; public org.compiere.model.I_GL_Category getGL_Category() throws RuntimeException;
/** Column name IsActive */ /** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive"; public static final String COLUMNNAME_IsActive = "IsActive";
@ -236,6 +271,32 @@ public interface I_A_Depreciation_Entry
*/ */
public boolean isActive(); public boolean isActive();
/** Column name IsApproved */
public static final String COLUMNNAME_IsApproved = "IsApproved";
/** Set Approved.
* Indicates if this document requires approval
*/
public void setIsApproved (boolean IsApproved);
/** Get Approved.
* Indicates if this document requires approval
*/
public boolean isApproved();
/** Column name Posted */
public static final String COLUMNNAME_Posted = "Posted";
/** Set Posted.
* Posting status
*/
public void setPosted (boolean Posted);
/** Get Posted.
* Posting status
*/
public boolean isPosted();
/** Column name PostingType */ /** Column name PostingType */
public static final String COLUMNNAME_PostingType = "PostingType"; public static final String COLUMNNAME_PostingType = "PostingType";
@ -262,6 +323,19 @@ public interface I_A_Depreciation_Entry
*/ */
public boolean isProcessed(); public boolean isProcessed();
/** Column name ProcessedOn */
public static final String COLUMNNAME_ProcessedOn = "ProcessedOn";
/** Set Processed On.
* The date+time (expressed in decimal format) when the document has been processed
*/
public void setProcessedOn (BigDecimal ProcessedOn);
/** Get Processed On.
* The date+time (expressed in decimal format) when the document has been processed
*/
public BigDecimal getProcessedOn();
/** Column name Processing */ /** Column name Processing */
public static final String COLUMNNAME_Processing = "Processing"; public static final String COLUMNNAME_Processing = "Processing";

View File

@ -31,26 +31,102 @@ public interface I_A_Depreciation_Exp
public static final String Table_Name = "A_Depreciation_Exp"; public static final String Table_Name = "A_Depreciation_Exp";
/** AD_Table_ID=53115 */ /** AD_Table_ID=53115 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53115;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
/** AccessLevel = 7 - System - Client - Org /** AccessLevel = 3 - Client - Org
*/ */
BigDecimal accessLevel = BigDecimal.valueOf(7); BigDecimal accessLevel = BigDecimal.valueOf(3);
/** Load Meta Data */ /** Load Meta Data */
/** Column name A_Account_Number */ /** Column name A_Account_Number_Acct */
public static final String COLUMNNAME_A_Account_Number = "A_Account_Number"; public static final String COLUMNNAME_A_Account_Number_Acct = "A_Account_Number_Acct";
/** Set Account Number */ /** Set A_Account_Number_Acct */
public void setA_Account_Number (int A_Account_Number); public void setA_Account_Number_Acct (int A_Account_Number_Acct);
/** Get Account Number */ /** Get A_Account_Number_Acct */
public int getA_Account_Number(); public int getA_Account_Number_Acct();
public I_C_ValidCombination getA_Account_Num() throws RuntimeException; public I_C_ValidCombination getA_Account_Number_A() throws RuntimeException;
/** Column name A_Accumulated_Depr */
public static final String COLUMNNAME_A_Accumulated_Depr = "A_Accumulated_Depr";
/** Set Accumulated Depreciation */
public void setA_Accumulated_Depr (BigDecimal A_Accumulated_Depr);
/** Get Accumulated Depreciation */
public BigDecimal getA_Accumulated_Depr();
/** Column name A_Accumulated_Depr_Delta */
public static final String COLUMNNAME_A_Accumulated_Depr_Delta = "A_Accumulated_Depr_Delta";
/** Set Accumulated Depreciation (delta) */
public void setA_Accumulated_Depr_Delta (BigDecimal A_Accumulated_Depr_Delta);
/** Get Accumulated Depreciation (delta) */
public BigDecimal getA_Accumulated_Depr_Delta();
/** Column name A_Accumulated_Depr_F */
public static final String COLUMNNAME_A_Accumulated_Depr_F = "A_Accumulated_Depr_F";
/** Set Accumulated Depreciation (fiscal) */
public void setA_Accumulated_Depr_F (BigDecimal A_Accumulated_Depr_F);
/** Get Accumulated Depreciation (fiscal) */
public BigDecimal getA_Accumulated_Depr_F();
/** Column name A_Accumulated_Depr_F_Delta */
public static final String COLUMNNAME_A_Accumulated_Depr_F_Delta = "A_Accumulated_Depr_F_Delta";
/** Set Accumulated Depreciation - fiscal (delta) */
public void setA_Accumulated_Depr_F_Delta (BigDecimal A_Accumulated_Depr_F_Delta);
/** Get Accumulated Depreciation - fiscal (delta) */
public BigDecimal getA_Accumulated_Depr_F_Delta();
/** Column name A_Asset_Addition_ID */
public static final String COLUMNNAME_A_Asset_Addition_ID = "A_Asset_Addition_ID";
/** Set Asset Addition */
public void setA_Asset_Addition_ID (int A_Asset_Addition_ID);
/** Get Asset Addition */
public int getA_Asset_Addition_ID();
public org.compiere.model.I_A_Asset_Addition getA_Asset_Addition() throws RuntimeException;
/** Column name A_Asset_Cost */
public static final String COLUMNNAME_A_Asset_Cost = "A_Asset_Cost";
/** Set Asset Cost */
public void setA_Asset_Cost (BigDecimal A_Asset_Cost);
/** Get Asset Cost */
public BigDecimal getA_Asset_Cost();
/** Column name A_Asset_Cost_Delta */
public static final String COLUMNNAME_A_Asset_Cost_Delta = "A_Asset_Cost_Delta";
/** Set Delta Asset Cost */
public void setA_Asset_Cost_Delta (BigDecimal A_Asset_Cost_Delta);
/** Get Delta Asset Cost */
public BigDecimal getA_Asset_Cost_Delta();
/** Column name A_Asset_Disposed_ID */
public static final String COLUMNNAME_A_Asset_Disposed_ID = "A_Asset_Disposed_ID";
/** Set Asset Disposed */
public void setA_Asset_Disposed_ID (int A_Asset_Disposed_ID);
/** Get Asset Disposed */
public int getA_Asset_Disposed_ID();
public org.compiere.model.I_A_Asset_Disposed getA_Asset_Disposed() throws RuntimeException;
/** Column name A_Asset_ID */ /** Column name A_Asset_ID */
public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID";
@ -65,6 +141,26 @@ public interface I_A_Depreciation_Exp
*/ */
public int getA_Asset_ID(); public int getA_Asset_ID();
public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException;
/** Column name A_Asset_Remaining */
public static final String COLUMNNAME_A_Asset_Remaining = "A_Asset_Remaining";
/** Set Remaining Amt */
public void setA_Asset_Remaining (BigDecimal A_Asset_Remaining);
/** Get Remaining Amt */
public BigDecimal getA_Asset_Remaining();
/** Column name A_Asset_Remaining_F */
public static final String COLUMNNAME_A_Asset_Remaining_F = "A_Asset_Remaining_F";
/** Set Remaining Amt (fiscal) */
public void setA_Asset_Remaining_F (BigDecimal A_Asset_Remaining_F);
/** Get Remaining Amt (fiscal) */
public BigDecimal getA_Asset_Remaining_F();
/** Column name AD_Client_ID */ /** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
@ -73,15 +169,35 @@ public interface I_A_Depreciation_Exp
*/ */
public int getAD_Client_ID(); public int getAD_Client_ID();
/** Column name A_Depreciation_Entry_ID */
public static final String COLUMNNAME_A_Depreciation_Entry_ID = "A_Depreciation_Entry_ID";
/** Set Depreciation Entry */
public void setA_Depreciation_Entry_ID (int A_Depreciation_Entry_ID);
/** Get Depreciation Entry */
public int getA_Depreciation_Entry_ID();
public org.compiere.model.I_A_Depreciation_Entry getA_Depreciation_Entry() throws RuntimeException;
/** Column name A_Depreciation_Exp_ID */ /** Column name A_Depreciation_Exp_ID */
public static final String COLUMNNAME_A_Depreciation_Exp_ID = "A_Depreciation_Exp_ID"; public static final String COLUMNNAME_A_Depreciation_Exp_ID = "A_Depreciation_Exp_ID";
/** Set Depreciation Exp. */ /** Set A_Depreciation_Exp_ID */
public void setA_Depreciation_Exp_ID (int A_Depreciation_Exp_ID); public void setA_Depreciation_Exp_ID (int A_Depreciation_Exp_ID);
/** Get Depreciation Exp. */ /** Get A_Depreciation_Exp_ID */
public int getA_Depreciation_Exp_ID(); public int getA_Depreciation_Exp_ID();
/** Column name A_Depreciation_Exp_UU */
public static final String COLUMNNAME_A_Depreciation_Exp_UU = "A_Depreciation_Exp_UU";
/** Set A_Depreciation_Exp_UU */
public void setA_Depreciation_Exp_UU (String A_Depreciation_Exp_UU);
/** Get A_Depreciation_Exp_UU */
public String getA_Depreciation_Exp_UU();
/** Column name AD_Org_ID */ /** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -107,12 +223,27 @@ public interface I_A_Depreciation_Exp
/** Column name A_Period */ /** Column name A_Period */
public static final String COLUMNNAME_A_Period = "A_Period"; public static final String COLUMNNAME_A_Period = "A_Period";
/** Set Period/Yearly */ /** Set Asset Period */
public void setA_Period (int A_Period); public void setA_Period (int A_Period);
/** Get Period/Yearly */ /** Get Asset Period */
public int getA_Period(); public int getA_Period();
/** Column name CR_Account_ID */
public static final String COLUMNNAME_CR_Account_ID = "CR_Account_ID";
/** Set Account (credit).
* Account used
*/
public void setCR_Account_ID (int CR_Account_ID);
/** Get Account (credit).
* Account used
*/
public int getCR_Account_ID();
public I_C_ValidCombination getCR_Account() throws RuntimeException;
/** Column name Created */ /** Column name Created */
public static final String COLUMNNAME_Created = "Created"; public static final String COLUMNNAME_Created = "Created";
@ -155,6 +286,21 @@ public interface I_A_Depreciation_Exp
*/ */
public String getDescription(); public String getDescription();
/** Column name DR_Account_ID */
public static final String COLUMNNAME_DR_Account_ID = "DR_Account_ID";
/** Set Account (debit).
* Account used
*/
public void setDR_Account_ID (int DR_Account_ID);
/** Get Account (debit).
* Account used
*/
public int getDR_Account_ID();
public I_C_ValidCombination getDR_Account() throws RuntimeException;
/** Column name Expense */ /** Column name Expense */
public static final String COLUMNNAME_Expense = "Expense"; public static final String COLUMNNAME_Expense = "Expense";
@ -164,6 +310,28 @@ public interface I_A_Depreciation_Exp
/** Get Expense */ /** Get Expense */
public BigDecimal getExpense(); public BigDecimal getExpense();
/** Column name Expense_F */
public static final String COLUMNNAME_Expense_F = "Expense_F";
/** Set Expense (fiscal) */
public void setExpense_F (BigDecimal Expense_F);
/** Get Expense (fiscal) */
public BigDecimal getExpense_F();
/** Column name Help */
public static final String COLUMNNAME_Help = "Help";
/** Set Comment/Help.
* Comment or Hint
*/
public void setHelp (String Help);
/** Get Comment/Help.
* Comment or Hint
*/
public String getHelp();
/** Column name IsActive */ /** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive"; public static final String COLUMNNAME_IsActive = "IsActive";
@ -216,6 +384,15 @@ public interface I_A_Depreciation_Exp
*/ */
public boolean isProcessed(); public boolean isProcessed();
/** Column name Processing */
public static final String COLUMNNAME_Processing = "Processing";
/** Set Process Now */
public void setProcessing (boolean Processing);
/** Get Process Now */
public boolean isProcessing();
/** Column name Updated */ /** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated"; public static final String COLUMNNAME_Updated = "Updated";
@ -231,4 +408,26 @@ public interface I_A_Depreciation_Exp
* User who updated this records * User who updated this records
*/ */
public int getUpdatedBy(); public int getUpdatedBy();
/** Column name UseLifeMonths */
public static final String COLUMNNAME_UseLifeMonths = "UseLifeMonths";
/** Set Usable Life - Months.
* Months of the usable life of the asset
*/
public void setUseLifeMonths (int UseLifeMonths);
/** Get Usable Life - Months.
* Months of the usable life of the asset
*/
public int getUseLifeMonths();
/** Column name UseLifeMonths_F */
public static final String COLUMNNAME_UseLifeMonths_F = "UseLifeMonths_F";
/** Set Use Life - Months (fiscal) */
public void setUseLifeMonths_F (int UseLifeMonths_F);
/** Get Use Life - Months (fiscal) */
public int getUseLifeMonths_F();
} }

View File

@ -31,7 +31,7 @@ public interface I_A_Depreciation_Forecast
public static final String Table_Name = "A_Depreciation_Forecast"; public static final String Table_Name = "A_Depreciation_Forecast";
/** AD_Table_ID=53118 */ /** AD_Table_ID=53118 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53118;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -58,6 +58,15 @@ public interface I_A_Depreciation_Forecast
/** Get Depreciation Forecast */ /** Get Depreciation Forecast */
public int getA_Depreciation_Forecast_ID(); public int getA_Depreciation_Forecast_ID();
/** Column name A_Depreciation_Forecast_UU */
public static final String COLUMNNAME_A_Depreciation_Forecast_UU = "A_Depreciation_Forecast_UU";
/** Set A_Depreciation_Forecast_UU */
public void setA_Depreciation_Forecast_UU (String A_Depreciation_Forecast_UU);
/** Get A_Depreciation_Forecast_UU */
public String getA_Depreciation_Forecast_UU();
/** Column name AD_Org_ID */ /** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -74,24 +83,24 @@ public interface I_A_Depreciation_Forecast
/** Column name A_End_Asset_ID */ /** Column name A_End_Asset_ID */
public static final String COLUMNNAME_A_End_Asset_ID = "A_End_Asset_ID"; public static final String COLUMNNAME_A_End_Asset_ID = "A_End_Asset_ID";
/** Set End Aset ID */ /** Set To Asset */
public void setA_End_Asset_ID (int A_End_Asset_ID); public void setA_End_Asset_ID (int A_End_Asset_ID);
/** Get End Aset ID */ /** Get To Asset */
public int getA_End_Asset_ID(); public int getA_End_Asset_ID();
public I_A_Asset getA_End_Asset() throws RuntimeException; public org.compiere.model.I_A_Asset getA_End_Asset() throws RuntimeException;
/** Column name A_Start_Asset_ID */ /** Column name A_Start_Asset_ID */
public static final String COLUMNNAME_A_Start_Asset_ID = "A_Start_Asset_ID"; public static final String COLUMNNAME_A_Start_Asset_ID = "A_Start_Asset_ID";
/** Set Start Asset */ /** Set From Asset */
public void setA_Start_Asset_ID (int A_Start_Asset_ID); public void setA_Start_Asset_ID (int A_Start_Asset_ID);
/** Get Start Asset */ /** Get From Asset */
public int getA_Start_Asset_ID(); public int getA_Start_Asset_ID();
public I_A_Asset getA_Start_Asset() throws RuntimeException; public org.compiere.model.I_A_Asset getA_Start_Asset() throws RuntimeException;
/** Column name Created */ /** Column name Created */
public static final String COLUMNNAME_Created = "Created"; public static final String COLUMNNAME_Created = "Created";

View File

@ -31,7 +31,7 @@ public interface I_A_Depreciation_Method
public static final String Table_Name = "A_Depreciation_Method"; public static final String Table_Name = "A_Depreciation_Method";
/** AD_Table_ID=53124 */ /** AD_Table_ID=53124 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53124;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -52,12 +52,21 @@ public interface I_A_Depreciation_Method
/** Column name A_Depreciation_Method_ID */ /** Column name A_Depreciation_Method_ID */
public static final String COLUMNNAME_A_Depreciation_Method_ID = "A_Depreciation_Method_ID"; public static final String COLUMNNAME_A_Depreciation_Method_ID = "A_Depreciation_Method_ID";
/** Set Depreciation Calculation Type */ /** Set Depreciation Method */
public void setA_Depreciation_Method_ID (int A_Depreciation_Method_ID); public void setA_Depreciation_Method_ID (int A_Depreciation_Method_ID);
/** Get Depreciation Calculation Type */ /** Get Depreciation Method */
public int getA_Depreciation_Method_ID(); public int getA_Depreciation_Method_ID();
/** Column name A_Depreciation_Method_UU */
public static final String COLUMNNAME_A_Depreciation_Method_UU = "A_Depreciation_Method_UU";
/** Set A_Depreciation_Method_UU */
public void setA_Depreciation_Method_UU (String A_Depreciation_Method_UU);
/** Get A_Depreciation_Method_UU */
public String getA_Depreciation_Method_UU();
/** Column name AD_Org_ID */ /** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -151,10 +160,10 @@ public interface I_A_Depreciation_Method
/** Column name Text */ /** Column name Text */
public static final String COLUMNNAME_Text = "Text"; public static final String COLUMNNAME_Text = "Text";
/** Set Text */ /** Set Description */
public void setText (String Text); public void setText (String Text);
/** Get Text */ /** Get Description */
public String getText(); public String getText();
/** Column name Updated */ /** Column name Updated */

View File

@ -31,7 +31,7 @@ public interface I_A_Depreciation_Table_Detail
public static final String Table_Name = "A_Depreciation_Table_Detail"; public static final String Table_Name = "A_Depreciation_Table_Detail";
/** AD_Table_ID=53113 */ /** AD_Table_ID=53113 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53113;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -76,6 +76,15 @@ public interface I_A_Depreciation_Table_Detail
/** Get Depreciation Table Detail */ /** Get Depreciation Table Detail */
public int getA_Depreciation_Table_Detail_ID(); public int getA_Depreciation_Table_Detail_ID();
/** Column name A_Depreciation_Table_Detail_UU */
public static final String COLUMNNAME_A_Depreciation_Table_Detail_UU = "A_Depreciation_Table_Detail_UU";
/** Set A_Depreciation_Table_Detail_UU */
public void setA_Depreciation_Table_Detail_UU (String A_Depreciation_Table_Detail_UU);
/** Get A_Depreciation_Table_Detail_UU */
public String getA_Depreciation_Table_Detail_UU();
/** Column name AD_Org_ID */ /** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -92,10 +101,10 @@ public interface I_A_Depreciation_Table_Detail
/** Column name A_Period */ /** Column name A_Period */
public static final String COLUMNNAME_A_Period = "A_Period"; public static final String COLUMNNAME_A_Period = "A_Period";
/** Set Period/Yearly */ /** Set Asset Period */
public void setA_Period (int A_Period); public void setA_Period (int A_Period);
/** Get Period/Yearly */ /** Get Asset Period */
public int getA_Period(); public int getA_Period();
/** Column name A_Table_Rate_Type */ /** Column name A_Table_Rate_Type */

View File

@ -31,7 +31,7 @@ public interface I_A_Depreciation_Table_Header
public static final String Table_Name = "A_Depreciation_Table_Header"; public static final String Table_Name = "A_Depreciation_Table_Header";
/** AD_Table_ID=53114 */ /** AD_Table_ID=53114 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53114;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -61,12 +61,21 @@ public interface I_A_Depreciation_Table_Header
/** Column name A_Depreciation_Table_Header_ID */ /** Column name A_Depreciation_Table_Header_ID */
public static final String COLUMNNAME_A_Depreciation_Table_Header_ID = "A_Depreciation_Table_Header_ID"; public static final String COLUMNNAME_A_Depreciation_Table_Header_ID = "A_Depreciation_Table_Header_ID";
/** Set Depreciation Table Header */ /** Set A_Depreciation_Table_Header_ID */
public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID); public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID);
/** Get Depreciation Table Header */ /** Get A_Depreciation_Table_Header_ID */
public int getA_Depreciation_Table_Header_ID(); public int getA_Depreciation_Table_Header_ID();
/** Column name A_Depreciation_Table_Header_UU */
public static final String COLUMNNAME_A_Depreciation_Table_Header_UU = "A_Depreciation_Table_Header_UU";
/** Set A_Depreciation_Table_Header_UU */
public void setA_Depreciation_Table_Header_UU (String A_Depreciation_Table_Header_UU);
/** Get A_Depreciation_Table_Header_UU */
public String getA_Depreciation_Table_Header_UU();
/** Column name AD_Org_ID */ /** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";

View File

@ -31,7 +31,7 @@ public interface I_A_Depreciation_Workfile
public static final String Table_Name = "A_Depreciation_Workfile"; public static final String Table_Name = "A_Depreciation_Workfile";
/** AD_Table_ID=53116 */ /** AD_Table_ID=53116 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53116;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -50,6 +50,15 @@ public interface I_A_Depreciation_Workfile
/** Get Accumulated Depreciation */ /** Get Accumulated Depreciation */
public BigDecimal getA_Accumulated_Depr(); public BigDecimal getA_Accumulated_Depr();
/** Column name A_Accumulated_Depr_F */
public static final String COLUMNNAME_A_Accumulated_Depr_F = "A_Accumulated_Depr_F";
/** Set Accumulated Depreciation (fiscal) */
public void setA_Accumulated_Depr_F (BigDecimal A_Accumulated_Depr_F);
/** Get Accumulated Depreciation (fiscal) */
public BigDecimal getA_Accumulated_Depr_F();
/** Column name A_Asset_Cost */ /** Column name A_Asset_Cost */
public static final String COLUMNNAME_A_Asset_Cost = "A_Asset_Cost"; public static final String COLUMNNAME_A_Asset_Cost = "A_Asset_Cost";
@ -72,49 +81,78 @@ public interface I_A_Depreciation_Workfile
*/ */
public int getA_Asset_ID(); public int getA_Asset_ID();
public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException;
/** Column name A_Asset_Life_Current_Year */ /** Column name A_Asset_Life_Current_Year */
public static final String COLUMNNAME_A_Asset_Life_Current_Year = "A_Asset_Life_Current_Year"; public static final String COLUMNNAME_A_Asset_Life_Current_Year = "A_Asset_Life_Current_Year";
/** Set Asset Life Current Year */ /** Set A_Asset_Life_Current_Year */
public void setA_Asset_Life_Current_Year (BigDecimal A_Asset_Life_Current_Year); public void setA_Asset_Life_Current_Year (BigDecimal A_Asset_Life_Current_Year);
/** Get Asset Life Current Year */ /** Get A_Asset_Life_Current_Year */
public BigDecimal getA_Asset_Life_Current_Year(); public BigDecimal getA_Asset_Life_Current_Year();
/** Column name A_Asset_Life_Years */ /** Column name A_Asset_Life_Years */
public static final String COLUMNNAME_A_Asset_Life_Years = "A_Asset_Life_Years"; public static final String COLUMNNAME_A_Asset_Life_Years = "A_Asset_Life_Years";
/** Set Asset Life Years */ /** Set Life Years */
public void setA_Asset_Life_Years (int A_Asset_Life_Years); public void setA_Asset_Life_Years (int A_Asset_Life_Years);
/** Get Asset Life Years */ /** Get Life Years */
public int getA_Asset_Life_Years(); public int getA_Asset_Life_Years();
/** Column name A_Asset_Life_Years_F */
public static final String COLUMNNAME_A_Asset_Life_Years_F = "A_Asset_Life_Years_F";
/** Set Life Years (fiscal) */
public void setA_Asset_Life_Years_F (int A_Asset_Life_Years_F);
/** Get Life Years (fiscal) */
public int getA_Asset_Life_Years_F();
/** Column name A_Asset_Remaining */
public static final String COLUMNNAME_A_Asset_Remaining = "A_Asset_Remaining";
/** Set Remaining Amt */
public void setA_Asset_Remaining (BigDecimal A_Asset_Remaining);
/** Get Remaining Amt */
public BigDecimal getA_Asset_Remaining();
/** Column name A_Asset_Remaining_F */
public static final String COLUMNNAME_A_Asset_Remaining_F = "A_Asset_Remaining_F";
/** Set Remaining Amt (fiscal) */
public void setA_Asset_Remaining_F (BigDecimal A_Asset_Remaining_F);
/** Get Remaining Amt (fiscal) */
public BigDecimal getA_Asset_Remaining_F();
/** Column name A_Base_Amount */ /** Column name A_Base_Amount */
public static final String COLUMNNAME_A_Base_Amount = "A_Base_Amount"; public static final String COLUMNNAME_A_Base_Amount = "A_Base_Amount";
/** Set Base Amount */ /** Set A_Base_Amount */
public void setA_Base_Amount (BigDecimal A_Base_Amount); public void setA_Base_Amount (BigDecimal A_Base_Amount);
/** Get Base Amount */ /** Get A_Base_Amount */
public BigDecimal getA_Base_Amount(); public BigDecimal getA_Base_Amount();
/** Column name A_Calc_Accumulated_Depr */ /** Column name A_Calc_Accumulated_Depr */
public static final String COLUMNNAME_A_Calc_Accumulated_Depr = "A_Calc_Accumulated_Depr"; public static final String COLUMNNAME_A_Calc_Accumulated_Depr = "A_Calc_Accumulated_Depr";
/** Set Calc. Accumulated Depr. */ /** Set A_Calc_Accumulated_Depr */
public void setA_Calc_Accumulated_Depr (BigDecimal A_Calc_Accumulated_Depr); public void setA_Calc_Accumulated_Depr (BigDecimal A_Calc_Accumulated_Depr);
/** Get Calc. Accumulated Depr. */ /** Get A_Calc_Accumulated_Depr */
public BigDecimal getA_Calc_Accumulated_Depr(); public BigDecimal getA_Calc_Accumulated_Depr();
/** Column name A_Curr_Dep_Exp */ /** Column name A_Curr_Dep_Exp */
public static final String COLUMNNAME_A_Curr_Dep_Exp = "A_Curr_Dep_Exp"; public static final String COLUMNNAME_A_Curr_Dep_Exp = "A_Curr_Dep_Exp";
/** Set Curr. Dep. Exp. */ /** Set A_Curr_Dep_Exp */
public void setA_Curr_Dep_Exp (BigDecimal A_Curr_Dep_Exp); public void setA_Curr_Dep_Exp (BigDecimal A_Curr_Dep_Exp);
/** Get Curr. Dep. Exp. */ /** Get A_Curr_Dep_Exp */
public BigDecimal getA_Curr_Dep_Exp(); public BigDecimal getA_Curr_Dep_Exp();
/** Column name A_Current_Period */ /** Column name A_Current_Period */
@ -137,12 +175,21 @@ public interface I_A_Depreciation_Workfile
/** Column name A_Depreciation_Workfile_ID */ /** Column name A_Depreciation_Workfile_ID */
public static final String COLUMNNAME_A_Depreciation_Workfile_ID = "A_Depreciation_Workfile_ID"; public static final String COLUMNNAME_A_Depreciation_Workfile_ID = "A_Depreciation_Workfile_ID";
/** Set Depreciation Workfile */ /** Set A_Depreciation_Workfile_ID */
public void setA_Depreciation_Workfile_ID (int A_Depreciation_Workfile_ID); public void setA_Depreciation_Workfile_ID (int A_Depreciation_Workfile_ID);
/** Get Depreciation Workfile */ /** Get A_Depreciation_Workfile_ID */
public int getA_Depreciation_Workfile_ID(); public int getA_Depreciation_Workfile_ID();
/** Column name A_Depreciation_Workfile_UU */
public static final String COLUMNNAME_A_Depreciation_Workfile_UU = "A_Depreciation_Workfile_UU";
/** Set A_Depreciation_Workfile_UU */
public void setA_Depreciation_Workfile_UU (String A_Depreciation_Workfile_UU);
/** Get A_Depreciation_Workfile_UU */
public String getA_Depreciation_Workfile_UU();
/** Column name AD_Org_ID */ /** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -156,58 +203,114 @@ public interface I_A_Depreciation_Workfile
*/ */
public int getAD_Org_ID(); public int getAD_Org_ID();
/** Column name A_Expense_SL */
public static final String COLUMNNAME_A_Expense_SL = "A_Expense_SL";
/** Set SL Expense/Period */
public void setA_Expense_SL (BigDecimal A_Expense_SL);
/** Get SL Expense/Period */
public BigDecimal getA_Expense_SL();
/** Column name A_Expense_SL_F */
public static final String COLUMNNAME_A_Expense_SL_F = "A_Expense_SL_F";
/** Set SL Expense/Period (fiscal) */
public void setA_Expense_SL_F (BigDecimal A_Expense_SL_F);
/** Get SL Expense/Period (fiscal) */
public BigDecimal getA_Expense_SL_F();
/** Column name A_FundingMode_ID */
public static final String COLUMNNAME_A_FundingMode_ID = "A_FundingMode_ID";
/** Set Asset Funding Mode */
public void setA_FundingMode_ID (int A_FundingMode_ID);
/** Get Asset Funding Mode */
public int getA_FundingMode_ID();
public org.compiere.model.I_A_FundingMode getA_FundingMode() throws RuntimeException;
/** Column name A_Life_Period */ /** Column name A_Life_Period */
public static final String COLUMNNAME_A_Life_Period = "A_Life_Period"; public static final String COLUMNNAME_A_Life_Period = "A_Life_Period";
/** Set A_Life_Period */ /** Set Life Periods */
public void setA_Life_Period (int A_Life_Period); public void setA_Life_Period (int A_Life_Period);
/** Get A_Life_Period */ /** Get Life Periods */
public int getA_Life_Period(); public int getA_Life_Period();
/** Column name A_Life_Period_F */
public static final String COLUMNNAME_A_Life_Period_F = "A_Life_Period_F";
/** Set Life Period (fiscal) */
public void setA_Life_Period_F (int A_Life_Period_F);
/** Get Life Period (fiscal) */
public int getA_Life_Period_F();
/** Column name A_Life_Period_Max */
public static final String COLUMNNAME_A_Life_Period_Max = "A_Life_Period_Max";
/** Set Life periods (max) */
public void setA_Life_Period_Max (int A_Life_Period_Max);
/** Get Life periods (max) */
public int getA_Life_Period_Max();
/** Column name A_Life_Period_Min */
public static final String COLUMNNAME_A_Life_Period_Min = "A_Life_Period_Min";
/** Set Life periods (min) */
public void setA_Life_Period_Min (int A_Life_Period_Min);
/** Get Life periods (min) */
public int getA_Life_Period_Min();
/** Column name A_Period_Forecast */ /** Column name A_Period_Forecast */
public static final String COLUMNNAME_A_Period_Forecast = "A_Period_Forecast"; public static final String COLUMNNAME_A_Period_Forecast = "A_Period_Forecast";
/** Set Forecast Period */ /** Set A_Period_Forecast */
public void setA_Period_Forecast (BigDecimal A_Period_Forecast); public void setA_Period_Forecast (BigDecimal A_Period_Forecast);
/** Get Forecast Period */ /** Get A_Period_Forecast */
public BigDecimal getA_Period_Forecast(); public BigDecimal getA_Period_Forecast();
/** Column name A_Period_Posted */ /** Column name A_Period_Posted */
public static final String COLUMNNAME_A_Period_Posted = "A_Period_Posted"; public static final String COLUMNNAME_A_Period_Posted = "A_Period_Posted";
/** Set Period Posted */ /** Set A_Period_Posted */
public void setA_Period_Posted (int A_Period_Posted); public void setA_Period_Posted (int A_Period_Posted);
/** Get Period Posted */ /** Get A_Period_Posted */
public int getA_Period_Posted(); public int getA_Period_Posted();
/** Column name A_Prior_Year_Accumulated_Depr */ /** Column name A_Prior_Year_Accumulated_Depr */
public static final String COLUMNNAME_A_Prior_Year_Accumulated_Depr = "A_Prior_Year_Accumulated_Depr"; public static final String COLUMNNAME_A_Prior_Year_Accumulated_Depr = "A_Prior_Year_Accumulated_Depr";
/** Set Prior. Year Accumulated Depr. */ /** Set A_Prior_Year_Accumulated_Depr */
public void setA_Prior_Year_Accumulated_Depr (BigDecimal A_Prior_Year_Accumulated_Depr); public void setA_Prior_Year_Accumulated_Depr (BigDecimal A_Prior_Year_Accumulated_Depr);
/** Get Prior. Year Accumulated Depr. */ /** Get A_Prior_Year_Accumulated_Depr */
public BigDecimal getA_Prior_Year_Accumulated_Depr(); public BigDecimal getA_Prior_Year_Accumulated_Depr();
/** Column name A_QTY_Current */ /** Column name A_QTY_Current */
public static final String COLUMNNAME_A_QTY_Current = "A_QTY_Current"; public static final String COLUMNNAME_A_QTY_Current = "A_QTY_Current";
/** Set Quantity */ /** Set Current Qty */
public void setA_QTY_Current (BigDecimal A_QTY_Current); public void setA_QTY_Current (BigDecimal A_QTY_Current);
/** Get Quantity */ /** Get Current Qty */
public BigDecimal getA_QTY_Current(); public BigDecimal getA_QTY_Current();
/** Column name A_Salvage_Value */ /** Column name A_Salvage_Value */
public static final String COLUMNNAME_A_Salvage_Value = "A_Salvage_Value"; public static final String COLUMNNAME_A_Salvage_Value = "A_Salvage_Value";
/** Set Salvage Value */ /** Set Asset Salvage Value */
public void setA_Salvage_Value (BigDecimal A_Salvage_Value); public void setA_Salvage_Value (BigDecimal A_Salvage_Value);
/** Get Salvage Value */ /** Get Asset Salvage Value */
public BigDecimal getA_Salvage_Value(); public BigDecimal getA_Salvage_Value();
/** Column name AssetDepreciationDate */ /** Column name AssetDepreciationDate */
@ -223,6 +326,37 @@ public interface I_A_Depreciation_Workfile
*/ */
public Timestamp getAssetDepreciationDate(); public Timestamp getAssetDepreciationDate();
/** Column name A_Tip_Finantare */
public static final String COLUMNNAME_A_Tip_Finantare = "A_Tip_Finantare";
/** Set Financing Type.
* Financing Type
*/
public void setA_Tip_Finantare (String A_Tip_Finantare);
/** Get Financing Type.
* Financing Type
*/
public String getA_Tip_Finantare();
/** Column name A_Valoare_Cofinantare */
public static final String COLUMNNAME_A_Valoare_Cofinantare = "A_Valoare_Cofinantare";
/** Set Own contribution */
public void setA_Valoare_Cofinantare (BigDecimal A_Valoare_Cofinantare);
/** Get Own contribution */
public BigDecimal getA_Valoare_Cofinantare();
/** Column name A_Valoare_Tert */
public static final String COLUMNNAME_A_Valoare_Tert = "A_Valoare_Tert";
/** Set Third contribution */
public void setA_Valoare_Tert (BigDecimal A_Valoare_Tert);
/** Get Third contribution */
public BigDecimal getA_Valoare_Tert();
/** Column name Created */ /** Column name Created */
public static final String COLUMNNAME_Created = "Created"; public static final String COLUMNNAME_Created = "Created";
@ -252,6 +386,19 @@ public interface I_A_Depreciation_Workfile
*/ */
public Timestamp getDateAcct(); public Timestamp getDateAcct();
/** Column name Description */
public static final String COLUMNNAME_Description = "Description";
/** Set Description.
* Optional short description of the record
*/
public void setDescription (String Description);
/** Get Description.
* Optional short description of the record
*/
public String getDescription();
/** Column name IsActive */ /** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive"; public static final String COLUMNNAME_IsActive = "IsActive";
@ -291,6 +438,19 @@ public interface I_A_Depreciation_Workfile
*/ */
public String getPostingType(); public String getPostingType();
/** Column name Processed */
public static final String COLUMNNAME_Processed = "Processed";
/** Set Processed.
* The document has been processed
*/
public void setProcessed (boolean Processed);
/** Get Processed.
* The document has been processed
*/
public boolean isProcessed();
/** Column name Processing */ /** Column name Processing */
public static final String COLUMNNAME_Processing = "Processing"; public static final String COLUMNNAME_Processing = "Processing";
@ -315,4 +475,48 @@ public interface I_A_Depreciation_Workfile
* User who updated this records * User who updated this records
*/ */
public int getUpdatedBy(); public int getUpdatedBy();
/** Column name UseLifeMonths */
public static final String COLUMNNAME_UseLifeMonths = "UseLifeMonths";
/** Set Usable Life - Months.
* Months of the usable life of the asset
*/
public void setUseLifeMonths (int UseLifeMonths);
/** Get Usable Life - Months.
* Months of the usable life of the asset
*/
public int getUseLifeMonths();
/** Column name UseLifeMonths_F */
public static final String COLUMNNAME_UseLifeMonths_F = "UseLifeMonths_F";
/** Set Use Life - Months (fiscal) */
public void setUseLifeMonths_F (int UseLifeMonths_F);
/** Get Use Life - Months (fiscal) */
public int getUseLifeMonths_F();
/** Column name UseLifeYears */
public static final String COLUMNNAME_UseLifeYears = "UseLifeYears";
/** Set Usable Life - Years.
* Years of the usable life of the asset
*/
public void setUseLifeYears (int UseLifeYears);
/** Get Usable Life - Years.
* Years of the usable life of the asset
*/
public int getUseLifeYears();
/** Column name UseLifeYears_F */
public static final String COLUMNNAME_UseLifeYears_F = "UseLifeYears_F";
/** Set Use Life - Years (fiscal) */
public void setUseLifeYears_F (int UseLifeYears_F);
/** Get Use Life - Years (fiscal) */
public int getUseLifeYears_F();
} }

View File

@ -0,0 +1,157 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
package org.compiere.model;
import java.math.BigDecimal;
import java.sql.Timestamp;
import org.compiere.util.KeyNamePair;
/** Generated Interface for A_FundingMode
* @author Adempiere (generated)
* @version Release 3.6.0LTS
*/
public interface I_A_FundingMode
{
/** TableName=A_FundingMode */
public static final String Table_Name = "A_FundingMode";
/** AD_Table_ID=53273 */
public static final int Table_ID = 53273;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
/** AccessLevel = 7 - System - Client - Org
*/
BigDecimal accessLevel = BigDecimal.valueOf(7);
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
/** Set Organization.
* Organizational entity within client
*/
public void setAD_Org_ID (int AD_Org_ID);
/** Get Organization.
* Organizational entity within client
*/
public int getAD_Org_ID();
/** Column name A_FundingMode_ID */
public static final String COLUMNNAME_A_FundingMode_ID = "A_FundingMode_ID";
/** Set Asset Funding Mode */
public void setA_FundingMode_ID (int A_FundingMode_ID);
/** Get Asset Funding Mode */
public int getA_FundingMode_ID();
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name Description */
public static final String COLUMNNAME_Description = "Description";
/** Set Description.
* Optional short description of the record
*/
public void setDescription (String Description);
/** Get Description.
* Optional short description of the record
*/
public String getDescription();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name Name */
public static final String COLUMNNAME_Name = "Name";
/** Set Name.
* Alphanumeric identifier of the entity
*/
public void setName (String Name);
/** Get Name.
* Alphanumeric identifier of the entity
*/
public String getName();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
/** Column name Value */
public static final String COLUMNNAME_Value = "Value";
/** Set Search Key.
* Search key for the record in the format required - must be unique
*/
public void setValue (String Value);
/** Get Search Key.
* Search key for the record in the format required - must be unique
*/
public String getValue();
}

View File

@ -31,7 +31,7 @@ public interface I_I_Asset
public static final String Table_Name = "I_Asset"; public static final String Table_Name = "I_Asset";
/** AD_Table_ID=53139 */ /** AD_Table_ID=53139 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53139;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -44,10 +44,10 @@ public interface I_I_Asset
/** Column name A_Accumdepreciation_Acct */ /** Column name A_Accumdepreciation_Acct */
public static final String COLUMNNAME_A_Accumdepreciation_Acct = "A_Accumdepreciation_Acct"; public static final String COLUMNNAME_A_Accumdepreciation_Acct = "A_Accumdepreciation_Acct";
/** Set Accumulated Depreciation */ /** Set Accumulated Depreciation Account */
public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct); public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct);
/** Get Accumulated Depreciation */ /** Get Accumulated Depreciation Account */
public int getA_Accumdepreciation_Acct(); public int getA_Accumdepreciation_Acct();
public I_C_ValidCombination getA_Accumdepreciation_A() throws RuntimeException; public I_C_ValidCombination getA_Accumdepreciation_A() throws RuntimeException;
@ -64,10 +64,10 @@ public interface I_I_Asset
/** Column name A_Asset_Acct */ /** Column name A_Asset_Acct */
public static final String COLUMNNAME_A_Asset_Acct = "A_Asset_Acct"; public static final String COLUMNNAME_A_Asset_Acct = "A_Asset_Acct";
/** Set Asset Cost Account */ /** Set Asset Acct */
public void setA_Asset_Acct (int A_Asset_Acct); public void setA_Asset_Acct (int A_Asset_Acct);
/** Get Asset Cost Account */ /** Get Asset Acct */
public int getA_Asset_Acct(); public int getA_Asset_Acct();
public I_C_ValidCombination getA_Asset_A() throws RuntimeException; public I_C_ValidCombination getA_Asset_A() throws RuntimeException;
@ -94,7 +94,7 @@ public interface I_I_Asset
*/ */
public int getA_Asset_Group_ID(); public int getA_Asset_Group_ID();
public I_A_Asset_Group getA_Asset_Group() throws RuntimeException; public org.compiere.model.I_A_Asset_Group getA_Asset_Group() throws RuntimeException;
/** Column name A_Asset_ID */ /** Column name A_Asset_ID */
public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID"; public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID";
@ -112,57 +112,57 @@ public interface I_I_Asset
/** Column name A_Asset_Life_Current_Year */ /** Column name A_Asset_Life_Current_Year */
public static final String COLUMNNAME_A_Asset_Life_Current_Year = "A_Asset_Life_Current_Year"; public static final String COLUMNNAME_A_Asset_Life_Current_Year = "A_Asset_Life_Current_Year";
/** Set Asset Life Current Year */ /** Set A_Asset_Life_Current_Year */
public void setA_Asset_Life_Current_Year (int A_Asset_Life_Current_Year); public void setA_Asset_Life_Current_Year (int A_Asset_Life_Current_Year);
/** Get Asset Life Current Year */ /** Get A_Asset_Life_Current_Year */
public int getA_Asset_Life_Current_Year(); public int getA_Asset_Life_Current_Year();
/** Column name A_Asset_Life_Years */ /** Column name A_Asset_Life_Years */
public static final String COLUMNNAME_A_Asset_Life_Years = "A_Asset_Life_Years"; public static final String COLUMNNAME_A_Asset_Life_Years = "A_Asset_Life_Years";
/** Set Asset Life Years */ /** Set Life Years */
public void setA_Asset_Life_Years (int A_Asset_Life_Years); public void setA_Asset_Life_Years (int A_Asset_Life_Years);
/** Get Asset Life Years */ /** Get Life Years */
public int getA_Asset_Life_Years(); public int getA_Asset_Life_Years();
/** Column name A_Asset_Spread_Type */ /** Column name A_Asset_Spread_Type */
public static final String COLUMNNAME_A_Asset_Spread_Type = "A_Asset_Spread_Type"; public static final String COLUMNNAME_A_Asset_Spread_Type = "A_Asset_Spread_Type";
/** Set Asset Spread Type */ /** Set Spread Type */
public void setA_Asset_Spread_Type (int A_Asset_Spread_Type); public void setA_Asset_Spread_Type (int A_Asset_Spread_Type);
/** Get Asset Spread Type */ /** Get Spread Type */
public int getA_Asset_Spread_Type(); public int getA_Asset_Spread_Type();
public I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException; public org.compiere.model.I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException;
/** Column name A_Base_Amount */ /** Column name A_Base_Amount */
public static final String COLUMNNAME_A_Base_Amount = "A_Base_Amount"; public static final String COLUMNNAME_A_Base_Amount = "A_Base_Amount";
/** Set Base Amount */ /** Set A_Base_Amount */
public void setA_Base_Amount (BigDecimal A_Base_Amount); public void setA_Base_Amount (BigDecimal A_Base_Amount);
/** Get Base Amount */ /** Get A_Base_Amount */
public BigDecimal getA_Base_Amount(); public BigDecimal getA_Base_Amount();
/** Column name A_Calc_Accumulated_Depr */ /** Column name A_Calc_Accumulated_Depr */
public static final String COLUMNNAME_A_Calc_Accumulated_Depr = "A_Calc_Accumulated_Depr"; public static final String COLUMNNAME_A_Calc_Accumulated_Depr = "A_Calc_Accumulated_Depr";
/** Set Calc. Accumulated Depr. */ /** Set A_Calc_Accumulated_Depr */
public void setA_Calc_Accumulated_Depr (BigDecimal A_Calc_Accumulated_Depr); public void setA_Calc_Accumulated_Depr (BigDecimal A_Calc_Accumulated_Depr);
/** Get Calc. Accumulated Depr. */ /** Get A_Calc_Accumulated_Depr */
public BigDecimal getA_Calc_Accumulated_Depr(); public BigDecimal getA_Calc_Accumulated_Depr();
/** Column name A_Curr_Dep_Exp */ /** Column name A_Curr_Dep_Exp */
public static final String COLUMNNAME_A_Curr_Dep_Exp = "A_Curr_Dep_Exp"; public static final String COLUMNNAME_A_Curr_Dep_Exp = "A_Curr_Dep_Exp";
/** Set Curr. Dep. Exp. */ /** Set A_Curr_Dep_Exp */
public void setA_Curr_Dep_Exp (BigDecimal A_Curr_Dep_Exp); public void setA_Curr_Dep_Exp (BigDecimal A_Curr_Dep_Exp);
/** Get Curr. Dep. Exp. */ /** Get A_Curr_Dep_Exp */
public BigDecimal getA_Curr_Dep_Exp(); public BigDecimal getA_Curr_Dep_Exp();
/** Column name A_Current_Period */ /** Column name A_Current_Period */
@ -185,10 +185,10 @@ public interface I_I_Asset
/** Column name A_Depreciation_Acct */ /** Column name A_Depreciation_Acct */
public static final String COLUMNNAME_A_Depreciation_Acct = "A_Depreciation_Acct"; public static final String COLUMNNAME_A_Depreciation_Acct = "A_Depreciation_Acct";
/** Set Depreciation Expense Account */ /** Set Depreciation Account */
public void setA_Depreciation_Acct (int A_Depreciation_Acct); public void setA_Depreciation_Acct (int A_Depreciation_Acct);
/** Get Depreciation Expense Account */ /** Get Depreciation Account */
public int getA_Depreciation_Acct(); public int getA_Depreciation_Acct();
public I_C_ValidCombination getA_Depreciation_A() throws RuntimeException; public I_C_ValidCombination getA_Depreciation_A() throws RuntimeException;
@ -196,50 +196,50 @@ public interface I_I_Asset
/** Column name A_Depreciation_Calc_Type */ /** Column name A_Depreciation_Calc_Type */
public static final String COLUMNNAME_A_Depreciation_Calc_Type = "A_Depreciation_Calc_Type"; public static final String COLUMNNAME_A_Depreciation_Calc_Type = "A_Depreciation_Calc_Type";
/** Set Depreciation Calculation Type */ /** Set Calculation Type */
public void setA_Depreciation_Calc_Type (int A_Depreciation_Calc_Type); public void setA_Depreciation_Calc_Type (int A_Depreciation_Calc_Type);
/** Get Depreciation Calculation Type */ /** Get Calculation Type */
public int getA_Depreciation_Calc_Type(); public int getA_Depreciation_Calc_Type();
public I_A_Depreciation_Method getA_Depreciation_Calc_T() throws RuntimeException; public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Calc_T() throws RuntimeException;
/** Column name A_Depreciation_Manual_Amount */ /** Column name A_Depreciation_Manual_Amount */
public static final String COLUMNNAME_A_Depreciation_Manual_Amount = "A_Depreciation_Manual_Amount"; public static final String COLUMNNAME_A_Depreciation_Manual_Amount = "A_Depreciation_Manual_Amount";
/** Set Depreciation Manual Amount */ /** Set A_Depreciation_Manual_Amount */
public void setA_Depreciation_Manual_Amount (BigDecimal A_Depreciation_Manual_Amount); public void setA_Depreciation_Manual_Amount (BigDecimal A_Depreciation_Manual_Amount);
/** Get Depreciation Manual Amount */ /** Get A_Depreciation_Manual_Amount */
public BigDecimal getA_Depreciation_Manual_Amount(); public BigDecimal getA_Depreciation_Manual_Amount();
/** Column name A_Depreciation_Manual_Period */ /** Column name A_Depreciation_Manual_Period */
public static final String COLUMNNAME_A_Depreciation_Manual_Period = "A_Depreciation_Manual_Period"; public static final String COLUMNNAME_A_Depreciation_Manual_Period = "A_Depreciation_Manual_Period";
/** Set Depreciation Manual Period */ /** Set A_Depreciation_Manual_Period */
public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period); public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period);
/** Get Depreciation Manual Period */ /** Get A_Depreciation_Manual_Period */
public String getA_Depreciation_Manual_Period(); public String getA_Depreciation_Manual_Period();
/** Column name A_Depreciation_Table_Header_ID */ /** Column name A_Depreciation_Table_Header_ID */
public static final String COLUMNNAME_A_Depreciation_Table_Header_ID = "A_Depreciation_Table_Header_ID"; public static final String COLUMNNAME_A_Depreciation_Table_Header_ID = "A_Depreciation_Table_Header_ID";
/** Set Depreciation Table Header */ /** Set A_Depreciation_Table_Header_ID */
public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID); public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID);
/** Get Depreciation Table Header */ /** Get A_Depreciation_Table_Header_ID */
public int getA_Depreciation_Table_Header_ID(); public int getA_Depreciation_Table_Header_ID();
public I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException; public org.compiere.model.I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException;
/** Column name A_Depreciation_Variable_Perc */ /** Column name A_Depreciation_Variable_Perc */
public static final String COLUMNNAME_A_Depreciation_Variable_Perc = "A_Depreciation_Variable_Perc"; public static final String COLUMNNAME_A_Depreciation_Variable_Perc = "A_Depreciation_Variable_Perc";
/** Set Depreciation Variable Perc. */ /** Set Variable Percent */
public void setA_Depreciation_Variable_Perc (BigDecimal A_Depreciation_Variable_Perc); public void setA_Depreciation_Variable_Perc (BigDecimal A_Depreciation_Variable_Perc);
/** Get Depreciation Variable Perc. */ /** Get Variable Percent */
public BigDecimal getA_Depreciation_Variable_Perc(); public BigDecimal getA_Depreciation_Variable_Perc();
/** Column name A_Disposal_Loss */ /** Column name A_Disposal_Loss */
@ -293,73 +293,73 @@ public interface I_I_Asset
/** Column name A_Life_Period */ /** Column name A_Life_Period */
public static final String COLUMNNAME_A_Life_Period = "A_Life_Period"; public static final String COLUMNNAME_A_Life_Period = "A_Life_Period";
/** Set A_Life_Period */ /** Set Life Periods */
public void setA_Life_Period (int A_Life_Period); public void setA_Life_Period (int A_Life_Period);
/** Get A_Life_Period */ /** Get Life Periods */
public int getA_Life_Period(); public int getA_Life_Period();
/** Column name A_Parent_Asset_ID */ /** Column name A_Parent_Asset_ID */
public static final String COLUMNNAME_A_Parent_Asset_ID = "A_Parent_Asset_ID"; public static final String COLUMNNAME_A_Parent_Asset_ID = "A_Parent_Asset_ID";
/** Set Asset ID */ /** Set Parent Asset */
public void setA_Parent_Asset_ID (int A_Parent_Asset_ID); public void setA_Parent_Asset_ID (int A_Parent_Asset_ID);
/** Get Asset ID */ /** Get Parent Asset */
public int getA_Parent_Asset_ID(); public int getA_Parent_Asset_ID();
/** Column name A_Period_End */ /** Column name A_Period_End */
public static final String COLUMNNAME_A_Period_End = "A_Period_End"; public static final String COLUMNNAME_A_Period_End = "A_Period_End";
/** Set Period End */ /** Set A_Period_End */
public void setA_Period_End (int A_Period_End); public void setA_Period_End (int A_Period_End);
/** Get Period End */ /** Get A_Period_End */
public int getA_Period_End(); public int getA_Period_End();
/** Column name A_Period_Posted */ /** Column name A_Period_Posted */
public static final String COLUMNNAME_A_Period_Posted = "A_Period_Posted"; public static final String COLUMNNAME_A_Period_Posted = "A_Period_Posted";
/** Set Period Posted */ /** Set A_Period_Posted */
public void setA_Period_Posted (int A_Period_Posted); public void setA_Period_Posted (int A_Period_Posted);
/** Get Period Posted */ /** Get A_Period_Posted */
public int getA_Period_Posted(); public int getA_Period_Posted();
/** Column name A_Period_Start */ /** Column name A_Period_Start */
public static final String COLUMNNAME_A_Period_Start = "A_Period_Start"; public static final String COLUMNNAME_A_Period_Start = "A_Period_Start";
/** Set Period Start */ /** Set A_Period_Start */
public void setA_Period_Start (int A_Period_Start); public void setA_Period_Start (int A_Period_Start);
/** Get Period Start */ /** Get A_Period_Start */
public int getA_Period_Start(); public int getA_Period_Start();
/** Column name A_Prior_Year_Accumulated_Depr */ /** Column name A_Prior_Year_Accumulated_Depr */
public static final String COLUMNNAME_A_Prior_Year_Accumulated_Depr = "A_Prior_Year_Accumulated_Depr"; public static final String COLUMNNAME_A_Prior_Year_Accumulated_Depr = "A_Prior_Year_Accumulated_Depr";
/** Set Prior. Year Accumulated Depr. */ /** Set A_Prior_Year_Accumulated_Depr */
public void setA_Prior_Year_Accumulated_Depr (BigDecimal A_Prior_Year_Accumulated_Depr); public void setA_Prior_Year_Accumulated_Depr (BigDecimal A_Prior_Year_Accumulated_Depr);
/** Get Prior. Year Accumulated Depr. */ /** Get A_Prior_Year_Accumulated_Depr */
public BigDecimal getA_Prior_Year_Accumulated_Depr(); public BigDecimal getA_Prior_Year_Accumulated_Depr();
/** Column name A_QTY_Current */ /** Column name A_QTY_Current */
public static final String COLUMNNAME_A_QTY_Current = "A_QTY_Current"; public static final String COLUMNNAME_A_QTY_Current = "A_QTY_Current";
/** Set Quantity */ /** Set Current Qty */
public void setA_QTY_Current (int A_QTY_Current); public void setA_QTY_Current (int A_QTY_Current);
/** Get Quantity */ /** Get Current Qty */
public int getA_QTY_Current(); public int getA_QTY_Current();
/** Column name A_QTY_Original */ /** Column name A_QTY_Original */
public static final String COLUMNNAME_A_QTY_Original = "A_QTY_Original"; public static final String COLUMNNAME_A_QTY_Original = "A_QTY_Original";
/** Set Original Qty */ /** Set A_QTY_Original */
public void setA_QTY_Original (int A_QTY_Original); public void setA_QTY_Original (int A_QTY_Original);
/** Get Original Qty */ /** Get A_QTY_Original */
public int getA_QTY_Original(); public int getA_QTY_Original();
/** Column name A_Reval_Accumdep_Offset_Cur */ /** Column name A_Reval_Accumdep_Offset_Cur */
@ -387,10 +387,10 @@ public interface I_I_Asset
/** Column name A_Reval_Cal_Method */ /** Column name A_Reval_Cal_Method */
public static final String COLUMNNAME_A_Reval_Cal_Method = "A_Reval_Cal_Method"; public static final String COLUMNNAME_A_Reval_Cal_Method = "A_Reval_Cal_Method";
/** Set Revaluation Calculation Method */ /** Set A_Reval_Cal_Method */
public void setA_Reval_Cal_Method (String A_Reval_Cal_Method); public void setA_Reval_Cal_Method (String A_Reval_Cal_Method);
/** Get Revaluation Calculation Method */ /** Get A_Reval_Cal_Method */
public String getA_Reval_Cal_Method(); public String getA_Reval_Cal_Method();
/** Column name A_Reval_Cost_Offset */ /** Column name A_Reval_Cost_Offset */
@ -429,19 +429,19 @@ public interface I_I_Asset
/** Column name A_Salvage_Value */ /** Column name A_Salvage_Value */
public static final String COLUMNNAME_A_Salvage_Value = "A_Salvage_Value"; public static final String COLUMNNAME_A_Salvage_Value = "A_Salvage_Value";
/** Set Salvage Value */ /** Set Asset Salvage Value */
public void setA_Salvage_Value (BigDecimal A_Salvage_Value); public void setA_Salvage_Value (BigDecimal A_Salvage_Value);
/** Get Salvage Value */ /** Get Asset Salvage Value */
public BigDecimal getA_Salvage_Value(); public BigDecimal getA_Salvage_Value();
/** Column name A_Split_Percent */ /** Column name A_Split_Percent */
public static final String COLUMNNAME_A_Split_Percent = "A_Split_Percent"; public static final String COLUMNNAME_A_Split_Percent = "A_Split_Percent";
/** Set Split Percentage */ /** Set Split Percent */
public void setA_Split_Percent (BigDecimal A_Split_Percent); public void setA_Split_Percent (BigDecimal A_Split_Percent);
/** Get Split Percentage */ /** Get Split Percent */
public BigDecimal getA_Split_Percent(); public BigDecimal getA_Split_Percent();
/** Column name AssetDepreciationDate */ /** Column name AssetDepreciationDate */
@ -509,7 +509,7 @@ public interface I_I_Asset
*/ */
public int getC_AcctSchema_ID(); public int getC_AcctSchema_ID();
public I_C_AcctSchema getC_AcctSchema() throws RuntimeException; public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException;
/** Column name C_BPartner_ID */ /** Column name C_BPartner_ID */
public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID"; public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID";
@ -524,7 +524,7 @@ public interface I_I_Asset
*/ */
public int getC_BPartner_ID(); public int getC_BPartner_ID();
public I_C_BPartner getC_BPartner() throws RuntimeException; public org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException;
/** Column name C_BPartner_Location_ID */ /** Column name C_BPartner_Location_ID */
public static final String COLUMNNAME_C_BPartner_Location_ID = "C_BPartner_Location_ID"; public static final String COLUMNNAME_C_BPartner_Location_ID = "C_BPartner_Location_ID";
@ -539,7 +539,7 @@ public interface I_I_Asset
*/ */
public int getC_BPartner_Location_ID(); public int getC_BPartner_Location_ID();
public I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException; public org.compiere.model.I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException;
/** Column name C_Location_ID */ /** Column name C_Location_ID */
public static final String COLUMNNAME_C_Location_ID = "C_Location_ID"; public static final String COLUMNNAME_C_Location_ID = "C_Location_ID";
@ -554,7 +554,7 @@ public interface I_I_Asset
*/ */
public int getC_Location_ID(); public int getC_Location_ID();
public I_C_Location getC_Location() throws RuntimeException; public org.compiere.model.I_C_Location getC_Location() throws RuntimeException;
/** Column name ConventionType */ /** Column name ConventionType */
public static final String COLUMNNAME_ConventionType = "ConventionType"; public static final String COLUMNNAME_ConventionType = "ConventionType";
@ -565,7 +565,7 @@ public interface I_I_Asset
/** Get ConventionType */ /** Get ConventionType */
public int getConventionType(); public int getConventionType();
public I_A_Depreciation_Convention getConventionT() throws RuntimeException; public org.compiere.model.I_A_Depreciation_Convention getConventionT() throws RuntimeException;
/** Column name Created */ /** Column name Created */
public static final String COLUMNNAME_Created = "Created"; public static final String COLUMNNAME_Created = "Created";
@ -592,7 +592,7 @@ public interface I_I_Asset
/** Get DepreciationType */ /** Get DepreciationType */
public int getDepreciationType(); public int getDepreciationType();
public I_A_Depreciation getDepreciationT() throws RuntimeException; public org.compiere.model.I_A_Depreciation getDepreciationT() throws RuntimeException;
/** Column name Description */ /** Column name Description */
public static final String COLUMNNAME_Description = "Description"; public static final String COLUMNNAME_Description = "Description";
@ -642,6 +642,15 @@ public interface I_I_Asset
/** Get Asset */ /** Get Asset */
public int getI_Asset_ID(); public int getI_Asset_ID();
/** Column name I_Asset_UU */
public static final String COLUMNNAME_I_Asset_UU = "I_Asset_UU";
/** Set I_Asset_UU */
public void setI_Asset_UU (String I_Asset_UU);
/** Get I_Asset_UU */
public String getI_Asset_UU();
/** Column name I_ErrorMsg */ /** Column name I_ErrorMsg */
public static final String COLUMNNAME_I_ErrorMsg = "I_ErrorMsg"; public static final String COLUMNNAME_I_ErrorMsg = "I_ErrorMsg";
@ -813,7 +822,7 @@ public interface I_I_Asset
*/ */
public int getM_Locator_ID(); public int getM_Locator_ID();
public I_M_Locator getM_Locator() throws RuntimeException; public org.compiere.model.I_M_Locator getM_Locator() throws RuntimeException;
/** Column name M_Product_ID */ /** Column name M_Product_ID */
public static final String COLUMNNAME_M_Product_ID = "M_Product_ID"; public static final String COLUMNNAME_M_Product_ID = "M_Product_ID";
@ -828,7 +837,7 @@ public interface I_I_Asset
*/ */
public int getM_Product_ID(); public int getM_Product_ID();
public I_M_Product getM_Product() throws RuntimeException; public org.compiere.model.I_M_Product getM_Product() throws RuntimeException;
/** Column name Name */ /** Column name Name */
public static final String COLUMNNAME_Name = "Name"; public static final String COLUMNNAME_Name = "Name";

View File

@ -31,7 +31,7 @@ public interface I_I_FAJournal
public static final String Table_Name = "I_FAJournal"; public static final String Table_Name = "I_FAJournal";
/** AD_Table_ID=53117 */ /** AD_Table_ID=53117 */
public static final int Table_ID = MTable.getTable_ID(Table_Name); public static final int Table_ID = 53117;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
@ -67,7 +67,7 @@ public interface I_I_FAJournal
*/ */
public int getAccount_ID(); public int getAccount_ID();
public I_C_ElementValue getAccount() throws RuntimeException; public org.compiere.model.I_C_ElementValue getAccount() throws RuntimeException;
/** Column name AccountValue */ /** Column name AccountValue */
public static final String COLUMNNAME_AccountValue = "AccountValue"; public static final String COLUMNNAME_AccountValue = "AccountValue";
@ -255,7 +255,7 @@ public interface I_I_FAJournal
*/ */
public int getC_AcctSchema_ID(); public int getC_AcctSchema_ID();
public I_C_AcctSchema getC_AcctSchema() throws RuntimeException; public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException;
/** Column name C_Activity_ID */ /** Column name C_Activity_ID */
public static final String COLUMNNAME_C_Activity_ID = "C_Activity_ID"; public static final String COLUMNNAME_C_Activity_ID = "C_Activity_ID";
@ -270,7 +270,7 @@ public interface I_I_FAJournal
*/ */
public int getC_Activity_ID(); public int getC_Activity_ID();
public I_C_Activity getC_Activity() throws RuntimeException; public org.compiere.model.I_C_Activity getC_Activity() throws RuntimeException;
/** Column name CategoryName */ /** Column name CategoryName */
public static final String COLUMNNAME_CategoryName = "CategoryName"; public static final String COLUMNNAME_CategoryName = "CategoryName";
@ -298,7 +298,7 @@ public interface I_I_FAJournal
*/ */
public int getC_BPartner_ID(); public int getC_BPartner_ID();
public I_C_BPartner getC_BPartner() throws RuntimeException; public org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException;
/** Column name C_Campaign_ID */ /** Column name C_Campaign_ID */
public static final String COLUMNNAME_C_Campaign_ID = "C_Campaign_ID"; public static final String COLUMNNAME_C_Campaign_ID = "C_Campaign_ID";
@ -313,7 +313,7 @@ public interface I_I_FAJournal
*/ */
public int getC_Campaign_ID(); public int getC_Campaign_ID();
public I_C_Campaign getC_Campaign() throws RuntimeException; public org.compiere.model.I_C_Campaign getC_Campaign() throws RuntimeException;
/** Column name C_ConversionType_ID */ /** Column name C_ConversionType_ID */
public static final String COLUMNNAME_C_ConversionType_ID = "C_ConversionType_ID"; public static final String COLUMNNAME_C_ConversionType_ID = "C_ConversionType_ID";
@ -341,7 +341,7 @@ public interface I_I_FAJournal
*/ */
public int getC_Currency_ID(); public int getC_Currency_ID();
public I_C_Currency getC_Currency() throws RuntimeException; public org.compiere.model.I_C_Currency getC_Currency() throws RuntimeException;
/** Column name C_DocType_ID */ /** Column name C_DocType_ID */
public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID"; public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID";
@ -356,7 +356,7 @@ public interface I_I_FAJournal
*/ */
public int getC_DocType_ID(); public int getC_DocType_ID();
public I_C_DocType getC_DocType() throws RuntimeException; public org.compiere.model.I_C_DocType getC_DocType() throws RuntimeException;
/** Column name ClientValue */ /** Column name ClientValue */
public static final String COLUMNNAME_ClientValue = "ClientValue"; public static final String COLUMNNAME_ClientValue = "ClientValue";
@ -423,7 +423,7 @@ public interface I_I_FAJournal
*/ */
public int getC_Period_ID(); public int getC_Period_ID();
public I_C_Period getC_Period() throws RuntimeException; public org.compiere.model.I_C_Period getC_Period() throws RuntimeException;
/** Column name C_Project_ID */ /** Column name C_Project_ID */
public static final String COLUMNNAME_C_Project_ID = "C_Project_ID"; public static final String COLUMNNAME_C_Project_ID = "C_Project_ID";
@ -438,7 +438,7 @@ public interface I_I_FAJournal
*/ */
public int getC_Project_ID(); public int getC_Project_ID();
public I_C_Project getC_Project() throws RuntimeException; public org.compiere.model.I_C_Project getC_Project() throws RuntimeException;
/** Column name Created */ /** Column name Created */
public static final String COLUMNNAME_Created = "Created"; public static final String COLUMNNAME_Created = "Created";
@ -469,7 +469,7 @@ public interface I_I_FAJournal
*/ */
public int getC_SalesRegion_ID(); public int getC_SalesRegion_ID();
public I_C_SalesRegion getC_SalesRegion() throws RuntimeException; public org.compiere.model.I_C_SalesRegion getC_SalesRegion() throws RuntimeException;
/** Column name C_SubAcct_ID */ /** Column name C_SubAcct_ID */
public static final String COLUMNNAME_C_SubAcct_ID = "C_SubAcct_ID"; public static final String COLUMNNAME_C_SubAcct_ID = "C_SubAcct_ID";
@ -497,7 +497,7 @@ public interface I_I_FAJournal
*/ */
public int getC_UOM_ID(); public int getC_UOM_ID();
public I_C_UOM getC_UOM() throws RuntimeException; public org.compiere.model.I_C_UOM getC_UOM() throws RuntimeException;
/** Column name CurrencyRate */ /** Column name CurrencyRate */
public static final String COLUMNNAME_CurrencyRate = "CurrencyRate"; public static final String COLUMNNAME_CurrencyRate = "CurrencyRate";
@ -534,7 +534,7 @@ public interface I_I_FAJournal
*/ */
public int getC_ValidCombination_ID(); public int getC_ValidCombination_ID();
public I_C_ValidCombination getC_ValidCombination() throws RuntimeException; public org.compiere.model.I_C_ValidCombination getC_ValidCombination() throws RuntimeException;
/** Column name DateAcct */ /** Column name DateAcct */
public static final String COLUMNNAME_DateAcct = "DateAcct"; public static final String COLUMNNAME_DateAcct = "DateAcct";
@ -588,7 +588,7 @@ public interface I_I_FAJournal
*/ */
public int getGL_Budget_ID(); public int getGL_Budget_ID();
public I_GL_Budget getGL_Budget() throws RuntimeException; public org.compiere.model.I_GL_Budget getGL_Budget() throws RuntimeException;
/** Column name GL_Category_ID */ /** Column name GL_Category_ID */
public static final String COLUMNNAME_GL_Category_ID = "GL_Category_ID"; public static final String COLUMNNAME_GL_Category_ID = "GL_Category_ID";
@ -603,7 +603,7 @@ public interface I_I_FAJournal
*/ */
public int getGL_Category_ID(); public int getGL_Category_ID();
public I_GL_Category getGL_Category() throws RuntimeException; public org.compiere.model.I_GL_Category getGL_Category() throws RuntimeException;
/** Column name GL_JournalBatch_ID */ /** Column name GL_JournalBatch_ID */
public static final String COLUMNNAME_GL_JournalBatch_ID = "GL_JournalBatch_ID"; public static final String COLUMNNAME_GL_JournalBatch_ID = "GL_JournalBatch_ID";
@ -618,7 +618,7 @@ public interface I_I_FAJournal
*/ */
public int getGL_JournalBatch_ID(); public int getGL_JournalBatch_ID();
public I_GL_JournalBatch getGL_JournalBatch() throws RuntimeException; public org.compiere.model.I_GL_JournalBatch getGL_JournalBatch() throws RuntimeException;
/** Column name GL_Journal_ID */ /** Column name GL_Journal_ID */
public static final String COLUMNNAME_GL_Journal_ID = "GL_Journal_ID"; public static final String COLUMNNAME_GL_Journal_ID = "GL_Journal_ID";
@ -633,7 +633,7 @@ public interface I_I_FAJournal
*/ */
public int getGL_Journal_ID(); public int getGL_Journal_ID();
public I_GL_Journal getGL_Journal() throws RuntimeException; public org.compiere.model.I_GL_Journal getGL_Journal() throws RuntimeException;
/** Column name GL_JournalLine_ID */ /** Column name GL_JournalLine_ID */
public static final String COLUMNNAME_GL_JournalLine_ID = "GL_JournalLine_ID"; public static final String COLUMNNAME_GL_JournalLine_ID = "GL_JournalLine_ID";
@ -648,7 +648,7 @@ public interface I_I_FAJournal
*/ */
public int getGL_JournalLine_ID(); public int getGL_JournalLine_ID();
public I_GL_JournalLine getGL_JournalLine() throws RuntimeException; public org.compiere.model.I_GL_JournalLine getGL_JournalLine() throws RuntimeException;
/** Column name I_ErrorMsg */ /** Column name I_ErrorMsg */
public static final String COLUMNNAME_I_ErrorMsg = "I_ErrorMsg"; public static final String COLUMNNAME_I_ErrorMsg = "I_ErrorMsg";
@ -672,6 +672,15 @@ public interface I_I_FAJournal
/** Get FA Journal */ /** Get FA Journal */
public int getI_FAJournal_ID(); public int getI_FAJournal_ID();
/** Column name I_FAJournal_UU */
public static final String COLUMNNAME_I_FAJournal_UU = "I_FAJournal_UU";
/** Set I_FAJournal_UU */
public void setI_FAJournal_UU (String I_FAJournal_UU);
/** Get I_FAJournal_UU */
public String getI_FAJournal_UU();
/** Column name I_IsImported */ /** Column name I_IsImported */
public static final String COLUMNNAME_I_IsImported = "I_IsImported"; public static final String COLUMNNAME_I_IsImported = "I_IsImported";
@ -763,7 +772,7 @@ public interface I_I_FAJournal
*/ */
public int getM_Product_ID(); public int getM_Product_ID();
public I_M_Product getM_Product() throws RuntimeException; public org.compiere.model.I_M_Product getM_Product() throws RuntimeException;
/** Column name OrgTrxValue */ /** Column name OrgTrxValue */
public static final String COLUMNNAME_OrgTrxValue = "OrgTrxValue"; public static final String COLUMNNAME_OrgTrxValue = "OrgTrxValue";
@ -920,7 +929,7 @@ public interface I_I_FAJournal
*/ */
public int getUser1_ID(); public int getUser1_ID();
public I_C_ElementValue getUser1() throws RuntimeException; public org.compiere.model.I_C_ElementValue getUser1() throws RuntimeException;
/** Column name User2_ID */ /** Column name User2_ID */
public static final String COLUMNNAME_User2_ID = "User2_ID"; public static final String COLUMNNAME_User2_ID = "User2_ID";
@ -935,7 +944,7 @@ public interface I_I_FAJournal
*/ */
public int getUser2_ID(); public int getUser2_ID();
public I_C_ElementValue getUser2() throws RuntimeException; public org.compiere.model.I_C_ElementValue getUser2() throws RuntimeException;
/** Column name UserElement1_ID */ /** Column name UserElement1_ID */
public static final String COLUMNNAME_UserElement1_ID = "UserElement1_ID"; public static final String COLUMNNAME_UserElement1_ID = "UserElement1_ID";

View File

@ -0,0 +1,585 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
package org.compiere.model;
import java.math.BigDecimal;
import java.sql.Timestamp;
import org.compiere.util.KeyNamePair;
/** Generated Interface for I_FixedAsset
* @author Adempiere (generated)
* @version Release 3.6.0LTS
*/
public interface I_I_FixedAsset
{
/** TableName=I_FixedAsset */
public static final String Table_Name = "I_FixedAsset";
/** AD_Table_ID=53277 */
public static final int Table_ID = 53277;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
/** AccessLevel = 3 - Client - Org
*/
BigDecimal accessLevel = BigDecimal.valueOf(3);
/** Load Meta Data */
/** Column name A_Accumulated_Depr */
public static final String COLUMNNAME_A_Accumulated_Depr = "A_Accumulated_Depr";
/** Set Accumulated Depreciation */
public void setA_Accumulated_Depr (BigDecimal A_Accumulated_Depr);
/** Get Accumulated Depreciation */
public BigDecimal getA_Accumulated_Depr();
/** Column name A_Accumulated_Depr_F */
public static final String COLUMNNAME_A_Accumulated_Depr_F = "A_Accumulated_Depr_F";
/** Set Accumulated Depreciation (fiscal) */
public void setA_Accumulated_Depr_F (BigDecimal A_Accumulated_Depr_F);
/** Get Accumulated Depreciation (fiscal) */
public BigDecimal getA_Accumulated_Depr_F();
/** Column name A_Asset_Class_ID */
public static final String COLUMNNAME_A_Asset_Class_ID = "A_Asset_Class_ID";
/** Set Asset class */
public void setA_Asset_Class_ID (int A_Asset_Class_ID);
/** Get Asset class */
public int getA_Asset_Class_ID();
public org.compiere.model.I_A_Asset_Class getA_Asset_Class() throws RuntimeException;
/** Column name A_Asset_Class_Value */
public static final String COLUMNNAME_A_Asset_Class_Value = "A_Asset_Class_Value";
/** Set Asset Class Key */
public void setA_Asset_Class_Value (String A_Asset_Class_Value);
/** Get Asset Class Key */
public String getA_Asset_Class_Value();
/** Column name A_Asset_Cost */
public static final String COLUMNNAME_A_Asset_Cost = "A_Asset_Cost";
/** Set Asset Cost */
public void setA_Asset_Cost (BigDecimal A_Asset_Cost);
/** Get Asset Cost */
public BigDecimal getA_Asset_Cost();
/** Column name A_Asset_Group_ID */
public static final String COLUMNNAME_A_Asset_Group_ID = "A_Asset_Group_ID";
/** Set Asset Group.
* Group of Assets
*/
public void setA_Asset_Group_ID (int A_Asset_Group_ID);
/** Get Asset Group.
* Group of Assets
*/
public int getA_Asset_Group_ID();
public org.compiere.model.I_A_Asset_Group getA_Asset_Group() throws RuntimeException;
/** Column name A_Asset_Group_Value */
public static final String COLUMNNAME_A_Asset_Group_Value = "A_Asset_Group_Value";
/** Set Asset Group Key */
public void setA_Asset_Group_Value (String A_Asset_Group_Value);
/** Get Asset Group Key */
public String getA_Asset_Group_Value();
/** Column name A_Asset_ID */
public static final String COLUMNNAME_A_Asset_ID = "A_Asset_ID";
/** Set Asset.
* Asset used internally or by customers
*/
public void setA_Asset_ID (int A_Asset_ID);
/** Get Asset.
* Asset used internally or by customers
*/
public int getA_Asset_ID();
public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException;
/** Column name A_Asset_Type_ID */
public static final String COLUMNNAME_A_Asset_Type_ID = "A_Asset_Type_ID";
/** Set Asset Type */
public void setA_Asset_Type_ID (int A_Asset_Type_ID);
/** Get Asset Type */
public int getA_Asset_Type_ID();
public org.compiere.model.I_A_Asset_Type getA_Asset_Type() throws RuntimeException;
/** Column name A_Asset_Type_Value */
public static final String COLUMNNAME_A_Asset_Type_Value = "A_Asset_Type_Value";
/** Set Asset Type Value */
public void setA_Asset_Type_Value (String A_Asset_Type_Value);
/** Get Asset Type Value */
public String getA_Asset_Type_Value();
/** Column name A_Current_Period */
public static final String COLUMNNAME_A_Current_Period = "A_Current_Period";
/** Set Current Period */
public void setA_Current_Period (int A_Current_Period);
/** Get Current Period */
public int getA_Current_Period();
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
/** Set Organization.
* Organizational entity within client
*/
public void setAD_Org_ID (int AD_Org_ID);
/** Get Organization.
* Organizational entity within client
*/
public int getAD_Org_ID();
/** Column name A_Remaining_Period */
public static final String COLUMNNAME_A_Remaining_Period = "A_Remaining_Period";
/** Set Remaining Period */
public void setA_Remaining_Period (int A_Remaining_Period);
/** Get Remaining Period */
public int getA_Remaining_Period();
/** Column name A_Salvage_Value */
public static final String COLUMNNAME_A_Salvage_Value = "A_Salvage_Value";
/** Set Asset Salvage Value */
public void setA_Salvage_Value (BigDecimal A_Salvage_Value);
/** Get Asset Salvage Value */
public BigDecimal getA_Salvage_Value();
/** Column name AssetDepreciationDate */
public static final String COLUMNNAME_AssetDepreciationDate = "AssetDepreciationDate";
/** Set Asset Depreciation Date.
* Date of last depreciation
*/
public void setAssetDepreciationDate (Timestamp AssetDepreciationDate);
/** Get Asset Depreciation Date.
* Date of last depreciation
*/
public Timestamp getAssetDepreciationDate();
/** Column name AssetPeriodDepreciationAmt */
public static final String COLUMNNAME_AssetPeriodDepreciationAmt = "AssetPeriodDepreciationAmt";
/** Set Depreciation Amount / Period.
* Applies to Straight Line depreciation
*/
public void setAssetPeriodDepreciationAmt (BigDecimal AssetPeriodDepreciationAmt);
/** Get Depreciation Amount / Period.
* Applies to Straight Line depreciation
*/
public BigDecimal getAssetPeriodDepreciationAmt();
/** Column name AssetServiceDate */
public static final String COLUMNNAME_AssetServiceDate = "AssetServiceDate";
/** Set In Service Date.
* Date when Asset was put into service
*/
public void setAssetServiceDate (Timestamp AssetServiceDate);
/** Get In Service Date.
* Date when Asset was put into service
*/
public Timestamp getAssetServiceDate();
/** Column name BPartner_Value */
public static final String COLUMNNAME_BPartner_Value = "BPartner_Value";
/** Set Business Partner Key.
* The Key of the Business Partner
*/
public void setBPartner_Value (String BPartner_Value);
/** Get Business Partner Key.
* The Key of the Business Partner
*/
public String getBPartner_Value();
/** Column name C_BPartnerSR_ID */
public static final String COLUMNNAME_C_BPartnerSR_ID = "C_BPartnerSR_ID";
/** Set BPartner (Agent).
* Business Partner (Agent or Sales Rep)
*/
public void setC_BPartnerSR_ID (int C_BPartnerSR_ID);
/** Get BPartner (Agent).
* Business Partner (Agent or Sales Rep)
*/
public int getC_BPartnerSR_ID();
public org.compiere.model.I_C_BPartner getC_BPartnerSR() throws RuntimeException;
/** Column name C_City_ID */
public static final String COLUMNNAME_C_City_ID = "C_City_ID";
/** Set City.
* City
*/
public void setC_City_ID (int C_City_ID);
/** Get City.
* City
*/
public int getC_City_ID();
public org.compiere.model.I_C_City getC_City() throws RuntimeException;
/** Column name C_City_Value */
public static final String COLUMNNAME_C_City_Value = "C_City_Value";
/** Set City Value */
public void setC_City_Value (String C_City_Value);
/** Get City Value */
public String getC_City_Value();
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
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";
/** Set Account Date.
* Accounting Date
*/
public void setDateAcct (Timestamp DateAcct);
/** Get Account Date.
* Accounting Date
*/
public Timestamp getDateAcct();
/** Column name Description */
public static final String COLUMNNAME_Description = "Description";
/** Set Description.
* Optional short description of the record
*/
public void setDescription (String Description);
/** Get Description.
* Optional short description of the record
*/
public String getDescription();
/** Column name DocAction */
public static final String COLUMNNAME_DocAction = "DocAction";
/** Set Document Action.
* The targeted status of the document
*/
public void setDocAction (String DocAction);
/** Get Document Action.
* The targeted status of the document
*/
public String getDocAction();
/** Column name I_ErrorMsg */
public static final String COLUMNNAME_I_ErrorMsg = "I_ErrorMsg";
/** Set Import Error Message.
* Messages generated from import process
*/
public void setI_ErrorMsg (String I_ErrorMsg);
/** Get Import Error Message.
* Messages generated from import process
*/
public String getI_ErrorMsg();
/** Column name I_FixedAsset_ID */
public static final String COLUMNNAME_I_FixedAsset_ID = "I_FixedAsset_ID";
/** Set Imported Fixed Asset */
public void setI_FixedAsset_ID (int I_FixedAsset_ID);
/** Get Imported Fixed Asset */
public int getI_FixedAsset_ID();
/** Column name I_IsImported */
public static final String COLUMNNAME_I_IsImported = "I_IsImported";
/** Set Imported.
* Has this import been processed
*/
public void setI_IsImported (boolean I_IsImported);
/** Get Imported.
* Has this import been processed
*/
public boolean isI_IsImported();
/** Column name InventoryNo */
public static final String COLUMNNAME_InventoryNo = "InventoryNo";
/** Set Inventory No */
public void setInventoryNo (String InventoryNo);
/** Get Inventory No */
public String getInventoryNo();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name LocatorValue */
public static final String COLUMNNAME_LocatorValue = "LocatorValue";
/** Set Locator Key.
* Key of the Warehouse Locator
*/
public void setLocatorValue (String LocatorValue);
/** Get Locator Key.
* Key of the Warehouse Locator
*/
public String getLocatorValue();
/** Column name M_Locator_ID */
public static final String COLUMNNAME_M_Locator_ID = "M_Locator_ID";
/** Set Locator.
* Warehouse Locator
*/
public void setM_Locator_ID (int M_Locator_ID);
/** Get Locator.
* Warehouse Locator
*/
public int getM_Locator_ID();
public org.compiere.model.I_M_Locator getM_Locator() throws RuntimeException;
/** 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();
public org.compiere.model.I_M_Product getM_Product() throws RuntimeException;
/** Column name Name */
public static final String COLUMNNAME_Name = "Name";
/** Set Name.
* Alphanumeric identifier of the entity
*/
public void setName (String Name);
/** Get Name.
* Alphanumeric identifier of the entity
*/
public String getName();
/** Column name Processed */
public static final String COLUMNNAME_Processed = "Processed";
/** Set Processed.
* The document has been processed
*/
public void setProcessed (boolean Processed);
/** Get Processed.
* The document has been processed
*/
public boolean isProcessed();
/** Column name Processing */
public static final String COLUMNNAME_Processing = "Processing";
/** Set Process Now */
public void setProcessing (boolean Processing);
/** Get Process Now */
public boolean isProcessing();
/** Column name ProductValue */
public static final String COLUMNNAME_ProductValue = "ProductValue";
/** Set Product Key.
* Key of the Product
*/
public void setProductValue (String ProductValue);
/** Get Product Key.
* Key of the Product
*/
public String getProductValue();
/** Column name Qty */
public static final String COLUMNNAME_Qty = "Qty";
/** Set Quantity.
* Quantity
*/
public void setQty (BigDecimal Qty);
/** Get Quantity.
* Quantity
*/
public BigDecimal getQty();
/** Column name SeqNo */
public static final String COLUMNNAME_SeqNo = "SeqNo";
/** Set Sequence.
* Method of ordering records;
lowest number comes first
*/
public void setSeqNo (int SeqNo);
/** Get Sequence.
* Method of ordering records;
lowest number comes first
*/
public int getSeqNo();
/** Column name UOMSymbol */
public static final String COLUMNNAME_UOMSymbol = "UOMSymbol";
/** Set Symbol.
* Symbol for a Unit of Measure
*/
public void setUOMSymbol (String UOMSymbol);
/** Get Symbol.
* Symbol for a Unit of Measure
*/
public String getUOMSymbol();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
/** Column name UseLifeMonths */
public static final String COLUMNNAME_UseLifeMonths = "UseLifeMonths";
/** Set Usable Life - Months.
* Months of the usable life of the asset
*/
public void setUseLifeMonths (int UseLifeMonths);
/** Get Usable Life - Months.
* Months of the usable life of the asset
*/
public int getUseLifeMonths();
/** Column name UseLifeMonths_F */
public static final String COLUMNNAME_UseLifeMonths_F = "UseLifeMonths_F";
/** Set Use Life - Months (fiscal) */
public void setUseLifeMonths_F (int UseLifeMonths_F);
/** Get Use Life - Months (fiscal) */
public int getUseLifeMonths_F();
}

View File

@ -22,7 +22,6 @@ import java.sql.ResultSet;
import java.sql.Timestamp; import java.sql.Timestamp;
import java.util.Properties; import java.util.Properties;
import org.compiere.util.Env; import org.compiere.util.Env;
import org.compiere.util.KeyNamePair;
/** Generated Model for A_Asset /** Generated Model for A_Asset
* @author Adempiere (generated) * @author Adempiere (generated)
@ -33,7 +32,7 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Asset (Properties ctx, int A_Asset_ID, String trxName) public X_A_Asset (Properties ctx, int A_Asset_ID, String trxName)
@ -41,8 +40,12 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent
super (ctx, A_Asset_ID, trxName); super (ctx, A_Asset_ID, trxName);
/** if (A_Asset_ID == 0) /** if (A_Asset_ID == 0)
{ {
setA_Asset_Action (null);
// 'MD'
setA_Asset_Group_ID (0); setA_Asset_Group_ID (0);
setA_Asset_ID (0); setA_Asset_ID (0);
setA_Asset_Status (null);
// 'NW'
setIsDepreciated (false); setIsDepreciated (false);
setIsDisposed (false); setIsDisposed (false);
setIsFullyDepreciated (false); setIsFullyDepreciated (false);
@ -50,7 +53,10 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent
setIsInPosession (false); setIsInPosession (false);
setIsOwned (false); setIsOwned (false);
setM_AttributeSetInstance_ID (0); setM_AttributeSetInstance_ID (0);
setM_Product_ID (0);
setName (null); setName (null);
setProcessed (false);
// 'N'
setValue (null); setValue (null);
} */ } */
} }
@ -83,23 +89,79 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent
return sb.toString(); return sb.toString();
} }
/** Set Asset Creation Date. /** A_Asset_Action AD_Reference_ID=53360 */
@param A_Asset_CreateDate Asset Creation Date */ public static final int A_ASSET_ACTION_AD_Reference_ID=53360;
/** Dispose = DI */
public static final String A_ASSET_ACTION_Dispose = "DI";
/** Inbound = IB */
public static final String A_ASSET_ACTION_Inbound = "IB";
/** Modify = MD */
public static final String A_ASSET_ACTION_Modify = "MD";
/** Outbound = OB */
public static final String A_ASSET_ACTION_Outbound = "OB";
/** Reevaluate = RE */
public static final String A_ASSET_ACTION_Reevaluate = "RE";
/** Retire = RT */
public static final String A_ASSET_ACTION_Retire = "RT";
/** Transfer = TR */
public static final String A_ASSET_ACTION_Transfer = "TR";
/** Set Asset Action.
@param A_Asset_Action Asset Action */
public void setA_Asset_Action (String A_Asset_Action)
{
set_Value (COLUMNNAME_A_Asset_Action, A_Asset_Action);
}
/** Get Asset Action.
@return Asset Action */
public String getA_Asset_Action ()
{
return (String)get_Value(COLUMNNAME_A_Asset_Action);
}
public org.compiere.model.I_A_Asset_Class getA_Asset_Class() throws RuntimeException
{
return (org.compiere.model.I_A_Asset_Class)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Class.Table_Name)
.getPO(getA_Asset_Class_ID(), get_TrxName()); }
/** Set Asset class.
@param A_Asset_Class_ID Asset class */
public void setA_Asset_Class_ID (int A_Asset_Class_ID)
{
if (A_Asset_Class_ID < 1)
set_Value (COLUMNNAME_A_Asset_Class_ID, null);
else
set_Value (COLUMNNAME_A_Asset_Class_ID, Integer.valueOf(A_Asset_Class_ID));
}
/** Get Asset class.
@return Asset class */
public int getA_Asset_Class_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Class_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Create Date.
@param A_Asset_CreateDate Create Date */
public void setA_Asset_CreateDate (Timestamp A_Asset_CreateDate) public void setA_Asset_CreateDate (Timestamp A_Asset_CreateDate)
{ {
set_ValueNoCheck (COLUMNNAME_A_Asset_CreateDate, A_Asset_CreateDate); set_ValueNoCheck (COLUMNNAME_A_Asset_CreateDate, A_Asset_CreateDate);
} }
/** Get Asset Creation Date. /** Get Create Date.
@return Asset Creation Date */ @return Create Date */
public Timestamp getA_Asset_CreateDate () public Timestamp getA_Asset_CreateDate ()
{ {
return (Timestamp)get_Value(COLUMNNAME_A_Asset_CreateDate); return (Timestamp)get_Value(COLUMNNAME_A_Asset_CreateDate);
} }
public I_A_Asset_Group getA_Asset_Group() throws RuntimeException public org.compiere.model.I_A_Asset_Group getA_Asset_Group() throws RuntimeException
{ {
return (I_A_Asset_Group)MTable.get(getCtx(), I_A_Asset_Group.Table_Name) return (org.compiere.model.I_A_Asset_Group)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Group.Table_Name)
.getPO(getA_Asset_Group_ID(), get_TrxName()); } .getPO(getA_Asset_Group_ID(), get_TrxName()); }
/** Set Asset Group. /** Set Asset Group.
@ -148,23 +210,107 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
/** Set Asset Reval. Date. /** Set Revaluation Date.
@param A_Asset_RevalDate Asset Reval. Date */ @param A_Asset_RevalDate Revaluation Date */
public void setA_Asset_RevalDate (Timestamp A_Asset_RevalDate) public void setA_Asset_RevalDate (Timestamp A_Asset_RevalDate)
{ {
set_Value (COLUMNNAME_A_Asset_RevalDate, A_Asset_RevalDate); set_Value (COLUMNNAME_A_Asset_RevalDate, A_Asset_RevalDate);
} }
/** Get Asset Reval. Date. /** Get Revaluation Date.
@return Asset Reval. Date */ @return Revaluation Date */
public Timestamp getA_Asset_RevalDate () public Timestamp getA_Asset_RevalDate ()
{ {
return (Timestamp)get_Value(COLUMNNAME_A_Asset_RevalDate); return (Timestamp)get_Value(COLUMNNAME_A_Asset_RevalDate);
} }
public I_AD_User getAD_User() throws RuntimeException /** A_Asset_Status AD_Reference_ID=53359 */
public static final int A_ASSET_STATUS_AD_Reference_ID=53359;
/** Activated = AC */
public static final String A_ASSET_STATUS_Activated = "AC";
/** Disposed = DI */
public static final String A_ASSET_STATUS_Disposed = "DI";
/** Depreciated = DP */
public static final String A_ASSET_STATUS_Depreciated = "DP";
/** New = NW */
public static final String A_ASSET_STATUS_New = "NW";
/** Preservation = PR */
public static final String A_ASSET_STATUS_Preservation = "PR";
/** Retired = RE */
public static final String A_ASSET_STATUS_Retired = "RE";
/** Sold = SO */
public static final String A_ASSET_STATUS_Sold = "SO";
/** Set Asset Status.
@param A_Asset_Status Asset Status */
public void setA_Asset_Status (String A_Asset_Status)
{
set_Value (COLUMNNAME_A_Asset_Status, A_Asset_Status);
}
/** Get Asset Status.
@return Asset Status */
public String getA_Asset_Status ()
{
return (String)get_Value(COLUMNNAME_A_Asset_Status);
}
/** Set Asset Type.
@param A_AssetType Asset Type */
public void setA_AssetType (String A_AssetType)
{
set_Value (COLUMNNAME_A_AssetType, A_AssetType);
}
/** Get Asset Type.
@return Asset Type */
public String getA_AssetType ()
{
return (String)get_Value(COLUMNNAME_A_AssetType);
}
public org.compiere.model.I_A_Asset_Type getA_Asset_Type() throws RuntimeException
{ {
return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name) return (org.compiere.model.I_A_Asset_Type)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Type.Table_Name)
.getPO(getA_Asset_Type_ID(), get_TrxName()); }
/** Set Asset Type.
@param A_Asset_Type_ID Asset Type */
public void setA_Asset_Type_ID (int A_Asset_Type_ID)
{
if (A_Asset_Type_ID < 1)
set_Value (COLUMNNAME_A_Asset_Type_ID, null);
else
set_Value (COLUMNNAME_A_Asset_Type_ID, Integer.valueOf(A_Asset_Type_ID));
}
/** Get Asset Type.
@return Asset Type */
public int getA_Asset_Type_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Type_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set A_Asset_UU.
@param A_Asset_UU A_Asset_UU */
public void setA_Asset_UU (String A_Asset_UU)
{
set_Value (COLUMNNAME_A_Asset_UU, A_Asset_UU);
}
/** Get A_Asset_UU.
@return A_Asset_UU */
public String getA_Asset_UU ()
{
return (String)get_Value(COLUMNNAME_A_Asset_UU);
}
public org.compiere.model.I_AD_User getAD_User() throws RuntimeException
{
return (org.compiere.model.I_AD_User)MTable.get(getCtx(), org.compiere.model.I_AD_User.Table_Name)
.getPO(getAD_User_ID(), get_TrxName()); } .getPO(getAD_User_ID(), get_TrxName()); }
/** Set User/Contact. /** Set User/Contact.
@ -190,13 +336,13 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_A_Asset getA_Parent_Asset() throws RuntimeException public org.compiere.model.I_A_Asset getA_Parent_Asset() throws RuntimeException
{ {
return (I_A_Asset)MTable.get(getCtx(), I_A_Asset.Table_Name) return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name)
.getPO(getA_Parent_Asset_ID(), get_TrxName()); } .getPO(getA_Parent_Asset_ID(), get_TrxName()); }
/** Set Asset ID. /** Set Parent Asset.
@param A_Parent_Asset_ID Asset ID */ @param A_Parent_Asset_ID Parent Asset */
public void setA_Parent_Asset_ID (int A_Parent_Asset_ID) public void setA_Parent_Asset_ID (int A_Parent_Asset_ID)
{ {
if (A_Parent_Asset_ID < 1) if (A_Parent_Asset_ID < 1)
@ -205,8 +351,8 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent
set_Value (COLUMNNAME_A_Parent_Asset_ID, Integer.valueOf(A_Parent_Asset_ID)); set_Value (COLUMNNAME_A_Parent_Asset_ID, Integer.valueOf(A_Parent_Asset_ID));
} }
/** Get Asset ID. /** Get Parent Asset.
@return Asset ID */ @return Parent Asset */
public int getA_Parent_Asset_ID () public int getA_Parent_Asset_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Parent_Asset_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Parent_Asset_ID);
@ -215,15 +361,15 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
/** Set Quantity. /** Set Current Qty.
@param A_QTY_Current Quantity */ @param A_QTY_Current Current Qty */
public void setA_QTY_Current (BigDecimal A_QTY_Current) public void setA_QTY_Current (BigDecimal A_QTY_Current)
{ {
set_Value (COLUMNNAME_A_QTY_Current, A_QTY_Current); set_Value (COLUMNNAME_A_QTY_Current, A_QTY_Current);
} }
/** Get Quantity. /** Get Current Qty.
@return Quantity */ @return Current Qty */
public BigDecimal getA_QTY_Current () public BigDecimal getA_QTY_Current ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_QTY_Current); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_QTY_Current);
@ -232,15 +378,15 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent
return bd; return bd;
} }
/** Set Original Qty. /** Set A_QTY_Original.
@param A_QTY_Original Original Qty */ @param A_QTY_Original A_QTY_Original */
public void setA_QTY_Original (BigDecimal A_QTY_Original) public void setA_QTY_Original (BigDecimal A_QTY_Original)
{ {
set_Value (COLUMNNAME_A_QTY_Original, A_QTY_Original); set_Value (COLUMNNAME_A_QTY_Original, A_QTY_Original);
} }
/** Get Original Qty. /** Get A_QTY_Original.
@return Original Qty */ @return A_QTY_Original */
public BigDecimal getA_QTY_Original () public BigDecimal getA_QTY_Original ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_QTY_Original); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_QTY_Original);
@ -249,6 +395,20 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent
return bd; return bd;
} }
/** Set Activation Date.
@param AssetActivationDate Activation Date */
public void setAssetActivationDate (Timestamp AssetActivationDate)
{
set_Value (COLUMNNAME_AssetActivationDate, AssetActivationDate);
}
/** Get Activation Date.
@return Activation Date */
public Timestamp getAssetActivationDate ()
{
return (Timestamp)get_Value(COLUMNNAME_AssetActivationDate);
}
/** Set Asset Depreciation Date. /** Set Asset Depreciation Date.
@param AssetDepreciationDate @param AssetDepreciationDate
Date of last depreciation Date of last depreciation
@ -300,9 +460,37 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent
return (Timestamp)get_Value(COLUMNNAME_AssetServiceDate); return (Timestamp)get_Value(COLUMNNAME_AssetServiceDate);
} }
public I_C_BPartner getC_BPartner() throws RuntimeException public org.compiere.model.I_C_Activity getC_Activity() throws RuntimeException
{ {
return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name) return (org.compiere.model.I_C_Activity)MTable.get(getCtx(), org.compiere.model.I_C_Activity.Table_Name)
.getPO(getC_Activity_ID(), get_TrxName()); }
/** Set Activity.
@param C_Activity_ID
Business Activity
*/
public void setC_Activity_ID (int C_Activity_ID)
{
if (C_Activity_ID < 1)
set_Value (COLUMNNAME_C_Activity_ID, null);
else
set_Value (COLUMNNAME_C_Activity_ID, Integer.valueOf(C_Activity_ID));
}
/** Get Activity.
@return Business Activity
*/
public int getC_Activity_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_Activity_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException
{
return (org.compiere.model.I_C_BPartner)MTable.get(getCtx(), org.compiere.model.I_C_BPartner.Table_Name)
.getPO(getC_BPartner_ID(), get_TrxName()); } .getPO(getC_BPartner_ID(), get_TrxName()); }
/** Set Business Partner . /** Set Business Partner .
@ -328,9 +516,9 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException public org.compiere.model.I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException
{ {
return (I_C_BPartner_Location)MTable.get(getCtx(), I_C_BPartner_Location.Table_Name) return (org.compiere.model.I_C_BPartner_Location)MTable.get(getCtx(), org.compiere.model.I_C_BPartner_Location.Table_Name)
.getPO(getC_BPartner_Location_ID(), get_TrxName()); } .getPO(getC_BPartner_Location_ID(), get_TrxName()); }
/** Set Partner Location. /** Set Partner Location.
@ -356,9 +544,9 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_C_BPartner getC_BPartnerSR() throws RuntimeException public org.compiere.model.I_C_BPartner getC_BPartnerSR() throws RuntimeException
{ {
return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name) return (org.compiere.model.I_C_BPartner)MTable.get(getCtx(), org.compiere.model.I_C_BPartner.Table_Name)
.getPO(getC_BPartnerSR_ID(), get_TrxName()); } .getPO(getC_BPartnerSR_ID(), get_TrxName()); }
/** Set BPartner (Agent). /** Set BPartner (Agent).
@ -412,9 +600,9 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_C_Project getC_Project() throws RuntimeException public org.compiere.model.I_C_Project getC_Project() throws RuntimeException
{ {
return (I_C_Project)MTable.get(getCtx(), I_C_Project.Table_Name) return (org.compiere.model.I_C_Project)MTable.get(getCtx(), org.compiere.model.I_C_Project.Table_Name)
.getPO(getC_Project_ID(), get_TrxName()); } .getPO(getC_Project_ID(), get_TrxName()); }
/** Set Project. /** Set Project.
@ -491,6 +679,20 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent
return (String)get_Value(COLUMNNAME_Help); return (String)get_Value(COLUMNNAME_Help);
} }
/** Set Inventory No.
@param InventoryNo Inventory No */
public void setInventoryNo (String InventoryNo)
{
set_Value (COLUMNNAME_InventoryNo, InventoryNo);
}
/** Get Inventory No.
@return Inventory No */
public String getInventoryNo ()
{
return (String)get_Value(COLUMNNAME_InventoryNo);
}
/** Set Depreciate. /** Set Depreciate.
@param IsDepreciated @param IsDepreciated
The asset will be depreciated The asset will be depreciated
@ -665,9 +867,9 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_C_BPartner getLease_BPartner() throws RuntimeException public org.compiere.model.I_C_BPartner getLease_BPartner() throws RuntimeException
{ {
return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name) return (org.compiere.model.I_C_BPartner)MTable.get(getCtx(), org.compiere.model.I_C_BPartner.Table_Name)
.getPO(getLease_BPartner_ID(), get_TrxName()); } .getPO(getLease_BPartner_ID(), get_TrxName()); }
/** Set Lessor. /** Set Lessor.
@ -764,6 +966,40 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent
return (String)get_Value(COLUMNNAME_Lot); return (String)get_Value(COLUMNNAME_Lot);
} }
/** Set Manufactured Year.
@param ManufacturedYear Manufactured Year */
public void setManufacturedYear (int ManufacturedYear)
{
set_Value (COLUMNNAME_ManufacturedYear, Integer.valueOf(ManufacturedYear));
}
/** Get Manufactured Year.
@return Manufactured Year */
public int getManufacturedYear ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_ManufacturedYear);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Manufacturer.
@param Manufacturer
Manufacturer of the Product
*/
public void setManufacturer (String Manufacturer)
{
set_Value (COLUMNNAME_Manufacturer, Manufacturer);
}
/** Get Manufacturer.
@return Manufacturer of the Product
*/
public String getManufacturer ()
{
return (String)get_Value(COLUMNNAME_Manufacturer);
}
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException
{ {
return (I_M_AttributeSetInstance)MTable.get(getCtx(), I_M_AttributeSetInstance.Table_Name) return (I_M_AttributeSetInstance)MTable.get(getCtx(), I_M_AttributeSetInstance.Table_Name)
@ -792,9 +1028,9 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_M_InOutLine getM_InOutLine() throws RuntimeException public org.compiere.model.I_M_InOutLine getM_InOutLine() throws RuntimeException
{ {
return (I_M_InOutLine)MTable.get(getCtx(), I_M_InOutLine.Table_Name) return (org.compiere.model.I_M_InOutLine)MTable.get(getCtx(), org.compiere.model.I_M_InOutLine.Table_Name)
.getPO(getM_InOutLine_ID(), get_TrxName()); } .getPO(getM_InOutLine_ID(), get_TrxName()); }
/** Set Shipment/Receipt Line. /** Set Shipment/Receipt Line.
@ -848,9 +1084,9 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_M_Product getM_Product() throws RuntimeException public org.compiere.model.I_M_Product getM_Product() throws RuntimeException
{ {
return (I_M_Product)MTable.get(getCtx(), I_M_Product.Table_Name) return (org.compiere.model.I_M_Product)MTable.get(getCtx(), org.compiere.model.I_M_Product.Table_Name)
.getPO(getM_Product_ID(), get_TrxName()); } .getPO(getM_Product_ID(), get_TrxName()); }
/** Set Product. /** Set Product.
@ -860,9 +1096,9 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent
public void setM_Product_ID (int M_Product_ID) public void setM_Product_ID (int M_Product_ID)
{ {
if (M_Product_ID < 1) if (M_Product_ID < 1)
set_ValueNoCheck (COLUMNNAME_M_Product_ID, null); set_Value (COLUMNNAME_M_Product_ID, null);
else else
set_ValueNoCheck (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID)); set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID));
} }
/** Get Product. /** Get Product.
@ -893,25 +1129,17 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent
return (String)get_Value(COLUMNNAME_Name); return (String)get_Value(COLUMNNAME_Name);
} }
/** Get Record ID/ColumnName /** Set Next Maintenence.
@return ID/ColumnName pair
*/
public KeyNamePair getKeyNamePair()
{
return new KeyNamePair(get_ID(), getName());
}
/** Set Next Maintenance.
@param NextMaintenenceDate @param NextMaintenenceDate
Next Maintenance Date Next Maintenence Date
*/ */
public void setNextMaintenenceDate (Timestamp NextMaintenenceDate) public void setNextMaintenenceDate (Timestamp NextMaintenenceDate)
{ {
set_Value (COLUMNNAME_NextMaintenenceDate, NextMaintenenceDate); set_Value (COLUMNNAME_NextMaintenenceDate, NextMaintenenceDate);
} }
/** Get Next Maintenance. /** Get Next Maintenence.
@return Next Maintenance Date @return Next Maintenence Date
*/ */
public Timestamp getNextMaintenenceDate () public Timestamp getNextMaintenenceDate ()
{ {
@ -920,7 +1148,7 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent
/** Set Next Unit. /** Set Next Unit.
@param NextMaintenenceUnit @param NextMaintenenceUnit
Next Maintenance Unit Next Maintenence Unit
*/ */
public void setNextMaintenenceUnit (int NextMaintenenceUnit) public void setNextMaintenenceUnit (int NextMaintenenceUnit)
{ {
@ -928,7 +1156,7 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent
} }
/** Get Next Unit. /** Get Next Unit.
@return Next Maintenance Unit @return Next Maintenence Unit
*/ */
public int getNextMaintenenceUnit () public int getNextMaintenenceUnit ()
{ {
@ -938,6 +1166,30 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
/** Set Processed.
@param Processed
The document has been processed
*/
public void setProcessed (boolean Processed)
{
set_Value (COLUMNNAME_Processed, Boolean.valueOf(Processed));
}
/** Get Processed.
@return The document has been processed
*/
public boolean isProcessed ()
{
Object oo = get_Value(COLUMNNAME_Processed);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Process Now. /** Set Process Now.
@param Processing Process Now */ @param Processing Process Now */
public void setProcessing (boolean Processing) public void setProcessing (boolean Processing)

View File

@ -19,6 +19,7 @@ package org.compiere.model;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.sql.ResultSet; import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Properties; import java.util.Properties;
import org.compiere.util.Env; import org.compiere.util.Env;
import org.compiere.util.KeyNamePair; import org.compiere.util.KeyNamePair;
@ -32,7 +33,7 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Asset_Acct (Properties ctx, int A_Asset_Acct_ID, String trxName) public X_A_Asset_Acct (Properties ctx, int A_Asset_Acct_ID, String trxName)
@ -40,16 +41,26 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
super (ctx, A_Asset_Acct_ID, trxName); super (ctx, A_Asset_Acct_ID, trxName);
/** if (A_Asset_Acct_ID == 0) /** if (A_Asset_Acct_ID == 0)
{ {
setA_Accumdepreciation_Acct (0);
setA_Asset_Acct (0);
setA_Asset_Acct_ID (0); setA_Asset_Acct_ID (0);
setA_Asset_ID (0);
setA_Depreciation_Acct (0);
setA_Depreciation_Conv_F_ID (0);
setA_Depreciation_Conv_ID (0); setA_Depreciation_Conv_ID (0);
setA_Depreciation_F_ID (0);
setA_Depreciation_ID (0); setA_Depreciation_ID (0);
setA_Depreciation_Method_F_ID (0);
setA_Depreciation_Method_ID (0); setA_Depreciation_Method_ID (0);
setA_Disposal_Loss_Acct (0);
setA_Disposal_Revenue_Acct (0);
setA_Period_End (0); setA_Period_End (0);
setA_Period_Start (0); setA_Period_Start (0);
setA_Salvage_Value (Env.ZERO);
setA_Split_Percent (Env.ZERO); setA_Split_Percent (Env.ZERO);
// 1
setC_AcctSchema_ID (0); setC_AcctSchema_ID (0);
setPostingType (null); setPostingType (null);
// 'A'
} */ } */
} }
@ -86,15 +97,15 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Accumdepreciation_Acct(), get_TrxName()); } .getPO(getA_Accumdepreciation_Acct(), get_TrxName()); }
/** Set Accumulated Depreciation. /** Set Accumulated Depreciation Account.
@param A_Accumdepreciation_Acct Accumulated Depreciation */ @param A_Accumdepreciation_Acct Accumulated Depreciation Account */
public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct) public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct)
{ {
set_Value (COLUMNNAME_A_Accumdepreciation_Acct, Integer.valueOf(A_Accumdepreciation_Acct)); set_Value (COLUMNNAME_A_Accumdepreciation_Acct, Integer.valueOf(A_Accumdepreciation_Acct));
} }
/** Get Accumulated Depreciation. /** Get Accumulated Depreciation Account.
@return Accumulated Depreciation */ @return Accumulated Depreciation Account */
public int getA_Accumdepreciation_Acct () public int getA_Accumdepreciation_Acct ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Accumdepreciation_Acct); Integer ii = (Integer)get_Value(COLUMNNAME_A_Accumdepreciation_Acct);
@ -108,15 +119,15 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Asset_Acct(), get_TrxName()); } .getPO(getA_Asset_Acct(), get_TrxName()); }
/** Set Asset Cost Account. /** Set Asset Acct.
@param A_Asset_Acct Asset Cost Account */ @param A_Asset_Acct Asset Acct */
public void setA_Asset_Acct (int A_Asset_Acct) public void setA_Asset_Acct (int A_Asset_Acct)
{ {
set_Value (COLUMNNAME_A_Asset_Acct, Integer.valueOf(A_Asset_Acct)); set_Value (COLUMNNAME_A_Asset_Acct, Integer.valueOf(A_Asset_Acct));
} }
/** Get Asset Cost Account. /** Get Asset Acct.
@return Asset Cost Account */ @return Asset Acct */
public int getA_Asset_Acct () public int getA_Asset_Acct ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct); Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct);
@ -125,8 +136,8 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return ii.intValue(); return ii.intValue();
} }
/** Set Asset Acct.. /** Set A_Asset_Acct_ID.
@param A_Asset_Acct_ID Asset Acct. */ @param A_Asset_Acct_ID A_Asset_Acct_ID */
public void setA_Asset_Acct_ID (int A_Asset_Acct_ID) public void setA_Asset_Acct_ID (int A_Asset_Acct_ID)
{ {
if (A_Asset_Acct_ID < 1) if (A_Asset_Acct_ID < 1)
@ -135,8 +146,8 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
set_ValueNoCheck (COLUMNNAME_A_Asset_Acct_ID, Integer.valueOf(A_Asset_Acct_ID)); set_ValueNoCheck (COLUMNNAME_A_Asset_Acct_ID, Integer.valueOf(A_Asset_Acct_ID));
} }
/** Get Asset Acct.. /** Get A_Asset_Acct_ID.
@return Asset Acct. */ @return A_Asset_Acct_ID */
public int getA_Asset_Acct_ID () public int getA_Asset_Acct_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct_ID);
@ -153,6 +164,25 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Acct_ID())); return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Acct_ID()));
} }
/** Set A_Asset_Acct_UU.
@param A_Asset_Acct_UU A_Asset_Acct_UU */
public void setA_Asset_Acct_UU (String A_Asset_Acct_UU)
{
set_Value (COLUMNNAME_A_Asset_Acct_UU, A_Asset_Acct_UU);
}
/** Get A_Asset_Acct_UU.
@return A_Asset_Acct_UU */
public String getA_Asset_Acct_UU ()
{
return (String)get_Value(COLUMNNAME_A_Asset_Acct_UU);
}
public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException
{
return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name)
.getPO(getA_Asset_ID(), get_TrxName()); }
/** Set Asset. /** Set Asset.
@param A_Asset_ID @param A_Asset_ID
Asset used internally or by customers Asset used internally or by customers
@ -176,13 +206,13 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_A_Asset_Spread getA_Asset_Spread() throws RuntimeException public org.compiere.model.I_A_Asset_Spread getA_Asset_Spread() throws RuntimeException
{ {
return (I_A_Asset_Spread)MTable.get(getCtx(), I_A_Asset_Spread.Table_Name) return (org.compiere.model.I_A_Asset_Spread)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Spread.Table_Name)
.getPO(getA_Asset_Spread_ID(), get_TrxName()); } .getPO(getA_Asset_Spread_ID(), get_TrxName()); }
/** Set Asset Spread. /** Set A_Asset_Spread_ID.
@param A_Asset_Spread_ID Asset Spread */ @param A_Asset_Spread_ID A_Asset_Spread_ID */
public void setA_Asset_Spread_ID (int A_Asset_Spread_ID) public void setA_Asset_Spread_ID (int A_Asset_Spread_ID)
{ {
if (A_Asset_Spread_ID < 1) if (A_Asset_Spread_ID < 1)
@ -191,8 +221,8 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
set_Value (COLUMNNAME_A_Asset_Spread_ID, Integer.valueOf(A_Asset_Spread_ID)); set_Value (COLUMNNAME_A_Asset_Spread_ID, Integer.valueOf(A_Asset_Spread_ID));
} }
/** Get Asset Spread. /** Get A_Asset_Spread_ID.
@return Asset Spread */ @return A_Asset_Spread_ID */
public int getA_Asset_Spread_ID () public int getA_Asset_Spread_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Spread_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Spread_ID);
@ -206,15 +236,15 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Depreciation_Acct(), get_TrxName()); } .getPO(getA_Depreciation_Acct(), get_TrxName()); }
/** Set Depreciation Expense Account. /** Set Depreciation Account.
@param A_Depreciation_Acct Depreciation Expense Account */ @param A_Depreciation_Acct Depreciation Account */
public void setA_Depreciation_Acct (int A_Depreciation_Acct) public void setA_Depreciation_Acct (int A_Depreciation_Acct)
{ {
set_Value (COLUMNNAME_A_Depreciation_Acct, Integer.valueOf(A_Depreciation_Acct)); set_Value (COLUMNNAME_A_Depreciation_Acct, Integer.valueOf(A_Depreciation_Acct));
} }
/** Get Depreciation Expense Account. /** Get Depreciation Account.
@return Depreciation Expense Account */ @return Depreciation Account */
public int getA_Depreciation_Acct () public int getA_Depreciation_Acct ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Acct); Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Acct);
@ -223,9 +253,34 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_A_Depreciation_Convention getA_Depreciation_Conv() throws RuntimeException public org.compiere.model.I_A_Depreciation_Convention getA_Depreciation_Conv_F() throws RuntimeException
{ {
return (I_A_Depreciation_Convention)MTable.get(getCtx(), I_A_Depreciation_Convention.Table_Name) return (org.compiere.model.I_A_Depreciation_Convention)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Convention.Table_Name)
.getPO(getA_Depreciation_Conv_F_ID(), get_TrxName()); }
/** Set Depreciation Convention (fiscal).
@param A_Depreciation_Conv_F_ID Depreciation Convention (fiscal) */
public void setA_Depreciation_Conv_F_ID (int A_Depreciation_Conv_F_ID)
{
if (A_Depreciation_Conv_F_ID < 1)
set_Value (COLUMNNAME_A_Depreciation_Conv_F_ID, null);
else
set_Value (COLUMNNAME_A_Depreciation_Conv_F_ID, Integer.valueOf(A_Depreciation_Conv_F_ID));
}
/** Get Depreciation Convention (fiscal).
@return Depreciation Convention (fiscal) */
public int getA_Depreciation_Conv_F_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Conv_F_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.compiere.model.I_A_Depreciation_Convention getA_Depreciation_Conv() throws RuntimeException
{
return (org.compiere.model.I_A_Depreciation_Convention)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Convention.Table_Name)
.getPO(getA_Depreciation_Conv_ID(), get_TrxName()); } .getPO(getA_Depreciation_Conv_ID(), get_TrxName()); }
/** Set Convention Type. /** Set Convention Type.
@ -248,13 +303,38 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_A_Depreciation getA_Depreciation() throws RuntimeException public org.compiere.model.I_A_Depreciation getA_Depreciation_F() throws RuntimeException
{ {
return (I_A_Depreciation)MTable.get(getCtx(), I_A_Depreciation.Table_Name) return (org.compiere.model.I_A_Depreciation)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation.Table_Name)
.getPO(getA_Depreciation_F_ID(), get_TrxName()); }
/** Set Depreciation (fiscal).
@param A_Depreciation_F_ID Depreciation (fiscal) */
public void setA_Depreciation_F_ID (int A_Depreciation_F_ID)
{
if (A_Depreciation_F_ID < 1)
set_Value (COLUMNNAME_A_Depreciation_F_ID, null);
else
set_Value (COLUMNNAME_A_Depreciation_F_ID, Integer.valueOf(A_Depreciation_F_ID));
}
/** Get Depreciation (fiscal).
@return Depreciation (fiscal) */
public int getA_Depreciation_F_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_F_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.compiere.model.I_A_Depreciation getA_Depreciation() throws RuntimeException
{
return (org.compiere.model.I_A_Depreciation)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation.Table_Name)
.getPO(getA_Depreciation_ID(), get_TrxName()); } .getPO(getA_Depreciation_ID(), get_TrxName()); }
/** Set Depreciation Type. /** Set Depreciation.
@param A_Depreciation_ID Depreciation Type */ @param A_Depreciation_ID Depreciation */
public void setA_Depreciation_ID (int A_Depreciation_ID) public void setA_Depreciation_ID (int A_Depreciation_ID)
{ {
if (A_Depreciation_ID < 1) if (A_Depreciation_ID < 1)
@ -263,8 +343,8 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
set_Value (COLUMNNAME_A_Depreciation_ID, Integer.valueOf(A_Depreciation_ID)); set_Value (COLUMNNAME_A_Depreciation_ID, Integer.valueOf(A_Depreciation_ID));
} }
/** Get Depreciation Type. /** Get Depreciation.
@return Depreciation Type */ @return Depreciation */
public int getA_Depreciation_ID () public int getA_Depreciation_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_ID);
@ -273,15 +353,15 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return ii.intValue(); return ii.intValue();
} }
/** Set Depreciation Manual Amount. /** Set A_Depreciation_Manual_Amount.
@param A_Depreciation_Manual_Amount Depreciation Manual Amount */ @param A_Depreciation_Manual_Amount A_Depreciation_Manual_Amount */
public void setA_Depreciation_Manual_Amount (BigDecimal A_Depreciation_Manual_Amount) public void setA_Depreciation_Manual_Amount (BigDecimal A_Depreciation_Manual_Amount)
{ {
set_Value (COLUMNNAME_A_Depreciation_Manual_Amount, A_Depreciation_Manual_Amount); set_Value (COLUMNNAME_A_Depreciation_Manual_Amount, A_Depreciation_Manual_Amount);
} }
/** Get Depreciation Manual Amount. /** Get A_Depreciation_Manual_Amount.
@return Depreciation Manual Amount */ @return A_Depreciation_Manual_Amount */
public BigDecimal getA_Depreciation_Manual_Amount () public BigDecimal getA_Depreciation_Manual_Amount ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Manual_Amount); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Manual_Amount);
@ -296,28 +376,53 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
public static final String A_DEPRECIATION_MANUAL_PERIOD_Period = "PR"; public static final String A_DEPRECIATION_MANUAL_PERIOD_Period = "PR";
/** Yearly = YR */ /** Yearly = YR */
public static final String A_DEPRECIATION_MANUAL_PERIOD_Yearly = "YR"; public static final String A_DEPRECIATION_MANUAL_PERIOD_Yearly = "YR";
/** Set Depreciation Manual Period. /** Set A_Depreciation_Manual_Period.
@param A_Depreciation_Manual_Period Depreciation Manual Period */ @param A_Depreciation_Manual_Period A_Depreciation_Manual_Period */
public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period) public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period)
{ {
set_Value (COLUMNNAME_A_Depreciation_Manual_Period, A_Depreciation_Manual_Period); set_Value (COLUMNNAME_A_Depreciation_Manual_Period, A_Depreciation_Manual_Period);
} }
/** Get Depreciation Manual Period. /** Get A_Depreciation_Manual_Period.
@return Depreciation Manual Period */ @return A_Depreciation_Manual_Period */
public String getA_Depreciation_Manual_Period () public String getA_Depreciation_Manual_Period ()
{ {
return (String)get_Value(COLUMNNAME_A_Depreciation_Manual_Period); return (String)get_Value(COLUMNNAME_A_Depreciation_Manual_Period);
} }
public I_A_Depreciation_Method getA_Depreciation_Method() throws RuntimeException public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Method_F() throws RuntimeException
{ {
return (I_A_Depreciation_Method)MTable.get(getCtx(), I_A_Depreciation_Method.Table_Name) return (org.compiere.model.I_A_Depreciation_Method)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Method.Table_Name)
.getPO(getA_Depreciation_Method_F_ID(), get_TrxName()); }
/** Set Depreciation Method (fiscal).
@param A_Depreciation_Method_F_ID Depreciation Method (fiscal) */
public void setA_Depreciation_Method_F_ID (int A_Depreciation_Method_F_ID)
{
if (A_Depreciation_Method_F_ID < 1)
set_Value (COLUMNNAME_A_Depreciation_Method_F_ID, null);
else
set_Value (COLUMNNAME_A_Depreciation_Method_F_ID, Integer.valueOf(A_Depreciation_Method_F_ID));
}
/** Get Depreciation Method (fiscal).
@return Depreciation Method (fiscal) */
public int getA_Depreciation_Method_F_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Method_F_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Method() throws RuntimeException
{
return (org.compiere.model.I_A_Depreciation_Method)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Method.Table_Name)
.getPO(getA_Depreciation_Method_ID(), get_TrxName()); } .getPO(getA_Depreciation_Method_ID(), get_TrxName()); }
/** Set Depreciation Calculation Type. /** Set Depreciation Method.
@param A_Depreciation_Method_ID Depreciation Calculation Type */ @param A_Depreciation_Method_ID Depreciation Method */
public void setA_Depreciation_Method_ID (int A_Depreciation_Method_ID) public void setA_Depreciation_Method_ID (int A_Depreciation_Method_ID)
{ {
if (A_Depreciation_Method_ID < 1) if (A_Depreciation_Method_ID < 1)
@ -326,8 +431,8 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
set_Value (COLUMNNAME_A_Depreciation_Method_ID, Integer.valueOf(A_Depreciation_Method_ID)); set_Value (COLUMNNAME_A_Depreciation_Method_ID, Integer.valueOf(A_Depreciation_Method_ID));
} }
/** Get Depreciation Calculation Type. /** Get Depreciation Method.
@return Depreciation Calculation Type */ @return Depreciation Method */
public int getA_Depreciation_Method_ID () public int getA_Depreciation_Method_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Method_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Method_ID);
@ -336,13 +441,13 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException public org.compiere.model.I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException
{ {
return (I_A_Depreciation_Table_Header)MTable.get(getCtx(), I_A_Depreciation_Table_Header.Table_Name) return (org.compiere.model.I_A_Depreciation_Table_Header)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Table_Header.Table_Name)
.getPO(getA_Depreciation_Table_Header_ID(), get_TrxName()); } .getPO(getA_Depreciation_Table_Header_ID(), get_TrxName()); }
/** Set Depreciation Table Header. /** Set A_Depreciation_Table_Header_ID.
@param A_Depreciation_Table_Header_ID Depreciation Table Header */ @param A_Depreciation_Table_Header_ID A_Depreciation_Table_Header_ID */
public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID) public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID)
{ {
if (A_Depreciation_Table_Header_ID < 1) if (A_Depreciation_Table_Header_ID < 1)
@ -351,8 +456,8 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
set_Value (COLUMNNAME_A_Depreciation_Table_Header_ID, Integer.valueOf(A_Depreciation_Table_Header_ID)); set_Value (COLUMNNAME_A_Depreciation_Table_Header_ID, Integer.valueOf(A_Depreciation_Table_Header_ID));
} }
/** Get Depreciation Table Header. /** Get A_Depreciation_Table_Header_ID.
@return Depreciation Table Header */ @return A_Depreciation_Table_Header_ID */
public int getA_Depreciation_Table_Header_ID () public int getA_Depreciation_Table_Header_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Table_Header_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Table_Header_ID);
@ -361,15 +466,15 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return ii.intValue(); return ii.intValue();
} }
/** Set Depreciation Variable Perc.. /** Set Variable Percent.
@param A_Depreciation_Variable_Perc Depreciation Variable Perc. */ @param A_Depreciation_Variable_Perc Variable Percent */
public void setA_Depreciation_Variable_Perc (BigDecimal A_Depreciation_Variable_Perc) public void setA_Depreciation_Variable_Perc (BigDecimal A_Depreciation_Variable_Perc)
{ {
set_Value (COLUMNNAME_A_Depreciation_Variable_Perc, A_Depreciation_Variable_Perc); set_Value (COLUMNNAME_A_Depreciation_Variable_Perc, A_Depreciation_Variable_Perc);
} }
/** Get Depreciation Variable Perc.. /** Get Variable Percent.
@return Depreciation Variable Perc. */ @return Variable Percent */
public BigDecimal getA_Depreciation_Variable_Perc () public BigDecimal getA_Depreciation_Variable_Perc ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Variable_Perc); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Variable_Perc);
@ -378,6 +483,23 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return bd; return bd;
} }
/** Set Variable Percent (fiscal).
@param A_Depreciation_Variable_Perc_F Variable Percent (fiscal) */
public void setA_Depreciation_Variable_Perc_F (BigDecimal A_Depreciation_Variable_Perc_F)
{
set_Value (COLUMNNAME_A_Depreciation_Variable_Perc_F, A_Depreciation_Variable_Perc_F);
}
/** Get Variable Percent (fiscal).
@return Variable Percent (fiscal) */
public BigDecimal getA_Depreciation_Variable_Perc_F ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Variable_Perc_F);
if (bd == null)
return Env.ZERO;
return bd;
}
public I_C_ValidCombination getA_Disposal_G() throws RuntimeException public I_C_ValidCombination getA_Disposal_G() throws RuntimeException
{ {
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
@ -400,6 +522,28 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_C_ValidCombination getA_Disposal_Gain_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Disposal_Gain_Acct(), get_TrxName()); }
/** Set Disposal Gain Acct.
@param A_Disposal_Gain_Acct Disposal Gain Acct */
public void setA_Disposal_Gain_Acct (int A_Disposal_Gain_Acct)
{
set_Value (COLUMNNAME_A_Disposal_Gain_Acct, Integer.valueOf(A_Disposal_Gain_Acct));
}
/** Get Disposal Gain Acct.
@return Disposal Gain Acct */
public int getA_Disposal_Gain_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Gain_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Disposal_L() throws RuntimeException public I_C_ValidCombination getA_Disposal_L() throws RuntimeException
{ {
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
@ -422,6 +566,28 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_C_ValidCombination getA_Disposal_Loss_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Disposal_Loss_Acct(), get_TrxName()); }
/** Set Disposal Loss Acct.
@param A_Disposal_Loss_Acct Disposal Loss Acct */
public void setA_Disposal_Loss_Acct (int A_Disposal_Loss_Acct)
{
set_Value (COLUMNNAME_A_Disposal_Loss_Acct, Integer.valueOf(A_Disposal_Loss_Acct));
}
/** Get Disposal Loss Acct.
@return Disposal Loss Acct */
public int getA_Disposal_Loss_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Loss_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Disposal_Reve() throws RuntimeException public I_C_ValidCombination getA_Disposal_Reve() throws RuntimeException
{ {
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
@ -444,15 +610,37 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return ii.intValue(); return ii.intValue();
} }
/** Set Period End. public I_C_ValidCombination getA_Disposal_Revenue_A() throws RuntimeException
@param A_Period_End Period End */ {
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Disposal_Revenue_Acct(), get_TrxName()); }
/** Set Disposal Revenue Acct.
@param A_Disposal_Revenue_Acct Disposal Revenue Acct */
public void setA_Disposal_Revenue_Acct (int A_Disposal_Revenue_Acct)
{
set_Value (COLUMNNAME_A_Disposal_Revenue_Acct, Integer.valueOf(A_Disposal_Revenue_Acct));
}
/** Get Disposal Revenue Acct.
@return Disposal Revenue Acct */
public int getA_Disposal_Revenue_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Revenue_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set A_Period_End.
@param A_Period_End A_Period_End */
public void setA_Period_End (int A_Period_End) public void setA_Period_End (int A_Period_End)
{ {
set_Value (COLUMNNAME_A_Period_End, Integer.valueOf(A_Period_End)); set_Value (COLUMNNAME_A_Period_End, Integer.valueOf(A_Period_End));
} }
/** Get Period End. /** Get A_Period_End.
@return Period End */ @return A_Period_End */
public int getA_Period_End () public int getA_Period_End ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_End); Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_End);
@ -461,15 +649,15 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return ii.intValue(); return ii.intValue();
} }
/** Set Period Start. /** Set A_Period_Start.
@param A_Period_Start Period Start */ @param A_Period_Start A_Period_Start */
public void setA_Period_Start (int A_Period_Start) public void setA_Period_Start (int A_Period_Start)
{ {
set_Value (COLUMNNAME_A_Period_Start, Integer.valueOf(A_Period_Start)); set_Value (COLUMNNAME_A_Period_Start, Integer.valueOf(A_Period_Start));
} }
/** Get Period Start. /** Get A_Period_Start.
@return Period Start */ @return A_Period_Start */
public int getA_Period_Start () public int getA_Period_Start ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_Start); Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_Start);
@ -522,6 +710,50 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_C_ValidCombination getA_Reval_Adep_Offset_Cur_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Reval_Adep_Offset_Cur_Acct(), get_TrxName()); }
/** Set A_Reval_Accumdep_Offset_Cur.
@param A_Reval_Adep_Offset_Cur_Acct A_Reval_Accumdep_Offset_Cur */
public void setA_Reval_Adep_Offset_Cur_Acct (int A_Reval_Adep_Offset_Cur_Acct)
{
set_Value (COLUMNNAME_A_Reval_Adep_Offset_Cur_Acct, Integer.valueOf(A_Reval_Adep_Offset_Cur_Acct));
}
/** Get A_Reval_Accumdep_Offset_Cur.
@return A_Reval_Accumdep_Offset_Cur */
public int getA_Reval_Adep_Offset_Cur_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Adep_Offset_Cur_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Reval_Adep_Offset_Prior_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Reval_Adep_Offset_Prior_Acct(), get_TrxName()); }
/** Set A_Reval_Accumdep_Offset_Prior.
@param A_Reval_Adep_Offset_Prior_Acct A_Reval_Accumdep_Offset_Prior */
public void setA_Reval_Adep_Offset_Prior_Acct (int A_Reval_Adep_Offset_Prior_Acct)
{
set_Value (COLUMNNAME_A_Reval_Adep_Offset_Prior_Acct, Integer.valueOf(A_Reval_Adep_Offset_Prior_Acct));
}
/** Get A_Reval_Accumdep_Offset_Prior.
@return A_Reval_Accumdep_Offset_Prior */
public int getA_Reval_Adep_Offset_Prior_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Adep_Offset_Prior_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
/** A_Reval_Cal_Method AD_Reference_ID=53259 */ /** A_Reval_Cal_Method AD_Reference_ID=53259 */
public static final int A_REVAL_CAL_METHOD_AD_Reference_ID=53259; public static final int A_REVAL_CAL_METHOD_AD_Reference_ID=53259;
/** Default = DFT */ /** Default = DFT */
@ -530,16 +762,16 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
public static final String A_REVAL_CAL_METHOD_InceptionToDate = "IDF"; public static final String A_REVAL_CAL_METHOD_InceptionToDate = "IDF";
/** Year Balances = YBF */ /** Year Balances = YBF */
public static final String A_REVAL_CAL_METHOD_YearBalances = "YBF"; public static final String A_REVAL_CAL_METHOD_YearBalances = "YBF";
/** Set Revaluation Calculation Method. /** Set A_Reval_Cal_Method.
@param A_Reval_Cal_Method Revaluation Calculation Method */ @param A_Reval_Cal_Method A_Reval_Cal_Method */
public void setA_Reval_Cal_Method (String A_Reval_Cal_Method) public void setA_Reval_Cal_Method (String A_Reval_Cal_Method)
{ {
set_Value (COLUMNNAME_A_Reval_Cal_Method, A_Reval_Cal_Method); set_Value (COLUMNNAME_A_Reval_Cal_Method, A_Reval_Cal_Method);
} }
/** Get Revaluation Calculation Method. /** Get A_Reval_Cal_Method.
@return Revaluation Calculation Method */ @return A_Reval_Cal_Method */
public String getA_Reval_Cal_Method () public String getA_Reval_Cal_Method ()
{ {
return (String)get_Value(COLUMNNAME_A_Reval_Cal_Method); return (String)get_Value(COLUMNNAME_A_Reval_Cal_Method);
@ -567,6 +799,28 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_C_ValidCombination getA_Reval_Cost_Offset_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Reval_Cost_Offset_Acct(), get_TrxName()); }
/** Set Reval Cost Offset Acct.
@param A_Reval_Cost_Offset_Acct Reval Cost Offset Acct */
public void setA_Reval_Cost_Offset_Acct (int A_Reval_Cost_Offset_Acct)
{
set_Value (COLUMNNAME_A_Reval_Cost_Offset_Acct, Integer.valueOf(A_Reval_Cost_Offset_Acct));
}
/** Get Reval Cost Offset Acct.
@return Reval Cost Offset Acct */
public int getA_Reval_Cost_Offset_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Cost_Offset_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Reval_Cost_Offset_Pr() throws RuntimeException public I_C_ValidCombination getA_Reval_Cost_Offset_Pr() throws RuntimeException
{ {
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
@ -589,6 +843,28 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_C_ValidCombination getA_Reval_Cost_Offset_Prior_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Reval_Cost_Offset_Prior_Acct(), get_TrxName()); }
/** Set Reval Cost Offset Prior Acct.
@param A_Reval_Cost_Offset_Prior_Acct Reval Cost Offset Prior Acct */
public void setA_Reval_Cost_Offset_Prior_Acct (int A_Reval_Cost_Offset_Prior_Acct)
{
set_Value (COLUMNNAME_A_Reval_Cost_Offset_Prior_Acct, Integer.valueOf(A_Reval_Cost_Offset_Prior_Acct));
}
/** Get Reval Cost Offset Prior Acct.
@return Reval Cost Offset Prior Acct */
public int getA_Reval_Cost_Offset_Prior_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Cost_Offset_Prior_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Reval_Depexp_Off() throws RuntimeException public I_C_ValidCombination getA_Reval_Depexp_Off() throws RuntimeException
{ {
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
@ -611,15 +887,37 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return ii.intValue(); return ii.intValue();
} }
/** Set Salvage Value. public I_C_ValidCombination getA_Reval_Depexp_Offset_A() throws RuntimeException
@param A_Salvage_Value Salvage Value */ {
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Reval_Depexp_Offset_Acct(), get_TrxName()); }
/** Set Reval Depexp Offset Acct.
@param A_Reval_Depexp_Offset_Acct Reval Depexp Offset Acct */
public void setA_Reval_Depexp_Offset_Acct (int A_Reval_Depexp_Offset_Acct)
{
set_Value (COLUMNNAME_A_Reval_Depexp_Offset_Acct, Integer.valueOf(A_Reval_Depexp_Offset_Acct));
}
/** Get Reval Depexp Offset Acct.
@return Reval Depexp Offset Acct */
public int getA_Reval_Depexp_Offset_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Depexp_Offset_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Asset Salvage Value.
@param A_Salvage_Value Asset Salvage Value */
public void setA_Salvage_Value (BigDecimal A_Salvage_Value) public void setA_Salvage_Value (BigDecimal A_Salvage_Value)
{ {
set_Value (COLUMNNAME_A_Salvage_Value, A_Salvage_Value); set_Value (COLUMNNAME_A_Salvage_Value, A_Salvage_Value);
} }
/** Get Salvage Value. /** Get Asset Salvage Value.
@return Salvage Value */ @return Asset Salvage Value */
public BigDecimal getA_Salvage_Value () public BigDecimal getA_Salvage_Value ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Salvage_Value); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Salvage_Value);
@ -628,15 +926,15 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return bd; return bd;
} }
/** Set Split Percentage. /** Set Split Percent.
@param A_Split_Percent Split Percentage */ @param A_Split_Percent Split Percent */
public void setA_Split_Percent (BigDecimal A_Split_Percent) public void setA_Split_Percent (BigDecimal A_Split_Percent)
{ {
set_Value (COLUMNNAME_A_Split_Percent, A_Split_Percent); set_Value (COLUMNNAME_A_Split_Percent, A_Split_Percent);
} }
/** Get Split Percentage. /** Get Split Percent.
@return Split Percentage */ @return Split Percent */
public BigDecimal getA_Split_Percent () public BigDecimal getA_Split_Percent ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Split_Percent); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Split_Percent);
@ -645,9 +943,9 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return bd; return bd;
} }
public I_C_AcctSchema getC_AcctSchema() throws RuntimeException public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException
{ {
return (I_C_AcctSchema)MTable.get(getCtx(), I_C_AcctSchema.Table_Name) return (org.compiere.model.I_C_AcctSchema)MTable.get(getCtx(), org.compiere.model.I_C_AcctSchema.Table_Name)
.getPO(getC_AcctSchema_ID(), get_TrxName()); } .getPO(getC_AcctSchema_ID(), get_TrxName()); }
/** Set Accounting Schema. /** Set Accounting Schema.
@ -723,4 +1021,21 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
} }
return false; return false;
} }
/** Set Valid from.
@param ValidFrom
Valid from including this date (first day)
*/
public void setValidFrom (Timestamp ValidFrom)
{
set_ValueNoCheck (COLUMNNAME_ValidFrom, ValidFrom);
}
/** Get Valid from.
@return Valid from including this date (first day)
*/
public Timestamp getValidFrom ()
{
return (Timestamp)get_Value(COLUMNNAME_ValidFrom);
}
} }

View File

@ -33,7 +33,7 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Asset_Change (Properties ctx, int A_Asset_Change_ID, String trxName) public X_A_Asset_Change (Properties ctx, int A_Asset_Change_ID, String trxName)
@ -43,6 +43,7 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
{ {
setA_Asset_Change_ID (0); setA_Asset_Change_ID (0);
setA_Asset_ID (0); setA_Asset_ID (0);
setAssetValueAmt (Env.ZERO);
setChangeType (null); setChangeType (null);
setTextDetails (null); setTextDetails (null);
} */ } */
@ -81,15 +82,15 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Accumdepreciation_Acct(), get_TrxName()); } .getPO(getA_Accumdepreciation_Acct(), get_TrxName()); }
/** Set Accumulated Depreciation. /** Set Accumulated Depreciation Account.
@param A_Accumdepreciation_Acct Accumulated Depreciation */ @param A_Accumdepreciation_Acct Accumulated Depreciation Account */
public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct) public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct)
{ {
set_Value (COLUMNNAME_A_Accumdepreciation_Acct, Integer.valueOf(A_Accumdepreciation_Acct)); set_Value (COLUMNNAME_A_Accumdepreciation_Acct, Integer.valueOf(A_Accumdepreciation_Acct));
} }
/** Get Accumulated Depreciation. /** Get Accumulated Depreciation Account.
@return Accumulated Depreciation */ @return Accumulated Depreciation Account */
public int getA_Accumdepreciation_Acct () public int getA_Accumdepreciation_Acct ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Accumdepreciation_Acct); Integer ii = (Integer)get_Value(COLUMNNAME_A_Accumdepreciation_Acct);
@ -103,15 +104,15 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Asset_Acct(), get_TrxName()); } .getPO(getA_Asset_Acct(), get_TrxName()); }
/** Set Asset Cost Account. /** Set Asset Acct.
@param A_Asset_Acct Asset Cost Account */ @param A_Asset_Acct Asset Acct */
public void setA_Asset_Acct (int A_Asset_Acct) public void setA_Asset_Acct (int A_Asset_Acct)
{ {
set_Value (COLUMNNAME_A_Asset_Acct, Integer.valueOf(A_Asset_Acct)); set_Value (COLUMNNAME_A_Asset_Acct, Integer.valueOf(A_Asset_Acct));
} }
/** Get Asset Cost Account. /** Get Asset Acct.
@return Asset Cost Account */ @return Asset Acct */
public int getA_Asset_Acct () public int getA_Asset_Acct ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct); Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct);
@ -120,8 +121,8 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return ii.intValue(); return ii.intValue();
} }
/** Set Asset Acct.. /** Set A_Asset_Acct_ID.
@param A_Asset_Acct_ID Asset Acct. */ @param A_Asset_Acct_ID A_Asset_Acct_ID */
public void setA_Asset_Acct_ID (int A_Asset_Acct_ID) public void setA_Asset_Acct_ID (int A_Asset_Acct_ID)
{ {
if (A_Asset_Acct_ID < 1) if (A_Asset_Acct_ID < 1)
@ -130,8 +131,8 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
set_Value (COLUMNNAME_A_Asset_Acct_ID, Integer.valueOf(A_Asset_Acct_ID)); set_Value (COLUMNNAME_A_Asset_Acct_ID, Integer.valueOf(A_Asset_Acct_ID));
} }
/** Get Asset Acct.. /** Get A_Asset_Acct_ID.
@return Asset Acct. */ @return A_Asset_Acct_ID */
public int getA_Asset_Acct_ID () public int getA_Asset_Acct_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct_ID);
@ -160,8 +161,8 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return ii.intValue(); return ii.intValue();
} }
/** Set Asset Change. /** Set A_Asset_Change_ID.
@param A_Asset_Change_ID Asset Change */ @param A_Asset_Change_ID A_Asset_Change_ID */
public void setA_Asset_Change_ID (int A_Asset_Change_ID) public void setA_Asset_Change_ID (int A_Asset_Change_ID)
{ {
if (A_Asset_Change_ID < 1) if (A_Asset_Change_ID < 1)
@ -170,8 +171,8 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
set_ValueNoCheck (COLUMNNAME_A_Asset_Change_ID, Integer.valueOf(A_Asset_Change_ID)); set_ValueNoCheck (COLUMNNAME_A_Asset_Change_ID, Integer.valueOf(A_Asset_Change_ID));
} }
/** Get Asset Change. /** Get A_Asset_Change_ID.
@return Asset Change */ @return A_Asset_Change_ID */
public int getA_Asset_Change_ID () public int getA_Asset_Change_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Change_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Change_ID);
@ -188,23 +189,37 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Change_ID())); return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Change_ID()));
} }
/** Set Asset Creation Date. /** Set A_Asset_Change_UU.
@param A_Asset_CreateDate Asset Creation Date */ @param A_Asset_Change_UU A_Asset_Change_UU */
public void setA_Asset_Change_UU (String A_Asset_Change_UU)
{
set_Value (COLUMNNAME_A_Asset_Change_UU, A_Asset_Change_UU);
}
/** Get A_Asset_Change_UU.
@return A_Asset_Change_UU */
public String getA_Asset_Change_UU ()
{
return (String)get_Value(COLUMNNAME_A_Asset_Change_UU);
}
/** Set Create Date.
@param A_Asset_CreateDate Create Date */
public void setA_Asset_CreateDate (Timestamp A_Asset_CreateDate) public void setA_Asset_CreateDate (Timestamp A_Asset_CreateDate)
{ {
set_Value (COLUMNNAME_A_Asset_CreateDate, A_Asset_CreateDate); set_Value (COLUMNNAME_A_Asset_CreateDate, A_Asset_CreateDate);
} }
/** Get Asset Creation Date. /** Get Create Date.
@return Asset Creation Date */ @return Create Date */
public Timestamp getA_Asset_CreateDate () public Timestamp getA_Asset_CreateDate ()
{ {
return (Timestamp)get_Value(COLUMNNAME_A_Asset_CreateDate); return (Timestamp)get_Value(COLUMNNAME_A_Asset_CreateDate);
} }
public I_A_Asset getA_Asset() throws RuntimeException public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException
{ {
return (I_A_Asset)MTable.get(getCtx(), I_A_Asset.Table_Name) return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name)
.getPO(getA_Asset_ID(), get_TrxName()); } .getPO(getA_Asset_ID(), get_TrxName()); }
/** Set Asset. /** Set Asset.
@ -253,34 +268,34 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return ii.intValue(); return ii.intValue();
} }
/** Set Asset Reval. Date. /** Set Revaluation Date.
@param A_Asset_RevalDate Asset Reval. Date */ @param A_Asset_RevalDate Revaluation Date */
public void setA_Asset_RevalDate (Timestamp A_Asset_RevalDate) public void setA_Asset_RevalDate (Timestamp A_Asset_RevalDate)
{ {
set_Value (COLUMNNAME_A_Asset_RevalDate, A_Asset_RevalDate); set_Value (COLUMNNAME_A_Asset_RevalDate, A_Asset_RevalDate);
} }
/** Get Asset Reval. Date. /** Get Revaluation Date.
@return Asset Reval. Date */ @return Revaluation Date */
public Timestamp getA_Asset_RevalDate () public Timestamp getA_Asset_RevalDate ()
{ {
return (Timestamp)get_Value(COLUMNNAME_A_Asset_RevalDate); return (Timestamp)get_Value(COLUMNNAME_A_Asset_RevalDate);
} }
public I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException public org.compiere.model.I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException
{ {
return (I_A_Asset_Spread)MTable.get(getCtx(), I_A_Asset_Spread.Table_Name) return (org.compiere.model.I_A_Asset_Spread)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Spread.Table_Name)
.getPO(getA_Asset_Spread_Type(), get_TrxName()); } .getPO(getA_Asset_Spread_Type(), get_TrxName()); }
/** Set Asset Spread Type. /** Set Spread Type.
@param A_Asset_Spread_Type Asset Spread Type */ @param A_Asset_Spread_Type Spread Type */
public void setA_Asset_Spread_Type (int A_Asset_Spread_Type) public void setA_Asset_Spread_Type (int A_Asset_Spread_Type)
{ {
set_Value (COLUMNNAME_A_Asset_Spread_Type, Integer.valueOf(A_Asset_Spread_Type)); set_Value (COLUMNNAME_A_Asset_Spread_Type, Integer.valueOf(A_Asset_Spread_Type));
} }
/** Get Asset Spread Type. /** Get Spread Type.
@return Asset Spread Type */ @return Spread Type */
public int getA_Asset_Spread_Type () public int getA_Asset_Spread_Type ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Spread_Type); Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Spread_Type);
@ -294,15 +309,15 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Depreciation_Acct(), get_TrxName()); } .getPO(getA_Depreciation_Acct(), get_TrxName()); }
/** Set Depreciation Expense Account. /** Set Depreciation Account.
@param A_Depreciation_Acct Depreciation Expense Account */ @param A_Depreciation_Acct Depreciation Account */
public void setA_Depreciation_Acct (int A_Depreciation_Acct) public void setA_Depreciation_Acct (int A_Depreciation_Acct)
{ {
set_Value (COLUMNNAME_A_Depreciation_Acct, Integer.valueOf(A_Depreciation_Acct)); set_Value (COLUMNNAME_A_Depreciation_Acct, Integer.valueOf(A_Depreciation_Acct));
} }
/** Get Depreciation Expense Account. /** Get Depreciation Account.
@return Depreciation Expense Account */ @return Depreciation Account */
public int getA_Depreciation_Acct () public int getA_Depreciation_Acct ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Acct); Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Acct);
@ -311,20 +326,20 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return ii.intValue(); return ii.intValue();
} }
public I_A_Depreciation_Method getA_Depreciation_Calc_T() throws RuntimeException public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Calc_T() throws RuntimeException
{ {
return (I_A_Depreciation_Method)MTable.get(getCtx(), I_A_Depreciation_Method.Table_Name) return (org.compiere.model.I_A_Depreciation_Method)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Method.Table_Name)
.getPO(getA_Depreciation_Calc_Type(), get_TrxName()); } .getPO(getA_Depreciation_Calc_Type(), get_TrxName()); }
/** Set Depreciation Calculation Type. /** Set Calculation Type.
@param A_Depreciation_Calc_Type Depreciation Calculation Type */ @param A_Depreciation_Calc_Type Calculation Type */
public void setA_Depreciation_Calc_Type (int A_Depreciation_Calc_Type) public void setA_Depreciation_Calc_Type (int A_Depreciation_Calc_Type)
{ {
set_Value (COLUMNNAME_A_Depreciation_Calc_Type, Integer.valueOf(A_Depreciation_Calc_Type)); set_Value (COLUMNNAME_A_Depreciation_Calc_Type, Integer.valueOf(A_Depreciation_Calc_Type));
} }
/** Get Depreciation Calculation Type. /** Get Calculation Type.
@return Depreciation Calculation Type */ @return Calculation Type */
public int getA_Depreciation_Calc_Type () public int getA_Depreciation_Calc_Type ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Calc_Type); Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Calc_Type);
@ -333,15 +348,15 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return ii.intValue(); return ii.intValue();
} }
/** Set Depreciation Manual Amount. /** Set A_Depreciation_Manual_Amount.
@param A_Depreciation_Manual_Amount Depreciation Manual Amount */ @param A_Depreciation_Manual_Amount A_Depreciation_Manual_Amount */
public void setA_Depreciation_Manual_Amount (BigDecimal A_Depreciation_Manual_Amount) public void setA_Depreciation_Manual_Amount (BigDecimal A_Depreciation_Manual_Amount)
{ {
set_Value (COLUMNNAME_A_Depreciation_Manual_Amount, A_Depreciation_Manual_Amount); set_Value (COLUMNNAME_A_Depreciation_Manual_Amount, A_Depreciation_Manual_Amount);
} }
/** Get Depreciation Manual Amount. /** Get A_Depreciation_Manual_Amount.
@return Depreciation Manual Amount */ @return A_Depreciation_Manual_Amount */
public BigDecimal getA_Depreciation_Manual_Amount () public BigDecimal getA_Depreciation_Manual_Amount ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Manual_Amount); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Manual_Amount);
@ -356,28 +371,28 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
public static final String A_DEPRECIATION_MANUAL_PERIOD_Period = "PR"; public static final String A_DEPRECIATION_MANUAL_PERIOD_Period = "PR";
/** Yearly = YR */ /** Yearly = YR */
public static final String A_DEPRECIATION_MANUAL_PERIOD_Yearly = "YR"; public static final String A_DEPRECIATION_MANUAL_PERIOD_Yearly = "YR";
/** Set Depreciation Manual Period. /** Set A_Depreciation_Manual_Period.
@param A_Depreciation_Manual_Period Depreciation Manual Period */ @param A_Depreciation_Manual_Period A_Depreciation_Manual_Period */
public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period) public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period)
{ {
set_Value (COLUMNNAME_A_Depreciation_Manual_Period, A_Depreciation_Manual_Period); set_Value (COLUMNNAME_A_Depreciation_Manual_Period, A_Depreciation_Manual_Period);
} }
/** Get Depreciation Manual Period. /** Get A_Depreciation_Manual_Period.
@return Depreciation Manual Period */ @return A_Depreciation_Manual_Period */
public String getA_Depreciation_Manual_Period () public String getA_Depreciation_Manual_Period ()
{ {
return (String)get_Value(COLUMNNAME_A_Depreciation_Manual_Period); return (String)get_Value(COLUMNNAME_A_Depreciation_Manual_Period);
} }
public I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException public org.compiere.model.I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException
{ {
return (I_A_Depreciation_Table_Header)MTable.get(getCtx(), I_A_Depreciation_Table_Header.Table_Name) return (org.compiere.model.I_A_Depreciation_Table_Header)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Table_Header.Table_Name)
.getPO(getA_Depreciation_Table_Header_ID(), get_TrxName()); } .getPO(getA_Depreciation_Table_Header_ID(), get_TrxName()); }
/** Set Depreciation Table Header. /** Set A_Depreciation_Table_Header_ID.
@param A_Depreciation_Table_Header_ID Depreciation Table Header */ @param A_Depreciation_Table_Header_ID A_Depreciation_Table_Header_ID */
public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID) public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID)
{ {
if (A_Depreciation_Table_Header_ID < 1) if (A_Depreciation_Table_Header_ID < 1)
@ -386,8 +401,8 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
set_Value (COLUMNNAME_A_Depreciation_Table_Header_ID, Integer.valueOf(A_Depreciation_Table_Header_ID)); set_Value (COLUMNNAME_A_Depreciation_Table_Header_ID, Integer.valueOf(A_Depreciation_Table_Header_ID));
} }
/** Get Depreciation Table Header. /** Get A_Depreciation_Table_Header_ID.
@return Depreciation Table Header */ @return A_Depreciation_Table_Header_ID */
public int getA_Depreciation_Table_Header_ID () public int getA_Depreciation_Table_Header_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Table_Header_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Table_Header_ID);
@ -396,15 +411,15 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return ii.intValue(); return ii.intValue();
} }
/** Set Depreciation Variable Perc.. /** Set Variable Percent.
@param A_Depreciation_Variable_Perc Depreciation Variable Perc. */ @param A_Depreciation_Variable_Perc Variable Percent */
public void setA_Depreciation_Variable_Perc (BigDecimal A_Depreciation_Variable_Perc) public void setA_Depreciation_Variable_Perc (BigDecimal A_Depreciation_Variable_Perc)
{ {
set_Value (COLUMNNAME_A_Depreciation_Variable_Perc, A_Depreciation_Variable_Perc); set_Value (COLUMNNAME_A_Depreciation_Variable_Perc, A_Depreciation_Variable_Perc);
} }
/** Get Depreciation Variable Perc.. /** Get Variable Percent.
@return Depreciation Variable Perc. */ @return Variable Percent */
public BigDecimal getA_Depreciation_Variable_Perc () public BigDecimal getA_Depreciation_Variable_Perc ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Variable_Perc); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Variable_Perc);
@ -435,6 +450,28 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return ii.intValue(); return ii.intValue();
} }
public I_C_ValidCombination getA_Disposal_Loss_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Disposal_Loss_Acct(), get_TrxName()); }
/** Set Disposal Loss Acct.
@param A_Disposal_Loss_Acct Disposal Loss Acct */
public void setA_Disposal_Loss_Acct (int A_Disposal_Loss_Acct)
{
set_Value (COLUMNNAME_A_Disposal_Loss_Acct, Integer.valueOf(A_Disposal_Loss_Acct));
}
/** Get Disposal Loss Acct.
@return Disposal Loss Acct */
public int getA_Disposal_Loss_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Loss_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Disposal_Reve() throws RuntimeException public I_C_ValidCombination getA_Disposal_Reve() throws RuntimeException
{ {
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
@ -457,9 +494,31 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return ii.intValue(); return ii.intValue();
} }
public I_AD_User getAD_User() throws RuntimeException public I_C_ValidCombination getA_Disposal_Revenue_A() throws RuntimeException
{ {
return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Disposal_Revenue_Acct(), get_TrxName()); }
/** Set Disposal Revenue Acct.
@param A_Disposal_Revenue_Acct Disposal Revenue Acct */
public void setA_Disposal_Revenue_Acct (int A_Disposal_Revenue_Acct)
{
set_Value (COLUMNNAME_A_Disposal_Revenue_Acct, Integer.valueOf(A_Disposal_Revenue_Acct));
}
/** Get Disposal Revenue Acct.
@return Disposal Revenue Acct */
public int getA_Disposal_Revenue_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Revenue_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
public org.compiere.model.I_AD_User getAD_User() throws RuntimeException
{
return (org.compiere.model.I_AD_User)MTable.get(getCtx(), org.compiere.model.I_AD_User.Table_Name)
.getPO(getAD_User_ID(), get_TrxName()); } .getPO(getAD_User_ID(), get_TrxName()); }
/** Set User/Contact. /** Set User/Contact.
@ -485,13 +544,13 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return ii.intValue(); return ii.intValue();
} }
public I_A_Asset getA_Parent_Asset() throws RuntimeException public org.compiere.model.I_A_Asset getA_Parent_Asset() throws RuntimeException
{ {
return (I_A_Asset)MTable.get(getCtx(), I_A_Asset.Table_Name) return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name)
.getPO(getA_Parent_Asset_ID(), get_TrxName()); } .getPO(getA_Parent_Asset_ID(), get_TrxName()); }
/** Set Asset ID. /** Set Parent Asset.
@param A_Parent_Asset_ID Asset ID */ @param A_Parent_Asset_ID Parent Asset */
public void setA_Parent_Asset_ID (int A_Parent_Asset_ID) public void setA_Parent_Asset_ID (int A_Parent_Asset_ID)
{ {
if (A_Parent_Asset_ID < 1) if (A_Parent_Asset_ID < 1)
@ -500,8 +559,8 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
set_Value (COLUMNNAME_A_Parent_Asset_ID, Integer.valueOf(A_Parent_Asset_ID)); set_Value (COLUMNNAME_A_Parent_Asset_ID, Integer.valueOf(A_Parent_Asset_ID));
} }
/** Get Asset ID. /** Get Parent Asset.
@return Asset ID */ @return Parent Asset */
public int getA_Parent_Asset_ID () public int getA_Parent_Asset_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Parent_Asset_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Parent_Asset_ID);
@ -510,15 +569,15 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return ii.intValue(); return ii.intValue();
} }
/** Set Period End. /** Set A_Period_End.
@param A_Period_End Period End */ @param A_Period_End A_Period_End */
public void setA_Period_End (int A_Period_End) public void setA_Period_End (int A_Period_End)
{ {
set_Value (COLUMNNAME_A_Period_End, Integer.valueOf(A_Period_End)); set_Value (COLUMNNAME_A_Period_End, Integer.valueOf(A_Period_End));
} }
/** Get Period End. /** Get A_Period_End.
@return Period End */ @return A_Period_End */
public int getA_Period_End () public int getA_Period_End ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_End); Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_End);
@ -527,15 +586,15 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return ii.intValue(); return ii.intValue();
} }
/** Set Period Start. /** Set A_Period_Start.
@param A_Period_Start Period Start */ @param A_Period_Start A_Period_Start */
public void setA_Period_Start (int A_Period_Start) public void setA_Period_Start (int A_Period_Start)
{ {
set_Value (COLUMNNAME_A_Period_Start, Integer.valueOf(A_Period_Start)); set_Value (COLUMNNAME_A_Period_Start, Integer.valueOf(A_Period_Start));
} }
/** Get Period Start. /** Get A_Period_Start.
@return Period Start */ @return A_Period_Start */
public int getA_Period_Start () public int getA_Period_Start ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_Start); Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_Start);
@ -544,15 +603,15 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return ii.intValue(); return ii.intValue();
} }
/** Set Quantity. /** Set Current Qty.
@param A_QTY_Current Quantity */ @param A_QTY_Current Current Qty */
public void setA_QTY_Current (BigDecimal A_QTY_Current) public void setA_QTY_Current (BigDecimal A_QTY_Current)
{ {
set_Value (COLUMNNAME_A_QTY_Current, A_QTY_Current); set_Value (COLUMNNAME_A_QTY_Current, A_QTY_Current);
} }
/** Get Quantity. /** Get Current Qty.
@return Quantity */ @return Current Qty */
public BigDecimal getA_QTY_Current () public BigDecimal getA_QTY_Current ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_QTY_Current); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_QTY_Current);
@ -561,15 +620,15 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return bd; return bd;
} }
/** Set Original Qty. /** Set A_QTY_Original.
@param A_QTY_Original Original Qty */ @param A_QTY_Original A_QTY_Original */
public void setA_QTY_Original (BigDecimal A_QTY_Original) public void setA_QTY_Original (BigDecimal A_QTY_Original)
{ {
set_Value (COLUMNNAME_A_QTY_Original, A_QTY_Original); set_Value (COLUMNNAME_A_QTY_Original, A_QTY_Original);
} }
/** Get Original Qty. /** Get A_QTY_Original.
@return Original Qty */ @return A_QTY_Original */
public BigDecimal getA_QTY_Original () public BigDecimal getA_QTY_Original ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_QTY_Original); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_QTY_Original);
@ -612,6 +671,40 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return ii.intValue(); return ii.intValue();
} }
/** Set A_Reval_Accumdep_Offset_Cur.
@param A_Reval_Adep_Offset_Cur_Acct A_Reval_Accumdep_Offset_Cur */
public void setA_Reval_Adep_Offset_Cur_Acct (int A_Reval_Adep_Offset_Cur_Acct)
{
set_Value (COLUMNNAME_A_Reval_Adep_Offset_Cur_Acct, Integer.valueOf(A_Reval_Adep_Offset_Cur_Acct));
}
/** Get A_Reval_Accumdep_Offset_Cur.
@return A_Reval_Accumdep_Offset_Cur */
public int getA_Reval_Adep_Offset_Cur_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Adep_Offset_Cur_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set A_Reval_Accumdep_Offset_Prior.
@param A_Reval_Adep_Offset_Prior_Acct A_Reval_Accumdep_Offset_Prior */
public void setA_Reval_Adep_Offset_Prior_Acct (int A_Reval_Adep_Offset_Prior_Acct)
{
set_Value (COLUMNNAME_A_Reval_Adep_Offset_Prior_Acct, Integer.valueOf(A_Reval_Adep_Offset_Prior_Acct));
}
/** Get A_Reval_Accumdep_Offset_Prior.
@return A_Reval_Accumdep_Offset_Prior */
public int getA_Reval_Adep_Offset_Prior_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Adep_Offset_Prior_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
/** A_Reval_Cal_Method AD_Reference_ID=53259 */ /** A_Reval_Cal_Method AD_Reference_ID=53259 */
public static final int A_REVAL_CAL_METHOD_AD_Reference_ID=53259; public static final int A_REVAL_CAL_METHOD_AD_Reference_ID=53259;
/** Default = DFT */ /** Default = DFT */
@ -620,16 +713,16 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
public static final String A_REVAL_CAL_METHOD_InceptionToDate = "IDF"; public static final String A_REVAL_CAL_METHOD_InceptionToDate = "IDF";
/** Year Balances = YBF */ /** Year Balances = YBF */
public static final String A_REVAL_CAL_METHOD_YearBalances = "YBF"; public static final String A_REVAL_CAL_METHOD_YearBalances = "YBF";
/** Set Revaluation Calculation Method. /** Set A_Reval_Cal_Method.
@param A_Reval_Cal_Method Revaluation Calculation Method */ @param A_Reval_Cal_Method A_Reval_Cal_Method */
public void setA_Reval_Cal_Method (String A_Reval_Cal_Method) public void setA_Reval_Cal_Method (String A_Reval_Cal_Method)
{ {
set_Value (COLUMNNAME_A_Reval_Cal_Method, A_Reval_Cal_Method); set_Value (COLUMNNAME_A_Reval_Cal_Method, A_Reval_Cal_Method);
} }
/** Get Revaluation Calculation Method. /** Get A_Reval_Cal_Method.
@return Revaluation Calculation Method */ @return A_Reval_Cal_Method */
public String getA_Reval_Cal_Method () public String getA_Reval_Cal_Method ()
{ {
return (String)get_Value(COLUMNNAME_A_Reval_Cal_Method); return (String)get_Value(COLUMNNAME_A_Reval_Cal_Method);
@ -652,6 +745,23 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return ii.intValue(); return ii.intValue();
} }
/** Set Reval Cost Offset Acct.
@param A_Reval_Cost_Offset_Acct Reval Cost Offset Acct */
public void setA_Reval_Cost_Offset_Acct (int A_Reval_Cost_Offset_Acct)
{
set_Value (COLUMNNAME_A_Reval_Cost_Offset_Acct, Integer.valueOf(A_Reval_Cost_Offset_Acct));
}
/** Get Reval Cost Offset Acct.
@return Reval Cost Offset Acct */
public int getA_Reval_Cost_Offset_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Cost_Offset_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Revaluation Cost Offset for Prior Year. /** Set Revaluation Cost Offset for Prior Year.
@param A_Reval_Cost_Offset_Prior Revaluation Cost Offset for Prior Year */ @param A_Reval_Cost_Offset_Prior Revaluation Cost Offset for Prior Year */
public void setA_Reval_Cost_Offset_Prior (int A_Reval_Cost_Offset_Prior) public void setA_Reval_Cost_Offset_Prior (int A_Reval_Cost_Offset_Prior)
@ -669,6 +779,23 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return ii.intValue(); return ii.intValue();
} }
/** Set Reval Cost Offset Prior Acct.
@param A_Reval_Cost_Offset_Prior_Acct Reval Cost Offset Prior Acct */
public void setA_Reval_Cost_Offset_Prior_Acct (int A_Reval_Cost_Offset_Prior_Acct)
{
set_Value (COLUMNNAME_A_Reval_Cost_Offset_Prior_Acct, Integer.valueOf(A_Reval_Cost_Offset_Prior_Acct));
}
/** Get Reval Cost Offset Prior Acct.
@return Reval Cost Offset Prior Acct */
public int getA_Reval_Cost_Offset_Prior_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Cost_Offset_Prior_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Revaluation Expense Offs. /** Set Revaluation Expense Offs.
@param A_Reval_Depexp_Offset Revaluation Expense Offs */ @param A_Reval_Depexp_Offset Revaluation Expense Offs */
public void setA_Reval_Depexp_Offset (int A_Reval_Depexp_Offset) public void setA_Reval_Depexp_Offset (int A_Reval_Depexp_Offset)
@ -686,15 +813,32 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return ii.intValue(); return ii.intValue();
} }
/** Set Salvage Value. /** Set Reval Depexp Offset Acct.
@param A_Salvage_Value Salvage Value */ @param A_Reval_Depexp_Offset_Acct Reval Depexp Offset Acct */
public void setA_Reval_Depexp_Offset_Acct (int A_Reval_Depexp_Offset_Acct)
{
set_Value (COLUMNNAME_A_Reval_Depexp_Offset_Acct, Integer.valueOf(A_Reval_Depexp_Offset_Acct));
}
/** Get Reval Depexp Offset Acct.
@return Reval Depexp Offset Acct */
public int getA_Reval_Depexp_Offset_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Depexp_Offset_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Asset Salvage Value.
@param A_Salvage_Value Asset Salvage Value */
public void setA_Salvage_Value (BigDecimal A_Salvage_Value) public void setA_Salvage_Value (BigDecimal A_Salvage_Value)
{ {
set_Value (COLUMNNAME_A_Salvage_Value, A_Salvage_Value); set_Value (COLUMNNAME_A_Salvage_Value, A_Salvage_Value);
} }
/** Get Salvage Value. /** Get Asset Salvage Value.
@return Salvage Value */ @return Asset Salvage Value */
public BigDecimal getA_Salvage_Value () public BigDecimal getA_Salvage_Value ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Salvage_Value); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Salvage_Value);
@ -703,15 +847,15 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return bd; return bd;
} }
/** Set Split Percentage. /** Set Split Percent.
@param A_Split_Percent Split Percentage */ @param A_Split_Percent Split Percent */
public void setA_Split_Percent (BigDecimal A_Split_Percent) public void setA_Split_Percent (BigDecimal A_Split_Percent)
{ {
set_Value (COLUMNNAME_A_Split_Percent, A_Split_Percent); set_Value (COLUMNNAME_A_Split_Percent, A_Split_Percent);
} }
/** Get Split Percentage. /** Get Split Percent.
@return Split Percentage */ @return Split Percent */
public BigDecimal getA_Split_Percent () public BigDecimal getA_Split_Percent ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Split_Percent); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Split_Percent);
@ -720,15 +864,15 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return bd; return bd;
} }
/** Set Asset Accum. Depreciation Amt.. /** Set AssetAccumDepreciationAmt.
@param AssetAccumDepreciationAmt Asset Accum. Depreciation Amt. */ @param AssetAccumDepreciationAmt AssetAccumDepreciationAmt */
public void setAssetAccumDepreciationAmt (BigDecimal AssetAccumDepreciationAmt) public void setAssetAccumDepreciationAmt (BigDecimal AssetAccumDepreciationAmt)
{ {
set_ValueNoCheck (COLUMNNAME_AssetAccumDepreciationAmt, AssetAccumDepreciationAmt); set_ValueNoCheck (COLUMNNAME_AssetAccumDepreciationAmt, AssetAccumDepreciationAmt);
} }
/** Get Asset Accum. Depreciation Amt.. /** Get AssetAccumDepreciationAmt.
@return Asset Accum. Depreciation Amt. */ @return AssetAccumDepreciationAmt */
public BigDecimal getAssetAccumDepreciationAmt () public BigDecimal getAssetAccumDepreciationAmt ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_AssetAccumDepreciationAmt); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_AssetAccumDepreciationAmt);
@ -737,15 +881,15 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return bd; return bd;
} }
/** Set Asset Book value amt.. /** Set AssetBookValueAmt.
@param AssetBookValueAmt Asset Book value amt. */ @param AssetBookValueAmt AssetBookValueAmt */
public void setAssetBookValueAmt (BigDecimal AssetBookValueAmt) public void setAssetBookValueAmt (BigDecimal AssetBookValueAmt)
{ {
set_ValueNoCheck (COLUMNNAME_AssetBookValueAmt, AssetBookValueAmt); set_ValueNoCheck (COLUMNNAME_AssetBookValueAmt, AssetBookValueAmt);
} }
/** Get Asset Book value amt.. /** Get AssetBookValueAmt.
@return Asset Book value amt. */ @return AssetBookValueAmt */
public BigDecimal getAssetBookValueAmt () public BigDecimal getAssetBookValueAmt ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_AssetBookValueAmt); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_AssetBookValueAmt);
@ -845,9 +989,9 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return bd; return bd;
} }
public I_C_AcctSchema getC_AcctSchema() throws RuntimeException public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException
{ {
return (I_C_AcctSchema)MTable.get(getCtx(), I_C_AcctSchema.Table_Name) return (org.compiere.model.I_C_AcctSchema)MTable.get(getCtx(), org.compiere.model.I_C_AcctSchema.Table_Name)
.getPO(getC_AcctSchema_ID(), get_TrxName()); } .getPO(getC_AcctSchema_ID(), get_TrxName()); }
/** Set Accounting Schema. /** Set Accounting Schema.
@ -873,6 +1017,11 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return ii.intValue(); return ii.intValue();
} }
public org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException
{
return (org.compiere.model.I_C_BPartner)MTable.get(getCtx(), org.compiere.model.I_C_BPartner.Table_Name)
.getPO(getC_BPartner_ID(), get_TrxName()); }
/** Set Business Partner . /** Set Business Partner .
@param C_BPartner_ID @param C_BPartner_ID
Identifies a Business Partner Identifies a Business Partner
@ -896,9 +1045,9 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return ii.intValue(); return ii.intValue();
} }
public I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException public org.compiere.model.I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException
{ {
return (I_C_BPartner_Location)MTable.get(getCtx(), I_C_BPartner_Location.Table_Name) return (org.compiere.model.I_C_BPartner_Location)MTable.get(getCtx(), org.compiere.model.I_C_BPartner_Location.Table_Name)
.getPO(getC_BPartner_Location_ID(), get_TrxName()); } .getPO(getC_BPartner_Location_ID(), get_TrxName()); }
/** Set Partner Location. /** Set Partner Location.
@ -1028,9 +1177,9 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return ii.intValue(); return ii.intValue();
} }
public I_A_Depreciation_Convention getConventionT() throws RuntimeException public org.compiere.model.I_A_Depreciation_Convention getConventionT() throws RuntimeException
{ {
return (I_A_Depreciation_Convention)MTable.get(getCtx(), I_A_Depreciation_Convention.Table_Name) return (org.compiere.model.I_A_Depreciation_Convention)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Convention.Table_Name)
.getPO(getConventionType(), get_TrxName()); } .getPO(getConventionType(), get_TrxName()); }
/** Set ConventionType. /** Set ConventionType.
@ -1095,9 +1244,9 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return (Timestamp)get_Value(COLUMNNAME_DateAcct); return (Timestamp)get_Value(COLUMNNAME_DateAcct);
} }
public I_A_Depreciation getDepreciationT() throws RuntimeException public org.compiere.model.I_A_Depreciation getDepreciationT() throws RuntimeException
{ {
return (I_A_Depreciation)MTable.get(getCtx(), I_A_Depreciation.Table_Name) return (org.compiere.model.I_A_Depreciation)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation.Table_Name)
.getPO(getDepreciationType(), get_TrxName()); } .getPO(getDepreciationType(), get_TrxName()); }
/** Set DepreciationType. /** Set DepreciationType.

View File

@ -0,0 +1,279 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
/** Generated Model - DO NOT CHANGE */
package org.compiere.model;
import java.sql.ResultSet;
import java.util.Properties;
/** Generated Model for A_Asset_Class
* @author Adempiere (generated)
* @version Release 3.6.0LTS - $Id$ */
public class X_A_Asset_Class extends PO implements I_A_Asset_Class, I_Persistent
{
/**
*
*/
private static final long serialVersionUID = 20121024L;
/** Standard Constructor */
public X_A_Asset_Class (Properties ctx, int A_Asset_Class_ID, String trxName)
{
super (ctx, A_Asset_Class_ID, trxName);
/** if (A_Asset_Class_ID == 0)
{
setA_Asset_Class_ID (0);
setA_Life_Period_Max (0);
setA_Life_Period_Min (0);
setName (null);
setValue (null);
} */
}
/** Load Constructor */
public X_A_Asset_Class (Properties ctx, ResultSet rs, String trxName)
{
super (ctx, rs, trxName);
}
/** AccessLevel
* @return 7 - System - Client - Org
*/
protected int get_AccessLevel()
{
return accessLevel.intValue();
}
/** Load Meta Data */
protected POInfo initPO (Properties ctx)
{
POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName());
return poi;
}
public String toString()
{
StringBuffer sb = new StringBuffer ("X_A_Asset_Class[")
.append(get_ID()).append("]");
return sb.toString();
}
/** Set Asset class.
@param A_Asset_Class_ID Asset class */
public void setA_Asset_Class_ID (int A_Asset_Class_ID)
{
if (A_Asset_Class_ID < 1)
set_ValueNoCheck (COLUMNNAME_A_Asset_Class_ID, null);
else
set_ValueNoCheck (COLUMNNAME_A_Asset_Class_ID, Integer.valueOf(A_Asset_Class_ID));
}
/** Get Asset class.
@return Asset class */
public int getA_Asset_Class_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Class_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Life Periods 2004 (min).
@param A_Life_Period_2004 Life Periods 2004 (min) */
public void setA_Life_Period_2004 (int A_Life_Period_2004)
{
set_Value (COLUMNNAME_A_Life_Period_2004, Integer.valueOf(A_Life_Period_2004));
}
/** Get Life Periods 2004 (min).
@return Life Periods 2004 (min) */
public int getA_Life_Period_2004 ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Life_Period_2004);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Life periods (max).
@param A_Life_Period_Max Life periods (max) */
public void setA_Life_Period_Max (int A_Life_Period_Max)
{
set_Value (COLUMNNAME_A_Life_Period_Max, Integer.valueOf(A_Life_Period_Max));
}
/** Get Life periods (max).
@return Life periods (max) */
public int getA_Life_Period_Max ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Life_Period_Max);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Life periods (min).
@param A_Life_Period_Min Life periods (min) */
public void setA_Life_Period_Min (int A_Life_Period_Min)
{
set_Value (COLUMNNAME_A_Life_Period_Min, Integer.valueOf(A_Life_Period_Min));
}
/** Get Life periods (min).
@return Life periods (min) */
public int getA_Life_Period_Min ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Life_Period_Min);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Value 2004.
@param A_Value_2004 Value 2004 */
public void setA_Value_2004 (String A_Value_2004)
{
set_Value (COLUMNNAME_A_Value_2004, A_Value_2004);
}
/** Get Value 2004.
@return Value 2004 */
public String getA_Value_2004 ()
{
return (String)get_Value(COLUMNNAME_A_Value_2004);
}
/** Set Description.
@param Description
Optional short description of the record
*/
public void setDescription (String Description)
{
set_ValueNoCheck (COLUMNNAME_Description, Description);
}
/** Get Description.
@return Optional short description of the record
*/
public String getDescription ()
{
return (String)get_Value(COLUMNNAME_Description);
}
/** Set Fixed Asset Class.
@param MFX_Clasa Fixed Asset Class */
public void setMFX_Clasa (int MFX_Clasa)
{
set_Value (COLUMNNAME_MFX_Clasa, Integer.valueOf(MFX_Clasa));
}
/** Get Fixed Asset Class.
@return Fixed Asset Class */
public int getMFX_Clasa ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_MFX_Clasa);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Fixed Asset Group.
@param MFX_Grupa Fixed Asset Group */
public void setMFX_Grupa (int MFX_Grupa)
{
set_Value (COLUMNNAME_MFX_Grupa, Integer.valueOf(MFX_Grupa));
}
/** Get Fixed Asset Group.
@return Fixed Asset Group */
public int getMFX_Grupa ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_MFX_Grupa);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Fixed Asset Subclass.
@param MFX_SubClasa Fixed Asset Subclass */
public void setMFX_SubClasa (int MFX_SubClasa)
{
set_Value (COLUMNNAME_MFX_SubClasa, Integer.valueOf(MFX_SubClasa));
}
/** Get Fixed Asset Subclass.
@return Fixed Asset Subclass */
public int getMFX_SubClasa ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_MFX_SubClasa);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Fixed Asset Subgroup.
@param MFX_SubGrupa Fixed Asset Subgroup */
public void setMFX_SubGrupa (int MFX_SubGrupa)
{
set_Value (COLUMNNAME_MFX_SubGrupa, Integer.valueOf(MFX_SubGrupa));
}
/** Get Fixed Asset Subgroup.
@return Fixed Asset Subgroup */
public int getMFX_SubGrupa ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_MFX_SubGrupa);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Name.
@param Name
Alphanumeric identifier of the entity
*/
public void setName (String Name)
{
set_Value (COLUMNNAME_Name, Name);
}
/** Get Name.
@return Alphanumeric identifier of the entity
*/
public String getName ()
{
return (String)get_Value(COLUMNNAME_Name);
}
/** Set Search Key.
@param Value
Search key for the record in the format required - must be unique
*/
public void setValue (String Value)
{
set_Value (COLUMNNAME_Value, Value);
}
/** Get Search Key.
@return Search key for the record in the format required - must be unique
*/
public String getValue ()
{
return (String)get_Value(COLUMNNAME_Value);
}
}

View File

@ -31,7 +31,7 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Asset_Delivery (Properties ctx, int A_Asset_Delivery_ID, String trxName) public X_A_Asset_Delivery (Properties ctx, int A_Asset_Delivery_ID, String trxName)
@ -96,9 +96,23 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers
return ii.intValue(); return ii.intValue();
} }
public I_A_Asset getA_Asset() throws RuntimeException /** Set A_Asset_Delivery_UU.
@param A_Asset_Delivery_UU A_Asset_Delivery_UU */
public void setA_Asset_Delivery_UU (String A_Asset_Delivery_UU)
{
set_Value (COLUMNNAME_A_Asset_Delivery_UU, A_Asset_Delivery_UU);
}
/** Get A_Asset_Delivery_UU.
@return A_Asset_Delivery_UU */
public String getA_Asset_Delivery_UU ()
{
return (String)get_Value(COLUMNNAME_A_Asset_Delivery_UU);
}
public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException
{ {
return (I_A_Asset)MTable.get(getCtx(), I_A_Asset.Table_Name) return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name)
.getPO(getA_Asset_ID(), get_TrxName()); } .getPO(getA_Asset_ID(), get_TrxName()); }
/** Set Asset. /** Set Asset.
@ -124,9 +138,9 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers
return ii.intValue(); return ii.intValue();
} }
public I_AD_User getAD_User() throws RuntimeException public org.compiere.model.I_AD_User getAD_User() throws RuntimeException
{ {
return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name) return (org.compiere.model.I_AD_User)MTable.get(getCtx(), org.compiere.model.I_AD_User.Table_Name)
.getPO(getAD_User_ID(), get_TrxName()); } .getPO(getAD_User_ID(), get_TrxName()); }
/** Set User/Contact. /** Set User/Contact.
@ -237,9 +251,9 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers
return (String)get_Value(COLUMNNAME_MessageID); return (String)get_Value(COLUMNNAME_MessageID);
} }
public I_M_InOutLine getM_InOutLine() throws RuntimeException public org.compiere.model.I_M_InOutLine getM_InOutLine() throws RuntimeException
{ {
return (I_M_InOutLine)MTable.get(getCtx(), I_M_InOutLine.Table_Name) return (org.compiere.model.I_M_InOutLine)MTable.get(getCtx(), org.compiere.model.I_M_InOutLine.Table_Name)
.getPO(getM_InOutLine_ID(), get_TrxName()); } .getPO(getM_InOutLine_ID(), get_TrxName()); }
/** Set Shipment/Receipt Line. /** Set Shipment/Receipt Line.
@ -290,9 +304,9 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers
return new KeyNamePair(get_ID(), String.valueOf(getMovementDate())); return new KeyNamePair(get_ID(), String.valueOf(getMovementDate()));
} }
public I_M_ProductDownload getM_ProductDownload() throws RuntimeException public org.compiere.model.I_M_ProductDownload getM_ProductDownload() throws RuntimeException
{ {
return (I_M_ProductDownload)MTable.get(getCtx(), I_M_ProductDownload.Table_Name) return (org.compiere.model.I_M_ProductDownload)MTable.get(getCtx(), org.compiere.model.I_M_ProductDownload.Table_Name)
.getPO(getM_ProductDownload_ID(), get_TrxName()); } .getPO(getM_ProductDownload_ID(), get_TrxName()); }
/** Set Product Download. /** Set Product Download.
@ -388,7 +402,7 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers
/** Set URL. /** Set URL.
@param URL @param URL
Full URL address - e.g. http://www.adempiere.org Full URL address - e.g. http://www.idempiere.org
*/ */
public void setURL (String URL) public void setURL (String URL)
{ {
@ -396,7 +410,7 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers
} }
/** Get URL. /** Get URL.
@return Full URL address - e.g. http://www.adempiere.org @return Full URL address - e.g. http://www.idempiere.org
*/ */
public String getURL () public String getURL ()
{ {

View File

@ -33,7 +33,7 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Asset_Disposed (Properties ctx, int A_Asset_Disposed_ID, String trxName) public X_A_Asset_Disposed (Properties ctx, int A_Asset_Disposed_ID, String trxName)
@ -41,16 +41,31 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers
super (ctx, A_Asset_Disposed_ID, trxName); super (ctx, A_Asset_Disposed_ID, trxName);
/** if (A_Asset_Disposed_ID == 0) /** if (A_Asset_Disposed_ID == 0)
{ {
setA_Accumulated_Depr (Env.ZERO);
// 0
setA_Accumulated_Depr_Delta (Env.ZERO);
// 0
setA_Activation_Method (null);
// 'AA'
setA_Asset_Disposed_ID (0); setA_Asset_Disposed_ID (0);
setA_Asset_ID (0); setA_Asset_ID (0);
setA_Disposal_Amt (Env.ZERO);
// 0
setA_Disposed_Date (new Timestamp( System.currentTimeMillis() )); setA_Disposed_Date (new Timestamp( System.currentTimeMillis() ));
setA_Disposed_Method (null); setA_Disposed_Method (null);
setA_Disposed_Reason (null);
setC_Period_ID (0);
setDateAcct (new Timestamp( System.currentTimeMillis() )); setDateAcct (new Timestamp( System.currentTimeMillis() ));
// @Date@ // @Date@
setDateDoc (new Timestamp( System.currentTimeMillis() )); setDateDoc (new Timestamp( System.currentTimeMillis() ));
// @Date@ // @Date@
setDocumentNo (null);
setExpense (Env.ZERO);
// 0
setIsApproved (false);
// @#IsCanApproveOwnDoc@
setPosted (false);
// N
setPostingType (null);
// A
setProcessed (false); setProcessed (false);
setProcessing (false); setProcessing (false);
} */ } */
@ -84,8 +99,78 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers
return sb.toString(); return sb.toString();
} }
/** Set Disposed Asset. /** Set Accumulated Depreciation.
@param A_Asset_Disposed_ID Disposed Asset */ @param A_Accumulated_Depr Accumulated Depreciation */
public void setA_Accumulated_Depr (BigDecimal A_Accumulated_Depr)
{
set_Value (COLUMNNAME_A_Accumulated_Depr, A_Accumulated_Depr);
}
/** Get Accumulated Depreciation.
@return Accumulated Depreciation */
public BigDecimal getA_Accumulated_Depr ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Accumulated_Depr);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Accumulated Depreciation (delta).
@param A_Accumulated_Depr_Delta Accumulated Depreciation (delta) */
public void setA_Accumulated_Depr_Delta (BigDecimal A_Accumulated_Depr_Delta)
{
set_Value (COLUMNNAME_A_Accumulated_Depr_Delta, A_Accumulated_Depr_Delta);
}
/** Get Accumulated Depreciation (delta).
@return Accumulated Depreciation (delta) */
public BigDecimal getA_Accumulated_Depr_Delta ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Accumulated_Depr_Delta);
if (bd == null)
return Env.ZERO;
return bd;
}
/** A_Activation_Method AD_Reference_ID=53364 */
public static final int A_ACTIVATION_METHOD_AD_Reference_ID=53364;
/** Activation = AA */
public static final String A_ACTIVATION_METHOD_Activation = "AA";
/** Set Activation Method.
@param A_Activation_Method Activation Method */
public void setA_Activation_Method (String A_Activation_Method)
{
set_Value (COLUMNNAME_A_Activation_Method, A_Activation_Method);
}
/** Get Activation Method.
@return Activation Method */
public String getA_Activation_Method ()
{
return (String)get_Value(COLUMNNAME_A_Activation_Method);
}
/** Set Asset Cost.
@param A_Asset_Cost Asset Cost */
public void setA_Asset_Cost (BigDecimal A_Asset_Cost)
{
set_Value (COLUMNNAME_A_Asset_Cost, A_Asset_Cost);
}
/** Get Asset Cost.
@return Asset Cost */
public BigDecimal getA_Asset_Cost ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Asset_Cost);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Asset Disposed.
@param A_Asset_Disposed_ID Asset Disposed */
public void setA_Asset_Disposed_ID (int A_Asset_Disposed_ID) public void setA_Asset_Disposed_ID (int A_Asset_Disposed_ID)
{ {
if (A_Asset_Disposed_ID < 1) if (A_Asset_Disposed_ID < 1)
@ -94,8 +179,8 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers
set_ValueNoCheck (COLUMNNAME_A_Asset_Disposed_ID, Integer.valueOf(A_Asset_Disposed_ID)); set_ValueNoCheck (COLUMNNAME_A_Asset_Disposed_ID, Integer.valueOf(A_Asset_Disposed_ID));
} }
/** Get Disposed Asset. /** Get Asset Disposed.
@return Disposed Asset */ @return Asset Disposed */
public int getA_Asset_Disposed_ID () public int getA_Asset_Disposed_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Disposed_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Disposed_ID);
@ -112,6 +197,25 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers
return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Disposed_ID())); return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Disposed_ID()));
} }
/** Set A_Asset_Disposed_UU.
@param A_Asset_Disposed_UU A_Asset_Disposed_UU */
public void setA_Asset_Disposed_UU (String A_Asset_Disposed_UU)
{
set_Value (COLUMNNAME_A_Asset_Disposed_UU, A_Asset_Disposed_UU);
}
/** Get A_Asset_Disposed_UU.
@return A_Asset_Disposed_UU */
public String getA_Asset_Disposed_UU ()
{
return (String)get_Value(COLUMNNAME_A_Asset_Disposed_UU);
}
public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException
{
return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name)
.getPO(getA_Asset_ID(), get_TrxName()); }
/** Set Asset. /** Set Asset.
@param A_Asset_ID @param A_Asset_ID
Asset used internally or by customers Asset used internally or by customers
@ -119,9 +223,9 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers
public void setA_Asset_ID (int A_Asset_ID) public void setA_Asset_ID (int A_Asset_ID)
{ {
if (A_Asset_ID < 1) if (A_Asset_ID < 1)
set_ValueNoCheck (COLUMNNAME_A_Asset_ID, null); set_Value (COLUMNNAME_A_Asset_ID, null);
else else
set_ValueNoCheck (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID)); set_Value (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID));
} }
/** Get Asset. /** Get Asset.
@ -135,9 +239,40 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers
return ii.intValue(); return ii.intValue();
} }
public I_A_Asset getA_Asset_Trade() throws RuntimeException /** A_Asset_Status AD_Reference_ID=53359 */
public static final int A_ASSET_STATUS_AD_Reference_ID=53359;
/** Activated = AC */
public static final String A_ASSET_STATUS_Activated = "AC";
/** Disposed = DI */
public static final String A_ASSET_STATUS_Disposed = "DI";
/** Depreciated = DP */
public static final String A_ASSET_STATUS_Depreciated = "DP";
/** New = NW */
public static final String A_ASSET_STATUS_New = "NW";
/** Preservation = PR */
public static final String A_ASSET_STATUS_Preservation = "PR";
/** Retired = RE */
public static final String A_ASSET_STATUS_Retired = "RE";
/** Sold = SO */
public static final String A_ASSET_STATUS_Sold = "SO";
/** Set Asset Status.
@param A_Asset_Status Asset Status */
public void setA_Asset_Status (String A_Asset_Status)
{
set_Value (COLUMNNAME_A_Asset_Status, A_Asset_Status);
}
/** Get Asset Status.
@return Asset Status */
public String getA_Asset_Status ()
{
return (String)get_Value(COLUMNNAME_A_Asset_Status);
}
public org.compiere.model.I_A_Asset getA_Asset_Trade() throws RuntimeException
{ {
return (I_A_Asset)MTable.get(getCtx(), I_A_Asset.Table_Name) return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name)
.getPO(getA_Asset_Trade_ID(), get_TrxName()); } .getPO(getA_Asset_Trade_ID(), get_TrxName()); }
/** Set Asset Trade. /** Set Asset Trade.
@ -160,6 +295,23 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers
return ii.intValue(); return ii.intValue();
} }
/** Set Disposal Amount.
@param A_Disposal_Amt Disposal Amount */
public void setA_Disposal_Amt (BigDecimal A_Disposal_Amt)
{
set_Value (COLUMNNAME_A_Disposal_Amt, A_Disposal_Amt);
}
/** Get Disposal Amount.
@return Disposal Amount */
public BigDecimal getA_Disposal_Amt ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Disposal_Amt);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Disposed Date. /** Set Disposed Date.
@param A_Disposed_Date Disposed Date */ @param A_Disposed_Date Disposed Date */
public void setA_Disposed_Date (Timestamp A_Disposed_Date) public void setA_Disposed_Date (Timestamp A_Disposed_Date)
@ -184,16 +336,24 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers
public static final String A_DISPOSED_METHOD_Trade = "T1"; public static final String A_DISPOSED_METHOD_Trade = "T1";
/** Trade w/cash = T2 */ /** Trade w/cash = T2 */
public static final String A_DISPOSED_METHOD_TradeWCash = "T2"; public static final String A_DISPOSED_METHOD_TradeWCash = "T2";
/** Set Disposal Method. /** Cash_ = C_ */
@param A_Disposed_Method Disposal Method */ public static final String A_DISPOSED_METHOD_Cash_ = "C_";
/** Partial Retirement = PD */
public static final String A_DISPOSED_METHOD_PartialRetirement = "PD";
/** Preservation = PR */
public static final String A_DISPOSED_METHOD_Preservation = "PR";
/** Simple_ = S_ */
public static final String A_DISPOSED_METHOD_Simple_ = "S_";
/** Set Disposed Method.
@param A_Disposed_Method Disposed Method */
public void setA_Disposed_Method (String A_Disposed_Method) public void setA_Disposed_Method (String A_Disposed_Method)
{ {
set_Value (COLUMNNAME_A_Disposed_Method, A_Disposed_Method); set_Value (COLUMNNAME_A_Disposed_Method, A_Disposed_Method);
} }
/** Get Disposal Method. /** Get Disposed Method.
@return Disposal Method */ @return Disposed Method */
public String getA_Disposed_Method () public String getA_Disposed_Method ()
{ {
return (String)get_Value(COLUMNNAME_A_Disposed_Method); return (String)get_Value(COLUMNNAME_A_Disposed_Method);
@ -213,30 +373,30 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers
public static final String A_DISPOSED_REASON_SoldWTrade = "S2"; public static final String A_DISPOSED_REASON_SoldWTrade = "S2";
/** Theft = T */ /** Theft = T */
public static final String A_DISPOSED_REASON_Theft = "T"; public static final String A_DISPOSED_REASON_Theft = "T";
/** Set Disposed Reason Code. /** Set Disposed Reason.
@param A_Disposed_Reason Disposed Reason Code */ @param A_Disposed_Reason Disposed Reason */
public void setA_Disposed_Reason (String A_Disposed_Reason) public void setA_Disposed_Reason (String A_Disposed_Reason)
{ {
set_Value (COLUMNNAME_A_Disposed_Reason, A_Disposed_Reason); set_Value (COLUMNNAME_A_Disposed_Reason, A_Disposed_Reason);
} }
/** Get Disposed Reason Code. /** Get Disposed Reason.
@return Disposed Reason Code */ @return Disposed Reason */
public String getA_Disposed_Reason () public String getA_Disposed_Reason ()
{ {
return (String)get_Value(COLUMNNAME_A_Disposed_Reason); return (String)get_Value(COLUMNNAME_A_Disposed_Reason);
} }
/** Set Proceeds. /** Set Asset Proceeds.
@param A_Proceeds Proceeds */ @param A_Proceeds Asset Proceeds */
public void setA_Proceeds (BigDecimal A_Proceeds) public void setA_Proceeds (BigDecimal A_Proceeds)
{ {
set_Value (COLUMNNAME_A_Proceeds, A_Proceeds); set_Value (COLUMNNAME_A_Proceeds, A_Proceeds);
} }
/** Get Proceeds. /** Get Asset Proceeds.
@return Proceeds */ @return Asset Proceeds */
public BigDecimal getA_Proceeds () public BigDecimal getA_Proceeds ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Proceeds); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Proceeds);
@ -245,9 +405,65 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers
return bd; return bd;
} }
public I_C_Period getC_Period() throws RuntimeException public org.compiere.model.I_C_Invoice getC_Invoice() throws RuntimeException
{ {
return (I_C_Period)MTable.get(getCtx(), I_C_Period.Table_Name) return (org.compiere.model.I_C_Invoice)MTable.get(getCtx(), org.compiere.model.I_C_Invoice.Table_Name)
.getPO(getC_Invoice_ID(), get_TrxName()); }
/** Set Invoice.
@param C_Invoice_ID
Invoice Identifier
*/
public void setC_Invoice_ID (int C_Invoice_ID)
{
if (C_Invoice_ID < 1)
set_Value (COLUMNNAME_C_Invoice_ID, null);
else
set_Value (COLUMNNAME_C_Invoice_ID, Integer.valueOf(C_Invoice_ID));
}
/** Get Invoice.
@return Invoice Identifier
*/
public int getC_Invoice_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_Invoice_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.compiere.model.I_C_InvoiceLine getC_InvoiceLine() throws RuntimeException
{
return (org.compiere.model.I_C_InvoiceLine)MTable.get(getCtx(), org.compiere.model.I_C_InvoiceLine.Table_Name)
.getPO(getC_InvoiceLine_ID(), get_TrxName()); }
/** Set Invoice Line.
@param C_InvoiceLine_ID
Invoice Detail Line
*/
public void setC_InvoiceLine_ID (int C_InvoiceLine_ID)
{
if (C_InvoiceLine_ID < 1)
set_Value (COLUMNNAME_C_InvoiceLine_ID, null);
else
set_Value (COLUMNNAME_C_InvoiceLine_ID, Integer.valueOf(C_InvoiceLine_ID));
}
/** Get Invoice Line.
@return Invoice Detail Line
*/
public int getC_InvoiceLine_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_InvoiceLine_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.compiere.model.I_C_Period getC_Period() throws RuntimeException
{
return (org.compiere.model.I_C_Period)MTable.get(getCtx(), org.compiere.model.I_C_Period.Table_Name)
.getPO(getC_Period_ID(), get_TrxName()); } .getPO(getC_Period_ID(), get_TrxName()); }
/** Set Period. /** Set Period.
@ -307,6 +523,251 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers
return (Timestamp)get_Value(COLUMNNAME_DateDoc); return (Timestamp)get_Value(COLUMNNAME_DateDoc);
} }
/** Set Description.
@param Description
Optional short description of the record
*/
public void setDescription (String Description)
{
set_Value (COLUMNNAME_Description, Description);
}
/** Get Description.
@return Optional short description of the record
*/
public String getDescription ()
{
return (String)get_Value(COLUMNNAME_Description);
}
/** DocAction AD_Reference_ID=135 */
public static final int DOCACTION_AD_Reference_ID=135;
/** Complete = CO */
public static final String DOCACTION_Complete = "CO";
/** Approve = AP */
public static final String DOCACTION_Approve = "AP";
/** Reject = RJ */
public static final String DOCACTION_Reject = "RJ";
/** Post = PO */
public static final String DOCACTION_Post = "PO";
/** Void = VO */
public static final String DOCACTION_Void = "VO";
/** Close = CL */
public static final String DOCACTION_Close = "CL";
/** Reverse - Correct = RC */
public static final String DOCACTION_Reverse_Correct = "RC";
/** Reverse - Accrual = RA */
public static final String DOCACTION_Reverse_Accrual = "RA";
/** Invalidate = IN */
public static final String DOCACTION_Invalidate = "IN";
/** Re-activate = RE */
public static final String DOCACTION_Re_Activate = "RE";
/** <None> = -- */
public static final String DOCACTION_None = "--";
/** Prepare = PR */
public static final String DOCACTION_Prepare = "PR";
/** Unlock = XL */
public static final String DOCACTION_Unlock = "XL";
/** Wait Complete = WC */
public static final String DOCACTION_WaitComplete = "WC";
/** Set Document Action.
@param DocAction
The targeted status of the document
*/
public void setDocAction (String DocAction)
{
set_Value (COLUMNNAME_DocAction, DocAction);
}
/** Get Document Action.
@return The targeted status of the document
*/
public String getDocAction ()
{
return (String)get_Value(COLUMNNAME_DocAction);
}
/** DocStatus AD_Reference_ID=131 */
public static final int DOCSTATUS_AD_Reference_ID=131;
/** Drafted = DR */
public static final String DOCSTATUS_Drafted = "DR";
/** Completed = CO */
public static final String DOCSTATUS_Completed = "CO";
/** Approved = AP */
public static final String DOCSTATUS_Approved = "AP";
/** Not Approved = NA */
public static final String DOCSTATUS_NotApproved = "NA";
/** Voided = VO */
public static final String DOCSTATUS_Voided = "VO";
/** Invalid = IN */
public static final String DOCSTATUS_Invalid = "IN";
/** Reversed = RE */
public static final String DOCSTATUS_Reversed = "RE";
/** Closed = CL */
public static final String DOCSTATUS_Closed = "CL";
/** Unknown = ?? */
public static final String DOCSTATUS_Unknown = "??";
/** In Progress = IP */
public static final String DOCSTATUS_InProgress = "IP";
/** Waiting Payment = WP */
public static final String DOCSTATUS_WaitingPayment = "WP";
/** Waiting Confirmation = WC */
public static final String DOCSTATUS_WaitingConfirmation = "WC";
/** Set Document Status.
@param DocStatus
The current status of the document
*/
public void setDocStatus (String DocStatus)
{
set_Value (COLUMNNAME_DocStatus, DocStatus);
}
/** Get Document Status.
@return The current status of the document
*/
public String getDocStatus ()
{
return (String)get_Value(COLUMNNAME_DocStatus);
}
/** Set Document No.
@param DocumentNo
Document sequence number of the document
*/
public void setDocumentNo (String DocumentNo)
{
set_ValueNoCheck (COLUMNNAME_DocumentNo, DocumentNo);
}
/** Get Document No.
@return Document sequence number of the document
*/
public String getDocumentNo ()
{
return (String)get_Value(COLUMNNAME_DocumentNo);
}
/** Set Expense.
@param Expense Expense */
public void setExpense (BigDecimal Expense)
{
set_Value (COLUMNNAME_Expense, Expense);
}
/** Get Expense.
@return Expense */
public BigDecimal getExpense ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Expense);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Approved.
@param IsApproved
Indicates if this document requires approval
*/
public void setIsApproved (boolean IsApproved)
{
set_Value (COLUMNNAME_IsApproved, Boolean.valueOf(IsApproved));
}
/** Get Approved.
@return Indicates if this document requires approval
*/
public boolean isApproved ()
{
Object oo = get_Value(COLUMNNAME_IsApproved);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Disposed.
@param IsDisposed
The asset is disposed
*/
public void setIsDisposed (boolean IsDisposed)
{
set_Value (COLUMNNAME_IsDisposed, Boolean.valueOf(IsDisposed));
}
/** Get Disposed.
@return The asset is disposed
*/
public boolean isDisposed ()
{
Object oo = get_Value(COLUMNNAME_IsDisposed);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Posted.
@param Posted
Posting status
*/
public void setPosted (boolean Posted)
{
set_Value (COLUMNNAME_Posted, Boolean.valueOf(Posted));
}
/** Get Posted.
@return Posting status
*/
public boolean isPosted ()
{
Object oo = get_Value(COLUMNNAME_Posted);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** PostingType AD_Reference_ID=125 */
public static final int POSTINGTYPE_AD_Reference_ID=125;
/** Actual = A */
public static final String POSTINGTYPE_Actual = "A";
/** Budget = B */
public static final String POSTINGTYPE_Budget = "B";
/** Commitment = E */
public static final String POSTINGTYPE_Commitment = "E";
/** Statistical = S */
public static final String POSTINGTYPE_Statistical = "S";
/** Reservation = R */
public static final String POSTINGTYPE_Reservation = "R";
/** Set PostingType.
@param PostingType
The type of posted amount for the transaction
*/
public void setPostingType (String PostingType)
{
set_Value (COLUMNNAME_PostingType, PostingType);
}
/** Get PostingType.
@return The type of posted amount for the transaction
*/
public String getPostingType ()
{
return (String)get_Value(COLUMNNAME_PostingType);
}
/** Set Processed. /** Set Processed.
@param Processed @param Processed
The document has been processed The document has been processed
@ -331,6 +792,26 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers
return false; return false;
} }
/** Set Processed On.
@param ProcessedOn
The date+time (expressed in decimal format) when the document has been processed
*/
public void setProcessedOn (BigDecimal ProcessedOn)
{
set_Value (COLUMNNAME_ProcessedOn, ProcessedOn);
}
/** Get Processed On.
@return The date+time (expressed in decimal format) when the document has been processed
*/
public BigDecimal getProcessedOn ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ProcessedOn);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Process Now. /** Set Process Now.
@param Processing Process Now */ @param Processing Process Now */
public void setProcessing (boolean Processing) public void setProcessing (boolean Processing)

View File

@ -30,7 +30,7 @@ public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Asset_Group (Properties ctx, int A_Asset_Group_ID, String trxName) public X_A_Asset_Group (Properties ctx, int A_Asset_Group_ID, String trxName)
@ -41,9 +41,13 @@ public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent
setA_Asset_Group_ID (0); setA_Asset_Group_ID (0);
setIsCreateAsActive (true); setIsCreateAsActive (true);
// Y // Y
setIsDefault (false);
// 'N'
setIsDepreciated (false); setIsDepreciated (false);
setIsOneAssetPerUOM (false); setIsOneAssetPerUOM (false);
setIsOwned (false); setIsOwned (false);
setIsTrackIssues (false);
// N
setName (null); setName (null);
} */ } */
} }
@ -76,6 +80,31 @@ public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent
return sb.toString(); return sb.toString();
} }
public org.compiere.model.I_A_Asset_Class getA_Asset_Class() throws RuntimeException
{
return (org.compiere.model.I_A_Asset_Class)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Class.Table_Name)
.getPO(getA_Asset_Class_ID(), get_TrxName()); }
/** Set Asset class.
@param A_Asset_Class_ID Asset class */
public void setA_Asset_Class_ID (int A_Asset_Class_ID)
{
if (A_Asset_Class_ID < 1)
set_Value (COLUMNNAME_A_Asset_Class_ID, null);
else
set_Value (COLUMNNAME_A_Asset_Class_ID, Integer.valueOf(A_Asset_Class_ID));
}
/** Get Asset class.
@return Asset class */
public int getA_Asset_Class_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Class_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Asset Group. /** Set Asset Group.
@param A_Asset_Group_ID @param A_Asset_Group_ID
Group of Assets Group of Assets
@ -107,6 +136,45 @@ public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent
return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Group_ID())); return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Group_ID()));
} }
/** Set A_Asset_Group_UU.
@param A_Asset_Group_UU A_Asset_Group_UU */
public void setA_Asset_Group_UU (String A_Asset_Group_UU)
{
set_Value (COLUMNNAME_A_Asset_Group_UU, A_Asset_Group_UU);
}
/** Get A_Asset_Group_UU.
@return A_Asset_Group_UU */
public String getA_Asset_Group_UU ()
{
return (String)get_Value(COLUMNNAME_A_Asset_Group_UU);
}
public org.compiere.model.I_A_Asset_Type getA_Asset_Type() throws RuntimeException
{
return (org.compiere.model.I_A_Asset_Type)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Type.Table_Name)
.getPO(getA_Asset_Type_ID(), get_TrxName()); }
/** Set Asset Type.
@param A_Asset_Type_ID Asset Type */
public void setA_Asset_Type_ID (int A_Asset_Type_ID)
{
if (A_Asset_Type_ID < 1)
set_Value (COLUMNNAME_A_Asset_Type_ID, null);
else
set_Value (COLUMNNAME_A_Asset_Type_ID, Integer.valueOf(A_Asset_Type_ID));
}
/** Get Asset Type.
@return Asset Type */
public int getA_Asset_Type_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Type_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Description. /** Set Description.
@param Description @param Description
Optional short description of the record Optional short description of the record
@ -165,6 +233,30 @@ public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent
return false; return false;
} }
/** Set Default.
@param IsDefault
Default value
*/
public void setIsDefault (boolean IsDefault)
{
set_Value (COLUMNNAME_IsDefault, Boolean.valueOf(IsDefault));
}
/** Get Default.
@return Default value
*/
public boolean isDefault ()
{
Object oo = get_Value(COLUMNNAME_IsDefault);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Depreciate. /** Set Depreciate.
@param IsDepreciated @param IsDepreciated
The asset will be depreciated The asset will be depreciated
@ -189,6 +281,27 @@ public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent
return false; return false;
} }
/** Set IsFixedAsset.
@param IsFixedAsset IsFixedAsset */
public void setIsFixedAsset (boolean IsFixedAsset)
{
set_Value (COLUMNNAME_IsFixedAsset, Boolean.valueOf(IsFixedAsset));
}
/** Get IsFixedAsset.
@return IsFixedAsset */
public boolean isFixedAsset ()
{
Object oo = get_Value(COLUMNNAME_IsFixedAsset);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set One Asset Per UOM. /** Set One Asset Per UOM.
@param IsOneAssetPerUOM @param IsOneAssetPerUOM
Create one asset per UOM Create one asset per UOM

View File

@ -32,7 +32,7 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Asset_Group_Acct (Properties ctx, int A_Asset_Group_Acct_ID, String trxName) public X_A_Asset_Group_Acct (Properties ctx, int A_Asset_Group_Acct_ID, String trxName)
@ -40,14 +40,28 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
super (ctx, A_Asset_Group_Acct_ID, trxName); super (ctx, A_Asset_Group_Acct_ID, trxName);
/** if (A_Asset_Group_Acct_ID == 0) /** if (A_Asset_Group_Acct_ID == 0)
{ {
setA_Accumdepreciation_Acct (0);
setA_Asset_Acct (0);
setA_Asset_Group_Acct_ID (0); setA_Asset_Group_Acct_ID (0);
setA_Asset_Group_ID (0); setA_Asset_Group_ID (0);
setA_Depreciation_Calc_Type (0); setA_Depreciation_Acct (0);
setA_Depreciation_Conv_F_ID (0);
setA_Depreciation_Conv_ID (0);
setA_Depreciation_F_ID (0);
setA_Depreciation_ID (0);
setA_Depreciation_Method_F_ID (0);
setA_Depreciation_Method_ID (0);
setA_Disposal_Loss_Acct (0);
setA_Disposal_Revenue_Acct (0);
setA_Split_Percent (Env.ZERO); setA_Split_Percent (Env.ZERO);
// 1
setC_AcctSchema_ID (0); setC_AcctSchema_ID (0);
setConventionType (0);
setDepreciationType (0);
setPostingType (null); setPostingType (null);
// 'A'
setUseLifeMonths_F (0);
// 0
setUseLifeYears_F (0);
// 0
} */ } */
} }
@ -84,15 +98,15 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Accumdepreciation_Acct(), get_TrxName()); } .getPO(getA_Accumdepreciation_Acct(), get_TrxName()); }
/** Set Accumulated Depreciation. /** Set Accumulated Depreciation Account.
@param A_Accumdepreciation_Acct Accumulated Depreciation */ @param A_Accumdepreciation_Acct Accumulated Depreciation Account */
public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct) public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct)
{ {
set_Value (COLUMNNAME_A_Accumdepreciation_Acct, Integer.valueOf(A_Accumdepreciation_Acct)); set_Value (COLUMNNAME_A_Accumdepreciation_Acct, Integer.valueOf(A_Accumdepreciation_Acct));
} }
/** Get Accumulated Depreciation. /** Get Accumulated Depreciation Account.
@return Accumulated Depreciation */ @return Accumulated Depreciation Account */
public int getA_Accumdepreciation_Acct () public int getA_Accumdepreciation_Acct ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Accumdepreciation_Acct); Integer ii = (Integer)get_Value(COLUMNNAME_A_Accumdepreciation_Acct);
@ -106,15 +120,15 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Asset_Acct(), get_TrxName()); } .getPO(getA_Asset_Acct(), get_TrxName()); }
/** Set Asset Cost Account. /** Set Asset Acct.
@param A_Asset_Acct Asset Cost Account */ @param A_Asset_Acct Asset Acct */
public void setA_Asset_Acct (int A_Asset_Acct) public void setA_Asset_Acct (int A_Asset_Acct)
{ {
set_Value (COLUMNNAME_A_Asset_Acct, Integer.valueOf(A_Asset_Acct)); set_Value (COLUMNNAME_A_Asset_Acct, Integer.valueOf(A_Asset_Acct));
} }
/** Get Asset Cost Account. /** Get Asset Acct.
@return Asset Cost Account */ @return Asset Acct */
public int getA_Asset_Acct () public int getA_Asset_Acct ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct); Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct);
@ -123,8 +137,8 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return ii.intValue(); return ii.intValue();
} }
/** Set Asset Group Acct.. /** Set Asset Group Accounting.
@param A_Asset_Group_Acct_ID Asset Group Acct. */ @param A_Asset_Group_Acct_ID Asset Group Accounting */
public void setA_Asset_Group_Acct_ID (int A_Asset_Group_Acct_ID) public void setA_Asset_Group_Acct_ID (int A_Asset_Group_Acct_ID)
{ {
if (A_Asset_Group_Acct_ID < 1) if (A_Asset_Group_Acct_ID < 1)
@ -133,8 +147,8 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
set_ValueNoCheck (COLUMNNAME_A_Asset_Group_Acct_ID, Integer.valueOf(A_Asset_Group_Acct_ID)); set_ValueNoCheck (COLUMNNAME_A_Asset_Group_Acct_ID, Integer.valueOf(A_Asset_Group_Acct_ID));
} }
/** Get Asset Group Acct.. /** Get Asset Group Accounting.
@return Asset Group Acct. */ @return Asset Group Accounting */
public int getA_Asset_Group_Acct_ID () public int getA_Asset_Group_Acct_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Group_Acct_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Group_Acct_ID);
@ -151,9 +165,23 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Group_Acct_ID())); return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Group_Acct_ID()));
} }
public I_A_Asset_Group getA_Asset_Group() throws RuntimeException /** Set A_Asset_Group_Acct_UU.
@param A_Asset_Group_Acct_UU A_Asset_Group_Acct_UU */
public void setA_Asset_Group_Acct_UU (String A_Asset_Group_Acct_UU)
{
set_Value (COLUMNNAME_A_Asset_Group_Acct_UU, A_Asset_Group_Acct_UU);
}
/** Get A_Asset_Group_Acct_UU.
@return A_Asset_Group_Acct_UU */
public String getA_Asset_Group_Acct_UU ()
{
return (String)get_Value(COLUMNNAME_A_Asset_Group_Acct_UU);
}
public org.compiere.model.I_A_Asset_Group getA_Asset_Group() throws RuntimeException
{ {
return (I_A_Asset_Group)MTable.get(getCtx(), I_A_Asset_Group.Table_Name) return (org.compiere.model.I_A_Asset_Group)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Group.Table_Name)
.getPO(getA_Asset_Group_ID(), get_TrxName()); } .getPO(getA_Asset_Group_ID(), get_TrxName()); }
/** Set Asset Group. /** Set Asset Group.
@ -179,20 +207,20 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return ii.intValue(); return ii.intValue();
} }
public I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException public org.compiere.model.I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException
{ {
return (I_A_Asset_Spread)MTable.get(getCtx(), I_A_Asset_Spread.Table_Name) return (org.compiere.model.I_A_Asset_Spread)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Spread.Table_Name)
.getPO(getA_Asset_Spread_Type(), get_TrxName()); } .getPO(getA_Asset_Spread_Type(), get_TrxName()); }
/** Set Asset Spread Type. /** Set Spread Type.
@param A_Asset_Spread_Type Asset Spread Type */ @param A_Asset_Spread_Type Spread Type */
public void setA_Asset_Spread_Type (int A_Asset_Spread_Type) public void setA_Asset_Spread_Type (int A_Asset_Spread_Type)
{ {
set_Value (COLUMNNAME_A_Asset_Spread_Type, Integer.valueOf(A_Asset_Spread_Type)); set_Value (COLUMNNAME_A_Asset_Spread_Type, Integer.valueOf(A_Asset_Spread_Type));
} }
/** Get Asset Spread Type. /** Get Spread Type.
@return Asset Spread Type */ @return Spread Type */
public int getA_Asset_Spread_Type () public int getA_Asset_Spread_Type ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Spread_Type); Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Spread_Type);
@ -206,15 +234,15 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Depreciation_Acct(), get_TrxName()); } .getPO(getA_Depreciation_Acct(), get_TrxName()); }
/** Set Depreciation Expense Account. /** Set Depreciation Account.
@param A_Depreciation_Acct Depreciation Expense Account */ @param A_Depreciation_Acct Depreciation Account */
public void setA_Depreciation_Acct (int A_Depreciation_Acct) public void setA_Depreciation_Acct (int A_Depreciation_Acct)
{ {
set_Value (COLUMNNAME_A_Depreciation_Acct, Integer.valueOf(A_Depreciation_Acct)); set_Value (COLUMNNAME_A_Depreciation_Acct, Integer.valueOf(A_Depreciation_Acct));
} }
/** Get Depreciation Expense Account. /** Get Depreciation Account.
@return Depreciation Expense Account */ @return Depreciation Account */
public int getA_Depreciation_Acct () public int getA_Depreciation_Acct ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Acct); Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Acct);
@ -223,20 +251,20 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return ii.intValue(); return ii.intValue();
} }
public I_A_Depreciation_Method getA_Depreciation_Calc_T() throws RuntimeException public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Calc_T() throws RuntimeException
{ {
return (I_A_Depreciation_Method)MTable.get(getCtx(), I_A_Depreciation_Method.Table_Name) return (org.compiere.model.I_A_Depreciation_Method)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Method.Table_Name)
.getPO(getA_Depreciation_Calc_Type(), get_TrxName()); } .getPO(getA_Depreciation_Calc_Type(), get_TrxName()); }
/** Set Depreciation Calculation Type. /** Set Calculation Type.
@param A_Depreciation_Calc_Type Depreciation Calculation Type */ @param A_Depreciation_Calc_Type Calculation Type */
public void setA_Depreciation_Calc_Type (int A_Depreciation_Calc_Type) public void setA_Depreciation_Calc_Type (int A_Depreciation_Calc_Type)
{ {
set_Value (COLUMNNAME_A_Depreciation_Calc_Type, Integer.valueOf(A_Depreciation_Calc_Type)); set_ValueNoCheck (COLUMNNAME_A_Depreciation_Calc_Type, Integer.valueOf(A_Depreciation_Calc_Type));
} }
/** Get Depreciation Calculation Type. /** Get Calculation Type.
@return Depreciation Calculation Type */ @return Calculation Type */
public int getA_Depreciation_Calc_Type () public int getA_Depreciation_Calc_Type ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Calc_Type); Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Calc_Type);
@ -245,8 +273,88 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return ii.intValue(); return ii.intValue();
} }
/** Set Depreciation Type. public org.compiere.model.I_A_Depreciation_Convention getA_Depreciation_Conv_F() throws RuntimeException
@param A_Depreciation_ID Depreciation Type */ {
return (org.compiere.model.I_A_Depreciation_Convention)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Convention.Table_Name)
.getPO(getA_Depreciation_Conv_F_ID(), get_TrxName()); }
/** Set Depreciation Convention (fiscal).
@param A_Depreciation_Conv_F_ID Depreciation Convention (fiscal) */
public void setA_Depreciation_Conv_F_ID (int A_Depreciation_Conv_F_ID)
{
if (A_Depreciation_Conv_F_ID < 1)
set_Value (COLUMNNAME_A_Depreciation_Conv_F_ID, null);
else
set_Value (COLUMNNAME_A_Depreciation_Conv_F_ID, Integer.valueOf(A_Depreciation_Conv_F_ID));
}
/** Get Depreciation Convention (fiscal).
@return Depreciation Convention (fiscal) */
public int getA_Depreciation_Conv_F_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Conv_F_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.compiere.model.I_A_Depreciation_Convention getA_Depreciation_Conv() throws RuntimeException
{
return (org.compiere.model.I_A_Depreciation_Convention)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Convention.Table_Name)
.getPO(getA_Depreciation_Conv_ID(), get_TrxName()); }
/** Set Convention Type.
@param A_Depreciation_Conv_ID Convention Type */
public void setA_Depreciation_Conv_ID (int A_Depreciation_Conv_ID)
{
if (A_Depreciation_Conv_ID < 1)
set_Value (COLUMNNAME_A_Depreciation_Conv_ID, null);
else
set_Value (COLUMNNAME_A_Depreciation_Conv_ID, Integer.valueOf(A_Depreciation_Conv_ID));
}
/** Get Convention Type.
@return Convention Type */
public int getA_Depreciation_Conv_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Conv_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.compiere.model.I_A_Depreciation getA_Depreciation_F() throws RuntimeException
{
return (org.compiere.model.I_A_Depreciation)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation.Table_Name)
.getPO(getA_Depreciation_F_ID(), get_TrxName()); }
/** Set Depreciation (fiscal).
@param A_Depreciation_F_ID Depreciation (fiscal) */
public void setA_Depreciation_F_ID (int A_Depreciation_F_ID)
{
if (A_Depreciation_F_ID < 1)
set_Value (COLUMNNAME_A_Depreciation_F_ID, null);
else
set_Value (COLUMNNAME_A_Depreciation_F_ID, Integer.valueOf(A_Depreciation_F_ID));
}
/** Get Depreciation (fiscal).
@return Depreciation (fiscal) */
public int getA_Depreciation_F_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_F_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.compiere.model.I_A_Depreciation getA_Depreciation() throws RuntimeException
{
return (org.compiere.model.I_A_Depreciation)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation.Table_Name)
.getPO(getA_Depreciation_ID(), get_TrxName()); }
/** Set Depreciation.
@param A_Depreciation_ID Depreciation */
public void setA_Depreciation_ID (int A_Depreciation_ID) public void setA_Depreciation_ID (int A_Depreciation_ID)
{ {
if (A_Depreciation_ID < 1) if (A_Depreciation_ID < 1)
@ -255,8 +363,8 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
set_Value (COLUMNNAME_A_Depreciation_ID, Integer.valueOf(A_Depreciation_ID)); set_Value (COLUMNNAME_A_Depreciation_ID, Integer.valueOf(A_Depreciation_ID));
} }
/** Get Depreciation Type. /** Get Depreciation.
@return Depreciation Type */ @return Depreciation */
public int getA_Depreciation_ID () public int getA_Depreciation_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_ID);
@ -265,15 +373,15 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return ii.intValue(); return ii.intValue();
} }
/** Set Depreciation Manual Amount. /** Set A_Depreciation_Manual_Amount.
@param A_Depreciation_Manual_Amount Depreciation Manual Amount */ @param A_Depreciation_Manual_Amount A_Depreciation_Manual_Amount */
public void setA_Depreciation_Manual_Amount (BigDecimal A_Depreciation_Manual_Amount) public void setA_Depreciation_Manual_Amount (BigDecimal A_Depreciation_Manual_Amount)
{ {
set_Value (COLUMNNAME_A_Depreciation_Manual_Amount, A_Depreciation_Manual_Amount); set_Value (COLUMNNAME_A_Depreciation_Manual_Amount, A_Depreciation_Manual_Amount);
} }
/** Get Depreciation Manual Amount. /** Get A_Depreciation_Manual_Amount.
@return Depreciation Manual Amount */ @return A_Depreciation_Manual_Amount */
public BigDecimal getA_Depreciation_Manual_Amount () public BigDecimal getA_Depreciation_Manual_Amount ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Manual_Amount); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Manual_Amount);
@ -288,28 +396,78 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
public static final String A_DEPRECIATION_MANUAL_PERIOD_Period = "PR"; public static final String A_DEPRECIATION_MANUAL_PERIOD_Period = "PR";
/** Yearly = YR */ /** Yearly = YR */
public static final String A_DEPRECIATION_MANUAL_PERIOD_Yearly = "YR"; public static final String A_DEPRECIATION_MANUAL_PERIOD_Yearly = "YR";
/** Set Depreciation Manual Period. /** Set A_Depreciation_Manual_Period.
@param A_Depreciation_Manual_Period Depreciation Manual Period */ @param A_Depreciation_Manual_Period A_Depreciation_Manual_Period */
public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period) public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period)
{ {
set_Value (COLUMNNAME_A_Depreciation_Manual_Period, A_Depreciation_Manual_Period); set_Value (COLUMNNAME_A_Depreciation_Manual_Period, A_Depreciation_Manual_Period);
} }
/** Get Depreciation Manual Period. /** Get A_Depreciation_Manual_Period.
@return Depreciation Manual Period */ @return A_Depreciation_Manual_Period */
public String getA_Depreciation_Manual_Period () public String getA_Depreciation_Manual_Period ()
{ {
return (String)get_Value(COLUMNNAME_A_Depreciation_Manual_Period); return (String)get_Value(COLUMNNAME_A_Depreciation_Manual_Period);
} }
public I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Method_F() throws RuntimeException
{ {
return (I_A_Depreciation_Table_Header)MTable.get(getCtx(), I_A_Depreciation_Table_Header.Table_Name) return (org.compiere.model.I_A_Depreciation_Method)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Method.Table_Name)
.getPO(getA_Depreciation_Method_F_ID(), get_TrxName()); }
/** Set Depreciation Method (fiscal).
@param A_Depreciation_Method_F_ID Depreciation Method (fiscal) */
public void setA_Depreciation_Method_F_ID (int A_Depreciation_Method_F_ID)
{
if (A_Depreciation_Method_F_ID < 1)
set_Value (COLUMNNAME_A_Depreciation_Method_F_ID, null);
else
set_Value (COLUMNNAME_A_Depreciation_Method_F_ID, Integer.valueOf(A_Depreciation_Method_F_ID));
}
/** Get Depreciation Method (fiscal).
@return Depreciation Method (fiscal) */
public int getA_Depreciation_Method_F_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Method_F_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Method() throws RuntimeException
{
return (org.compiere.model.I_A_Depreciation_Method)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Method.Table_Name)
.getPO(getA_Depreciation_Method_ID(), get_TrxName()); }
/** Set Depreciation Method.
@param A_Depreciation_Method_ID Depreciation Method */
public void setA_Depreciation_Method_ID (int A_Depreciation_Method_ID)
{
if (A_Depreciation_Method_ID < 1)
set_Value (COLUMNNAME_A_Depreciation_Method_ID, null);
else
set_Value (COLUMNNAME_A_Depreciation_Method_ID, Integer.valueOf(A_Depreciation_Method_ID));
}
/** Get Depreciation Method.
@return Depreciation Method */
public int getA_Depreciation_Method_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Method_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.compiere.model.I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException
{
return (org.compiere.model.I_A_Depreciation_Table_Header)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Table_Header.Table_Name)
.getPO(getA_Depreciation_Table_Header_ID(), get_TrxName()); } .getPO(getA_Depreciation_Table_Header_ID(), get_TrxName()); }
/** Set Depreciation Table Header. /** Set A_Depreciation_Table_Header_ID.
@param A_Depreciation_Table_Header_ID Depreciation Table Header */ @param A_Depreciation_Table_Header_ID A_Depreciation_Table_Header_ID */
public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID) public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID)
{ {
if (A_Depreciation_Table_Header_ID < 1) if (A_Depreciation_Table_Header_ID < 1)
@ -318,8 +476,8 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
set_Value (COLUMNNAME_A_Depreciation_Table_Header_ID, Integer.valueOf(A_Depreciation_Table_Header_ID)); set_Value (COLUMNNAME_A_Depreciation_Table_Header_ID, Integer.valueOf(A_Depreciation_Table_Header_ID));
} }
/** Get Depreciation Table Header. /** Get A_Depreciation_Table_Header_ID.
@return Depreciation Table Header */ @return A_Depreciation_Table_Header_ID */
public int getA_Depreciation_Table_Header_ID () public int getA_Depreciation_Table_Header_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Table_Header_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Table_Header_ID);
@ -328,15 +486,15 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return ii.intValue(); return ii.intValue();
} }
/** Set Depreciation Variable Perc.. /** Set Variable Percent.
@param A_Depreciation_Variable_Perc Depreciation Variable Perc. */ @param A_Depreciation_Variable_Perc Variable Percent */
public void setA_Depreciation_Variable_Perc (BigDecimal A_Depreciation_Variable_Perc) public void setA_Depreciation_Variable_Perc (BigDecimal A_Depreciation_Variable_Perc)
{ {
set_Value (COLUMNNAME_A_Depreciation_Variable_Perc, A_Depreciation_Variable_Perc); set_Value (COLUMNNAME_A_Depreciation_Variable_Perc, A_Depreciation_Variable_Perc);
} }
/** Get Depreciation Variable Perc.. /** Get Variable Percent.
@return Depreciation Variable Perc. */ @return Variable Percent */
public BigDecimal getA_Depreciation_Variable_Perc () public BigDecimal getA_Depreciation_Variable_Perc ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Variable_Perc); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Variable_Perc);
@ -345,6 +503,23 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return bd; return bd;
} }
/** Set Variable Percent (fiscal).
@param A_Depreciation_Variable_Perc_F Variable Percent (fiscal) */
public void setA_Depreciation_Variable_Perc_F (BigDecimal A_Depreciation_Variable_Perc_F)
{
set_Value (COLUMNNAME_A_Depreciation_Variable_Perc_F, A_Depreciation_Variable_Perc_F);
}
/** Get Variable Percent (fiscal).
@return Variable Percent (fiscal) */
public BigDecimal getA_Depreciation_Variable_Perc_F ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Variable_Perc_F);
if (bd == null)
return Env.ZERO;
return bd;
}
public I_C_ValidCombination getA_Disposal_G() throws RuntimeException public I_C_ValidCombination getA_Disposal_G() throws RuntimeException
{ {
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
@ -367,6 +542,28 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return ii.intValue(); return ii.intValue();
} }
public I_C_ValidCombination getA_Disposal_Gain_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Disposal_Gain_Acct(), get_TrxName()); }
/** Set Disposal Gain Acct.
@param A_Disposal_Gain_Acct Disposal Gain Acct */
public void setA_Disposal_Gain_Acct (int A_Disposal_Gain_Acct)
{
set_Value (COLUMNNAME_A_Disposal_Gain_Acct, Integer.valueOf(A_Disposal_Gain_Acct));
}
/** Get Disposal Gain Acct.
@return Disposal Gain Acct */
public int getA_Disposal_Gain_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Gain_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Disposal_L() throws RuntimeException public I_C_ValidCombination getA_Disposal_L() throws RuntimeException
{ {
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
@ -389,6 +586,28 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return ii.intValue(); return ii.intValue();
} }
public I_C_ValidCombination getA_Disposal_Loss_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Disposal_Loss_Acct(), get_TrxName()); }
/** Set Disposal Loss Acct.
@param A_Disposal_Loss_Acct Disposal Loss Acct */
public void setA_Disposal_Loss_Acct (int A_Disposal_Loss_Acct)
{
set_Value (COLUMNNAME_A_Disposal_Loss_Acct, Integer.valueOf(A_Disposal_Loss_Acct));
}
/** Get Disposal Loss Acct.
@return Disposal Loss Acct */
public int getA_Disposal_Loss_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Loss_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Disposal_Reve() throws RuntimeException public I_C_ValidCombination getA_Disposal_Reve() throws RuntimeException
{ {
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
@ -411,6 +630,28 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return ii.intValue(); return ii.intValue();
} }
public I_C_ValidCombination getA_Disposal_Revenue_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Disposal_Revenue_Acct(), get_TrxName()); }
/** Set Disposal Revenue Acct.
@param A_Disposal_Revenue_Acct Disposal Revenue Acct */
public void setA_Disposal_Revenue_Acct (int A_Disposal_Revenue_Acct)
{
set_Value (COLUMNNAME_A_Disposal_Revenue_Acct, Integer.valueOf(A_Disposal_Revenue_Acct));
}
/** Get Disposal Revenue Acct.
@return Disposal Revenue Acct */
public int getA_Disposal_Revenue_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Revenue_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Reval_Accumdep_Offset_() throws RuntimeException public I_C_ValidCombination getA_Reval_Accumdep_Offset_() throws RuntimeException
{ {
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
@ -455,6 +696,50 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return ii.intValue(); return ii.intValue();
} }
public I_C_ValidCombination getA_Reval_Adep_Offset_Cur_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Reval_Adep_Offset_Cur_Acct(), get_TrxName()); }
/** Set A_Reval_Accumdep_Offset_Cur.
@param A_Reval_Adep_Offset_Cur_Acct A_Reval_Accumdep_Offset_Cur */
public void setA_Reval_Adep_Offset_Cur_Acct (int A_Reval_Adep_Offset_Cur_Acct)
{
set_Value (COLUMNNAME_A_Reval_Adep_Offset_Cur_Acct, Integer.valueOf(A_Reval_Adep_Offset_Cur_Acct));
}
/** Get A_Reval_Accumdep_Offset_Cur.
@return A_Reval_Accumdep_Offset_Cur */
public int getA_Reval_Adep_Offset_Cur_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Adep_Offset_Cur_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Reval_Adep_Offset_Prior_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Reval_Adep_Offset_Prior_Acct(), get_TrxName()); }
/** Set A_Reval_Accumdep_Offset_Prior.
@param A_Reval_Adep_Offset_Prior_Acct A_Reval_Accumdep_Offset_Prior */
public void setA_Reval_Adep_Offset_Prior_Acct (int A_Reval_Adep_Offset_Prior_Acct)
{
set_Value (COLUMNNAME_A_Reval_Adep_Offset_Prior_Acct, Integer.valueOf(A_Reval_Adep_Offset_Prior_Acct));
}
/** Get A_Reval_Accumdep_Offset_Prior.
@return A_Reval_Accumdep_Offset_Prior */
public int getA_Reval_Adep_Offset_Prior_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Adep_Offset_Prior_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
/** A_Reval_Cal_Method AD_Reference_ID=53259 */ /** A_Reval_Cal_Method AD_Reference_ID=53259 */
public static final int A_REVAL_CAL_METHOD_AD_Reference_ID=53259; public static final int A_REVAL_CAL_METHOD_AD_Reference_ID=53259;
/** Default = DFT */ /** Default = DFT */
@ -463,16 +748,16 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
public static final String A_REVAL_CAL_METHOD_InceptionToDate = "IDF"; public static final String A_REVAL_CAL_METHOD_InceptionToDate = "IDF";
/** Year Balances = YBF */ /** Year Balances = YBF */
public static final String A_REVAL_CAL_METHOD_YearBalances = "YBF"; public static final String A_REVAL_CAL_METHOD_YearBalances = "YBF";
/** Set Revaluation Calculation Method. /** Set A_Reval_Cal_Method.
@param A_Reval_Cal_Method Revaluation Calculation Method */ @param A_Reval_Cal_Method A_Reval_Cal_Method */
public void setA_Reval_Cal_Method (String A_Reval_Cal_Method) public void setA_Reval_Cal_Method (String A_Reval_Cal_Method)
{ {
set_Value (COLUMNNAME_A_Reval_Cal_Method, A_Reval_Cal_Method); set_Value (COLUMNNAME_A_Reval_Cal_Method, A_Reval_Cal_Method);
} }
/** Get Revaluation Calculation Method. /** Get A_Reval_Cal_Method.
@return Revaluation Calculation Method */ @return A_Reval_Cal_Method */
public String getA_Reval_Cal_Method () public String getA_Reval_Cal_Method ()
{ {
return (String)get_Value(COLUMNNAME_A_Reval_Cal_Method); return (String)get_Value(COLUMNNAME_A_Reval_Cal_Method);
@ -500,6 +785,28 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return ii.intValue(); return ii.intValue();
} }
public I_C_ValidCombination getA_Reval_Cost_Offset_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Reval_Cost_Offset_Acct(), get_TrxName()); }
/** Set Reval Cost Offset Acct.
@param A_Reval_Cost_Offset_Acct Reval Cost Offset Acct */
public void setA_Reval_Cost_Offset_Acct (int A_Reval_Cost_Offset_Acct)
{
set_Value (COLUMNNAME_A_Reval_Cost_Offset_Acct, Integer.valueOf(A_Reval_Cost_Offset_Acct));
}
/** Get Reval Cost Offset Acct.
@return Reval Cost Offset Acct */
public int getA_Reval_Cost_Offset_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Cost_Offset_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Reval_Cost_Offset_Pr() throws RuntimeException public I_C_ValidCombination getA_Reval_Cost_Offset_Pr() throws RuntimeException
{ {
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
@ -522,6 +829,28 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return ii.intValue(); return ii.intValue();
} }
public I_C_ValidCombination getA_Reval_Cost_Offset_Prior_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Reval_Cost_Offset_Prior_Acct(), get_TrxName()); }
/** Set Reval Cost Offset Prior Acct.
@param A_Reval_Cost_Offset_Prior_Acct Reval Cost Offset Prior Acct */
public void setA_Reval_Cost_Offset_Prior_Acct (int A_Reval_Cost_Offset_Prior_Acct)
{
set_Value (COLUMNNAME_A_Reval_Cost_Offset_Prior_Acct, Integer.valueOf(A_Reval_Cost_Offset_Prior_Acct));
}
/** Get Reval Cost Offset Prior Acct.
@return Reval Cost Offset Prior Acct */
public int getA_Reval_Cost_Offset_Prior_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Cost_Offset_Prior_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Reval_Depexp_Off() throws RuntimeException public I_C_ValidCombination getA_Reval_Depexp_Off() throws RuntimeException
{ {
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
@ -544,15 +873,37 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return ii.intValue(); return ii.intValue();
} }
/** Set Split Percentage. public I_C_ValidCombination getA_Reval_Depexp_Offset_A() throws RuntimeException
@param A_Split_Percent Split Percentage */ {
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Reval_Depexp_Offset_Acct(), get_TrxName()); }
/** Set Reval Depexp Offset Acct.
@param A_Reval_Depexp_Offset_Acct Reval Depexp Offset Acct */
public void setA_Reval_Depexp_Offset_Acct (int A_Reval_Depexp_Offset_Acct)
{
set_Value (COLUMNNAME_A_Reval_Depexp_Offset_Acct, Integer.valueOf(A_Reval_Depexp_Offset_Acct));
}
/** Get Reval Depexp Offset Acct.
@return Reval Depexp Offset Acct */
public int getA_Reval_Depexp_Offset_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Depexp_Offset_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Split Percent.
@param A_Split_Percent Split Percent */
public void setA_Split_Percent (BigDecimal A_Split_Percent) public void setA_Split_Percent (BigDecimal A_Split_Percent)
{ {
set_Value (COLUMNNAME_A_Split_Percent, A_Split_Percent); set_Value (COLUMNNAME_A_Split_Percent, A_Split_Percent);
} }
/** Get Split Percentage. /** Get Split Percent.
@return Split Percentage */ @return Split Percent */
public BigDecimal getA_Split_Percent () public BigDecimal getA_Split_Percent ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Split_Percent); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Split_Percent);
@ -561,9 +912,9 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return bd; return bd;
} }
public I_C_AcctSchema getC_AcctSchema() throws RuntimeException public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException
{ {
return (I_C_AcctSchema)MTable.get(getCtx(), I_C_AcctSchema.Table_Name) return (org.compiere.model.I_C_AcctSchema)MTable.get(getCtx(), org.compiere.model.I_C_AcctSchema.Table_Name)
.getPO(getC_AcctSchema_ID(), get_TrxName()); } .getPO(getC_AcctSchema_ID(), get_TrxName()); }
/** Set Accounting Schema. /** Set Accounting Schema.
@ -589,16 +940,16 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return ii.intValue(); return ii.intValue();
} }
public I_A_Depreciation_Convention getConventionT() throws RuntimeException public org.compiere.model.I_A_Depreciation_Convention getConventionT() throws RuntimeException
{ {
return (I_A_Depreciation_Convention)MTable.get(getCtx(), I_A_Depreciation_Convention.Table_Name) return (org.compiere.model.I_A_Depreciation_Convention)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Convention.Table_Name)
.getPO(getConventionType(), get_TrxName()); } .getPO(getConventionType(), get_TrxName()); }
/** Set ConventionType. /** Set ConventionType.
@param ConventionType ConventionType */ @param ConventionType ConventionType */
public void setConventionType (int ConventionType) public void setConventionType (int ConventionType)
{ {
set_Value (COLUMNNAME_ConventionType, Integer.valueOf(ConventionType)); set_ValueNoCheck (COLUMNNAME_ConventionType, Integer.valueOf(ConventionType));
} }
/** Get ConventionType. /** Get ConventionType.
@ -611,16 +962,16 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return ii.intValue(); return ii.intValue();
} }
public I_A_Depreciation getDepreciationT() throws RuntimeException public org.compiere.model.I_A_Depreciation getDepreciationT() throws RuntimeException
{ {
return (I_A_Depreciation)MTable.get(getCtx(), I_A_Depreciation.Table_Name) return (org.compiere.model.I_A_Depreciation)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation.Table_Name)
.getPO(getDepreciationType(), get_TrxName()); } .getPO(getDepreciationType(), get_TrxName()); }
/** Set DepreciationType. /** Set DepreciationType.
@param DepreciationType DepreciationType */ @param DepreciationType DepreciationType */
public void setDepreciationType (int DepreciationType) public void setDepreciationType (int DepreciationType)
{ {
set_Value (COLUMNNAME_DepreciationType, Integer.valueOf(DepreciationType)); set_ValueNoCheck (COLUMNNAME_DepreciationType, Integer.valueOf(DepreciationType));
} }
/** Get DepreciationType. /** Get DepreciationType.
@ -704,6 +1055,23 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return ii.intValue(); return ii.intValue();
} }
/** Set Use Life - Months (fiscal).
@param UseLifeMonths_F Use Life - Months (fiscal) */
public void setUseLifeMonths_F (int UseLifeMonths_F)
{
set_Value (COLUMNNAME_UseLifeMonths_F, Integer.valueOf(UseLifeMonths_F));
}
/** Get Use Life - Months (fiscal).
@return Use Life - Months (fiscal) */
public int getUseLifeMonths_F ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_UseLifeMonths_F);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Usable Life - Years. /** Set Usable Life - Years.
@param UseLifeYears @param UseLifeYears
Years of the usable life of the asset Years of the usable life of the asset
@ -723,4 +1091,21 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return 0; return 0;
return ii.intValue(); return ii.intValue();
} }
/** Set Use Life - Years (fiscal).
@param UseLifeYears_F Use Life - Years (fiscal) */
public void setUseLifeYears_F (int UseLifeYears_F)
{
set_Value (COLUMNNAME_UseLifeYears_F, Integer.valueOf(UseLifeYears_F));
}
/** Get Use Life - Years (fiscal).
@return Use Life - Years (fiscal) */
public int getUseLifeYears_F ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_UseLifeYears_F);
if (ii == null)
return 0;
return ii.intValue();
}
} }

View File

@ -33,7 +33,7 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Asset_Info_Fin (Properties ctx, int A_Asset_Info_Fin_ID, String trxName) public X_A_Asset_Info_Fin (Properties ctx, int A_Asset_Info_Fin_ID, String trxName)
@ -74,6 +74,11 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers
return sb.toString(); return sb.toString();
} }
public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException
{
return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name)
.getPO(getA_Asset_ID(), get_TrxName()); }
/** Set Asset. /** Set Asset.
@param A_Asset_ID @param A_Asset_ID
Asset used internally or by customers Asset used internally or by customers
@ -97,8 +102,8 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers
return ii.intValue(); return ii.intValue();
} }
/** Set Asset Info Fin.. /** Set Asset Info Financial ID.
@param A_Asset_Info_Fin_ID Asset Info Fin. */ @param A_Asset_Info_Fin_ID Asset Info Financial ID */
public void setA_Asset_Info_Fin_ID (int A_Asset_Info_Fin_ID) public void setA_Asset_Info_Fin_ID (int A_Asset_Info_Fin_ID)
{ {
if (A_Asset_Info_Fin_ID < 1) if (A_Asset_Info_Fin_ID < 1)
@ -107,8 +112,8 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers
set_ValueNoCheck (COLUMNNAME_A_Asset_Info_Fin_ID, Integer.valueOf(A_Asset_Info_Fin_ID)); set_ValueNoCheck (COLUMNNAME_A_Asset_Info_Fin_ID, Integer.valueOf(A_Asset_Info_Fin_ID));
} }
/** Get Asset Info Fin.. /** Get Asset Info Financial ID.
@return Asset Info Fin. */ @return Asset Info Financial ID */
public int getA_Asset_Info_Fin_ID () public int getA_Asset_Info_Fin_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Info_Fin_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Info_Fin_ID);
@ -125,6 +130,20 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers
return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Info_Fin_ID())); return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Info_Fin_ID()));
} }
/** Set A_Asset_Info_Fin_UU.
@param A_Asset_Info_Fin_UU A_Asset_Info_Fin_UU */
public void setA_Asset_Info_Fin_UU (String A_Asset_Info_Fin_UU)
{
set_Value (COLUMNNAME_A_Asset_Info_Fin_UU, A_Asset_Info_Fin_UU);
}
/** Get A_Asset_Info_Fin_UU.
@return A_Asset_Info_Fin_UU */
public String getA_Asset_Info_Fin_UU ()
{
return (String)get_Value(COLUMNNAME_A_Asset_Info_Fin_UU);
}
/** Set Contract Date. /** Set Contract Date.
@param A_Contract_Date Contract Date */ @param A_Contract_Date Contract Date */
public void setA_Contract_Date (Timestamp A_Contract_Date) public void setA_Contract_Date (Timestamp A_Contract_Date)
@ -149,30 +168,30 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers
public static final String A_DUE_ON_BeginningOfEveryMonth = "BEG"; public static final String A_DUE_ON_BeginningOfEveryMonth = "BEG";
/** Yearly on or before contract date = YER */ /** Yearly on or before contract date = YER */
public static final String A_DUE_ON_YearlyOnOrBeforeContractDate = "YER"; public static final String A_DUE_ON_YearlyOnOrBeforeContractDate = "YER";
/** Set Payment Due Date. /** Set Asset Due On.
@param A_Due_On Payment Due Date */ @param A_Due_On Asset Due On */
public void setA_Due_On (String A_Due_On) public void setA_Due_On (String A_Due_On)
{ {
set_Value (COLUMNNAME_A_Due_On, A_Due_On); set_Value (COLUMNNAME_A_Due_On, A_Due_On);
} }
/** Get Payment Due Date. /** Get Asset Due On.
@return Payment Due Date */ @return Asset Due On */
public String getA_Due_On () public String getA_Due_On ()
{ {
return (String)get_Value(COLUMNNAME_A_Due_On); return (String)get_Value(COLUMNNAME_A_Due_On);
} }
/** Set Contract Expiration Date. /** Set Asset Expired Date.
@param A_Expired_Date Contract Expiration Date */ @param A_Expired_Date Asset Expired Date */
public void setA_Expired_Date (Timestamp A_Expired_Date) public void setA_Expired_Date (Timestamp A_Expired_Date)
{ {
set_Value (COLUMNNAME_A_Expired_Date, A_Expired_Date); set_Value (COLUMNNAME_A_Expired_Date, A_Expired_Date);
} }
/** Get Contract Expiration Date. /** Get Asset Expired Date.
@return Contract Expiration Date */ @return Asset Expired Date */
public Timestamp getA_Expired_Date () public Timestamp getA_Expired_Date ()
{ {
return (Timestamp)get_Value(COLUMNNAME_A_Expired_Date); return (Timestamp)get_Value(COLUMNNAME_A_Expired_Date);
@ -188,30 +207,30 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers
public static final String A_FINANCE_METH_Owned = "OW"; public static final String A_FINANCE_METH_Owned = "OW";
/** Rented = RE */ /** Rented = RE */
public static final String A_FINANCE_METH_Rented = "RE"; public static final String A_FINANCE_METH_Rented = "RE";
/** Set Finance Method. /** Set Asset Finance Method.
@param A_Finance_Meth Finance Method */ @param A_Finance_Meth Asset Finance Method */
public void setA_Finance_Meth (String A_Finance_Meth) public void setA_Finance_Meth (String A_Finance_Meth)
{ {
set_Value (COLUMNNAME_A_Finance_Meth, A_Finance_Meth); set_Value (COLUMNNAME_A_Finance_Meth, A_Finance_Meth);
} }
/** Get Finance Method. /** Get Asset Finance Method.
@return Finance Method */ @return Asset Finance Method */
public String getA_Finance_Meth () public String getA_Finance_Meth ()
{ {
return (String)get_Value(COLUMNNAME_A_Finance_Meth); return (String)get_Value(COLUMNNAME_A_Finance_Meth);
} }
/** Set Monthly Payment. /** Set Asset Monthly Payment.
@param A_Monthly_Payment Monthly Payment */ @param A_Monthly_Payment Asset Monthly Payment */
public void setA_Monthly_Payment (BigDecimal A_Monthly_Payment) public void setA_Monthly_Payment (BigDecimal A_Monthly_Payment)
{ {
set_Value (COLUMNNAME_A_Monthly_Payment, A_Monthly_Payment); set_Value (COLUMNNAME_A_Monthly_Payment, A_Monthly_Payment);
} }
/** Get Monthly Payment. /** Get Asset Monthly Payment.
@return Monthly Payment */ @return Asset Monthly Payment */
public BigDecimal getA_Monthly_Payment () public BigDecimal getA_Monthly_Payment ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Monthly_Payment); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Monthly_Payment);
@ -275,15 +294,15 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers
return bd; return bd;
} }
/** Set Option Purchase Price. /** Set Purchase Price.
@param A_Purchase_Price Option Purchase Price */ @param A_Purchase_Price Purchase Price */
public void setA_Purchase_Price (BigDecimal A_Purchase_Price) public void setA_Purchase_Price (BigDecimal A_Purchase_Price)
{ {
set_Value (COLUMNNAME_A_Purchase_Price, A_Purchase_Price); set_Value (COLUMNNAME_A_Purchase_Price, A_Purchase_Price);
} }
/** Get Option Purchase Price. /** Get Purchase Price.
@return Option Purchase Price */ @return Purchase Price */
public BigDecimal getA_Purchase_Price () public BigDecimal getA_Purchase_Price ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Purchase_Price); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Purchase_Price);
@ -292,6 +311,11 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers
return bd; return bd;
} }
public org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException
{
return (org.compiere.model.I_C_BPartner)MTable.get(getCtx(), org.compiere.model.I_C_BPartner.Table_Name)
.getPO(getC_BPartner_ID(), get_TrxName()); }
/** Set Business Partner . /** Set Business Partner .
@param C_BPartner_ID @param C_BPartner_ID
Identifies a Business Partner Identifies a Business Partner
@ -315,6 +339,29 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers
return ii.intValue(); return ii.intValue();
} }
/** Set Processed.
@param Processed
The document has been processed
*/
public void setProcessed (boolean Processed)
{
throw new IllegalArgumentException ("Processed is virtual column"); }
/** Get Processed.
@return The document has been processed
*/
public boolean isProcessed ()
{
Object oo = get_Value(COLUMNNAME_Processed);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Text Message. /** Set Text Message.
@param TextMsg @param TextMsg
Text Message Text Message

View File

@ -33,7 +33,7 @@ public class X_A_Asset_Info_Ins extends PO implements I_A_Asset_Info_Ins, I_Pers
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Asset_Info_Ins (Properties ctx, int A_Asset_Info_Ins_ID, String trxName) public X_A_Asset_Info_Ins (Properties ctx, int A_Asset_Info_Ins_ID, String trxName)
@ -97,8 +97,8 @@ public class X_A_Asset_Info_Ins extends PO implements I_A_Asset_Info_Ins, I_Pers
return ii.intValue(); return ii.intValue();
} }
/** Set Asset Info Ins.. /** Set A_Asset_Info_Ins_ID.
@param A_Asset_Info_Ins_ID Asset Info Ins. */ @param A_Asset_Info_Ins_ID A_Asset_Info_Ins_ID */
public void setA_Asset_Info_Ins_ID (int A_Asset_Info_Ins_ID) public void setA_Asset_Info_Ins_ID (int A_Asset_Info_Ins_ID)
{ {
if (A_Asset_Info_Ins_ID < 1) if (A_Asset_Info_Ins_ID < 1)
@ -107,8 +107,8 @@ public class X_A_Asset_Info_Ins extends PO implements I_A_Asset_Info_Ins, I_Pers
set_ValueNoCheck (COLUMNNAME_A_Asset_Info_Ins_ID, Integer.valueOf(A_Asset_Info_Ins_ID)); set_ValueNoCheck (COLUMNNAME_A_Asset_Info_Ins_ID, Integer.valueOf(A_Asset_Info_Ins_ID));
} }
/** Get Asset Info Ins.. /** Get A_Asset_Info_Ins_ID.
@return Asset Info Ins. */ @return A_Asset_Info_Ins_ID */
public int getA_Asset_Info_Ins_ID () public int getA_Asset_Info_Ins_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Info_Ins_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Info_Ins_ID);
@ -125,15 +125,29 @@ public class X_A_Asset_Info_Ins extends PO implements I_A_Asset_Info_Ins, I_Pers
return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Info_Ins_ID())); return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Info_Ins_ID()));
} }
/** Set Insurance Premium. /** Set A_Asset_Info_Ins_UU.
@param A_Ins_Premium Insurance Premium */ @param A_Asset_Info_Ins_UU A_Asset_Info_Ins_UU */
public void setA_Asset_Info_Ins_UU (String A_Asset_Info_Ins_UU)
{
set_Value (COLUMNNAME_A_Asset_Info_Ins_UU, A_Asset_Info_Ins_UU);
}
/** Get A_Asset_Info_Ins_UU.
@return A_Asset_Info_Ins_UU */
public String getA_Asset_Info_Ins_UU ()
{
return (String)get_Value(COLUMNNAME_A_Asset_Info_Ins_UU);
}
/** Set Asset Insurance Premium.
@param A_Ins_Premium Asset Insurance Premium */
public void setA_Ins_Premium (BigDecimal A_Ins_Premium) public void setA_Ins_Premium (BigDecimal A_Ins_Premium)
{ {
set_Value (COLUMNNAME_A_Ins_Premium, A_Ins_Premium); set_Value (COLUMNNAME_A_Ins_Premium, A_Ins_Premium);
} }
/** Get Insurance Premium. /** Get Asset Insurance Premium.
@return Insurance Premium */ @return Asset Insurance Premium */
public BigDecimal getA_Ins_Premium () public BigDecimal getA_Ins_Premium ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Ins_Premium); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Ins_Premium);
@ -156,15 +170,15 @@ public class X_A_Asset_Info_Ins extends PO implements I_A_Asset_Info_Ins, I_Pers
return (String)get_Value(COLUMNNAME_A_Insurance_Co); return (String)get_Value(COLUMNNAME_A_Insurance_Co);
} }
/** Set Insured Value. /** Set Asset Insurance Value.
@param A_Ins_Value Insured Value */ @param A_Ins_Value Asset Insurance Value */
public void setA_Ins_Value (BigDecimal A_Ins_Value) public void setA_Ins_Value (BigDecimal A_Ins_Value)
{ {
set_Value (COLUMNNAME_A_Ins_Value, A_Ins_Value); set_Value (COLUMNNAME_A_Ins_Value, A_Ins_Value);
} }
/** Get Insured Value. /** Get Asset Insurance Value.
@return Insured Value */ @return Asset Insurance Value */
public BigDecimal getA_Ins_Value () public BigDecimal getA_Ins_Value ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Ins_Value); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Ins_Value);
@ -173,43 +187,43 @@ public class X_A_Asset_Info_Ins extends PO implements I_A_Asset_Info_Ins, I_Pers
return bd; return bd;
} }
/** Set Policy Number. /** Set Asset Policy No.
@param A_Policy_No Policy Number */ @param A_Policy_No Asset Policy No */
public void setA_Policy_No (String A_Policy_No) public void setA_Policy_No (String A_Policy_No)
{ {
set_Value (COLUMNNAME_A_Policy_No, A_Policy_No); set_Value (COLUMNNAME_A_Policy_No, A_Policy_No);
} }
/** Get Policy Number. /** Get Asset Policy No.
@return Policy Number */ @return Asset Policy No */
public String getA_Policy_No () public String getA_Policy_No ()
{ {
return (String)get_Value(COLUMNNAME_A_Policy_No); return (String)get_Value(COLUMNNAME_A_Policy_No);
} }
/** Set Policy Renewal Date. /** Set Asset Renewal Date.
@param A_Renewal_Date Policy Renewal Date */ @param A_Renewal_Date Asset Renewal Date */
public void setA_Renewal_Date (Timestamp A_Renewal_Date) public void setA_Renewal_Date (Timestamp A_Renewal_Date)
{ {
set_Value (COLUMNNAME_A_Renewal_Date, A_Renewal_Date); set_Value (COLUMNNAME_A_Renewal_Date, A_Renewal_Date);
} }
/** Get Policy Renewal Date. /** Get Asset Renewal Date.
@return Policy Renewal Date */ @return Asset Renewal Date */
public Timestamp getA_Renewal_Date () public Timestamp getA_Renewal_Date ()
{ {
return (Timestamp)get_Value(COLUMNNAME_A_Renewal_Date); return (Timestamp)get_Value(COLUMNNAME_A_Renewal_Date);
} }
/** Set Replacement Costs. /** Set Asset Replace Cost.
@param A_Replace_Cost Replacement Costs */ @param A_Replace_Cost Asset Replace Cost */
public void setA_Replace_Cost (BigDecimal A_Replace_Cost) public void setA_Replace_Cost (BigDecimal A_Replace_Cost)
{ {
set_Value (COLUMNNAME_A_Replace_Cost, A_Replace_Cost); set_Value (COLUMNNAME_A_Replace_Cost, A_Replace_Cost);
} }
/** Get Replacement Costs. /** Get Asset Replace Cost.
@return Replacement Costs */ @return Asset Replace Cost */
public BigDecimal getA_Replace_Cost () public BigDecimal getA_Replace_Cost ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Replace_Cost); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Replace_Cost);
@ -218,15 +232,15 @@ public class X_A_Asset_Info_Ins extends PO implements I_A_Asset_Info_Ins, I_Pers
return bd; return bd;
} }
/** Set Text. /** Set Description.
@param Text Text */ @param Text Description */
public void setText (String Text) public void setText (String Text)
{ {
set_Value (COLUMNNAME_Text, Text); set_Value (COLUMNNAME_Text, Text);
} }
/** Get Text. /** Get Description.
@return Text */ @return Description */
public String getText () public String getText ()
{ {
return (String)get_Value(COLUMNNAME_Text); return (String)get_Value(COLUMNNAME_Text);

View File

@ -33,7 +33,7 @@ public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Pers
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Asset_Info_Lic (Properties ctx, int A_Asset_Info_Lic_ID, String trxName) public X_A_Asset_Info_Lic (Properties ctx, int A_Asset_Info_Lic_ID, String trxName)
@ -74,6 +74,11 @@ public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Pers
return sb.toString(); return sb.toString();
} }
public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException
{
return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name)
.getPO(getA_Asset_ID(), get_TrxName()); }
/** Set Asset. /** Set Asset.
@param A_Asset_ID @param A_Asset_ID
Asset used internally or by customers Asset used internally or by customers
@ -97,8 +102,8 @@ public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Pers
return ii.intValue(); return ii.intValue();
} }
/** Set Asset Info Lic.. /** Set A_Asset_Info_Lic_ID.
@param A_Asset_Info_Lic_ID Asset Info Lic. */ @param A_Asset_Info_Lic_ID A_Asset_Info_Lic_ID */
public void setA_Asset_Info_Lic_ID (int A_Asset_Info_Lic_ID) public void setA_Asset_Info_Lic_ID (int A_Asset_Info_Lic_ID)
{ {
if (A_Asset_Info_Lic_ID < 1) if (A_Asset_Info_Lic_ID < 1)
@ -107,8 +112,8 @@ public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Pers
set_ValueNoCheck (COLUMNNAME_A_Asset_Info_Lic_ID, Integer.valueOf(A_Asset_Info_Lic_ID)); set_ValueNoCheck (COLUMNNAME_A_Asset_Info_Lic_ID, Integer.valueOf(A_Asset_Info_Lic_ID));
} }
/** Get Asset Info Lic.. /** Get A_Asset_Info_Lic_ID.
@return Asset Info Lic. */ @return A_Asset_Info_Lic_ID */
public int getA_Asset_Info_Lic_ID () public int getA_Asset_Info_Lic_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Info_Lic_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Info_Lic_ID);
@ -125,6 +130,20 @@ public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Pers
return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Info_Lic_ID())); return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Info_Lic_ID()));
} }
/** Set A_Asset_Info_Lic_UU.
@param A_Asset_Info_Lic_UU A_Asset_Info_Lic_UU */
public void setA_Asset_Info_Lic_UU (String A_Asset_Info_Lic_UU)
{
set_Value (COLUMNNAME_A_Asset_Info_Lic_UU, A_Asset_Info_Lic_UU);
}
/** Get A_Asset_Info_Lic_UU.
@return A_Asset_Info_Lic_UU */
public String getA_Asset_Info_Lic_UU ()
{
return (String)get_Value(COLUMNNAME_A_Asset_Info_Lic_UU);
}
/** Set Issuing Agency. /** Set Issuing Agency.
@param A_Issuing_Agency Issuing Agency */ @param A_Issuing_Agency Issuing Agency */
public void setA_Issuing_Agency (String A_Issuing_Agency) public void setA_Issuing_Agency (String A_Issuing_Agency)
@ -139,15 +158,15 @@ public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Pers
return (String)get_Value(COLUMNNAME_A_Issuing_Agency); return (String)get_Value(COLUMNNAME_A_Issuing_Agency);
} }
/** Set License Fee. /** Set Asset License Fee.
@param A_License_Fee License Fee */ @param A_License_Fee Asset License Fee */
public void setA_License_Fee (BigDecimal A_License_Fee) public void setA_License_Fee (BigDecimal A_License_Fee)
{ {
set_Value (COLUMNNAME_A_License_Fee, A_License_Fee); set_Value (COLUMNNAME_A_License_Fee, A_License_Fee);
} }
/** Get License Fee. /** Get Asset License Fee.
@return License Fee */ @return Asset License Fee */
public BigDecimal getA_License_Fee () public BigDecimal getA_License_Fee ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_License_Fee); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_License_Fee);
@ -156,29 +175,29 @@ public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Pers
return bd; return bd;
} }
/** Set License No. /** Set Asset License No.
@param A_License_No License No */ @param A_License_No Asset License No */
public void setA_License_No (String A_License_No) public void setA_License_No (String A_License_No)
{ {
set_Value (COLUMNNAME_A_License_No, A_License_No); set_Value (COLUMNNAME_A_License_No, A_License_No);
} }
/** Get License No. /** Get Asset License No.
@return License No */ @return Asset License No */
public String getA_License_No () public String getA_License_No ()
{ {
return (String)get_Value(COLUMNNAME_A_License_No); return (String)get_Value(COLUMNNAME_A_License_No);
} }
/** Set Policy Renewal Date. /** Set Asset Renewal Date.
@param A_Renewal_Date Policy Renewal Date */ @param A_Renewal_Date Asset Renewal Date */
public void setA_Renewal_Date (Timestamp A_Renewal_Date) public void setA_Renewal_Date (Timestamp A_Renewal_Date)
{ {
set_Value (COLUMNNAME_A_Renewal_Date, A_Renewal_Date); set_Value (COLUMNNAME_A_Renewal_Date, A_Renewal_Date);
} }
/** Get Policy Renewal Date. /** Get Asset Renewal Date.
@return Policy Renewal Date */ @return Asset Renewal Date */
public Timestamp getA_Renewal_Date () public Timestamp getA_Renewal_Date ()
{ {
return (Timestamp)get_Value(COLUMNNAME_A_Renewal_Date); return (Timestamp)get_Value(COLUMNNAME_A_Renewal_Date);
@ -201,15 +220,38 @@ public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Pers
return (String)get_Value(COLUMNNAME_A_State); return (String)get_Value(COLUMNNAME_A_State);
} }
/** Set Text. /** Set Processed.
@param Text Text */ @param Processed
The document has been processed
*/
public void setProcessed (boolean Processed)
{
throw new IllegalArgumentException ("Processed is virtual column"); }
/** Get Processed.
@return The document has been processed
*/
public boolean isProcessed ()
{
Object oo = get_Value(COLUMNNAME_Processed);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Description.
@param Text Description */
public void setText (String Text) public void setText (String Text)
{ {
set_Value (COLUMNNAME_Text, Text); set_Value (COLUMNNAME_Text, Text);
} }
/** Get Text. /** Get Description.
@return Text */ @return Description */
public String getText () public String getText ()
{ {
return (String)get_Value(COLUMNNAME_Text); return (String)get_Value(COLUMNNAME_Text);

View File

@ -19,6 +19,7 @@ package org.compiere.model;
import java.sql.ResultSet; import java.sql.ResultSet;
import java.util.Properties; import java.util.Properties;
import org.compiere.util.KeyNamePair;
/** Generated Model for A_Asset_Info_Oth /** Generated Model for A_Asset_Info_Oth
* @author Adempiere (generated) * @author Adempiere (generated)
@ -29,7 +30,7 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Asset_Info_Oth (Properties ctx, int A_Asset_Info_Oth_ID, String trxName) public X_A_Asset_Info_Oth (Properties ctx, int A_Asset_Info_Oth_ID, String trxName)
@ -93,8 +94,8 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers
return ii.intValue(); return ii.intValue();
} }
/** Set Asset Info Oth.. /** Set A_Asset_Info_Oth_ID.
@param A_Asset_Info_Oth_ID Asset Info Oth. */ @param A_Asset_Info_Oth_ID A_Asset_Info_Oth_ID */
public void setA_Asset_Info_Oth_ID (int A_Asset_Info_Oth_ID) public void setA_Asset_Info_Oth_ID (int A_Asset_Info_Oth_ID)
{ {
if (A_Asset_Info_Oth_ID < 1) if (A_Asset_Info_Oth_ID < 1)
@ -103,8 +104,8 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers
set_Value (COLUMNNAME_A_Asset_Info_Oth_ID, Integer.valueOf(A_Asset_Info_Oth_ID)); set_Value (COLUMNNAME_A_Asset_Info_Oth_ID, Integer.valueOf(A_Asset_Info_Oth_ID));
} }
/** Get Asset Info Oth.. /** Get A_Asset_Info_Oth_ID.
@return Asset Info Oth. */ @return A_Asset_Info_Oth_ID */
public int getA_Asset_Info_Oth_ID () public int getA_Asset_Info_Oth_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Info_Oth_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Info_Oth_ID);
@ -113,225 +114,247 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers
return ii.intValue(); return ii.intValue();
} }
/** Set User 1. /** Get Record ID/ColumnName
@param A_User1 User 1 */ @return ID/ColumnName pair
*/
public KeyNamePair getKeyNamePair()
{
return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Info_Oth_ID()));
}
/** Set A_Asset_Info_Oth_UU.
@param A_Asset_Info_Oth_UU A_Asset_Info_Oth_UU */
public void setA_Asset_Info_Oth_UU (String A_Asset_Info_Oth_UU)
{
set_Value (COLUMNNAME_A_Asset_Info_Oth_UU, A_Asset_Info_Oth_UU);
}
/** Get A_Asset_Info_Oth_UU.
@return A_Asset_Info_Oth_UU */
public String getA_Asset_Info_Oth_UU ()
{
return (String)get_Value(COLUMNNAME_A_Asset_Info_Oth_UU);
}
/** Set A_User1.
@param A_User1 A_User1 */
public void setA_User1 (String A_User1) public void setA_User1 (String A_User1)
{ {
set_Value (COLUMNNAME_A_User1, A_User1); set_Value (COLUMNNAME_A_User1, A_User1);
} }
/** Get User 1. /** Get A_User1.
@return User 1 */ @return A_User1 */
public String getA_User1 () public String getA_User1 ()
{ {
return (String)get_Value(COLUMNNAME_A_User1); return (String)get_Value(COLUMNNAME_A_User1);
} }
/** Set User 10. /** Set A_User10.
@param A_User10 User 10 */ @param A_User10 A_User10 */
public void setA_User10 (String A_User10) public void setA_User10 (String A_User10)
{ {
set_Value (COLUMNNAME_A_User10, A_User10); set_Value (COLUMNNAME_A_User10, A_User10);
} }
/** Get User 10. /** Get A_User10.
@return User 10 */ @return A_User10 */
public String getA_User10 () public String getA_User10 ()
{ {
return (String)get_Value(COLUMNNAME_A_User10); return (String)get_Value(COLUMNNAME_A_User10);
} }
/** Set User 11. /** Set A_User11.
@param A_User11 User 11 */ @param A_User11 A_User11 */
public void setA_User11 (String A_User11) public void setA_User11 (String A_User11)
{ {
set_Value (COLUMNNAME_A_User11, A_User11); set_Value (COLUMNNAME_A_User11, A_User11);
} }
/** Get User 11. /** Get A_User11.
@return User 11 */ @return A_User11 */
public String getA_User11 () public String getA_User11 ()
{ {
return (String)get_Value(COLUMNNAME_A_User11); return (String)get_Value(COLUMNNAME_A_User11);
} }
/** Set User 12. /** Set A_User12.
@param A_User12 User 12 */ @param A_User12 A_User12 */
public void setA_User12 (String A_User12) public void setA_User12 (String A_User12)
{ {
set_Value (COLUMNNAME_A_User12, A_User12); set_Value (COLUMNNAME_A_User12, A_User12);
} }
/** Get User 12. /** Get A_User12.
@return User 12 */ @return A_User12 */
public String getA_User12 () public String getA_User12 ()
{ {
return (String)get_Value(COLUMNNAME_A_User12); return (String)get_Value(COLUMNNAME_A_User12);
} }
/** Set User 13. /** Set A_User13.
@param A_User13 User 13 */ @param A_User13 A_User13 */
public void setA_User13 (String A_User13) public void setA_User13 (String A_User13)
{ {
set_Value (COLUMNNAME_A_User13, A_User13); set_Value (COLUMNNAME_A_User13, A_User13);
} }
/** Get User 13. /** Get A_User13.
@return User 13 */ @return A_User13 */
public String getA_User13 () public String getA_User13 ()
{ {
return (String)get_Value(COLUMNNAME_A_User13); return (String)get_Value(COLUMNNAME_A_User13);
} }
/** Set User 14. /** Set A_User14.
@param A_User14 User 14 */ @param A_User14 A_User14 */
public void setA_User14 (String A_User14) public void setA_User14 (String A_User14)
{ {
set_Value (COLUMNNAME_A_User14, A_User14); set_Value (COLUMNNAME_A_User14, A_User14);
} }
/** Get User 14. /** Get A_User14.
@return User 14 */ @return A_User14 */
public String getA_User14 () public String getA_User14 ()
{ {
return (String)get_Value(COLUMNNAME_A_User14); return (String)get_Value(COLUMNNAME_A_User14);
} }
/** Set User 15. /** Set A_User15.
@param A_User15 User 15 */ @param A_User15 A_User15 */
public void setA_User15 (String A_User15) public void setA_User15 (String A_User15)
{ {
set_Value (COLUMNNAME_A_User15, A_User15); set_Value (COLUMNNAME_A_User15, A_User15);
} }
/** Get User 15. /** Get A_User15.
@return User 15 */ @return A_User15 */
public String getA_User15 () public String getA_User15 ()
{ {
return (String)get_Value(COLUMNNAME_A_User15); return (String)get_Value(COLUMNNAME_A_User15);
} }
/** Set User 2. /** Set A_User2.
@param A_User2 User 2 */ @param A_User2 A_User2 */
public void setA_User2 (String A_User2) public void setA_User2 (String A_User2)
{ {
set_Value (COLUMNNAME_A_User2, A_User2); set_Value (COLUMNNAME_A_User2, A_User2);
} }
/** Get User 2. /** Get A_User2.
@return User 2 */ @return A_User2 */
public String getA_User2 () public String getA_User2 ()
{ {
return (String)get_Value(COLUMNNAME_A_User2); return (String)get_Value(COLUMNNAME_A_User2);
} }
/** Set User 3. /** Set A_User3.
@param A_User3 User 3 */ @param A_User3 A_User3 */
public void setA_User3 (String A_User3) public void setA_User3 (String A_User3)
{ {
set_Value (COLUMNNAME_A_User3, A_User3); set_Value (COLUMNNAME_A_User3, A_User3);
} }
/** Get User 3. /** Get A_User3.
@return User 3 */ @return A_User3 */
public String getA_User3 () public String getA_User3 ()
{ {
return (String)get_Value(COLUMNNAME_A_User3); return (String)get_Value(COLUMNNAME_A_User3);
} }
/** Set User 4. /** Set A_User4.
@param A_User4 User 4 */ @param A_User4 A_User4 */
public void setA_User4 (String A_User4) public void setA_User4 (String A_User4)
{ {
set_Value (COLUMNNAME_A_User4, A_User4); set_Value (COLUMNNAME_A_User4, A_User4);
} }
/** Get User 4. /** Get A_User4.
@return User 4 */ @return A_User4 */
public String getA_User4 () public String getA_User4 ()
{ {
return (String)get_Value(COLUMNNAME_A_User4); return (String)get_Value(COLUMNNAME_A_User4);
} }
/** Set User 5. /** Set A_User5.
@param A_User5 User 5 */ @param A_User5 A_User5 */
public void setA_User5 (String A_User5) public void setA_User5 (String A_User5)
{ {
set_Value (COLUMNNAME_A_User5, A_User5); set_Value (COLUMNNAME_A_User5, A_User5);
} }
/** Get User 5. /** Get A_User5.
@return User 5 */ @return A_User5 */
public String getA_User5 () public String getA_User5 ()
{ {
return (String)get_Value(COLUMNNAME_A_User5); return (String)get_Value(COLUMNNAME_A_User5);
} }
/** Set User 6. /** Set A_User6.
@param A_User6 User 6 */ @param A_User6 A_User6 */
public void setA_User6 (String A_User6) public void setA_User6 (String A_User6)
{ {
set_Value (COLUMNNAME_A_User6, A_User6); set_Value (COLUMNNAME_A_User6, A_User6);
} }
/** Get User 6. /** Get A_User6.
@return User 6 */ @return A_User6 */
public String getA_User6 () public String getA_User6 ()
{ {
return (String)get_Value(COLUMNNAME_A_User6); return (String)get_Value(COLUMNNAME_A_User6);
} }
/** Set User 7. /** Set A_User7.
@param A_User7 User 7 */ @param A_User7 A_User7 */
public void setA_User7 (String A_User7) public void setA_User7 (String A_User7)
{ {
set_Value (COLUMNNAME_A_User7, A_User7); set_Value (COLUMNNAME_A_User7, A_User7);
} }
/** Get User 7. /** Get A_User7.
@return User 7 */ @return A_User7 */
public String getA_User7 () public String getA_User7 ()
{ {
return (String)get_Value(COLUMNNAME_A_User7); return (String)get_Value(COLUMNNAME_A_User7);
} }
/** Set User 8. /** Set A_User8.
@param A_User8 User 8 */ @param A_User8 A_User8 */
public void setA_User8 (String A_User8) public void setA_User8 (String A_User8)
{ {
set_Value (COLUMNNAME_A_User8, A_User8); set_Value (COLUMNNAME_A_User8, A_User8);
} }
/** Get User 8. /** Get A_User8.
@return User 8 */ @return A_User8 */
public String getA_User8 () public String getA_User8 ()
{ {
return (String)get_Value(COLUMNNAME_A_User8); return (String)get_Value(COLUMNNAME_A_User8);
} }
/** Set User 9. /** Set A_User9.
@param A_User9 User 9 */ @param A_User9 A_User9 */
public void setA_User9 (String A_User9) public void setA_User9 (String A_User9)
{ {
set_Value (COLUMNNAME_A_User9, A_User9); set_Value (COLUMNNAME_A_User9, A_User9);
} }
/** Get User 9. /** Get A_User9.
@return User 9 */ @return A_User9 */
public String getA_User9 () public String getA_User9 ()
{ {
return (String)get_Value(COLUMNNAME_A_User9); return (String)get_Value(COLUMNNAME_A_User9);
} }
/** Set Text. /** Set Description.
@param Text Text */ @param Text Description */
public void setText (String Text) public void setText (String Text)
{ {
set_Value (COLUMNNAME_Text, Text); set_Value (COLUMNNAME_Text, Text);
} }
/** Get Text. /** Get Description.
@return Text */ @return Description */
public String getText () public String getText ()
{ {
return (String)get_Value(COLUMNNAME_Text); return (String)get_Value(COLUMNNAME_Text);

View File

@ -30,7 +30,7 @@ public class X_A_Asset_Info_Tax extends PO implements I_A_Asset_Info_Tax, I_Pers
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Asset_Info_Tax (Properties ctx, int A_Asset_Info_Tax_ID, String trxName) public X_A_Asset_Info_Tax (Properties ctx, int A_Asset_Info_Tax_ID, String trxName)
@ -122,6 +122,20 @@ public class X_A_Asset_Info_Tax extends PO implements I_A_Asset_Info_Tax, I_Pers
return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Info_Tax_ID())); return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Info_Tax_ID()));
} }
/** Set A_Asset_Info_Tax_UU.
@param A_Asset_Info_Tax_UU A_Asset_Info_Tax_UU */
public void setA_Asset_Info_Tax_UU (String A_Asset_Info_Tax_UU)
{
set_Value (COLUMNNAME_A_Asset_Info_Tax_UU, A_Asset_Info_Tax_UU);
}
/** Get A_Asset_Info_Tax_UU.
@return A_Asset_Info_Tax_UU */
public String getA_Asset_Info_Tax_UU ()
{
return (String)get_Value(COLUMNNAME_A_Asset_Info_Tax_UU);
}
/** A_Finance_Meth AD_Reference_ID=53271 */ /** A_Finance_Meth AD_Reference_ID=53271 */
public static final int A_FINANCE_METH_AD_Reference_ID=53271; public static final int A_FINANCE_METH_AD_Reference_ID=53271;
/** Capitalized Lease = CL */ /** Capitalized Lease = CL */
@ -132,30 +146,30 @@ public class X_A_Asset_Info_Tax extends PO implements I_A_Asset_Info_Tax, I_Pers
public static final String A_FINANCE_METH_Owned = "OW"; public static final String A_FINANCE_METH_Owned = "OW";
/** Rented = RE */ /** Rented = RE */
public static final String A_FINANCE_METH_Rented = "RE"; public static final String A_FINANCE_METH_Rented = "RE";
/** Set Finance Method. /** Set Asset Finance Method.
@param A_Finance_Meth Finance Method */ @param A_Finance_Meth Asset Finance Method */
public void setA_Finance_Meth (String A_Finance_Meth) public void setA_Finance_Meth (String A_Finance_Meth)
{ {
set_Value (COLUMNNAME_A_Finance_Meth, A_Finance_Meth); set_Value (COLUMNNAME_A_Finance_Meth, A_Finance_Meth);
} }
/** Get Finance Method. /** Get Asset Finance Method.
@return Finance Method */ @return Asset Finance Method */
public String getA_Finance_Meth () public String getA_Finance_Meth ()
{ {
return (String)get_Value(COLUMNNAME_A_Finance_Meth); return (String)get_Value(COLUMNNAME_A_Finance_Meth);
} }
/** Set Investment Credit. /** Set Asset Investment CR.
@param A_Investment_CR Investment Credit */ @param A_Investment_CR Asset Investment CR */
public void setA_Investment_CR (int A_Investment_CR) public void setA_Investment_CR (int A_Investment_CR)
{ {
set_Value (COLUMNNAME_A_Investment_CR, Integer.valueOf(A_Investment_CR)); set_Value (COLUMNNAME_A_Investment_CR, Integer.valueOf(A_Investment_CR));
} }
/** Get Investment Credit. /** Get Asset Investment CR.
@return Investment Credit */ @return Asset Investment CR */
public int getA_Investment_CR () public int getA_Investment_CR ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Investment_CR); Integer ii = (Integer)get_Value(COLUMNNAME_A_Investment_CR);
@ -164,15 +178,15 @@ public class X_A_Asset_Info_Tax extends PO implements I_A_Asset_Info_Tax, I_Pers
return ii.intValue(); return ii.intValue();
} }
/** Set Purchased New?. /** Set Asset New Used.
@param A_New_Used Purchased New? */ @param A_New_Used Asset New Used */
public void setA_New_Used (boolean A_New_Used) public void setA_New_Used (boolean A_New_Used)
{ {
set_Value (COLUMNNAME_A_New_Used, Boolean.valueOf(A_New_Used)); set_Value (COLUMNNAME_A_New_Used, Boolean.valueOf(A_New_Used));
} }
/** Get Purchased New?. /** Get Asset New Used.
@return Purchased New? */ @return Asset New Used */
public boolean isA_New_Used () public boolean isA_New_Used ()
{ {
Object oo = get_Value(COLUMNNAME_A_New_Used); Object oo = get_Value(COLUMNNAME_A_New_Used);
@ -202,15 +216,15 @@ public class X_A_Asset_Info_Tax extends PO implements I_A_Asset_Info_Tax, I_Pers
return (String)get_Value(COLUMNNAME_A_State); return (String)get_Value(COLUMNNAME_A_State);
} }
/** Set Tax Entity. /** Set Asset Tax Entity.
@param A_Tax_Entity Tax Entity */ @param A_Tax_Entity Asset Tax Entity */
public void setA_Tax_Entity (String A_Tax_Entity) public void setA_Tax_Entity (String A_Tax_Entity)
{ {
set_Value (COLUMNNAME_A_Tax_Entity, A_Tax_Entity); set_Value (COLUMNNAME_A_Tax_Entity, A_Tax_Entity);
} }
/** Get Tax Entity. /** Get Asset Tax Entity.
@return Tax Entity */ @return Asset Tax Entity */
public String getA_Tax_Entity () public String getA_Tax_Entity ()
{ {
return (String)get_Value(COLUMNNAME_A_Tax_Entity); return (String)get_Value(COLUMNNAME_A_Tax_Entity);

View File

@ -0,0 +1,244 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
/** Generated Model - DO NOT CHANGE */
package org.compiere.model;
import java.math.BigDecimal;
import java.sql.ResultSet;
import java.util.Properties;
import org.compiere.util.Env;
/** Generated Model for A_Asset_Product
* @author Adempiere (generated)
* @version Release 3.6.0LTS - $Id$ */
public class X_A_Asset_Product extends PO implements I_A_Asset_Product, I_Persistent
{
/**
*
*/
private static final long serialVersionUID = 20121024L;
/** Standard Constructor */
public X_A_Asset_Product (Properties ctx, int A_Asset_Product_ID, String trxName)
{
super (ctx, A_Asset_Product_ID, trxName);
/** if (A_Asset_Product_ID == 0)
{
setA_Asset_ID (0);
setA_Asset_Product_ID (0);
setA_QTY_Current (Env.ZERO);
// 0
setM_AttributeSetInstance_ID (0);
setM_Product_ID (0);
} */
}
/** Load Constructor */
public X_A_Asset_Product (Properties ctx, ResultSet rs, String trxName)
{
super (ctx, rs, trxName);
}
/** AccessLevel
* @return 3 - Client - Org
*/
protected int get_AccessLevel()
{
return accessLevel.intValue();
}
/** Load Meta Data */
protected POInfo initPO (Properties ctx)
{
POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName());
return poi;
}
public String toString()
{
StringBuffer sb = new StringBuffer ("X_A_Asset_Product[")
.append(get_ID()).append("]");
return sb.toString();
}
public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException
{
return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name)
.getPO(getA_Asset_ID(), get_TrxName()); }
/** Set Asset.
@param A_Asset_ID
Asset used internally or by customers
*/
public void setA_Asset_ID (int A_Asset_ID)
{
if (A_Asset_ID < 1)
set_ValueNoCheck (COLUMNNAME_A_Asset_ID, null);
else
set_ValueNoCheck (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID));
}
/** Get Asset.
@return Asset used internally or by customers
*/
public int getA_Asset_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Asset Product.
@param A_Asset_Product_ID Asset Product */
public void setA_Asset_Product_ID (int A_Asset_Product_ID)
{
if (A_Asset_Product_ID < 1)
set_ValueNoCheck (COLUMNNAME_A_Asset_Product_ID, null);
else
set_ValueNoCheck (COLUMNNAME_A_Asset_Product_ID, Integer.valueOf(A_Asset_Product_ID));
}
/** Get Asset Product.
@return Asset Product */
public int getA_Asset_Product_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Product_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Current Qty.
@param A_QTY_Current Current Qty */
public void setA_QTY_Current (BigDecimal A_QTY_Current)
{
set_Value (COLUMNNAME_A_QTY_Current, A_QTY_Current);
}
/** Get Current Qty.
@return Current Qty */
public BigDecimal getA_QTY_Current ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_QTY_Current);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Description.
@param Description
Optional short description of the record
*/
public void setDescription (String Description)
{
set_Value (COLUMNNAME_Description, Description);
}
/** Get Description.
@return Optional short description of the record
*/
public String getDescription ()
{
return (String)get_Value(COLUMNNAME_Description);
}
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException
{
return (I_M_AttributeSetInstance)MTable.get(getCtx(), I_M_AttributeSetInstance.Table_Name)
.getPO(getM_AttributeSetInstance_ID(), get_TrxName()); }
/** Set Attribute Set Instance.
@param M_AttributeSetInstance_ID
Product Attribute Set Instance
*/
public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID)
{
if (M_AttributeSetInstance_ID < 0)
set_Value (COLUMNNAME_M_AttributeSetInstance_ID, null);
else
set_Value (COLUMNNAME_M_AttributeSetInstance_ID, Integer.valueOf(M_AttributeSetInstance_ID));
}
/** Get Attribute Set Instance.
@return Product Attribute Set Instance
*/
public int getM_AttributeSetInstance_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_AttributeSetInstance_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_M_Locator getM_Locator() throws RuntimeException
{
return (I_M_Locator)MTable.get(getCtx(), I_M_Locator.Table_Name)
.getPO(getM_Locator_ID(), get_TrxName()); }
/** Set Locator.
@param M_Locator_ID
Warehouse Locator
*/
public void setM_Locator_ID (int M_Locator_ID)
{
if (M_Locator_ID < 1)
set_Value (COLUMNNAME_M_Locator_ID, null);
else
set_Value (COLUMNNAME_M_Locator_ID, Integer.valueOf(M_Locator_ID));
}
/** Get Locator.
@return Warehouse Locator
*/
public int getM_Locator_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_Locator_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.compiere.model.I_M_Product getM_Product() throws RuntimeException
{
return (org.compiere.model.I_M_Product)MTable.get(getCtx(), org.compiere.model.I_M_Product.Table_Name)
.getPO(getM_Product_ID(), get_TrxName()); }
/** Set Product.
@param M_Product_ID
Product, Service, Item
*/
public void setM_Product_ID (int M_Product_ID)
{
if (M_Product_ID < 1)
set_Value (COLUMNNAME_M_Product_ID, null);
else
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();
}
}

View File

@ -32,7 +32,7 @@ public class X_A_Asset_Retirement extends PO implements I_A_Asset_Retirement, I_
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Asset_Retirement (Properties ctx, int A_Asset_Retirement_ID, String trxName) public X_A_Asset_Retirement (Properties ctx, int A_Asset_Retirement_ID, String trxName)
@ -75,9 +75,9 @@ public class X_A_Asset_Retirement extends PO implements I_A_Asset_Retirement, I_
return sb.toString(); return sb.toString();
} }
public I_A_Asset getA_Asset() throws RuntimeException public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException
{ {
return (I_A_Asset)MTable.get(getCtx(), I_A_Asset.Table_Name) return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name)
.getPO(getA_Asset_ID(), get_TrxName()); } .getPO(getA_Asset_ID(), get_TrxName()); }
/** Set Asset. /** Set Asset.
@ -134,6 +134,20 @@ public class X_A_Asset_Retirement extends PO implements I_A_Asset_Retirement, I_
return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Retirement_ID())); return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Retirement_ID()));
} }
/** Set A_Asset_Retirement_UU.
@param A_Asset_Retirement_UU A_Asset_Retirement_UU */
public void setA_Asset_Retirement_UU (String A_Asset_Retirement_UU)
{
set_Value (COLUMNNAME_A_Asset_Retirement_UU, A_Asset_Retirement_UU);
}
/** Get A_Asset_Retirement_UU.
@return A_Asset_Retirement_UU */
public String getA_Asset_Retirement_UU ()
{
return (String)get_Value(COLUMNNAME_A_Asset_Retirement_UU);
}
/** Set Market value Amount. /** Set Market value Amount.
@param AssetMarketValueAmt @param AssetMarketValueAmt
Market value of the asset Market value of the asset
@ -174,9 +188,9 @@ public class X_A_Asset_Retirement extends PO implements I_A_Asset_Retirement, I_
return bd; return bd;
} }
public I_C_InvoiceLine getC_InvoiceLine() throws RuntimeException public org.compiere.model.I_C_InvoiceLine getC_InvoiceLine() throws RuntimeException
{ {
return (I_C_InvoiceLine)MTable.get(getCtx(), I_C_InvoiceLine.Table_Name) return (org.compiere.model.I_C_InvoiceLine)MTable.get(getCtx(), org.compiere.model.I_C_InvoiceLine.Table_Name)
.getPO(getC_InvoiceLine_ID(), get_TrxName()); } .getPO(getC_InvoiceLine_ID(), get_TrxName()); }
/** Set Invoice Line. /** Set Invoice Line.

View File

@ -0,0 +1,478 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
/** Generated Model - DO NOT CHANGE */
package org.compiere.model;
import java.math.BigDecimal;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Properties;
import org.compiere.util.Env;
import org.compiere.util.KeyNamePair;
/** Generated Model for A_Asset_Reval
* @author Adempiere (generated)
* @version Release 3.6.0LTS - $Id$ */
public class X_A_Asset_Reval extends PO implements I_A_Asset_Reval, I_Persistent
{
/**
*
*/
private static final long serialVersionUID = 20121024L;
/** Standard Constructor */
public X_A_Asset_Reval (Properties ctx, int A_Asset_Reval_ID, String trxName)
{
super (ctx, A_Asset_Reval_ID, trxName);
/** if (A_Asset_Reval_ID == 0)
{
setA_Asset_Cost_Change (Env.ZERO);
// 0
setA_Asset_ID (0);
setA_Asset_Reval_ID (0);
setA_Change_Acumulated_Depr (Env.ZERO);
// 0
setDateAcct (new Timestamp( System.currentTimeMillis() ));
// @#Date@
setDocAction (null);
// CO
setDocStatus (null);
// DR
setPostingType (null);
// A
setProcessed (false);
// N
setProcessing (false);
// N
} */
}
/** Load Constructor */
public X_A_Asset_Reval (Properties ctx, ResultSet rs, String trxName)
{
super (ctx, rs, trxName);
}
/** AccessLevel
* @return 3 - Client - Org
*/
protected int get_AccessLevel()
{
return accessLevel.intValue();
}
/** Load Meta Data */
protected POInfo initPO (Properties ctx)
{
POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName());
return poi;
}
public String toString()
{
StringBuffer sb = new StringBuffer ("X_A_Asset_Reval[")
.append(get_ID()).append("]");
return sb.toString();
}
/** Set Accumulated Depreciation.
@param A_Accumulated_Depr Accumulated Depreciation */
public void setA_Accumulated_Depr (BigDecimal A_Accumulated_Depr)
{
set_Value (COLUMNNAME_A_Accumulated_Depr, A_Accumulated_Depr);
}
/** Get Accumulated Depreciation.
@return Accumulated Depreciation */
public BigDecimal getA_Accumulated_Depr ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Accumulated_Depr);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Asset Cost.
@param A_Asset_Cost Asset Cost */
public void setA_Asset_Cost (BigDecimal A_Asset_Cost)
{
set_Value (COLUMNNAME_A_Asset_Cost, A_Asset_Cost);
}
/** Get Asset Cost.
@return Asset Cost */
public BigDecimal getA_Asset_Cost ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Asset_Cost);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Asset Cost Change.
@param A_Asset_Cost_Change Asset Cost Change */
public void setA_Asset_Cost_Change (BigDecimal A_Asset_Cost_Change)
{
set_Value (COLUMNNAME_A_Asset_Cost_Change, A_Asset_Cost_Change);
}
/** Get Asset Cost Change.
@return Asset Cost Change */
public BigDecimal getA_Asset_Cost_Change ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Asset_Cost_Change);
if (bd == null)
return Env.ZERO;
return bd;
}
public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException
{
return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name)
.getPO(getA_Asset_ID(), get_TrxName()); }
/** Set Asset.
@param A_Asset_ID
Asset used internally or by customers
*/
public void setA_Asset_ID (int A_Asset_ID)
{
if (A_Asset_ID < 1)
set_ValueNoCheck (COLUMNNAME_A_Asset_ID, null);
else
set_ValueNoCheck (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID));
}
/** Get Asset.
@return Asset used internally or by customers
*/
public int getA_Asset_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Asset Revaluation.
@param A_Asset_Reval_ID Asset Revaluation */
public void setA_Asset_Reval_ID (int A_Asset_Reval_ID)
{
if (A_Asset_Reval_ID < 1)
set_ValueNoCheck (COLUMNNAME_A_Asset_Reval_ID, null);
else
set_ValueNoCheck (COLUMNNAME_A_Asset_Reval_ID, Integer.valueOf(A_Asset_Reval_ID));
}
/** Get Asset Revaluation.
@return Asset Revaluation */
public int getA_Asset_Reval_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Reval_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Get Record ID/ColumnName
@return ID/ColumnName pair
*/
public KeyNamePair getKeyNamePair()
{
return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Reval_ID()));
}
/** Set Change Acumulated Depreciation.
@param A_Change_Acumulated_Depr Change Acumulated Depreciation */
public void setA_Change_Acumulated_Depr (BigDecimal A_Change_Acumulated_Depr)
{
set_Value (COLUMNNAME_A_Change_Acumulated_Depr, A_Change_Acumulated_Depr);
}
/** Get Change Acumulated Depreciation.
@return Change Acumulated Depreciation */
public BigDecimal getA_Change_Acumulated_Depr ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Change_Acumulated_Depr);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Account Date.
@param DateAcct
Accounting Date
*/
public void setDateAcct (Timestamp DateAcct)
{
set_Value (COLUMNNAME_DateAcct, DateAcct);
}
/** Get Account Date.
@return Accounting Date
*/
public Timestamp getDateAcct ()
{
return (Timestamp)get_Value(COLUMNNAME_DateAcct);
}
/** Set Document Date.
@param DateDoc
Date of the Document
*/
public void setDateDoc (Timestamp DateDoc)
{
set_Value (COLUMNNAME_DateDoc, DateDoc);
}
/** Get Document Date.
@return Date of the Document
*/
public Timestamp getDateDoc ()
{
return (Timestamp)get_Value(COLUMNNAME_DateDoc);
}
/** DocAction AD_Reference_ID=135 */
public static final int DOCACTION_AD_Reference_ID=135;
/** Complete = CO */
public static final String DOCACTION_Complete = "CO";
/** Approve = AP */
public static final String DOCACTION_Approve = "AP";
/** Reject = RJ */
public static final String DOCACTION_Reject = "RJ";
/** Post = PO */
public static final String DOCACTION_Post = "PO";
/** Void = VO */
public static final String DOCACTION_Void = "VO";
/** Close = CL */
public static final String DOCACTION_Close = "CL";
/** Reverse - Correct = RC */
public static final String DOCACTION_Reverse_Correct = "RC";
/** Reverse - Accrual = RA */
public static final String DOCACTION_Reverse_Accrual = "RA";
/** Invalidate = IN */
public static final String DOCACTION_Invalidate = "IN";
/** Re-activate = RE */
public static final String DOCACTION_Re_Activate = "RE";
/** <None> = -- */
public static final String DOCACTION_None = "--";
/** Prepare = PR */
public static final String DOCACTION_Prepare = "PR";
/** Unlock = XL */
public static final String DOCACTION_Unlock = "XL";
/** Wait Complete = WC */
public static final String DOCACTION_WaitComplete = "WC";
/** Set Document Action.
@param DocAction
The targeted status of the document
*/
public void setDocAction (String DocAction)
{
set_Value (COLUMNNAME_DocAction, DocAction);
}
/** Get Document Action.
@return The targeted status of the document
*/
public String getDocAction ()
{
return (String)get_Value(COLUMNNAME_DocAction);
}
/** DocStatus AD_Reference_ID=131 */
public static final int DOCSTATUS_AD_Reference_ID=131;
/** Drafted = DR */
public static final String DOCSTATUS_Drafted = "DR";
/** Completed = CO */
public static final String DOCSTATUS_Completed = "CO";
/** Approved = AP */
public static final String DOCSTATUS_Approved = "AP";
/** Not Approved = NA */
public static final String DOCSTATUS_NotApproved = "NA";
/** Voided = VO */
public static final String DOCSTATUS_Voided = "VO";
/** Invalid = IN */
public static final String DOCSTATUS_Invalid = "IN";
/** Reversed = RE */
public static final String DOCSTATUS_Reversed = "RE";
/** Closed = CL */
public static final String DOCSTATUS_Closed = "CL";
/** Unknown = ?? */
public static final String DOCSTATUS_Unknown = "??";
/** In Progress = IP */
public static final String DOCSTATUS_InProgress = "IP";
/** Waiting Payment = WP */
public static final String DOCSTATUS_WaitingPayment = "WP";
/** Waiting Confirmation = WC */
public static final String DOCSTATUS_WaitingConfirmation = "WC";
/** Set Document Status.
@param DocStatus
The current status of the document
*/
public void setDocStatus (String DocStatus)
{
set_Value (COLUMNNAME_DocStatus, DocStatus);
}
/** Get Document Status.
@return The current status of the document
*/
public String getDocStatus ()
{
return (String)get_Value(COLUMNNAME_DocStatus);
}
/** Set Document No.
@param DocumentNo
Document sequence number of the document
*/
public void setDocumentNo (String DocumentNo)
{
set_Value (COLUMNNAME_DocumentNo, DocumentNo);
}
/** Get Document No.
@return Document sequence number of the document
*/
public String getDocumentNo ()
{
return (String)get_Value(COLUMNNAME_DocumentNo);
}
/** Set Posted.
@param Posted
Posting status
*/
public void setPosted (boolean Posted)
{
set_Value (COLUMNNAME_Posted, Boolean.valueOf(Posted));
}
/** Get Posted.
@return Posting status
*/
public boolean isPosted ()
{
Object oo = get_Value(COLUMNNAME_Posted);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** PostingType AD_Reference_ID=125 */
public static final int POSTINGTYPE_AD_Reference_ID=125;
/** Actual = A */
public static final String POSTINGTYPE_Actual = "A";
/** Budget = B */
public static final String POSTINGTYPE_Budget = "B";
/** Commitment = E */
public static final String POSTINGTYPE_Commitment = "E";
/** Statistical = S */
public static final String POSTINGTYPE_Statistical = "S";
/** Reservation = R */
public static final String POSTINGTYPE_Reservation = "R";
/** Set PostingType.
@param PostingType
The type of posted amount for the transaction
*/
public void setPostingType (String PostingType)
{
set_Value (COLUMNNAME_PostingType, PostingType);
}
/** Get PostingType.
@return The type of posted amount for the transaction
*/
public String getPostingType ()
{
return (String)get_Value(COLUMNNAME_PostingType);
}
/** Set Processed.
@param Processed
The document has been processed
*/
public void setProcessed (boolean Processed)
{
set_Value (COLUMNNAME_Processed, Boolean.valueOf(Processed));
}
/** Get Processed.
@return The document has been processed
*/
public boolean isProcessed ()
{
Object oo = get_Value(COLUMNNAME_Processed);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Processed On.
@param ProcessedOn
The date+time (expressed in decimal format) when the document has been processed
*/
public void setProcessedOn (BigDecimal ProcessedOn)
{
set_Value (COLUMNNAME_ProcessedOn, ProcessedOn);
}
/** Get Processed On.
@return The date+time (expressed in decimal format) when the document has been processed
*/
public BigDecimal getProcessedOn ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ProcessedOn);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Process Now.
@param Processing Process Now */
public void setProcessing (boolean Processing)
{
set_Value (COLUMNNAME_Processing, Boolean.valueOf(Processing));
}
/** Get Process Now.
@return Process Now */
public boolean isProcessing ()
{
Object oo = get_Value(COLUMNNAME_Processing);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
}

View File

@ -31,7 +31,7 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry,
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Asset_Reval_Entry (Properties ctx, int A_Asset_Reval_Entry_ID, String trxName) public X_A_Asset_Reval_Entry (Properties ctx, int A_Asset_Reval_Entry_ID, String trxName)
@ -110,6 +110,20 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry,
return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Reval_Entry_ID())); return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Reval_Entry_ID()));
} }
/** Set A_Asset_Reval_Entry_UU.
@param A_Asset_Reval_Entry_UU A_Asset_Reval_Entry_UU */
public void setA_Asset_Reval_Entry_UU (String A_Asset_Reval_Entry_UU)
{
set_Value (COLUMNNAME_A_Asset_Reval_Entry_UU, A_Asset_Reval_Entry_UU);
}
/** Get A_Asset_Reval_Entry_UU.
@return A_Asset_Reval_Entry_UU */
public String getA_Asset_Reval_Entry_UU ()
{
return (String)get_Value(COLUMNNAME_A_Asset_Reval_Entry_UU);
}
/** Set Effective Date. /** Set Effective Date.
@param A_Effective_Date Effective Date */ @param A_Effective_Date Effective Date */
public void setA_Effective_Date (Timestamp A_Effective_Date) public void setA_Effective_Date (Timestamp A_Effective_Date)
@ -132,16 +146,16 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry,
public static final String A_REVAL_CAL_METHOD_InceptionToDate = "IDF"; public static final String A_REVAL_CAL_METHOD_InceptionToDate = "IDF";
/** Year Balances = YBF */ /** Year Balances = YBF */
public static final String A_REVAL_CAL_METHOD_YearBalances = "YBF"; public static final String A_REVAL_CAL_METHOD_YearBalances = "YBF";
/** Set Revaluation Calculation Method. /** Set A_Reval_Cal_Method.
@param A_Reval_Cal_Method Revaluation Calculation Method */ @param A_Reval_Cal_Method A_Reval_Cal_Method */
public void setA_Reval_Cal_Method (String A_Reval_Cal_Method) public void setA_Reval_Cal_Method (String A_Reval_Cal_Method)
{ {
set_Value (COLUMNNAME_A_Reval_Cal_Method, A_Reval_Cal_Method); set_Value (COLUMNNAME_A_Reval_Cal_Method, A_Reval_Cal_Method);
} }
/** Get Revaluation Calculation Method. /** Get A_Reval_Cal_Method.
@return Revaluation Calculation Method */ @return A_Reval_Cal_Method */
public String getA_Reval_Cal_Method () public String getA_Reval_Cal_Method ()
{ {
return (String)get_Value(COLUMNNAME_A_Reval_Cal_Method); return (String)get_Value(COLUMNNAME_A_Reval_Cal_Method);
@ -214,9 +228,9 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry,
return (String)get_Value(COLUMNNAME_A_Rev_Code); return (String)get_Value(COLUMNNAME_A_Rev_Code);
} }
public I_C_AcctSchema getC_AcctSchema() throws RuntimeException public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException
{ {
return (I_C_AcctSchema)MTable.get(getCtx(), I_C_AcctSchema.Table_Name) return (org.compiere.model.I_C_AcctSchema)MTable.get(getCtx(), org.compiere.model.I_C_AcctSchema.Table_Name)
.getPO(getC_AcctSchema_ID(), get_TrxName()); } .getPO(getC_AcctSchema_ID(), get_TrxName()); }
/** Set Accounting Schema. /** Set Accounting Schema.
@ -242,9 +256,9 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry,
return ii.intValue(); return ii.intValue();
} }
public I_C_Currency getC_Currency() throws RuntimeException public org.compiere.model.I_C_Currency getC_Currency() throws RuntimeException
{ {
return (I_C_Currency)MTable.get(getCtx(), I_C_Currency.Table_Name) return (org.compiere.model.I_C_Currency)MTable.get(getCtx(), org.compiere.model.I_C_Currency.Table_Name)
.getPO(getC_Currency_ID(), get_TrxName()); } .getPO(getC_Currency_ID(), get_TrxName()); }
/** Set Currency. /** Set Currency.
@ -270,9 +284,9 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry,
return ii.intValue(); return ii.intValue();
} }
public I_C_DocType getC_DocType() throws RuntimeException public org.compiere.model.I_C_DocType getC_DocType() throws RuntimeException
{ {
return (I_C_DocType)MTable.get(getCtx(), I_C_DocType.Table_Name) return (org.compiere.model.I_C_DocType)MTable.get(getCtx(), org.compiere.model.I_C_DocType.Table_Name)
.getPO(getC_DocType_ID(), get_TrxName()); } .getPO(getC_DocType_ID(), get_TrxName()); }
/** Set Document Type. /** Set Document Type.
@ -298,9 +312,9 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry,
return ii.intValue(); return ii.intValue();
} }
public I_C_Period getC_Period() throws RuntimeException public org.compiere.model.I_C_Period getC_Period() throws RuntimeException
{ {
return (I_C_Period)MTable.get(getCtx(), I_C_Period.Table_Name) return (org.compiere.model.I_C_Period)MTable.get(getCtx(), org.compiere.model.I_C_Period.Table_Name)
.getPO(getC_Period_ID(), get_TrxName()); } .getPO(getC_Period_ID(), get_TrxName()); }
/** Set Period. /** Set Period.
@ -394,9 +408,9 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry,
return (String)get_Value(COLUMNNAME_DocumentNo); return (String)get_Value(COLUMNNAME_DocumentNo);
} }
public I_GL_Category getGL_Category() throws RuntimeException public org.compiere.model.I_GL_Category getGL_Category() throws RuntimeException
{ {
return (I_GL_Category)MTable.get(getCtx(), I_GL_Category.Table_Name) return (org.compiere.model.I_GL_Category)MTable.get(getCtx(), org.compiere.model.I_GL_Category.Table_Name)
.getPO(getGL_Category_ID(), get_TrxName()); } .getPO(getGL_Category_ID(), get_TrxName()); }
/** Set GL Category. /** Set GL Category.

View File

@ -33,7 +33,7 @@ public class X_A_Asset_Reval_Index extends PO implements I_A_Asset_Reval_Index,
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Asset_Reval_Index (Properties ctx, int A_Asset_Reval_Index_ID, String trxName) public X_A_Asset_Reval_Index (Properties ctx, int A_Asset_Reval_Index_ID, String trxName)
@ -105,6 +105,20 @@ public class X_A_Asset_Reval_Index extends PO implements I_A_Asset_Reval_Index,
return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Reval_Index_ID())); return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Reval_Index_ID()));
} }
/** Set A_Asset_Reval_Index_UU.
@param A_Asset_Reval_Index_UU A_Asset_Reval_Index_UU */
public void setA_Asset_Reval_Index_UU (String A_Asset_Reval_Index_UU)
{
set_Value (COLUMNNAME_A_Asset_Reval_Index_UU, A_Asset_Reval_Index_UU);
}
/** Get A_Asset_Reval_Index_UU.
@return A_Asset_Reval_Index_UU */
public String getA_Asset_Reval_Index_UU ()
{
return (String)get_Value(COLUMNNAME_A_Asset_Reval_Index_UU);
}
/** Set Effective Date. /** Set Effective Date.
@param A_Effective_Date Effective Date */ @param A_Effective_Date Effective Date */
public void setA_Effective_Date (Timestamp A_Effective_Date) public void setA_Effective_Date (Timestamp A_Effective_Date)

View File

@ -33,7 +33,7 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Asset_Split (Properties ctx, int A_Asset_Split_ID, String trxName) public X_A_Asset_Split (Properties ctx, int A_Asset_Split_ID, String trxName)
@ -108,8 +108,8 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent
return bd; return bd;
} }
/** Set Asset Acct.. /** Set A_Asset_Acct_ID.
@param A_Asset_Acct_ID Asset Acct. */ @param A_Asset_Acct_ID A_Asset_Acct_ID */
public void setA_Asset_Acct_ID (int A_Asset_Acct_ID) public void setA_Asset_Acct_ID (int A_Asset_Acct_ID)
{ {
if (A_Asset_Acct_ID < 1) if (A_Asset_Acct_ID < 1)
@ -118,8 +118,8 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent
set_Value (COLUMNNAME_A_Asset_Acct_ID, Integer.valueOf(A_Asset_Acct_ID)); set_Value (COLUMNNAME_A_Asset_Acct_ID, Integer.valueOf(A_Asset_Acct_ID));
} }
/** Get Asset Acct.. /** Get A_Asset_Acct_ID.
@return Asset Acct. */ @return A_Asset_Acct_ID */
public int getA_Asset_Acct_ID () public int getA_Asset_Acct_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct_ID);
@ -168,9 +168,9 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_A_Asset getA_Asset_To() throws RuntimeException public org.compiere.model.I_A_Asset getA_Asset_To() throws RuntimeException
{ {
return (I_A_Asset)MTable.get(getCtx(), I_A_Asset.Table_Name) return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name)
.getPO(getA_Asset_ID_To(), get_TrxName()); } .getPO(getA_Asset_ID_To(), get_TrxName()); }
/** Set To Asset ID. /** Set To Asset ID.
@ -218,8 +218,22 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent
return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Split_ID())); return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Split_ID()));
} }
/** Set Depreciation Workfile. /** Set A_Asset_Split_UU.
@param A_Depreciation_Workfile_ID Depreciation Workfile */ @param A_Asset_Split_UU A_Asset_Split_UU */
public void setA_Asset_Split_UU (String A_Asset_Split_UU)
{
set_Value (COLUMNNAME_A_Asset_Split_UU, A_Asset_Split_UU);
}
/** Get A_Asset_Split_UU.
@return A_Asset_Split_UU */
public String getA_Asset_Split_UU ()
{
return (String)get_Value(COLUMNNAME_A_Asset_Split_UU);
}
/** Set A_Depreciation_Workfile_ID.
@param A_Depreciation_Workfile_ID A_Depreciation_Workfile_ID */
public void setA_Depreciation_Workfile_ID (int A_Depreciation_Workfile_ID) public void setA_Depreciation_Workfile_ID (int A_Depreciation_Workfile_ID)
{ {
if (A_Depreciation_Workfile_ID < 1) if (A_Depreciation_Workfile_ID < 1)
@ -228,8 +242,8 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent
set_ValueNoCheck (COLUMNNAME_A_Depreciation_Workfile_ID, Integer.valueOf(A_Depreciation_Workfile_ID)); set_ValueNoCheck (COLUMNNAME_A_Depreciation_Workfile_ID, Integer.valueOf(A_Depreciation_Workfile_ID));
} }
/** Get Depreciation Workfile. /** Get A_Depreciation_Workfile_ID.
@return Depreciation Workfile */ @return A_Depreciation_Workfile_ID */
public int getA_Depreciation_Workfile_ID () public int getA_Depreciation_Workfile_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Workfile_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Workfile_ID);
@ -272,15 +286,15 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent
return bd; return bd;
} }
/** Set Quantity. /** Set Current Qty.
@param A_QTY_Current Quantity */ @param A_QTY_Current Current Qty */
public void setA_QTY_Current (BigDecimal A_QTY_Current) public void setA_QTY_Current (BigDecimal A_QTY_Current)
{ {
set_Value (COLUMNNAME_A_QTY_Current, A_QTY_Current); set_Value (COLUMNNAME_A_QTY_Current, A_QTY_Current);
} }
/** Get Quantity. /** Get Current Qty.
@return Quantity */ @return Current Qty */
public BigDecimal getA_QTY_Current () public BigDecimal getA_QTY_Current ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_QTY_Current); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_QTY_Current);
@ -329,15 +343,15 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent
return (String)get_Value(COLUMNNAME_A_Split_Type); return (String)get_Value(COLUMNNAME_A_Split_Type);
} }
/** Set Transfer Balance IS. /** Set A_Transfer_Balance_IS.
@param A_Transfer_Balance_IS Transfer Balance IS */ @param A_Transfer_Balance_IS A_Transfer_Balance_IS */
public void setA_Transfer_Balance_IS (boolean A_Transfer_Balance_IS) public void setA_Transfer_Balance_IS (boolean A_Transfer_Balance_IS)
{ {
set_Value (COLUMNNAME_A_Transfer_Balance_IS, Boolean.valueOf(A_Transfer_Balance_IS)); set_Value (COLUMNNAME_A_Transfer_Balance_IS, Boolean.valueOf(A_Transfer_Balance_IS));
} }
/** Get Transfer Balance IS. /** Get A_Transfer_Balance_IS.
@return Transfer Balance IS */ @return A_Transfer_Balance_IS */
public boolean isA_Transfer_Balance_IS () public boolean isA_Transfer_Balance_IS ()
{ {
Object oo = get_Value(COLUMNNAME_A_Transfer_Balance_IS); Object oo = get_Value(COLUMNNAME_A_Transfer_Balance_IS);
@ -350,9 +364,9 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent
return false; return false;
} }
public I_C_Period getC_Period() throws RuntimeException public org.compiere.model.I_C_Period getC_Period() throws RuntimeException
{ {
return (I_C_Period)MTable.get(getCtx(), I_C_Period.Table_Name) return (org.compiere.model.I_C_Period)MTable.get(getCtx(), org.compiere.model.I_C_Period.Table_Name)
.getPO(getC_Period_ID(), get_TrxName()); } .getPO(getC_Period_ID(), get_TrxName()); }
/** Set Period. /** Set Period.

View File

@ -32,7 +32,7 @@ public class X_A_Asset_Spread extends PO implements I_A_Asset_Spread, I_Persiste
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Asset_Spread (Properties ctx, int A_Asset_Spread_ID, String trxName) public X_A_Asset_Spread (Properties ctx, int A_Asset_Spread_ID, String trxName)
@ -86,8 +86,8 @@ public class X_A_Asset_Spread extends PO implements I_A_Asset_Spread, I_Persiste
return sb.toString(); return sb.toString();
} }
/** Set Asset Spread. /** Set A_Asset_Spread_ID.
@param A_Asset_Spread_ID Asset Spread */ @param A_Asset_Spread_ID A_Asset_Spread_ID */
public void setA_Asset_Spread_ID (int A_Asset_Spread_ID) public void setA_Asset_Spread_ID (int A_Asset_Spread_ID)
{ {
if (A_Asset_Spread_ID < 1) if (A_Asset_Spread_ID < 1)
@ -96,8 +96,8 @@ public class X_A_Asset_Spread extends PO implements I_A_Asset_Spread, I_Persiste
set_ValueNoCheck (COLUMNNAME_A_Asset_Spread_ID, Integer.valueOf(A_Asset_Spread_ID)); set_ValueNoCheck (COLUMNNAME_A_Asset_Spread_ID, Integer.valueOf(A_Asset_Spread_ID));
} }
/** Get Asset Spread. /** Get A_Asset_Spread_ID.
@return Asset Spread */ @return A_Asset_Spread_ID */
public int getA_Asset_Spread_ID () public int getA_Asset_Spread_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Spread_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Spread_ID);
@ -114,20 +114,34 @@ public class X_A_Asset_Spread extends PO implements I_A_Asset_Spread, I_Persiste
return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Spread_ID())); return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Spread_ID()));
} }
/** Set Asset Spread Type. /** Set Spread Type.
@param A_Asset_Spread_Type Asset Spread Type */ @param A_Asset_Spread_Type Spread Type */
public void setA_Asset_Spread_Type (String A_Asset_Spread_Type) public void setA_Asset_Spread_Type (String A_Asset_Spread_Type)
{ {
set_Value (COLUMNNAME_A_Asset_Spread_Type, A_Asset_Spread_Type); set_Value (COLUMNNAME_A_Asset_Spread_Type, A_Asset_Spread_Type);
} }
/** Get Asset Spread Type. /** Get Spread Type.
@return Asset Spread Type */ @return Spread Type */
public String getA_Asset_Spread_Type () public String getA_Asset_Spread_Type ()
{ {
return (String)get_Value(COLUMNNAME_A_Asset_Spread_Type); return (String)get_Value(COLUMNNAME_A_Asset_Spread_Type);
} }
/** Set A_Asset_Spread_UU.
@param A_Asset_Spread_UU A_Asset_Spread_UU */
public void setA_Asset_Spread_UU (String A_Asset_Spread_UU)
{
set_Value (COLUMNNAME_A_Asset_Spread_UU, A_Asset_Spread_UU);
}
/** Get A_Asset_Spread_UU.
@return A_Asset_Spread_UU */
public String getA_Asset_Spread_UU ()
{
return (String)get_Value(COLUMNNAME_A_Asset_Spread_UU);
}
/** Set Period 1. /** Set Period 1.
@param A_Period_1 Period 1 */ @param A_Period_1 Period 1 */
public void setA_Period_1 (BigDecimal A_Period_1) public void setA_Period_1 (BigDecimal A_Period_1)

View File

@ -33,7 +33,7 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Asset_Transfer (Properties ctx, int A_Asset_Transfer_ID, String trxName) public X_A_Asset_Transfer (Properties ctx, int A_Asset_Transfer_ID, String trxName)
@ -41,25 +41,35 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
super (ctx, A_Asset_Transfer_ID, trxName); super (ctx, A_Asset_Transfer_ID, trxName);
/** if (A_Asset_Transfer_ID == 0) /** if (A_Asset_Transfer_ID == 0)
{ {
setA_Accumdepreciation_Acct_New (0); setA_Accumdepreciation_New_Acct (0);
setA_Asset_Acct_New (0); setA_Asset_ID (0);
setA_Asset_New_Acct (0);
setA_Asset_Transfer_ID (0); setA_Asset_Transfer_ID (0);
setA_Depreciation_Acct_New (0); setA_CapvsExp (null);
setA_Disposal_Loss_New (0); // 'Cap'
setA_Disposal_Revenue_New (0); setA_Depreciation_New_Acct (0);
setA_Disposal_Loss_New_Acct (0);
setA_Disposal_Revenue_New_Acct (0);
setA_Period_End (0); setA_Period_End (0);
// @SQL=SELECT A_Period_End FROM A_Asset_Acct WHERE A_Asset_Acct.A_Asset_Acct_ID=@A_Asset_Acct_ID@
setA_Period_Start (0); setA_Period_Start (0);
// @SQL=SELECT A_Period_Start FROM A_Asset_Acct WHERE A_Asset_Acct.A_Asset_Acct_ID=@A_Asset_Acct_ID@
setA_Split_Percent (Env.ZERO); setA_Split_Percent (Env.ZERO);
// @SQL=SELECT A_Split_Percent FROM A_Asset_Acct WHERE A_Asset_Acct.A_Asset_Acct_ID=@A_Asset_Acct_ID@ // 1
setA_Transfer_Balance (true); setA_Transfer_Balance (true);
// Y // Y
setA_Transfer_Balance_IS (false); setA_Transfer_Balance_IS (false);
setC_AcctSchema_ID (0);
setDateAcct (new Timestamp( System.currentTimeMillis() )); setDateAcct (new Timestamp( System.currentTimeMillis() ));
// @Date@ // @#Date@
setDocAction (null);
// CO
setDocStatus (null);
// DR
setPostingType (null);
// A
setProcessed (false); setProcessed (false);
// N
setProcessing (false); setProcessing (false);
// N
} */ } */
} }
@ -91,15 +101,20 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
return sb.toString(); return sb.toString();
} }
/** Set Accumulated Depreciation. public I_C_ValidCombination getA_Accumdepreciation_A() throws RuntimeException
@param A_Accumdepreciation_Acct Accumulated Depreciation */ {
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Accumdepreciation_Acct(), get_TrxName()); }
/** Set Accumulated Depreciation Account.
@param A_Accumdepreciation_Acct Accumulated Depreciation Account */
public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct) public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct)
{ {
set_Value (COLUMNNAME_A_Accumdepreciation_Acct, Integer.valueOf(A_Accumdepreciation_Acct)); set_ValueNoCheck (COLUMNNAME_A_Accumdepreciation_Acct, Integer.valueOf(A_Accumdepreciation_Acct));
} }
/** Get Accumulated Depreciation. /** Get Accumulated Depreciation Account.
@return Accumulated Depreciation */ @return Accumulated Depreciation Account */
public int getA_Accumdepreciation_Acct () public int getA_Accumdepreciation_Acct ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Accumdepreciation_Acct); Integer ii = (Integer)get_Value(COLUMNNAME_A_Accumdepreciation_Acct);
@ -130,29 +145,73 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
return ii.intValue(); return ii.intValue();
} }
/** Set Old Accum Depreciation Acct. /** Set Old Asset Cost Acct.
@param A_Accumdepreciation_Acct_Str Old Accum Depreciation Acct */ @param A_Accumdepreciation_Acct_Str Old Asset Cost Acct */
public void setA_Accumdepreciation_Acct_Str (String A_Accumdepreciation_Acct_Str) public void setA_Accumdepreciation_Acct_Str (String A_Accumdepreciation_Acct_Str)
{ {
set_Value (COLUMNNAME_A_Accumdepreciation_Acct_Str, A_Accumdepreciation_Acct_Str); set_ValueNoCheck (COLUMNNAME_A_Accumdepreciation_Acct_Str, A_Accumdepreciation_Acct_Str);
} }
/** Get Old Accum Depreciation Acct. /** Get Old Asset Cost Acct.
@return Old Accum Depreciation Acct */ @return Old Asset Cost Acct */
public String getA_Accumdepreciation_Acct_Str () public String getA_Accumdepreciation_Acct_Str ()
{ {
return (String)get_Value(COLUMNNAME_A_Accumdepreciation_Acct_Str); return (String)get_Value(COLUMNNAME_A_Accumdepreciation_Acct_Str);
} }
/** Set Asset Cost Account. public I_C_ValidCombination getA_Accumdepreciation_New_A() throws RuntimeException
@param A_Asset_Acct Asset Cost Account */ {
public void setA_Asset_Acct (int A_Asset_Acct) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Accumdepreciation_New_Acct(), get_TrxName()); }
/** Set Accumulated Depreciation Account (new).
@param A_Accumdepreciation_New_Acct Accumulated Depreciation Account (new) */
public void setA_Accumdepreciation_New_Acct (int A_Accumdepreciation_New_Acct)
{ {
set_Value (COLUMNNAME_A_Asset_Acct, Integer.valueOf(A_Asset_Acct)); set_Value (COLUMNNAME_A_Accumdepreciation_New_Acct, Integer.valueOf(A_Accumdepreciation_New_Acct));
} }
/** Get Asset Cost Account. /** Get Accumulated Depreciation Account (new).
@return Asset Cost Account */ @return Accumulated Depreciation Account (new) */
public int getA_Accumdepreciation_New_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Accumdepreciation_New_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Accumulated Depreciation (fiscal).
@param A_Accumulated_Depr_F Accumulated Depreciation (fiscal) */
public void setA_Accumulated_Depr_F (BigDecimal A_Accumulated_Depr_F)
{
set_Value (COLUMNNAME_A_Accumulated_Depr_F, A_Accumulated_Depr_F);
}
/** Get Accumulated Depreciation (fiscal).
@return Accumulated Depreciation (fiscal) */
public BigDecimal getA_Accumulated_Depr_F ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Accumulated_Depr_F);
if (bd == null)
return Env.ZERO;
return bd;
}
public I_C_ValidCombination getA_Asset_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Asset_Acct(), get_TrxName()); }
/** Set Asset Acct.
@param A_Asset_Acct Asset Acct */
public void setA_Asset_Acct (int A_Asset_Acct)
{
set_ValueNoCheck (COLUMNNAME_A_Asset_Acct, Integer.valueOf(A_Asset_Acct));
}
/** Get Asset Acct.
@return Asset Acct */
public int getA_Asset_Acct () public int getA_Asset_Acct ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct); Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct);
@ -161,8 +220,8 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
return ii.intValue(); return ii.intValue();
} }
/** Set Asset Acct.. /** Set A_Asset_Acct_ID.
@param A_Asset_Acct_ID Asset Acct. */ @param A_Asset_Acct_ID A_Asset_Acct_ID */
public void setA_Asset_Acct_ID (int A_Asset_Acct_ID) public void setA_Asset_Acct_ID (int A_Asset_Acct_ID)
{ {
if (A_Asset_Acct_ID < 1) if (A_Asset_Acct_ID < 1)
@ -171,8 +230,8 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
set_Value (COLUMNNAME_A_Asset_Acct_ID, Integer.valueOf(A_Asset_Acct_ID)); set_Value (COLUMNNAME_A_Asset_Acct_ID, Integer.valueOf(A_Asset_Acct_ID));
} }
/** Get Asset Acct.. /** Get A_Asset_Acct_ID.
@return Asset Acct. */ @return A_Asset_Acct_ID */
public int getA_Asset_Acct_ID () public int getA_Asset_Acct_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct_ID);
@ -203,20 +262,25 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
return ii.intValue(); return ii.intValue();
} }
/** Set Old Asset Cost Acct. /** Set A_Asset_Acct_Str.
@param A_Asset_Acct_Str Old Asset Cost Acct */ @param A_Asset_Acct_Str A_Asset_Acct_Str */
public void setA_Asset_Acct_Str (String A_Asset_Acct_Str) public void setA_Asset_Acct_Str (String A_Asset_Acct_Str)
{ {
set_Value (COLUMNNAME_A_Asset_Acct_Str, A_Asset_Acct_Str); set_ValueNoCheck (COLUMNNAME_A_Asset_Acct_Str, A_Asset_Acct_Str);
} }
/** Get Old Asset Cost Acct. /** Get A_Asset_Acct_Str.
@return Old Asset Cost Acct */ @return A_Asset_Acct_Str */
public String getA_Asset_Acct_Str () public String getA_Asset_Acct_Str ()
{ {
return (String)get_Value(COLUMNNAME_A_Asset_Acct_Str); return (String)get_Value(COLUMNNAME_A_Asset_Acct_Str);
} }
public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException
{
return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name)
.getPO(getA_Asset_ID(), get_TrxName()); }
/** Set Asset. /** Set Asset.
@param A_Asset_ID @param A_Asset_ID
Asset used internally or by customers Asset used internally or by customers
@ -224,9 +288,9 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
public void setA_Asset_ID (int A_Asset_ID) public void setA_Asset_ID (int A_Asset_ID)
{ {
if (A_Asset_ID < 1) if (A_Asset_ID < 1)
set_Value (COLUMNNAME_A_Asset_ID, null); set_ValueNoCheck (COLUMNNAME_A_Asset_ID, null);
else else
set_Value (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID)); set_ValueNoCheck (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID));
} }
/** Get Asset. /** Get Asset.
@ -240,8 +304,30 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
return ii.intValue(); return ii.intValue();
} }
/** Set Asset Transfer. public I_C_ValidCombination getA_Asset_New_A() throws RuntimeException
@param A_Asset_Transfer_ID Asset Transfer */ {
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Asset_New_Acct(), get_TrxName()); }
/** Set Asset Acct (new).
@param A_Asset_New_Acct Asset Acct (new) */
public void setA_Asset_New_Acct (int A_Asset_New_Acct)
{
set_Value (COLUMNNAME_A_Asset_New_Acct, Integer.valueOf(A_Asset_New_Acct));
}
/** Get Asset Acct (new).
@return Asset Acct (new) */
public int getA_Asset_New_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_New_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set A_Asset_Transfer_ID.
@param A_Asset_Transfer_ID A_Asset_Transfer_ID */
public void setA_Asset_Transfer_ID (int A_Asset_Transfer_ID) public void setA_Asset_Transfer_ID (int A_Asset_Transfer_ID)
{ {
if (A_Asset_Transfer_ID < 1) if (A_Asset_Transfer_ID < 1)
@ -250,8 +336,8 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
set_ValueNoCheck (COLUMNNAME_A_Asset_Transfer_ID, Integer.valueOf(A_Asset_Transfer_ID)); set_ValueNoCheck (COLUMNNAME_A_Asset_Transfer_ID, Integer.valueOf(A_Asset_Transfer_ID));
} }
/** Get Asset Transfer. /** Get A_Asset_Transfer_ID.
@return Asset Transfer */ @return A_Asset_Transfer_ID */
public int getA_Asset_Transfer_ID () public int getA_Asset_Transfer_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Transfer_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Transfer_ID);
@ -268,15 +354,55 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Transfer_ID())); return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Transfer_ID()));
} }
/** Set Depreciation Expense Account. /** Set A_Asset_Transfer_UU.
@param A_Depreciation_Acct Depreciation Expense Account */ @param A_Asset_Transfer_UU A_Asset_Transfer_UU */
public void setA_Depreciation_Acct (int A_Depreciation_Acct) public void setA_Asset_Transfer_UU (String A_Asset_Transfer_UU)
{ {
set_Value (COLUMNNAME_A_Depreciation_Acct, Integer.valueOf(A_Depreciation_Acct)); set_Value (COLUMNNAME_A_Asset_Transfer_UU, A_Asset_Transfer_UU);
} }
/** Get Depreciation Expense Account. /** Get A_Asset_Transfer_UU.
@return Depreciation Expense Account */ @return A_Asset_Transfer_UU */
public String getA_Asset_Transfer_UU ()
{
return (String)get_Value(COLUMNNAME_A_Asset_Transfer_UU);
}
/** A_CapvsExp AD_Reference_ID=53277 */
public static final int A_CAPVSEXP_AD_Reference_ID=53277;
/** Capital = Cap */
public static final String A_CAPVSEXP_Capital = "Cap";
/** Expense = Exp */
public static final String A_CAPVSEXP_Expense = "Exp";
/** Set Capital/Expense.
@param A_CapvsExp Capital/Expense */
public void setA_CapvsExp (String A_CapvsExp)
{
set_Value (COLUMNNAME_A_CapvsExp, A_CapvsExp);
}
/** Get Capital/Expense.
@return Capital/Expense */
public String getA_CapvsExp ()
{
return (String)get_Value(COLUMNNAME_A_CapvsExp);
}
public I_C_ValidCombination getA_Depreciation_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Depreciation_Acct(), get_TrxName()); }
/** Set Depreciation Account.
@param A_Depreciation_Acct Depreciation Account */
public void setA_Depreciation_Acct (int A_Depreciation_Acct)
{
set_ValueNoCheck (COLUMNNAME_A_Depreciation_Acct, Integer.valueOf(A_Depreciation_Acct));
}
/** Get Depreciation Account.
@return Depreciation Account */
public int getA_Depreciation_Acct () public int getA_Depreciation_Acct ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Acct); Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Acct);
@ -307,20 +433,42 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
return ii.intValue(); return ii.intValue();
} }
/** Set Old Depreciation Exp Acct. /** Set A_Depreciation_Acct_Str.
@param A_Depreciation_Acct_Str Old Depreciation Exp Acct */ @param A_Depreciation_Acct_Str A_Depreciation_Acct_Str */
public void setA_Depreciation_Acct_Str (String A_Depreciation_Acct_Str) public void setA_Depreciation_Acct_Str (String A_Depreciation_Acct_Str)
{ {
set_ValueNoCheck (COLUMNNAME_A_Depreciation_Acct_Str, A_Depreciation_Acct_Str); set_ValueNoCheck (COLUMNNAME_A_Depreciation_Acct_Str, A_Depreciation_Acct_Str);
} }
/** Get Old Depreciation Exp Acct. /** Get A_Depreciation_Acct_Str.
@return Old Depreciation Exp Acct */ @return A_Depreciation_Acct_Str */
public String getA_Depreciation_Acct_Str () public String getA_Depreciation_Acct_Str ()
{ {
return (String)get_Value(COLUMNNAME_A_Depreciation_Acct_Str); return (String)get_Value(COLUMNNAME_A_Depreciation_Acct_Str);
} }
public I_C_ValidCombination getA_Depreciation_New_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Depreciation_New_Acct(), get_TrxName()); }
/** Set Depreciation Acct (new).
@param A_Depreciation_New_Acct Depreciation Acct (new) */
public void setA_Depreciation_New_Acct (int A_Depreciation_New_Acct)
{
set_Value (COLUMNNAME_A_Depreciation_New_Acct, Integer.valueOf(A_Depreciation_New_Acct));
}
/** Get Depreciation Acct (new).
@return Depreciation Acct (new) */
public int getA_Depreciation_New_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_New_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Loss on Disposal. /** Set Loss on Disposal.
@param A_Disposal_Loss Loss on Disposal */ @param A_Disposal_Loss Loss on Disposal */
public void setA_Disposal_Loss (int A_Disposal_Loss) public void setA_Disposal_Loss (int A_Disposal_Loss)
@ -338,6 +486,28 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
return ii.intValue(); return ii.intValue();
} }
public I_C_ValidCombination getA_Disposal_Loss_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Disposal_Loss_Acct(), get_TrxName()); }
/** Set Disposal Loss Acct.
@param A_Disposal_Loss_Acct Disposal Loss Acct */
public void setA_Disposal_Loss_Acct (int A_Disposal_Loss_Acct)
{
set_ValueNoCheck (COLUMNNAME_A_Disposal_Loss_Acct, Integer.valueOf(A_Disposal_Loss_Acct));
}
/** Get Disposal Loss Acct.
@return Disposal Loss Acct */
public int getA_Disposal_Loss_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Loss_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Disposal_Loss_() throws RuntimeException public I_C_ValidCombination getA_Disposal_Loss_() throws RuntimeException
{ {
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
@ -360,15 +530,37 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
return ii.intValue(); return ii.intValue();
} }
/** Set Old Disposal Loss. public I_C_ValidCombination getA_Disposal_Loss_New_A() throws RuntimeException
@param A_Disposal_Loss_Str Old Disposal Loss */ {
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Disposal_Loss_New_Acct(), get_TrxName()); }
/** Set Disposal Loss Acct (new).
@param A_Disposal_Loss_New_Acct Disposal Loss Acct (new) */
public void setA_Disposal_Loss_New_Acct (int A_Disposal_Loss_New_Acct)
{
set_Value (COLUMNNAME_A_Disposal_Loss_New_Acct, Integer.valueOf(A_Disposal_Loss_New_Acct));
}
/** Get Disposal Loss Acct (new).
@return Disposal Loss Acct (new) */
public int getA_Disposal_Loss_New_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Loss_New_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Disposal Loss Str.
@param A_Disposal_Loss_Str Disposal Loss Str */
public void setA_Disposal_Loss_Str (String A_Disposal_Loss_Str) public void setA_Disposal_Loss_Str (String A_Disposal_Loss_Str)
{ {
set_ValueNoCheck (COLUMNNAME_A_Disposal_Loss_Str, A_Disposal_Loss_Str); set_ValueNoCheck (COLUMNNAME_A_Disposal_Loss_Str, A_Disposal_Loss_Str);
} }
/** Get Old Disposal Loss. /** Get Disposal Loss Str.
@return Old Disposal Loss */ @return Disposal Loss Str */
public String getA_Disposal_Loss_Str () public String getA_Disposal_Loss_Str ()
{ {
return (String)get_Value(COLUMNNAME_A_Disposal_Loss_Str); return (String)get_Value(COLUMNNAME_A_Disposal_Loss_Str);
@ -391,6 +583,28 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
return ii.intValue(); return ii.intValue();
} }
public I_C_ValidCombination getA_Disposal_Revenue_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Disposal_Revenue_Acct(), get_TrxName()); }
/** Set Disposal Revenue Acct.
@param A_Disposal_Revenue_Acct Disposal Revenue Acct */
public void setA_Disposal_Revenue_Acct (int A_Disposal_Revenue_Acct)
{
set_ValueNoCheck (COLUMNNAME_A_Disposal_Revenue_Acct, Integer.valueOf(A_Disposal_Revenue_Acct));
}
/** Get Disposal Revenue Acct.
@return Disposal Revenue Acct */
public int getA_Disposal_Revenue_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Revenue_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Disposal_Revenue_() throws RuntimeException public I_C_ValidCombination getA_Disposal_Revenue_() throws RuntimeException
{ {
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
@ -413,29 +627,51 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
return ii.intValue(); return ii.intValue();
} }
/** Set Old Disposal Revenue. public I_C_ValidCombination getA_Disposal_Revenue_New_A() throws RuntimeException
@param A_Disposal_Revenue_Str Old Disposal Revenue */ {
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Disposal_Revenue_New_Acct(), get_TrxName()); }
/** Set Disposal Revenue Acct (new).
@param A_Disposal_Revenue_New_Acct Disposal Revenue Acct (new) */
public void setA_Disposal_Revenue_New_Acct (int A_Disposal_Revenue_New_Acct)
{
set_Value (COLUMNNAME_A_Disposal_Revenue_New_Acct, Integer.valueOf(A_Disposal_Revenue_New_Acct));
}
/** Get Disposal Revenue Acct (new).
@return Disposal Revenue Acct (new) */
public int getA_Disposal_Revenue_New_Acct ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Revenue_New_Acct);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Disposal Revenue Str.
@param A_Disposal_Revenue_Str Disposal Revenue Str */
public void setA_Disposal_Revenue_Str (String A_Disposal_Revenue_Str) public void setA_Disposal_Revenue_Str (String A_Disposal_Revenue_Str)
{ {
set_ValueNoCheck (COLUMNNAME_A_Disposal_Revenue_Str, A_Disposal_Revenue_Str); set_ValueNoCheck (COLUMNNAME_A_Disposal_Revenue_Str, A_Disposal_Revenue_Str);
} }
/** Get Old Disposal Revenue. /** Get Disposal Revenue Str.
@return Old Disposal Revenue */ @return Disposal Revenue Str */
public String getA_Disposal_Revenue_Str () public String getA_Disposal_Revenue_Str ()
{ {
return (String)get_Value(COLUMNNAME_A_Disposal_Revenue_Str); return (String)get_Value(COLUMNNAME_A_Disposal_Revenue_Str);
} }
/** Set Period End. /** Set A_Period_End.
@param A_Period_End Period End */ @param A_Period_End A_Period_End */
public void setA_Period_End (int A_Period_End) public void setA_Period_End (int A_Period_End)
{ {
set_Value (COLUMNNAME_A_Period_End, Integer.valueOf(A_Period_End)); set_ValueNoCheck (COLUMNNAME_A_Period_End, Integer.valueOf(A_Period_End));
} }
/** Get Period End. /** Get A_Period_End.
@return Period End */ @return A_Period_End */
public int getA_Period_End () public int getA_Period_End ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_End); Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_End);
@ -444,15 +680,15 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
return ii.intValue(); return ii.intValue();
} }
/** Set Period Start. /** Set A_Period_Start.
@param A_Period_Start Period Start */ @param A_Period_Start A_Period_Start */
public void setA_Period_Start (int A_Period_Start) public void setA_Period_Start (int A_Period_Start)
{ {
set_Value (COLUMNNAME_A_Period_Start, Integer.valueOf(A_Period_Start)); set_ValueNoCheck (COLUMNNAME_A_Period_Start, Integer.valueOf(A_Period_Start));
} }
/** Get Period Start. /** Get A_Period_Start.
@return Period Start */ @return A_Period_Start */
public int getA_Period_Start () public int getA_Period_Start ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_Start); Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_Start);
@ -461,15 +697,15 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
return ii.intValue(); return ii.intValue();
} }
/** Set Split Percentage. /** Set Split Percent.
@param A_Split_Percent Split Percentage */ @param A_Split_Percent Split Percent */
public void setA_Split_Percent (BigDecimal A_Split_Percent) public void setA_Split_Percent (BigDecimal A_Split_Percent)
{ {
set_Value (COLUMNNAME_A_Split_Percent, A_Split_Percent); set_ValueNoCheck (COLUMNNAME_A_Split_Percent, A_Split_Percent);
} }
/** Get Split Percentage. /** Get Split Percent.
@return Split Percentage */ @return Split Percent */
public BigDecimal getA_Split_Percent () public BigDecimal getA_Split_Percent ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Split_Percent); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Split_Percent);
@ -478,15 +714,15 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
return bd; return bd;
} }
/** Set Transfer Balance Sheet. /** Set A_Transfer_Balance.
@param A_Transfer_Balance Transfer Balance Sheet */ @param A_Transfer_Balance A_Transfer_Balance */
public void setA_Transfer_Balance (boolean A_Transfer_Balance) public void setA_Transfer_Balance (boolean A_Transfer_Balance)
{ {
set_Value (COLUMNNAME_A_Transfer_Balance, Boolean.valueOf(A_Transfer_Balance)); set_Value (COLUMNNAME_A_Transfer_Balance, Boolean.valueOf(A_Transfer_Balance));
} }
/** Get Transfer Balance Sheet. /** Get A_Transfer_Balance.
@return Transfer Balance Sheet */ @return A_Transfer_Balance */
public boolean isA_Transfer_Balance () public boolean isA_Transfer_Balance ()
{ {
Object oo = get_Value(COLUMNNAME_A_Transfer_Balance); Object oo = get_Value(COLUMNNAME_A_Transfer_Balance);
@ -499,15 +735,15 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
return false; return false;
} }
/** Set Transfer Balance IS. /** Set A_Transfer_Balance_IS.
@param A_Transfer_Balance_IS Transfer Balance IS */ @param A_Transfer_Balance_IS A_Transfer_Balance_IS */
public void setA_Transfer_Balance_IS (boolean A_Transfer_Balance_IS) public void setA_Transfer_Balance_IS (boolean A_Transfer_Balance_IS)
{ {
set_Value (COLUMNNAME_A_Transfer_Balance_IS, Boolean.valueOf(A_Transfer_Balance_IS)); set_Value (COLUMNNAME_A_Transfer_Balance_IS, Boolean.valueOf(A_Transfer_Balance_IS));
} }
/** Get Transfer Balance IS. /** Get A_Transfer_Balance_IS.
@return Transfer Balance IS */ @return A_Transfer_Balance_IS */
public boolean isA_Transfer_Balance_IS () public boolean isA_Transfer_Balance_IS ()
{ {
Object oo = get_Value(COLUMNNAME_A_Transfer_Balance_IS); Object oo = get_Value(COLUMNNAME_A_Transfer_Balance_IS);
@ -520,9 +756,9 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
return false; return false;
} }
public I_C_AcctSchema getC_AcctSchema() throws RuntimeException public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException
{ {
return (I_C_AcctSchema)MTable.get(getCtx(), I_C_AcctSchema.Table_Name) return (org.compiere.model.I_C_AcctSchema)MTable.get(getCtx(), org.compiere.model.I_C_AcctSchema.Table_Name)
.getPO(getC_AcctSchema_ID(), get_TrxName()); } .getPO(getC_AcctSchema_ID(), get_TrxName()); }
/** Set Accounting Schema. /** Set Accounting Schema.
@ -532,9 +768,9 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
public void setC_AcctSchema_ID (int C_AcctSchema_ID) public void setC_AcctSchema_ID (int C_AcctSchema_ID)
{ {
if (C_AcctSchema_ID < 1) if (C_AcctSchema_ID < 1)
set_Value (COLUMNNAME_C_AcctSchema_ID, null); set_ValueNoCheck (COLUMNNAME_C_AcctSchema_ID, null);
else else
set_Value (COLUMNNAME_C_AcctSchema_ID, Integer.valueOf(C_AcctSchema_ID)); set_ValueNoCheck (COLUMNNAME_C_AcctSchema_ID, Integer.valueOf(C_AcctSchema_ID));
} }
/** Get Accounting Schema. /** Get Accounting Schema.
@ -548,9 +784,9 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
return ii.intValue(); return ii.intValue();
} }
public I_C_Period getC_Period() throws RuntimeException public org.compiere.model.I_C_Period getC_Period() throws RuntimeException
{ {
return (I_C_Period)MTable.get(getCtx(), I_C_Period.Table_Name) return (org.compiere.model.I_C_Period)MTable.get(getCtx(), org.compiere.model.I_C_Period.Table_Name)
.getPO(getC_Period_ID(), get_TrxName()); } .getPO(getC_Period_ID(), get_TrxName()); }
/** Set Period. /** Set Period.
@ -593,6 +829,156 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
return (Timestamp)get_Value(COLUMNNAME_DateAcct); return (Timestamp)get_Value(COLUMNNAME_DateAcct);
} }
/** Set Document Date.
@param DateDoc
Date of the Document
*/
public void setDateDoc (Timestamp DateDoc)
{
set_Value (COLUMNNAME_DateDoc, DateDoc);
}
/** Get Document Date.
@return Date of the Document
*/
public Timestamp getDateDoc ()
{
return (Timestamp)get_Value(COLUMNNAME_DateDoc);
}
/** DocAction AD_Reference_ID=135 */
public static final int DOCACTION_AD_Reference_ID=135;
/** Complete = CO */
public static final String DOCACTION_Complete = "CO";
/** Approve = AP */
public static final String DOCACTION_Approve = "AP";
/** Reject = RJ */
public static final String DOCACTION_Reject = "RJ";
/** Post = PO */
public static final String DOCACTION_Post = "PO";
/** Void = VO */
public static final String DOCACTION_Void = "VO";
/** Close = CL */
public static final String DOCACTION_Close = "CL";
/** Reverse - Correct = RC */
public static final String DOCACTION_Reverse_Correct = "RC";
/** Reverse - Accrual = RA */
public static final String DOCACTION_Reverse_Accrual = "RA";
/** Invalidate = IN */
public static final String DOCACTION_Invalidate = "IN";
/** Re-activate = RE */
public static final String DOCACTION_Re_Activate = "RE";
/** <None> = -- */
public static final String DOCACTION_None = "--";
/** Prepare = PR */
public static final String DOCACTION_Prepare = "PR";
/** Unlock = XL */
public static final String DOCACTION_Unlock = "XL";
/** Wait Complete = WC */
public static final String DOCACTION_WaitComplete = "WC";
/** Set Document Action.
@param DocAction
The targeted status of the document
*/
public void setDocAction (String DocAction)
{
set_Value (COLUMNNAME_DocAction, DocAction);
}
/** Get Document Action.
@return The targeted status of the document
*/
public String getDocAction ()
{
return (String)get_Value(COLUMNNAME_DocAction);
}
/** DocStatus AD_Reference_ID=131 */
public static final int DOCSTATUS_AD_Reference_ID=131;
/** Drafted = DR */
public static final String DOCSTATUS_Drafted = "DR";
/** Completed = CO */
public static final String DOCSTATUS_Completed = "CO";
/** Approved = AP */
public static final String DOCSTATUS_Approved = "AP";
/** Not Approved = NA */
public static final String DOCSTATUS_NotApproved = "NA";
/** Voided = VO */
public static final String DOCSTATUS_Voided = "VO";
/** Invalid = IN */
public static final String DOCSTATUS_Invalid = "IN";
/** Reversed = RE */
public static final String DOCSTATUS_Reversed = "RE";
/** Closed = CL */
public static final String DOCSTATUS_Closed = "CL";
/** Unknown = ?? */
public static final String DOCSTATUS_Unknown = "??";
/** In Progress = IP */
public static final String DOCSTATUS_InProgress = "IP";
/** Waiting Payment = WP */
public static final String DOCSTATUS_WaitingPayment = "WP";
/** Waiting Confirmation = WC */
public static final String DOCSTATUS_WaitingConfirmation = "WC";
/** Set Document Status.
@param DocStatus
The current status of the document
*/
public void setDocStatus (String DocStatus)
{
set_Value (COLUMNNAME_DocStatus, DocStatus);
}
/** Get Document Status.
@return The current status of the document
*/
public String getDocStatus ()
{
return (String)get_Value(COLUMNNAME_DocStatus);
}
/** Set Document No.
@param DocumentNo
Document sequence number of the document
*/
public void setDocumentNo (String DocumentNo)
{
set_Value (COLUMNNAME_DocumentNo, DocumentNo);
}
/** Get Document No.
@return Document sequence number of the document
*/
public String getDocumentNo ()
{
return (String)get_Value(COLUMNNAME_DocumentNo);
}
/** Set Posted.
@param Posted
Posting status
*/
public void setPosted (boolean Posted)
{
set_Value (COLUMNNAME_Posted, Boolean.valueOf(Posted));
}
/** Get Posted.
@return Posting status
*/
public boolean isPosted ()
{
Object oo = get_Value(COLUMNNAME_Posted);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** PostingType AD_Reference_ID=125 */ /** PostingType AD_Reference_ID=125 */
public static final int POSTINGTYPE_AD_Reference_ID=125; public static final int POSTINGTYPE_AD_Reference_ID=125;
/** Actual = A */ /** Actual = A */
@ -647,6 +1033,26 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
return false; return false;
} }
/** Set Processed On.
@param ProcessedOn
The date+time (expressed in decimal format) when the document has been processed
*/
public void setProcessedOn (BigDecimal ProcessedOn)
{
set_Value (COLUMNNAME_ProcessedOn, ProcessedOn);
}
/** Get Processed On.
@return The date+time (expressed in decimal format) when the document has been processed
*/
public BigDecimal getProcessedOn ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ProcessedOn);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Process Now. /** Set Process Now.
@param Processing Process Now */ @param Processing Process Now */
public void setProcessing (boolean Processing) public void setProcessing (boolean Processing)

View File

@ -0,0 +1,249 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
/** Generated Model - DO NOT CHANGE */
package org.compiere.model;
import java.sql.ResultSet;
import java.util.Properties;
import org.compiere.util.KeyNamePair;
/** Generated Model for A_Asset_Type
* @author Adempiere (generated)
* @version Release 3.6.0LTS - $Id$ */
public class X_A_Asset_Type extends PO implements I_A_Asset_Type, I_Persistent
{
/**
*
*/
private static final long serialVersionUID = 20121024L;
/** Standard Constructor */
public X_A_Asset_Type (Properties ctx, int A_Asset_Type_ID, String trxName)
{
super (ctx, A_Asset_Type_ID, trxName);
/** if (A_Asset_Type_ID == 0)
{
setA_Asset_Type_ID (0);
setIsDepreciable (null);
// 'XX'
setIsInPosession (null);
// 'XX'
setIsOwned (null);
// 'XX'
setName (null);
setValue (null);
} */
}
/** Load Constructor */
public X_A_Asset_Type (Properties ctx, ResultSet rs, String trxName)
{
super (ctx, rs, trxName);
}
/** AccessLevel
* @return 3 - Client - Org
*/
protected int get_AccessLevel()
{
return accessLevel.intValue();
}
/** Load Meta Data */
protected POInfo initPO (Properties ctx)
{
POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName());
return poi;
}
public String toString()
{
StringBuffer sb = new StringBuffer ("X_A_Asset_Type[")
.append(get_ID()).append("]");
return sb.toString();
}
/** Set Asset Type.
@param A_Asset_Type_ID Asset Type */
public void setA_Asset_Type_ID (int A_Asset_Type_ID)
{
if (A_Asset_Type_ID < 1)
set_ValueNoCheck (COLUMNNAME_A_Asset_Type_ID, null);
else
set_ValueNoCheck (COLUMNNAME_A_Asset_Type_ID, Integer.valueOf(A_Asset_Type_ID));
}
/** Get Asset Type.
@return Asset Type */
public int getA_Asset_Type_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Type_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Description.
@param Description
Optional short description of the record
*/
public void setDescription (String Description)
{
set_Value (COLUMNNAME_Description, Description);
}
/** Get Description.
@return Optional short description of the record
*/
public String getDescription ()
{
return (String)get_Value(COLUMNNAME_Description);
}
/** IsDepreciable AD_Reference_ID=53365 */
public static final int ISDEPRECIABLE_AD_Reference_ID=53365;
/** No = NX */
public static final String ISDEPRECIABLE_No = "NX";
/** - / Default No = XN */
public static final String ISDEPRECIABLE__DefaultNo = "XN";
/** - = XX */
public static final String ISDEPRECIABLE__ = "XX";
/** - / Default Yes = XY */
public static final String ISDEPRECIABLE__DefaultYes = "XY";
/** Yes = YX */
public static final String ISDEPRECIABLE_Yes = "YX";
/** Set Is Depreciable.
@param IsDepreciable
This asset CAN be depreciated
*/
public void setIsDepreciable (String IsDepreciable)
{
set_Value (COLUMNNAME_IsDepreciable, IsDepreciable);
}
/** Get Is Depreciable.
@return This asset CAN be depreciated
*/
public String getIsDepreciable ()
{
return (String)get_Value(COLUMNNAME_IsDepreciable);
}
/** IsInPosession AD_Reference_ID=53365 */
public static final int ISINPOSESSION_AD_Reference_ID=53365;
/** No = NX */
public static final String ISINPOSESSION_No = "NX";
/** - / Default No = XN */
public static final String ISINPOSESSION__DefaultNo = "XN";
/** - = XX */
public static final String ISINPOSESSION__ = "XX";
/** - / Default Yes = XY */
public static final String ISINPOSESSION__DefaultYes = "XY";
/** Yes = YX */
public static final String ISINPOSESSION_Yes = "YX";
/** Set In Possession.
@param IsInPosession
The asset is in the possession of the organization
*/
public void setIsInPosession (String IsInPosession)
{
set_Value (COLUMNNAME_IsInPosession, IsInPosession);
}
/** Get In Possession.
@return The asset is in the possession of the organization
*/
public String getIsInPosession ()
{
return (String)get_Value(COLUMNNAME_IsInPosession);
}
/** IsOwned AD_Reference_ID=53365 */
public static final int ISOWNED_AD_Reference_ID=53365;
/** No = NX */
public static final String ISOWNED_No = "NX";
/** - / Default No = XN */
public static final String ISOWNED__DefaultNo = "XN";
/** - = XX */
public static final String ISOWNED__ = "XX";
/** - / Default Yes = XY */
public static final String ISOWNED__DefaultYes = "XY";
/** Yes = YX */
public static final String ISOWNED_Yes = "YX";
/** Set Owned.
@param IsOwned
The asset is owned by the organization
*/
public void setIsOwned (String IsOwned)
{
set_Value (COLUMNNAME_IsOwned, IsOwned);
}
/** Get Owned.
@return The asset is owned by the organization
*/
public String getIsOwned ()
{
return (String)get_Value(COLUMNNAME_IsOwned);
}
/** Set Name.
@param Name
Alphanumeric identifier of the entity
*/
public void setName (String Name)
{
set_Value (COLUMNNAME_Name, Name);
}
/** Get Name.
@return Alphanumeric identifier of the entity
*/
public String getName ()
{
return (String)get_Value(COLUMNNAME_Name);
}
/** Get Record ID/ColumnName
@return ID/ColumnName pair
*/
public KeyNamePair getKeyNamePair()
{
return new KeyNamePair(get_ID(), getName());
}
/** Set Search Key.
@param Value
Search key for the record in the format required - must be unique
*/
public void setValue (String Value)
{
set_Value (COLUMNNAME_Value, Value);
}
/** Get Search Key.
@return Search key for the record in the format required - must be unique
*/
public String getValue ()
{
return (String)get_Value(COLUMNNAME_Value);
}
}

View File

@ -31,7 +31,7 @@ public class X_A_Asset_Use extends PO implements I_A_Asset_Use, I_Persistent
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Asset_Use (Properties ctx, int A_Asset_Use_ID, String trxName) public X_A_Asset_Use (Properties ctx, int A_Asset_Use_ID, String trxName)
@ -40,6 +40,7 @@ public class X_A_Asset_Use extends PO implements I_A_Asset_Use, I_Persistent
/** if (A_Asset_Use_ID == 0) /** if (A_Asset_Use_ID == 0)
{ {
setA_Asset_ID (0); setA_Asset_ID (0);
// @A_Asset_ID@
setA_Asset_Use_ID (0); setA_Asset_Use_ID (0);
setUseDate (new Timestamp( System.currentTimeMillis() )); setUseDate (new Timestamp( System.currentTimeMillis() ));
setUseUnits (0); setUseUnits (0);
@ -74,6 +75,11 @@ public class X_A_Asset_Use extends PO implements I_A_Asset_Use, I_Persistent
return sb.toString(); return sb.toString();
} }
public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException
{
return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name)
.getPO(getA_Asset_ID(), get_TrxName()); }
/** Set Asset. /** Set Asset.
@param A_Asset_ID @param A_Asset_ID
Asset used internally or by customers Asset used internally or by customers
@ -97,8 +103,8 @@ public class X_A_Asset_Use extends PO implements I_A_Asset_Use, I_Persistent
return ii.intValue(); return ii.intValue();
} }
/** Set Asset Use. /** Set A_Asset_Use_ID.
@param A_Asset_Use_ID Asset Use */ @param A_Asset_Use_ID A_Asset_Use_ID */
public void setA_Asset_Use_ID (int A_Asset_Use_ID) public void setA_Asset_Use_ID (int A_Asset_Use_ID)
{ {
if (A_Asset_Use_ID < 1) if (A_Asset_Use_ID < 1)
@ -107,8 +113,8 @@ public class X_A_Asset_Use extends PO implements I_A_Asset_Use, I_Persistent
set_ValueNoCheck (COLUMNNAME_A_Asset_Use_ID, Integer.valueOf(A_Asset_Use_ID)); set_ValueNoCheck (COLUMNNAME_A_Asset_Use_ID, Integer.valueOf(A_Asset_Use_ID));
} }
/** Get Asset Use. /** Get A_Asset_Use_ID.
@return Asset Use */ @return A_Asset_Use_ID */
public int getA_Asset_Use_ID () public int getA_Asset_Use_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Use_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Use_ID);
@ -125,6 +131,20 @@ public class X_A_Asset_Use extends PO implements I_A_Asset_Use, I_Persistent
return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Use_ID())); return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Use_ID()));
} }
/** Set A_Asset_Use_UU.
@param A_Asset_Use_UU A_Asset_Use_UU */
public void setA_Asset_Use_UU (String A_Asset_Use_UU)
{
set_Value (COLUMNNAME_A_Asset_Use_UU, A_Asset_Use_UU);
}
/** Get A_Asset_Use_UU.
@return A_Asset_Use_UU */
public String getA_Asset_Use_UU ()
{
return (String)get_Value(COLUMNNAME_A_Asset_Use_UU);
}
/** Set Description. /** Set Description.
@param Description @param Description
Optional short description of the record Optional short description of the record

View File

@ -29,7 +29,7 @@ public class X_A_Depreciation extends PO implements I_A_Depreciation, I_Persiste
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Depreciation (Properties ctx, int A_Depreciation_ID, String trxName) public X_A_Depreciation (Properties ctx, int A_Depreciation_ID, String trxName)
@ -40,8 +40,8 @@ public class X_A_Depreciation extends PO implements I_A_Depreciation, I_Persiste
setA_Depreciation_ID (0); setA_Depreciation_ID (0);
setDepreciationType (null); setDepreciationType (null);
setName (null); setName (null);
setProcessed (true); setProcessed (false);
// Y // N
} */ } */
} }
@ -73,8 +73,8 @@ public class X_A_Depreciation extends PO implements I_A_Depreciation, I_Persiste
return sb.toString(); return sb.toString();
} }
/** Set Depreciation Type. /** Set Depreciation.
@param A_Depreciation_ID Depreciation Type */ @param A_Depreciation_ID Depreciation */
public void setA_Depreciation_ID (int A_Depreciation_ID) public void setA_Depreciation_ID (int A_Depreciation_ID)
{ {
if (A_Depreciation_ID < 1) if (A_Depreciation_ID < 1)
@ -83,8 +83,8 @@ public class X_A_Depreciation extends PO implements I_A_Depreciation, I_Persiste
set_ValueNoCheck (COLUMNNAME_A_Depreciation_ID, Integer.valueOf(A_Depreciation_ID)); set_ValueNoCheck (COLUMNNAME_A_Depreciation_ID, Integer.valueOf(A_Depreciation_ID));
} }
/** Get Depreciation Type. /** Get Depreciation.
@return Depreciation Type */ @return Depreciation */
public int getA_Depreciation_ID () public int getA_Depreciation_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_ID);
@ -93,6 +93,20 @@ public class X_A_Depreciation extends PO implements I_A_Depreciation, I_Persiste
return ii.intValue(); return ii.intValue();
} }
/** Set A_Depreciation_UU.
@param A_Depreciation_UU A_Depreciation_UU */
public void setA_Depreciation_UU (String A_Depreciation_UU)
{
set_Value (COLUMNNAME_A_Depreciation_UU, A_Depreciation_UU);
}
/** Get A_Depreciation_UU.
@return A_Depreciation_UU */
public String getA_Depreciation_UU ()
{
return (String)get_Value(COLUMNNAME_A_Depreciation_UU);
}
/** Set DepreciationType. /** Set DepreciationType.
@param DepreciationType DepreciationType */ @param DepreciationType DepreciationType */
public void setDepreciationType (String DepreciationType) public void setDepreciationType (String DepreciationType)
@ -165,15 +179,15 @@ public class X_A_Depreciation extends PO implements I_A_Depreciation, I_Persiste
return false; return false;
} }
/** Set Text. /** Set Description.
@param Text Text */ @param Text Description */
public void setText (String Text) public void setText (String Text)
{ {
set_Value (COLUMNNAME_Text, Text); set_Value (COLUMNNAME_Text, Text);
} }
/** Get Text. /** Get Description.
@return Text */ @return Description */
public String getText () public String getText ()
{ {
return (String)get_Value(COLUMNNAME_Text); return (String)get_Value(COLUMNNAME_Text);

View File

@ -31,7 +31,7 @@ public class X_A_Depreciation_Build extends PO implements I_A_Depreciation_Build
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Depreciation_Build (Properties ctx, int A_Depreciation_Build_ID, String trxName) public X_A_Depreciation_Build (Properties ctx, int A_Depreciation_Build_ID, String trxName)
@ -71,8 +71,8 @@ public class X_A_Depreciation_Build extends PO implements I_A_Depreciation_Build
return sb.toString(); return sb.toString();
} }
/** Set Depreciation Build. /** Set Build Depreciation.
@param A_Depreciation_Build_ID Depreciation Build */ @param A_Depreciation_Build_ID Build Depreciation */
public void setA_Depreciation_Build_ID (int A_Depreciation_Build_ID) public void setA_Depreciation_Build_ID (int A_Depreciation_Build_ID)
{ {
if (A_Depreciation_Build_ID < 1) if (A_Depreciation_Build_ID < 1)
@ -81,8 +81,8 @@ public class X_A_Depreciation_Build extends PO implements I_A_Depreciation_Build
set_ValueNoCheck (COLUMNNAME_A_Depreciation_Build_ID, Integer.valueOf(A_Depreciation_Build_ID)); set_ValueNoCheck (COLUMNNAME_A_Depreciation_Build_ID, Integer.valueOf(A_Depreciation_Build_ID));
} }
/** Get Depreciation Build. /** Get Build Depreciation.
@return Depreciation Build */ @return Build Depreciation */
public int getA_Depreciation_Build_ID () public int getA_Depreciation_Build_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Build_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Build_ID);
@ -99,13 +99,27 @@ public class X_A_Depreciation_Build extends PO implements I_A_Depreciation_Build
return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Build_ID())); return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Build_ID()));
} }
public I_A_Asset getA_End_Asset() throws RuntimeException /** Set A_Depreciation_Build_UU.
@param A_Depreciation_Build_UU A_Depreciation_Build_UU */
public void setA_Depreciation_Build_UU (String A_Depreciation_Build_UU)
{
set_Value (COLUMNNAME_A_Depreciation_Build_UU, A_Depreciation_Build_UU);
}
/** Get A_Depreciation_Build_UU.
@return A_Depreciation_Build_UU */
public String getA_Depreciation_Build_UU ()
{
return (String)get_Value(COLUMNNAME_A_Depreciation_Build_UU);
}
public org.compiere.model.I_A_Asset getA_End_Asset() throws RuntimeException
{ {
return (I_A_Asset)MTable.get(getCtx(), I_A_Asset.Table_Name) return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name)
.getPO(getA_End_Asset_ID(), get_TrxName()); } .getPO(getA_End_Asset_ID(), get_TrxName()); }
/** Set End Aset ID. /** Set To Asset.
@param A_End_Asset_ID End Aset ID */ @param A_End_Asset_ID To Asset */
public void setA_End_Asset_ID (int A_End_Asset_ID) public void setA_End_Asset_ID (int A_End_Asset_ID)
{ {
if (A_End_Asset_ID < 1) if (A_End_Asset_ID < 1)
@ -114,8 +128,8 @@ public class X_A_Depreciation_Build extends PO implements I_A_Depreciation_Build
set_Value (COLUMNNAME_A_End_Asset_ID, Integer.valueOf(A_End_Asset_ID)); set_Value (COLUMNNAME_A_End_Asset_ID, Integer.valueOf(A_End_Asset_ID));
} }
/** Get End Aset ID. /** Get To Asset.
@return End Aset ID */ @return To Asset */
public int getA_End_Asset_ID () public int getA_End_Asset_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_End_Asset_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_End_Asset_ID);
@ -124,13 +138,13 @@ public class X_A_Depreciation_Build extends PO implements I_A_Depreciation_Build
return ii.intValue(); return ii.intValue();
} }
public I_A_Asset getA_Start_Asset() throws RuntimeException public org.compiere.model.I_A_Asset getA_Start_Asset() throws RuntimeException
{ {
return (I_A_Asset)MTable.get(getCtx(), I_A_Asset.Table_Name) return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name)
.getPO(getA_Start_Asset_ID(), get_TrxName()); } .getPO(getA_Start_Asset_ID(), get_TrxName()); }
/** Set Start Asset. /** Set From Asset.
@param A_Start_Asset_ID Start Asset */ @param A_Start_Asset_ID From Asset */
public void setA_Start_Asset_ID (int A_Start_Asset_ID) public void setA_Start_Asset_ID (int A_Start_Asset_ID)
{ {
if (A_Start_Asset_ID < 1) if (A_Start_Asset_ID < 1)
@ -139,8 +153,8 @@ public class X_A_Depreciation_Build extends PO implements I_A_Depreciation_Build
set_Value (COLUMNNAME_A_Start_Asset_ID, Integer.valueOf(A_Start_Asset_ID)); set_Value (COLUMNNAME_A_Start_Asset_ID, Integer.valueOf(A_Start_Asset_ID));
} }
/** Get Start Asset. /** Get From Asset.
@return Start Asset */ @return From Asset */
public int getA_Start_Asset_ID () public int getA_Start_Asset_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Start_Asset_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Start_Asset_ID);
@ -149,9 +163,9 @@ public class X_A_Depreciation_Build extends PO implements I_A_Depreciation_Build
return ii.intValue(); return ii.intValue();
} }
public I_C_Period getC_Period() throws RuntimeException public org.compiere.model.I_C_Period getC_Period() throws RuntimeException
{ {
return (I_C_Period)MTable.get(getCtx(), I_C_Period.Table_Name) return (org.compiere.model.I_C_Period)MTable.get(getCtx(), org.compiere.model.I_C_Period.Table_Name)
.getPO(getC_Period_ID(), get_TrxName()); } .getPO(getC_Period_ID(), get_TrxName()); }
/** Set Period. /** Set Period.

View File

@ -19,7 +19,6 @@ package org.compiere.model;
import java.sql.ResultSet; import java.sql.ResultSet;
import java.util.Properties; import java.util.Properties;
import org.compiere.util.KeyNamePair;
/** Generated Model for A_Depreciation_Convention /** Generated Model for A_Depreciation_Convention
* @author Adempiere (generated) * @author Adempiere (generated)
@ -30,7 +29,7 @@ public class X_A_Depreciation_Convention extends PO implements I_A_Depreciation_
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Depreciation_Convention (Properties ctx, int A_Depreciation_Convention_ID, String trxName) public X_A_Depreciation_Convention (Properties ctx, int A_Depreciation_Convention_ID, String trxName)
@ -92,13 +91,19 @@ public class X_A_Depreciation_Convention extends PO implements I_A_Depreciation_
return ii.intValue(); return ii.intValue();
} }
/** Get Record ID/ColumnName /** Set A_Depreciation_Convention_UU.
@return ID/ColumnName pair @param A_Depreciation_Convention_UU A_Depreciation_Convention_UU */
*/ public void setA_Depreciation_Convention_UU (String A_Depreciation_Convention_UU)
public KeyNamePair getKeyNamePair() {
{ set_Value (COLUMNNAME_A_Depreciation_Convention_UU, A_Depreciation_Convention_UU);
return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Convention_ID())); }
}
/** Get A_Depreciation_Convention_UU.
@return A_Depreciation_Convention_UU */
public String getA_Depreciation_Convention_UU ()
{
return (String)get_Value(COLUMNNAME_A_Depreciation_Convention_UU);
}
/** Set ConventionType. /** Set ConventionType.
@param ConventionType ConventionType */ @param ConventionType ConventionType */

View File

@ -17,9 +17,11 @@
/** Generated Model - DO NOT CHANGE */ /** Generated Model - DO NOT CHANGE */
package org.compiere.model; package org.compiere.model;
import java.math.BigDecimal;
import java.sql.ResultSet; import java.sql.ResultSet;
import java.sql.Timestamp; import java.sql.Timestamp;
import java.util.Properties; import java.util.Properties;
import org.compiere.util.Env;
import org.compiere.util.KeyNamePair; import org.compiere.util.KeyNamePair;
/** Generated Model for A_Depreciation_Entry /** Generated Model for A_Depreciation_Entry
@ -31,7 +33,7 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Depreciation_Entry (Properties ctx, int A_Depreciation_Entry_ID, String trxName) public X_A_Depreciation_Entry (Properties ctx, int A_Depreciation_Entry_ID, String trxName)
@ -40,7 +42,6 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry
/** if (A_Depreciation_Entry_ID == 0) /** if (A_Depreciation_Entry_ID == 0)
{ {
setA_Depreciation_Entry_ID (0); setA_Depreciation_Entry_ID (0);
setA_Entry_Type (null);
setC_AcctSchema_ID (0); setC_AcctSchema_ID (0);
setC_Currency_ID (0); setC_Currency_ID (0);
// @$C_CURRENCY_ID@ // @$C_CURRENCY_ID@
@ -50,13 +51,19 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry
// @Date@ // @Date@
setDateDoc (new Timestamp( System.currentTimeMillis() )); setDateDoc (new Timestamp( System.currentTimeMillis() ));
// @Date@ // @Date@
setDescription (null); setDocAction (null);
// 'CO'
setDocStatus (null);
// 'DR'
setDocumentNo (null); setDocumentNo (null);
setGL_Category_ID (0); setGL_Category_ID (0);
setIsApproved (false);
// @#IsCanApproveOwnDoc@
setPosted (false);
// 'N'
setPostingType (null); setPostingType (null);
// A // 'A'
setProcessed (false); setProcessed (false);
// N
setProcessing (false); setProcessing (false);
} */ } */
} }
@ -68,7 +75,7 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry
} }
/** AccessLevel /** AccessLevel
* @return 7 - System - Client - Org * @return 3 - Client - Org
*/ */
protected int get_AccessLevel() protected int get_AccessLevel()
{ {
@ -117,6 +124,20 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry
return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Entry_ID())); return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Entry_ID()));
} }
/** Set A_Depreciation_Entry_UU.
@param A_Depreciation_Entry_UU A_Depreciation_Entry_UU */
public void setA_Depreciation_Entry_UU (String A_Depreciation_Entry_UU)
{
set_Value (COLUMNNAME_A_Depreciation_Entry_UU, A_Depreciation_Entry_UU);
}
/** Get A_Depreciation_Entry_UU.
@return A_Depreciation_Entry_UU */
public String getA_Depreciation_Entry_UU ()
{
return (String)get_Value(COLUMNNAME_A_Depreciation_Entry_UU);
}
/** A_Entry_Type AD_Reference_ID=53257 */ /** A_Entry_Type AD_Reference_ID=53257 */
public static final int A_ENTRY_TYPE_AD_Reference_ID=53257; public static final int A_ENTRY_TYPE_AD_Reference_ID=53257;
/** Depreciation = DEP */ /** Depreciation = DEP */
@ -146,9 +167,9 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry
return (String)get_Value(COLUMNNAME_A_Entry_Type); return (String)get_Value(COLUMNNAME_A_Entry_Type);
} }
public I_C_AcctSchema getC_AcctSchema() throws RuntimeException public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException
{ {
return (I_C_AcctSchema)MTable.get(getCtx(), I_C_AcctSchema.Table_Name) return (org.compiere.model.I_C_AcctSchema)MTable.get(getCtx(), org.compiere.model.I_C_AcctSchema.Table_Name)
.getPO(getC_AcctSchema_ID(), get_TrxName()); } .getPO(getC_AcctSchema_ID(), get_TrxName()); }
/** Set Accounting Schema. /** Set Accounting Schema.
@ -174,9 +195,9 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry
return ii.intValue(); return ii.intValue();
} }
public I_C_Currency getC_Currency() throws RuntimeException public org.compiere.model.I_C_Currency getC_Currency() throws RuntimeException
{ {
return (I_C_Currency)MTable.get(getCtx(), I_C_Currency.Table_Name) return (org.compiere.model.I_C_Currency)MTable.get(getCtx(), org.compiere.model.I_C_Currency.Table_Name)
.getPO(getC_Currency_ID(), get_TrxName()); } .getPO(getC_Currency_ID(), get_TrxName()); }
/** Set Currency. /** Set Currency.
@ -202,9 +223,9 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry
return ii.intValue(); return ii.intValue();
} }
public I_C_DocType getC_DocType() throws RuntimeException public org.compiere.model.I_C_DocType getC_DocType() throws RuntimeException
{ {
return (I_C_DocType)MTable.get(getCtx(), I_C_DocType.Table_Name) return (org.compiere.model.I_C_DocType)MTable.get(getCtx(), org.compiere.model.I_C_DocType.Table_Name)
.getPO(getC_DocType_ID(), get_TrxName()); } .getPO(getC_DocType_ID(), get_TrxName()); }
/** Set Document Type. /** Set Document Type.
@ -230,9 +251,9 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry
return ii.intValue(); return ii.intValue();
} }
public I_C_Period getC_Period() throws RuntimeException public org.compiere.model.I_C_Period getC_Period() throws RuntimeException
{ {
return (I_C_Period)MTable.get(getCtx(), I_C_Period.Table_Name) return (org.compiere.model.I_C_Period)MTable.get(getCtx(), org.compiere.model.I_C_Period.Table_Name)
.getPO(getC_Period_ID(), get_TrxName()); } .getPO(getC_Period_ID(), get_TrxName()); }
/** Set Period. /** Set Period.
@ -309,13 +330,105 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry
return (String)get_Value(COLUMNNAME_Description); return (String)get_Value(COLUMNNAME_Description);
} }
/** DocAction AD_Reference_ID=135 */
public static final int DOCACTION_AD_Reference_ID=135;
/** Complete = CO */
public static final String DOCACTION_Complete = "CO";
/** Approve = AP */
public static final String DOCACTION_Approve = "AP";
/** Reject = RJ */
public static final String DOCACTION_Reject = "RJ";
/** Post = PO */
public static final String DOCACTION_Post = "PO";
/** Void = VO */
public static final String DOCACTION_Void = "VO";
/** Close = CL */
public static final String DOCACTION_Close = "CL";
/** Reverse - Correct = RC */
public static final String DOCACTION_Reverse_Correct = "RC";
/** Reverse - Accrual = RA */
public static final String DOCACTION_Reverse_Accrual = "RA";
/** Invalidate = IN */
public static final String DOCACTION_Invalidate = "IN";
/** Re-activate = RE */
public static final String DOCACTION_Re_Activate = "RE";
/** <None> = -- */
public static final String DOCACTION_None = "--";
/** Prepare = PR */
public static final String DOCACTION_Prepare = "PR";
/** Unlock = XL */
public static final String DOCACTION_Unlock = "XL";
/** Wait Complete = WC */
public static final String DOCACTION_WaitComplete = "WC";
/** Set Document Action.
@param DocAction
The targeted status of the document
*/
public void setDocAction (String DocAction)
{
set_Value (COLUMNNAME_DocAction, DocAction);
}
/** Get Document Action.
@return The targeted status of the document
*/
public String getDocAction ()
{
return (String)get_Value(COLUMNNAME_DocAction);
}
/** DocStatus AD_Reference_ID=131 */
public static final int DOCSTATUS_AD_Reference_ID=131;
/** Drafted = DR */
public static final String DOCSTATUS_Drafted = "DR";
/** Completed = CO */
public static final String DOCSTATUS_Completed = "CO";
/** Approved = AP */
public static final String DOCSTATUS_Approved = "AP";
/** Not Approved = NA */
public static final String DOCSTATUS_NotApproved = "NA";
/** Voided = VO */
public static final String DOCSTATUS_Voided = "VO";
/** Invalid = IN */
public static final String DOCSTATUS_Invalid = "IN";
/** Reversed = RE */
public static final String DOCSTATUS_Reversed = "RE";
/** Closed = CL */
public static final String DOCSTATUS_Closed = "CL";
/** Unknown = ?? */
public static final String DOCSTATUS_Unknown = "??";
/** In Progress = IP */
public static final String DOCSTATUS_InProgress = "IP";
/** Waiting Payment = WP */
public static final String DOCSTATUS_WaitingPayment = "WP";
/** Waiting Confirmation = WC */
public static final String DOCSTATUS_WaitingConfirmation = "WC";
/** Set Document Status.
@param DocStatus
The current status of the document
*/
public void setDocStatus (String DocStatus)
{
set_Value (COLUMNNAME_DocStatus, DocStatus);
}
/** Get Document Status.
@return The current status of the document
*/
public String getDocStatus ()
{
return (String)get_Value(COLUMNNAME_DocStatus);
}
/** Set Document No. /** Set Document No.
@param DocumentNo @param DocumentNo
Document sequence number of the document Document sequence number of the document
*/ */
public void setDocumentNo (String DocumentNo) public void setDocumentNo (String DocumentNo)
{ {
set_ValueNoCheck (COLUMNNAME_DocumentNo, DocumentNo); set_Value (COLUMNNAME_DocumentNo, DocumentNo);
} }
/** Get Document No. /** Get Document No.
@ -326,9 +439,9 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry
return (String)get_Value(COLUMNNAME_DocumentNo); return (String)get_Value(COLUMNNAME_DocumentNo);
} }
public I_GL_Category getGL_Category() throws RuntimeException public org.compiere.model.I_GL_Category getGL_Category() throws RuntimeException
{ {
return (I_GL_Category)MTable.get(getCtx(), I_GL_Category.Table_Name) return (org.compiere.model.I_GL_Category)MTable.get(getCtx(), org.compiere.model.I_GL_Category.Table_Name)
.getPO(getGL_Category_ID(), get_TrxName()); } .getPO(getGL_Category_ID(), get_TrxName()); }
/** Set GL Category. /** Set GL Category.
@ -354,6 +467,54 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry
return ii.intValue(); return ii.intValue();
} }
/** Set Approved.
@param IsApproved
Indicates if this document requires approval
*/
public void setIsApproved (boolean IsApproved)
{
set_Value (COLUMNNAME_IsApproved, Boolean.valueOf(IsApproved));
}
/** Get Approved.
@return Indicates if this document requires approval
*/
public boolean isApproved ()
{
Object oo = get_Value(COLUMNNAME_IsApproved);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Posted.
@param Posted
Posting status
*/
public void setPosted (boolean Posted)
{
set_Value (COLUMNNAME_Posted, Boolean.valueOf(Posted));
}
/** Get Posted.
@return Posting status
*/
public boolean isPosted ()
{
Object oo = get_Value(COLUMNNAME_Posted);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** PostingType AD_Reference_ID=125 */ /** PostingType AD_Reference_ID=125 */
public static final int POSTINGTYPE_AD_Reference_ID=125; public static final int POSTINGTYPE_AD_Reference_ID=125;
/** Actual = A */ /** Actual = A */
@ -408,6 +569,26 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry
return false; return false;
} }
/** Set Processed On.
@param ProcessedOn
The date+time (expressed in decimal format) when the document has been processed
*/
public void setProcessedOn (BigDecimal ProcessedOn)
{
set_Value (COLUMNNAME_ProcessedOn, ProcessedOn);
}
/** Get Processed On.
@return The date+time (expressed in decimal format) when the document has been processed
*/
public BigDecimal getProcessedOn ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_ProcessedOn);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Process Now. /** Set Process Now.
@param Processing Process Now */ @param Processing Process Now */
public void setProcessing (boolean Processing) public void setProcessing (boolean Processing)

View File

@ -33,7 +33,7 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Depreciation_Exp (Properties ctx, int A_Depreciation_Exp_ID, String trxName) public X_A_Depreciation_Exp (Properties ctx, int A_Depreciation_Exp_ID, String trxName)
@ -41,13 +41,21 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_
super (ctx, A_Depreciation_Exp_ID, trxName); super (ctx, A_Depreciation_Exp_ID, trxName);
/** if (A_Depreciation_Exp_ID == 0) /** if (A_Depreciation_Exp_ID == 0)
{ {
setA_Account_Number (0); setA_Accumulated_Depr_Delta (Env.ZERO);
// 0
setA_Accumulated_Depr_F_Delta (Env.ZERO);
// 0
setA_Asset_Cost_Delta (Env.ZERO);
// 0
setA_Asset_ID (0); setA_Asset_ID (0);
setA_Depreciation_Exp_ID (0); setA_Depreciation_Exp_ID (0);
setA_Entry_Type (null); setA_Entry_Type (null);
setA_Period (0); setA_Period (0);
setDescription (null); setDescription (null);
setExpense (Env.ZERO); setExpense (Env.ZERO);
// 0
setExpense_F (Env.ZERO);
// 0
setIsDepreciated (false); setIsDepreciated (false);
setProcessed (false); setProcessed (false);
} */ } */
@ -60,7 +68,7 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_
} }
/** AccessLevel /** AccessLevel
* @return 7 - System - Client - Org * @return 3 - Client - Org
*/ */
protected int get_AccessLevel() protected int get_AccessLevel()
{ {
@ -81,28 +89,185 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_
return sb.toString(); return sb.toString();
} }
public I_C_ValidCombination getA_Account_Num() throws RuntimeException public I_C_ValidCombination getA_Account_Number_A() throws RuntimeException
{ {
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Account_Number(), get_TrxName()); } .getPO(getA_Account_Number_Acct(), get_TrxName()); }
/** Set Account Number. /** Set A_Account_Number_Acct.
@param A_Account_Number Account Number */ @param A_Account_Number_Acct A_Account_Number_Acct */
public void setA_Account_Number (int A_Account_Number) public void setA_Account_Number_Acct (int A_Account_Number_Acct)
{ {
set_Value (COLUMNNAME_A_Account_Number, Integer.valueOf(A_Account_Number)); set_Value (COLUMNNAME_A_Account_Number_Acct, Integer.valueOf(A_Account_Number_Acct));
} }
/** Get Account Number. /** Get A_Account_Number_Acct.
@return Account Number */ @return A_Account_Number_Acct */
public int getA_Account_Number () public int getA_Account_Number_Acct ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Account_Number); Integer ii = (Integer)get_Value(COLUMNNAME_A_Account_Number_Acct);
if (ii == null) if (ii == null)
return 0; return 0;
return ii.intValue(); return ii.intValue();
} }
/** Set Accumulated Depreciation.
@param A_Accumulated_Depr Accumulated Depreciation */
public void setA_Accumulated_Depr (BigDecimal A_Accumulated_Depr)
{
set_Value (COLUMNNAME_A_Accumulated_Depr, A_Accumulated_Depr);
}
/** Get Accumulated Depreciation.
@return Accumulated Depreciation */
public BigDecimal getA_Accumulated_Depr ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Accumulated_Depr);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Accumulated Depreciation (delta).
@param A_Accumulated_Depr_Delta Accumulated Depreciation (delta) */
public void setA_Accumulated_Depr_Delta (BigDecimal A_Accumulated_Depr_Delta)
{
set_Value (COLUMNNAME_A_Accumulated_Depr_Delta, A_Accumulated_Depr_Delta);
}
/** Get Accumulated Depreciation (delta).
@return Accumulated Depreciation (delta) */
public BigDecimal getA_Accumulated_Depr_Delta ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Accumulated_Depr_Delta);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Accumulated Depreciation (fiscal).
@param A_Accumulated_Depr_F Accumulated Depreciation (fiscal) */
public void setA_Accumulated_Depr_F (BigDecimal A_Accumulated_Depr_F)
{
set_Value (COLUMNNAME_A_Accumulated_Depr_F, A_Accumulated_Depr_F);
}
/** Get Accumulated Depreciation (fiscal).
@return Accumulated Depreciation (fiscal) */
public BigDecimal getA_Accumulated_Depr_F ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Accumulated_Depr_F);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Accumulated Depreciation - fiscal (delta).
@param A_Accumulated_Depr_F_Delta Accumulated Depreciation - fiscal (delta) */
public void setA_Accumulated_Depr_F_Delta (BigDecimal A_Accumulated_Depr_F_Delta)
{
set_Value (COLUMNNAME_A_Accumulated_Depr_F_Delta, A_Accumulated_Depr_F_Delta);
}
/** Get Accumulated Depreciation - fiscal (delta).
@return Accumulated Depreciation - fiscal (delta) */
public BigDecimal getA_Accumulated_Depr_F_Delta ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Accumulated_Depr_F_Delta);
if (bd == null)
return Env.ZERO;
return bd;
}
public org.compiere.model.I_A_Asset_Addition getA_Asset_Addition() throws RuntimeException
{
return (org.compiere.model.I_A_Asset_Addition)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Addition.Table_Name)
.getPO(getA_Asset_Addition_ID(), get_TrxName()); }
/** Set Asset Addition.
@param A_Asset_Addition_ID Asset Addition */
public void setA_Asset_Addition_ID (int A_Asset_Addition_ID)
{
if (A_Asset_Addition_ID < 1)
set_Value (COLUMNNAME_A_Asset_Addition_ID, null);
else
set_Value (COLUMNNAME_A_Asset_Addition_ID, Integer.valueOf(A_Asset_Addition_ID));
}
/** Get Asset Addition.
@return Asset Addition */
public int getA_Asset_Addition_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Addition_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Asset Cost.
@param A_Asset_Cost Asset Cost */
public void setA_Asset_Cost (BigDecimal A_Asset_Cost)
{
set_Value (COLUMNNAME_A_Asset_Cost, A_Asset_Cost);
}
/** Get Asset Cost.
@return Asset Cost */
public BigDecimal getA_Asset_Cost ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Asset_Cost);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Delta Asset Cost.
@param A_Asset_Cost_Delta Delta Asset Cost */
public void setA_Asset_Cost_Delta (BigDecimal A_Asset_Cost_Delta)
{
set_Value (COLUMNNAME_A_Asset_Cost_Delta, A_Asset_Cost_Delta);
}
/** Get Delta Asset Cost.
@return Delta Asset Cost */
public BigDecimal getA_Asset_Cost_Delta ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Asset_Cost_Delta);
if (bd == null)
return Env.ZERO;
return bd;
}
public org.compiere.model.I_A_Asset_Disposed getA_Asset_Disposed() throws RuntimeException
{
return (org.compiere.model.I_A_Asset_Disposed)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Disposed.Table_Name)
.getPO(getA_Asset_Disposed_ID(), get_TrxName()); }
/** Set Asset Disposed.
@param A_Asset_Disposed_ID Asset Disposed */
public void setA_Asset_Disposed_ID (int A_Asset_Disposed_ID)
{
if (A_Asset_Disposed_ID < 1)
set_Value (COLUMNNAME_A_Asset_Disposed_ID, null);
else
set_Value (COLUMNNAME_A_Asset_Disposed_ID, Integer.valueOf(A_Asset_Disposed_ID));
}
/** Get Asset Disposed.
@return Asset Disposed */
public int getA_Asset_Disposed_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Disposed_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException
{
return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name)
.getPO(getA_Asset_ID(), get_TrxName()); }
/** Set Asset. /** Set Asset.
@param A_Asset_ID @param A_Asset_ID
Asset used internally or by customers Asset used internally or by customers
@ -126,8 +291,67 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_
return ii.intValue(); return ii.intValue();
} }
/** Set Depreciation Exp.. /** Set Remaining Amt.
@param A_Depreciation_Exp_ID Depreciation Exp. */ @param A_Asset_Remaining Remaining Amt */
public void setA_Asset_Remaining (BigDecimal A_Asset_Remaining)
{
set_Value (COLUMNNAME_A_Asset_Remaining, A_Asset_Remaining);
}
/** Get Remaining Amt.
@return Remaining Amt */
public BigDecimal getA_Asset_Remaining ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Asset_Remaining);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Remaining Amt (fiscal).
@param A_Asset_Remaining_F Remaining Amt (fiscal) */
public void setA_Asset_Remaining_F (BigDecimal A_Asset_Remaining_F)
{
set_Value (COLUMNNAME_A_Asset_Remaining_F, A_Asset_Remaining_F);
}
/** Get Remaining Amt (fiscal).
@return Remaining Amt (fiscal) */
public BigDecimal getA_Asset_Remaining_F ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Asset_Remaining_F);
if (bd == null)
return Env.ZERO;
return bd;
}
public org.compiere.model.I_A_Depreciation_Entry getA_Depreciation_Entry() throws RuntimeException
{
return (org.compiere.model.I_A_Depreciation_Entry)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Entry.Table_Name)
.getPO(getA_Depreciation_Entry_ID(), get_TrxName()); }
/** Set Depreciation Entry.
@param A_Depreciation_Entry_ID Depreciation Entry */
public void setA_Depreciation_Entry_ID (int A_Depreciation_Entry_ID)
{
if (A_Depreciation_Entry_ID < 1)
set_Value (COLUMNNAME_A_Depreciation_Entry_ID, null);
else
set_Value (COLUMNNAME_A_Depreciation_Entry_ID, Integer.valueOf(A_Depreciation_Entry_ID));
}
/** Get Depreciation Entry.
@return Depreciation Entry */
public int getA_Depreciation_Entry_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Entry_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set A_Depreciation_Exp_ID.
@param A_Depreciation_Exp_ID A_Depreciation_Exp_ID */
public void setA_Depreciation_Exp_ID (int A_Depreciation_Exp_ID) public void setA_Depreciation_Exp_ID (int A_Depreciation_Exp_ID)
{ {
if (A_Depreciation_Exp_ID < 1) if (A_Depreciation_Exp_ID < 1)
@ -136,8 +360,8 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_
set_ValueNoCheck (COLUMNNAME_A_Depreciation_Exp_ID, Integer.valueOf(A_Depreciation_Exp_ID)); set_ValueNoCheck (COLUMNNAME_A_Depreciation_Exp_ID, Integer.valueOf(A_Depreciation_Exp_ID));
} }
/** Get Depreciation Exp.. /** Get A_Depreciation_Exp_ID.
@return Depreciation Exp. */ @return A_Depreciation_Exp_ID */
public int getA_Depreciation_Exp_ID () public int getA_Depreciation_Exp_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Exp_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Exp_ID);
@ -154,6 +378,20 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_
return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Exp_ID())); return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Exp_ID()));
} }
/** Set A_Depreciation_Exp_UU.
@param A_Depreciation_Exp_UU A_Depreciation_Exp_UU */
public void setA_Depreciation_Exp_UU (String A_Depreciation_Exp_UU)
{
set_Value (COLUMNNAME_A_Depreciation_Exp_UU, A_Depreciation_Exp_UU);
}
/** Get A_Depreciation_Exp_UU.
@return A_Depreciation_Exp_UU */
public String getA_Depreciation_Exp_UU ()
{
return (String)get_Value(COLUMNNAME_A_Depreciation_Exp_UU);
}
/** A_Entry_Type AD_Reference_ID=53257 */ /** A_Entry_Type AD_Reference_ID=53257 */
public static final int A_ENTRY_TYPE_AD_Reference_ID=53257; public static final int A_ENTRY_TYPE_AD_Reference_ID=53257;
/** Depreciation = DEP */ /** Depreciation = DEP */
@ -183,15 +421,15 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_
return (String)get_Value(COLUMNNAME_A_Entry_Type); return (String)get_Value(COLUMNNAME_A_Entry_Type);
} }
/** Set Period/Yearly. /** Set Asset Period.
@param A_Period Period/Yearly */ @param A_Period Asset Period */
public void setA_Period (int A_Period) public void setA_Period (int A_Period)
{ {
set_Value (COLUMNNAME_A_Period, Integer.valueOf(A_Period)); set_Value (COLUMNNAME_A_Period, Integer.valueOf(A_Period));
} }
/** Get Period/Yearly. /** Get Asset Period.
@return Period/Yearly */ @return Asset Period */
public int getA_Period () public int getA_Period ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Period); Integer ii = (Integer)get_Value(COLUMNNAME_A_Period);
@ -200,6 +438,34 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_
return ii.intValue(); return ii.intValue();
} }
public I_C_ValidCombination getCR_Account() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getCR_Account_ID(), get_TrxName()); }
/** Set Account (credit).
@param CR_Account_ID
Account used
*/
public void setCR_Account_ID (int CR_Account_ID)
{
if (CR_Account_ID < 1)
set_Value (COLUMNNAME_CR_Account_ID, null);
else
set_Value (COLUMNNAME_CR_Account_ID, Integer.valueOf(CR_Account_ID));
}
/** Get Account (credit).
@return Account used
*/
public int getCR_Account_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_CR_Account_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Account Date. /** Set Account Date.
@param DateAcct @param DateAcct
Accounting Date Accounting Date
@ -234,6 +500,34 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_
return (String)get_Value(COLUMNNAME_Description); return (String)get_Value(COLUMNNAME_Description);
} }
public I_C_ValidCombination getDR_Account() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getDR_Account_ID(), get_TrxName()); }
/** Set Account (debit).
@param DR_Account_ID
Account used
*/
public void setDR_Account_ID (int DR_Account_ID)
{
if (DR_Account_ID < 1)
set_Value (COLUMNNAME_DR_Account_ID, null);
else
set_Value (COLUMNNAME_DR_Account_ID, Integer.valueOf(DR_Account_ID));
}
/** Get Account (debit).
@return Account used
*/
public int getDR_Account_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_DR_Account_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Expense. /** Set Expense.
@param Expense Expense */ @param Expense Expense */
public void setExpense (BigDecimal Expense) public void setExpense (BigDecimal Expense)
@ -251,6 +545,40 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_
return bd; return bd;
} }
/** Set Expense (fiscal).
@param Expense_F Expense (fiscal) */
public void setExpense_F (BigDecimal Expense_F)
{
set_Value (COLUMNNAME_Expense_F, Expense_F);
}
/** Get Expense (fiscal).
@return Expense (fiscal) */
public BigDecimal getExpense_F ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Expense_F);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Comment/Help.
@param Help
Comment or Hint
*/
public void setHelp (String Help)
{
set_Value (COLUMNNAME_Help, Help);
}
/** Get Comment/Help.
@return Comment or Hint
*/
public String getHelp ()
{
return (String)get_Value(COLUMNNAME_Help);
}
/** Set Depreciate. /** Set Depreciate.
@param IsDepreciated @param IsDepreciated
The asset will be depreciated The asset will be depreciated
@ -275,12 +603,25 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_
return false; return false;
} }
/** PostingType AD_Reference_ID=125 */
public static final int POSTINGTYPE_AD_Reference_ID=125;
/** Actual = A */
public static final String POSTINGTYPE_Actual = "A";
/** Budget = B */
public static final String POSTINGTYPE_Budget = "B";
/** Commitment = E */
public static final String POSTINGTYPE_Commitment = "E";
/** Statistical = S */
public static final String POSTINGTYPE_Statistical = "S";
/** Reservation = R */
public static final String POSTINGTYPE_Reservation = "R";
/** Set PostingType. /** Set PostingType.
@param PostingType @param PostingType
The type of posted amount for the transaction The type of posted amount for the transaction
*/ */
public void setPostingType (String PostingType) public void setPostingType (String PostingType)
{ {
set_Value (COLUMNNAME_PostingType, PostingType); set_Value (COLUMNNAME_PostingType, PostingType);
} }
@ -315,4 +656,62 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_
} }
return false; return false;
} }
/** Set Process Now.
@param Processing Process Now */
public void setProcessing (boolean Processing)
{
set_Value (COLUMNNAME_Processing, Boolean.valueOf(Processing));
}
/** Get Process Now.
@return Process Now */
public boolean isProcessing ()
{
Object oo = get_Value(COLUMNNAME_Processing);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Usable Life - Months.
@param UseLifeMonths
Months of the usable life of the asset
*/
public void setUseLifeMonths (int UseLifeMonths)
{
set_Value (COLUMNNAME_UseLifeMonths, Integer.valueOf(UseLifeMonths));
}
/** Get Usable Life - Months.
@return Months of the usable life of the asset
*/
public int getUseLifeMonths ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_UseLifeMonths);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Use Life - Months (fiscal).
@param UseLifeMonths_F Use Life - Months (fiscal) */
public void setUseLifeMonths_F (int UseLifeMonths_F)
{
set_Value (COLUMNNAME_UseLifeMonths_F, Integer.valueOf(UseLifeMonths_F));
}
/** Get Use Life - Months (fiscal).
@return Use Life - Months (fiscal) */
public int getUseLifeMonths_F ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_UseLifeMonths_F);
if (ii == null)
return 0;
return ii.intValue();
}
} }

View File

@ -31,7 +31,7 @@ public class X_A_Depreciation_Forecast extends PO implements I_A_Depreciation_Fo
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Depreciation_Forecast (Properties ctx, int A_Depreciation_Forecast_ID, String trxName) public X_A_Depreciation_Forecast (Properties ctx, int A_Depreciation_Forecast_ID, String trxName)
@ -103,13 +103,27 @@ public class X_A_Depreciation_Forecast extends PO implements I_A_Depreciation_Fo
return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Forecast_ID())); return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Forecast_ID()));
} }
public I_A_Asset getA_End_Asset() throws RuntimeException /** Set A_Depreciation_Forecast_UU.
@param A_Depreciation_Forecast_UU A_Depreciation_Forecast_UU */
public void setA_Depreciation_Forecast_UU (String A_Depreciation_Forecast_UU)
{
set_Value (COLUMNNAME_A_Depreciation_Forecast_UU, A_Depreciation_Forecast_UU);
}
/** Get A_Depreciation_Forecast_UU.
@return A_Depreciation_Forecast_UU */
public String getA_Depreciation_Forecast_UU ()
{
return (String)get_Value(COLUMNNAME_A_Depreciation_Forecast_UU);
}
public org.compiere.model.I_A_Asset getA_End_Asset() throws RuntimeException
{ {
return (I_A_Asset)MTable.get(getCtx(), I_A_Asset.Table_Name) return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name)
.getPO(getA_End_Asset_ID(), get_TrxName()); } .getPO(getA_End_Asset_ID(), get_TrxName()); }
/** Set End Aset ID. /** Set To Asset.
@param A_End_Asset_ID End Aset ID */ @param A_End_Asset_ID To Asset */
public void setA_End_Asset_ID (int A_End_Asset_ID) public void setA_End_Asset_ID (int A_End_Asset_ID)
{ {
if (A_End_Asset_ID < 1) if (A_End_Asset_ID < 1)
@ -118,8 +132,8 @@ public class X_A_Depreciation_Forecast extends PO implements I_A_Depreciation_Fo
set_Value (COLUMNNAME_A_End_Asset_ID, Integer.valueOf(A_End_Asset_ID)); set_Value (COLUMNNAME_A_End_Asset_ID, Integer.valueOf(A_End_Asset_ID));
} }
/** Get End Aset ID. /** Get To Asset.
@return End Aset ID */ @return To Asset */
public int getA_End_Asset_ID () public int getA_End_Asset_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_End_Asset_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_End_Asset_ID);
@ -128,13 +142,13 @@ public class X_A_Depreciation_Forecast extends PO implements I_A_Depreciation_Fo
return ii.intValue(); return ii.intValue();
} }
public I_A_Asset getA_Start_Asset() throws RuntimeException public org.compiere.model.I_A_Asset getA_Start_Asset() throws RuntimeException
{ {
return (I_A_Asset)MTable.get(getCtx(), I_A_Asset.Table_Name) return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name)
.getPO(getA_Start_Asset_ID(), get_TrxName()); } .getPO(getA_Start_Asset_ID(), get_TrxName()); }
/** Set Start Asset. /** Set From Asset.
@param A_Start_Asset_ID Start Asset */ @param A_Start_Asset_ID From Asset */
public void setA_Start_Asset_ID (int A_Start_Asset_ID) public void setA_Start_Asset_ID (int A_Start_Asset_ID)
{ {
if (A_Start_Asset_ID < 1) if (A_Start_Asset_ID < 1)
@ -143,8 +157,8 @@ public class X_A_Depreciation_Forecast extends PO implements I_A_Depreciation_Fo
set_Value (COLUMNNAME_A_Start_Asset_ID, Integer.valueOf(A_Start_Asset_ID)); set_Value (COLUMNNAME_A_Start_Asset_ID, Integer.valueOf(A_Start_Asset_ID));
} }
/** Get Start Asset. /** Get From Asset.
@return Start Asset */ @return From Asset */
public int getA_Start_Asset_ID () public int getA_Start_Asset_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Start_Asset_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Start_Asset_ID);

View File

@ -30,7 +30,7 @@ public class X_A_Depreciation_Method extends PO implements I_A_Depreciation_Meth
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Depreciation_Method (Properties ctx, int A_Depreciation_Method_ID, String trxName) public X_A_Depreciation_Method (Properties ctx, int A_Depreciation_Method_ID, String trxName)
@ -39,8 +39,8 @@ public class X_A_Depreciation_Method extends PO implements I_A_Depreciation_Meth
/** if (A_Depreciation_Method_ID == 0) /** if (A_Depreciation_Method_ID == 0)
{ {
setA_Depreciation_Method_ID (0); setA_Depreciation_Method_ID (0);
setProcessed (true); setProcessed (false);
// Y // N
} */ } */
} }
@ -72,8 +72,8 @@ public class X_A_Depreciation_Method extends PO implements I_A_Depreciation_Meth
return sb.toString(); return sb.toString();
} }
/** Set Depreciation Calculation Type. /** Set Depreciation Method.
@param A_Depreciation_Method_ID Depreciation Calculation Type */ @param A_Depreciation_Method_ID Depreciation Method */
public void setA_Depreciation_Method_ID (int A_Depreciation_Method_ID) public void setA_Depreciation_Method_ID (int A_Depreciation_Method_ID)
{ {
if (A_Depreciation_Method_ID < 1) if (A_Depreciation_Method_ID < 1)
@ -82,8 +82,8 @@ public class X_A_Depreciation_Method extends PO implements I_A_Depreciation_Meth
set_ValueNoCheck (COLUMNNAME_A_Depreciation_Method_ID, Integer.valueOf(A_Depreciation_Method_ID)); set_ValueNoCheck (COLUMNNAME_A_Depreciation_Method_ID, Integer.valueOf(A_Depreciation_Method_ID));
} }
/** Get Depreciation Calculation Type. /** Get Depreciation Method.
@return Depreciation Calculation Type */ @return Depreciation Method */
public int getA_Depreciation_Method_ID () public int getA_Depreciation_Method_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Method_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Method_ID);
@ -100,6 +100,20 @@ public class X_A_Depreciation_Method extends PO implements I_A_Depreciation_Meth
return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Method_ID())); return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Method_ID()));
} }
/** Set A_Depreciation_Method_UU.
@param A_Depreciation_Method_UU A_Depreciation_Method_UU */
public void setA_Depreciation_Method_UU (String A_Depreciation_Method_UU)
{
set_Value (COLUMNNAME_A_Depreciation_Method_UU, A_Depreciation_Method_UU);
}
/** Get A_Depreciation_Method_UU.
@return A_Depreciation_Method_UU */
public String getA_Depreciation_Method_UU ()
{
return (String)get_Value(COLUMNNAME_A_Depreciation_Method_UU);
}
/** Set DepreciationType. /** Set DepreciationType.
@param DepreciationType DepreciationType */ @param DepreciationType DepreciationType */
public void setDepreciationType (String DepreciationType) public void setDepreciationType (String DepreciationType)
@ -172,15 +186,15 @@ public class X_A_Depreciation_Method extends PO implements I_A_Depreciation_Meth
return false; return false;
} }
/** Set Text. /** Set Description.
@param Text Text */ @param Text Description */
public void setText (String Text) public void setText (String Text)
{ {
set_Value (COLUMNNAME_Text, Text); set_Value (COLUMNNAME_Text, Text);
} }
/** Get Text. /** Get Description.
@return Text */ @return Description */
public String getText () public String getText ()
{ {
return (String)get_Value(COLUMNNAME_Text); return (String)get_Value(COLUMNNAME_Text);

View File

@ -32,7 +32,7 @@ public class X_A_Depreciation_Table_Detail extends PO implements I_A_Depreciatio
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Depreciation_Table_Detail (Properties ctx, int A_Depreciation_Table_Detail_ID, String trxName) public X_A_Depreciation_Table_Detail (Properties ctx, int A_Depreciation_Table_Detail_ID, String trxName)
@ -135,15 +135,29 @@ public class X_A_Depreciation_Table_Detail extends PO implements I_A_Depreciatio
return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Table_Detail_ID())); return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Table_Detail_ID()));
} }
/** Set Period/Yearly. /** Set A_Depreciation_Table_Detail_UU.
@param A_Period Period/Yearly */ @param A_Depreciation_Table_Detail_UU A_Depreciation_Table_Detail_UU */
public void setA_Depreciation_Table_Detail_UU (String A_Depreciation_Table_Detail_UU)
{
set_Value (COLUMNNAME_A_Depreciation_Table_Detail_UU, A_Depreciation_Table_Detail_UU);
}
/** Get A_Depreciation_Table_Detail_UU.
@return A_Depreciation_Table_Detail_UU */
public String getA_Depreciation_Table_Detail_UU ()
{
return (String)get_Value(COLUMNNAME_A_Depreciation_Table_Detail_UU);
}
/** Set Asset Period.
@param A_Period Asset Period */
public void setA_Period (int A_Period) public void setA_Period (int A_Period)
{ {
set_Value (COLUMNNAME_A_Period, Integer.valueOf(A_Period)); set_Value (COLUMNNAME_A_Period, Integer.valueOf(A_Period));
} }
/** Get Period/Yearly. /** Get Asset Period.
@return Period/Yearly */ @return Asset Period */
public int getA_Period () public int getA_Period ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Period); Integer ii = (Integer)get_Value(COLUMNNAME_A_Period);

View File

@ -30,7 +30,7 @@ public class X_A_Depreciation_Table_Header extends PO implements I_A_Depreciatio
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Depreciation_Table_Header (Properties ctx, int A_Depreciation_Table_Header_ID, String trxName) public X_A_Depreciation_Table_Header (Properties ctx, int A_Depreciation_Table_Header_ID, String trxName)
@ -89,8 +89,8 @@ public class X_A_Depreciation_Table_Header extends PO implements I_A_Depreciatio
return (String)get_Value(COLUMNNAME_A_Depreciation_Table_Code); return (String)get_Value(COLUMNNAME_A_Depreciation_Table_Code);
} }
/** Set Depreciation Table Header. /** Set A_Depreciation_Table_Header_ID.
@param A_Depreciation_Table_Header_ID Depreciation Table Header */ @param A_Depreciation_Table_Header_ID A_Depreciation_Table_Header_ID */
public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID) public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID)
{ {
if (A_Depreciation_Table_Header_ID < 1) if (A_Depreciation_Table_Header_ID < 1)
@ -99,8 +99,8 @@ public class X_A_Depreciation_Table_Header extends PO implements I_A_Depreciatio
set_ValueNoCheck (COLUMNNAME_A_Depreciation_Table_Header_ID, Integer.valueOf(A_Depreciation_Table_Header_ID)); set_ValueNoCheck (COLUMNNAME_A_Depreciation_Table_Header_ID, Integer.valueOf(A_Depreciation_Table_Header_ID));
} }
/** Get Depreciation Table Header. /** Get A_Depreciation_Table_Header_ID.
@return Depreciation Table Header */ @return A_Depreciation_Table_Header_ID */
public int getA_Depreciation_Table_Header_ID () public int getA_Depreciation_Table_Header_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Table_Header_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Table_Header_ID);
@ -117,6 +117,20 @@ public class X_A_Depreciation_Table_Header extends PO implements I_A_Depreciatio
return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Table_Header_ID())); return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Table_Header_ID()));
} }
/** Set A_Depreciation_Table_Header_UU.
@param A_Depreciation_Table_Header_UU A_Depreciation_Table_Header_UU */
public void setA_Depreciation_Table_Header_UU (String A_Depreciation_Table_Header_UU)
{
set_Value (COLUMNNAME_A_Depreciation_Table_Header_UU, A_Depreciation_Table_Header_UU);
}
/** Get A_Depreciation_Table_Header_UU.
@return A_Depreciation_Table_Header_UU */
public String getA_Depreciation_Table_Header_UU ()
{
return (String)get_Value(COLUMNNAME_A_Depreciation_Table_Header_UU);
}
/** A_Table_Rate_Type AD_Reference_ID=53255 */ /** A_Table_Rate_Type AD_Reference_ID=53255 */
public static final int A_TABLE_RATE_TYPE_AD_Reference_ID=53255; public static final int A_TABLE_RATE_TYPE_AD_Reference_ID=53255;
/** Amount = AM */ /** Amount = AM */

View File

@ -33,7 +33,7 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Depreciation_Workfile (Properties ctx, int A_Depreciation_Workfile_ID, String trxName) public X_A_Depreciation_Workfile (Properties ctx, int A_Depreciation_Workfile_ID, String trxName)
@ -41,10 +41,41 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo
super (ctx, A_Depreciation_Workfile_ID, trxName); super (ctx, A_Depreciation_Workfile_ID, trxName);
/** if (A_Depreciation_Workfile_ID == 0) /** if (A_Depreciation_Workfile_ID == 0)
{ {
setA_Accumulated_Depr (Env.ZERO);
// 0
setA_Accumulated_Depr_F (Env.ZERO);
// 0
setA_Asset_Cost (Env.ZERO);
// 0
setA_Asset_ID (0); setA_Asset_ID (0);
setA_Asset_Life_Current_Year (Env.ZERO);
// 0
setA_Asset_Life_Years (0); setA_Asset_Life_Years (0);
// 0
setA_Asset_Life_Years_F (0);
// 0
setA_Curr_Dep_Exp (Env.ZERO);
// 0
setA_Depreciation_Workfile_ID (0); setA_Depreciation_Workfile_ID (0);
setA_Life_Period (0);
// 0
setA_Life_Period_F (0);
// 0
setA_QTY_Current (Env.ZERO); setA_QTY_Current (Env.ZERO);
setA_Salvage_Value (Env.ZERO);
// 0
setA_Tip_Finantare (null);
// 'P'
setProcessed (false);
// N
setUseLifeMonths (0);
// 0
setUseLifeMonths_F (0);
// 0
setUseLifeYears (0);
// 0
setUseLifeYears_F (0);
// 0
} */ } */
} }
@ -93,6 +124,23 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo
return bd; return bd;
} }
/** Set Accumulated Depreciation (fiscal).
@param A_Accumulated_Depr_F Accumulated Depreciation (fiscal) */
public void setA_Accumulated_Depr_F (BigDecimal A_Accumulated_Depr_F)
{
set_Value (COLUMNNAME_A_Accumulated_Depr_F, A_Accumulated_Depr_F);
}
/** Get Accumulated Depreciation (fiscal).
@return Accumulated Depreciation (fiscal) */
public BigDecimal getA_Accumulated_Depr_F ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Accumulated_Depr_F);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Asset Cost. /** Set Asset Cost.
@param A_Asset_Cost Asset Cost */ @param A_Asset_Cost Asset Cost */
public void setA_Asset_Cost (BigDecimal A_Asset_Cost) public void setA_Asset_Cost (BigDecimal A_Asset_Cost)
@ -110,6 +158,11 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo
return bd; return bd;
} }
public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException
{
return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name)
.getPO(getA_Asset_ID(), get_TrxName()); }
/** Set Asset. /** Set Asset.
@param A_Asset_ID @param A_Asset_ID
Asset used internally or by customers Asset used internally or by customers
@ -133,15 +186,15 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo
return ii.intValue(); return ii.intValue();
} }
/** Set Asset Life Current Year. /** Set A_Asset_Life_Current_Year.
@param A_Asset_Life_Current_Year Asset Life Current Year */ @param A_Asset_Life_Current_Year A_Asset_Life_Current_Year */
public void setA_Asset_Life_Current_Year (BigDecimal A_Asset_Life_Current_Year) public void setA_Asset_Life_Current_Year (BigDecimal A_Asset_Life_Current_Year)
{ {
set_Value (COLUMNNAME_A_Asset_Life_Current_Year, A_Asset_Life_Current_Year); set_Value (COLUMNNAME_A_Asset_Life_Current_Year, A_Asset_Life_Current_Year);
} }
/** Get Asset Life Current Year. /** Get A_Asset_Life_Current_Year.
@return Asset Life Current Year */ @return A_Asset_Life_Current_Year */
public BigDecimal getA_Asset_Life_Current_Year () public BigDecimal getA_Asset_Life_Current_Year ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Asset_Life_Current_Year); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Asset_Life_Current_Year);
@ -150,15 +203,15 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo
return bd; return bd;
} }
/** Set Asset Life Years. /** Set Life Years.
@param A_Asset_Life_Years Asset Life Years */ @param A_Asset_Life_Years Life Years */
public void setA_Asset_Life_Years (int A_Asset_Life_Years) public void setA_Asset_Life_Years (int A_Asset_Life_Years)
{ {
set_Value (COLUMNNAME_A_Asset_Life_Years, Integer.valueOf(A_Asset_Life_Years)); set_Value (COLUMNNAME_A_Asset_Life_Years, Integer.valueOf(A_Asset_Life_Years));
} }
/** Get Asset Life Years. /** Get Life Years.
@return Asset Life Years */ @return Life Years */
public int getA_Asset_Life_Years () public int getA_Asset_Life_Years ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Life_Years); Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Life_Years);
@ -167,15 +220,66 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo
return ii.intValue(); return ii.intValue();
} }
/** Set Base Amount. /** Set Life Years (fiscal).
@param A_Base_Amount Base Amount */ @param A_Asset_Life_Years_F Life Years (fiscal) */
public void setA_Asset_Life_Years_F (int A_Asset_Life_Years_F)
{
set_Value (COLUMNNAME_A_Asset_Life_Years_F, Integer.valueOf(A_Asset_Life_Years_F));
}
/** Get Life Years (fiscal).
@return Life Years (fiscal) */
public int getA_Asset_Life_Years_F ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Life_Years_F);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Remaining Amt.
@param A_Asset_Remaining Remaining Amt */
public void setA_Asset_Remaining (BigDecimal A_Asset_Remaining)
{
set_ValueNoCheck (COLUMNNAME_A_Asset_Remaining, A_Asset_Remaining);
}
/** Get Remaining Amt.
@return Remaining Amt */
public BigDecimal getA_Asset_Remaining ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Asset_Remaining);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Remaining Amt (fiscal).
@param A_Asset_Remaining_F Remaining Amt (fiscal) */
public void setA_Asset_Remaining_F (BigDecimal A_Asset_Remaining_F)
{
set_ValueNoCheck (COLUMNNAME_A_Asset_Remaining_F, A_Asset_Remaining_F);
}
/** Get Remaining Amt (fiscal).
@return Remaining Amt (fiscal) */
public BigDecimal getA_Asset_Remaining_F ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Asset_Remaining_F);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set A_Base_Amount.
@param A_Base_Amount A_Base_Amount */
public void setA_Base_Amount (BigDecimal A_Base_Amount) public void setA_Base_Amount (BigDecimal A_Base_Amount)
{ {
set_Value (COLUMNNAME_A_Base_Amount, A_Base_Amount); set_Value (COLUMNNAME_A_Base_Amount, A_Base_Amount);
} }
/** Get Base Amount. /** Get A_Base_Amount.
@return Base Amount */ @return A_Base_Amount */
public BigDecimal getA_Base_Amount () public BigDecimal getA_Base_Amount ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Base_Amount); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Base_Amount);
@ -184,15 +288,15 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo
return bd; return bd;
} }
/** Set Calc. Accumulated Depr.. /** Set A_Calc_Accumulated_Depr.
@param A_Calc_Accumulated_Depr Calc. Accumulated Depr. */ @param A_Calc_Accumulated_Depr A_Calc_Accumulated_Depr */
public void setA_Calc_Accumulated_Depr (BigDecimal A_Calc_Accumulated_Depr) public void setA_Calc_Accumulated_Depr (BigDecimal A_Calc_Accumulated_Depr)
{ {
set_Value (COLUMNNAME_A_Calc_Accumulated_Depr, A_Calc_Accumulated_Depr); set_Value (COLUMNNAME_A_Calc_Accumulated_Depr, A_Calc_Accumulated_Depr);
} }
/** Get Calc. Accumulated Depr.. /** Get A_Calc_Accumulated_Depr.
@return Calc. Accumulated Depr. */ @return A_Calc_Accumulated_Depr */
public BigDecimal getA_Calc_Accumulated_Depr () public BigDecimal getA_Calc_Accumulated_Depr ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Calc_Accumulated_Depr); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Calc_Accumulated_Depr);
@ -201,15 +305,15 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo
return bd; return bd;
} }
/** Set Curr. Dep. Exp.. /** Set A_Curr_Dep_Exp.
@param A_Curr_Dep_Exp Curr. Dep. Exp. */ @param A_Curr_Dep_Exp A_Curr_Dep_Exp */
public void setA_Curr_Dep_Exp (BigDecimal A_Curr_Dep_Exp) public void setA_Curr_Dep_Exp (BigDecimal A_Curr_Dep_Exp)
{ {
set_Value (COLUMNNAME_A_Curr_Dep_Exp, A_Curr_Dep_Exp); set_Value (COLUMNNAME_A_Curr_Dep_Exp, A_Curr_Dep_Exp);
} }
/** Get Curr. Dep. Exp.. /** Get A_Curr_Dep_Exp.
@return Curr. Dep. Exp. */ @return A_Curr_Dep_Exp */
public BigDecimal getA_Curr_Dep_Exp () public BigDecimal getA_Curr_Dep_Exp ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Curr_Dep_Exp); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Curr_Dep_Exp);
@ -235,8 +339,8 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo
return ii.intValue(); return ii.intValue();
} }
/** Set Depreciation Workfile. /** Set A_Depreciation_Workfile_ID.
@param A_Depreciation_Workfile_ID Depreciation Workfile */ @param A_Depreciation_Workfile_ID A_Depreciation_Workfile_ID */
public void setA_Depreciation_Workfile_ID (int A_Depreciation_Workfile_ID) public void setA_Depreciation_Workfile_ID (int A_Depreciation_Workfile_ID)
{ {
if (A_Depreciation_Workfile_ID < 1) if (A_Depreciation_Workfile_ID < 1)
@ -245,8 +349,8 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo
set_ValueNoCheck (COLUMNNAME_A_Depreciation_Workfile_ID, Integer.valueOf(A_Depreciation_Workfile_ID)); set_ValueNoCheck (COLUMNNAME_A_Depreciation_Workfile_ID, Integer.valueOf(A_Depreciation_Workfile_ID));
} }
/** Get Depreciation Workfile. /** Get A_Depreciation_Workfile_ID.
@return Depreciation Workfile */ @return A_Depreciation_Workfile_ID */
public int getA_Depreciation_Workfile_ID () public int getA_Depreciation_Workfile_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Workfile_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Workfile_ID);
@ -263,15 +367,86 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo
return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Workfile_ID())); return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Workfile_ID()));
} }
/** Set A_Life_Period. /** Set A_Depreciation_Workfile_UU.
@param A_Life_Period A_Life_Period */ @param A_Depreciation_Workfile_UU A_Depreciation_Workfile_UU */
public void setA_Depreciation_Workfile_UU (String A_Depreciation_Workfile_UU)
{
set_Value (COLUMNNAME_A_Depreciation_Workfile_UU, A_Depreciation_Workfile_UU);
}
/** Get A_Depreciation_Workfile_UU.
@return A_Depreciation_Workfile_UU */
public String getA_Depreciation_Workfile_UU ()
{
return (String)get_Value(COLUMNNAME_A_Depreciation_Workfile_UU);
}
/** Set SL Expense/Period.
@param A_Expense_SL SL Expense/Period */
public void setA_Expense_SL (BigDecimal A_Expense_SL)
{
throw new IllegalArgumentException ("A_Expense_SL is virtual column"); }
/** Get SL Expense/Period.
@return SL Expense/Period */
public BigDecimal getA_Expense_SL ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Expense_SL);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set SL Expense/Period (fiscal).
@param A_Expense_SL_F SL Expense/Period (fiscal) */
public void setA_Expense_SL_F (BigDecimal A_Expense_SL_F)
{
throw new IllegalArgumentException ("A_Expense_SL_F is virtual column"); }
/** Get SL Expense/Period (fiscal).
@return SL Expense/Period (fiscal) */
public BigDecimal getA_Expense_SL_F ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Expense_SL_F);
if (bd == null)
return Env.ZERO;
return bd;
}
public org.compiere.model.I_A_FundingMode getA_FundingMode() throws RuntimeException
{
return (org.compiere.model.I_A_FundingMode)MTable.get(getCtx(), org.compiere.model.I_A_FundingMode.Table_Name)
.getPO(getA_FundingMode_ID(), get_TrxName()); }
/** Set Asset Funding Mode.
@param A_FundingMode_ID Asset Funding Mode */
public void setA_FundingMode_ID (int A_FundingMode_ID)
{
if (A_FundingMode_ID < 1)
set_Value (COLUMNNAME_A_FundingMode_ID, null);
else
set_Value (COLUMNNAME_A_FundingMode_ID, Integer.valueOf(A_FundingMode_ID));
}
/** Get Asset Funding Mode.
@return Asset Funding Mode */
public int getA_FundingMode_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_FundingMode_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Life Periods.
@param A_Life_Period Life Periods */
public void setA_Life_Period (int A_Life_Period) public void setA_Life_Period (int A_Life_Period)
{ {
set_Value (COLUMNNAME_A_Life_Period, Integer.valueOf(A_Life_Period)); set_Value (COLUMNNAME_A_Life_Period, Integer.valueOf(A_Life_Period));
} }
/** Get A_Life_Period. /** Get Life Periods.
@return A_Life_Period */ @return Life Periods */
public int getA_Life_Period () public int getA_Life_Period ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Life_Period); Integer ii = (Integer)get_Value(COLUMNNAME_A_Life_Period);
@ -280,15 +455,64 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo
return ii.intValue(); return ii.intValue();
} }
/** Set Forecast Period. /** Set Life Period (fiscal).
@param A_Period_Forecast Forecast Period */ @param A_Life_Period_F Life Period (fiscal) */
public void setA_Life_Period_F (int A_Life_Period_F)
{
set_Value (COLUMNNAME_A_Life_Period_F, Integer.valueOf(A_Life_Period_F));
}
/** Get Life Period (fiscal).
@return Life Period (fiscal) */
public int getA_Life_Period_F ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Life_Period_F);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Life periods (max).
@param A_Life_Period_Max Life periods (max) */
public void setA_Life_Period_Max (int A_Life_Period_Max)
{
throw new IllegalArgumentException ("A_Life_Period_Max is virtual column"); }
/** Get Life periods (max).
@return Life periods (max) */
public int getA_Life_Period_Max ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Life_Period_Max);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Life periods (min).
@param A_Life_Period_Min Life periods (min) */
public void setA_Life_Period_Min (int A_Life_Period_Min)
{
throw new IllegalArgumentException ("A_Life_Period_Min is virtual column"); }
/** Get Life periods (min).
@return Life periods (min) */
public int getA_Life_Period_Min ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Life_Period_Min);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set A_Period_Forecast.
@param A_Period_Forecast A_Period_Forecast */
public void setA_Period_Forecast (BigDecimal A_Period_Forecast) public void setA_Period_Forecast (BigDecimal A_Period_Forecast)
{ {
set_Value (COLUMNNAME_A_Period_Forecast, A_Period_Forecast); set_Value (COLUMNNAME_A_Period_Forecast, A_Period_Forecast);
} }
/** Get Forecast Period. /** Get A_Period_Forecast.
@return Forecast Period */ @return A_Period_Forecast */
public BigDecimal getA_Period_Forecast () public BigDecimal getA_Period_Forecast ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Period_Forecast); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Period_Forecast);
@ -297,15 +521,15 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo
return bd; return bd;
} }
/** Set Period Posted. /** Set A_Period_Posted.
@param A_Period_Posted Period Posted */ @param A_Period_Posted A_Period_Posted */
public void setA_Period_Posted (int A_Period_Posted) public void setA_Period_Posted (int A_Period_Posted)
{ {
set_Value (COLUMNNAME_A_Period_Posted, Integer.valueOf(A_Period_Posted)); set_Value (COLUMNNAME_A_Period_Posted, Integer.valueOf(A_Period_Posted));
} }
/** Get Period Posted. /** Get A_Period_Posted.
@return Period Posted */ @return A_Period_Posted */
public int getA_Period_Posted () public int getA_Period_Posted ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_Posted); Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_Posted);
@ -314,15 +538,15 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo
return ii.intValue(); return ii.intValue();
} }
/** Set Prior. Year Accumulated Depr.. /** Set A_Prior_Year_Accumulated_Depr.
@param A_Prior_Year_Accumulated_Depr Prior. Year Accumulated Depr. */ @param A_Prior_Year_Accumulated_Depr A_Prior_Year_Accumulated_Depr */
public void setA_Prior_Year_Accumulated_Depr (BigDecimal A_Prior_Year_Accumulated_Depr) public void setA_Prior_Year_Accumulated_Depr (BigDecimal A_Prior_Year_Accumulated_Depr)
{ {
set_Value (COLUMNNAME_A_Prior_Year_Accumulated_Depr, A_Prior_Year_Accumulated_Depr); set_Value (COLUMNNAME_A_Prior_Year_Accumulated_Depr, A_Prior_Year_Accumulated_Depr);
} }
/** Get Prior. Year Accumulated Depr.. /** Get A_Prior_Year_Accumulated_Depr.
@return Prior. Year Accumulated Depr. */ @return A_Prior_Year_Accumulated_Depr */
public BigDecimal getA_Prior_Year_Accumulated_Depr () public BigDecimal getA_Prior_Year_Accumulated_Depr ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Prior_Year_Accumulated_Depr); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Prior_Year_Accumulated_Depr);
@ -331,15 +555,15 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo
return bd; return bd;
} }
/** Set Quantity. /** Set Current Qty.
@param A_QTY_Current Quantity */ @param A_QTY_Current Current Qty */
public void setA_QTY_Current (BigDecimal A_QTY_Current) public void setA_QTY_Current (BigDecimal A_QTY_Current)
{ {
set_Value (COLUMNNAME_A_QTY_Current, A_QTY_Current); set_Value (COLUMNNAME_A_QTY_Current, A_QTY_Current);
} }
/** Get Quantity. /** Get Current Qty.
@return Quantity */ @return Current Qty */
public BigDecimal getA_QTY_Current () public BigDecimal getA_QTY_Current ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_QTY_Current); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_QTY_Current);
@ -348,15 +572,15 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo
return bd; return bd;
} }
/** Set Salvage Value. /** Set Asset Salvage Value.
@param A_Salvage_Value Salvage Value */ @param A_Salvage_Value Asset Salvage Value */
public void setA_Salvage_Value (BigDecimal A_Salvage_Value) public void setA_Salvage_Value (BigDecimal A_Salvage_Value)
{ {
set_Value (COLUMNNAME_A_Salvage_Value, A_Salvage_Value); set_Value (COLUMNNAME_A_Salvage_Value, A_Salvage_Value);
} }
/** Get Salvage Value. /** Get Asset Salvage Value.
@return Salvage Value */ @return Asset Salvage Value */
public BigDecimal getA_Salvage_Value () public BigDecimal getA_Salvage_Value ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Salvage_Value); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Salvage_Value);
@ -382,6 +606,66 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo
return (Timestamp)get_Value(COLUMNNAME_AssetDepreciationDate); return (Timestamp)get_Value(COLUMNNAME_AssetDepreciationDate);
} }
/** A_Tip_Finantare AD_Reference_ID=53361 */
public static final int A_TIP_FINANTARE_AD_Reference_ID=53361;
/** Cofinantare = C */
public static final String A_TIP_FINANTARE_Cofinantare = "C";
/** Proprie = P */
public static final String A_TIP_FINANTARE_Proprie = "P";
/** Terti = T */
public static final String A_TIP_FINANTARE_Terti = "T";
/** Set Financing Type.
@param A_Tip_Finantare
Financing Type
*/
public void setA_Tip_Finantare (String A_Tip_Finantare)
{
set_Value (COLUMNNAME_A_Tip_Finantare, A_Tip_Finantare);
}
/** Get Financing Type.
@return Financing Type
*/
public String getA_Tip_Finantare ()
{
return (String)get_Value(COLUMNNAME_A_Tip_Finantare);
}
/** Set Own contribution.
@param A_Valoare_Cofinantare Own contribution */
public void setA_Valoare_Cofinantare (BigDecimal A_Valoare_Cofinantare)
{
set_Value (COLUMNNAME_A_Valoare_Cofinantare, A_Valoare_Cofinantare);
}
/** Get Own contribution.
@return Own contribution */
public BigDecimal getA_Valoare_Cofinantare ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Valoare_Cofinantare);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Third contribution.
@param A_Valoare_Tert Third contribution */
public void setA_Valoare_Tert (BigDecimal A_Valoare_Tert)
{
set_Value (COLUMNNAME_A_Valoare_Tert, A_Valoare_Tert);
}
/** Get Third contribution.
@return Third contribution */
public BigDecimal getA_Valoare_Tert ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Valoare_Tert);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Account Date. /** Set Account Date.
@param DateAcct @param DateAcct
Accounting Date Accounting Date
@ -399,6 +683,23 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo
return (Timestamp)get_Value(COLUMNNAME_DateAcct); return (Timestamp)get_Value(COLUMNNAME_DateAcct);
} }
/** Set Description.
@param Description
Optional short description of the record
*/
public void setDescription (String Description)
{
set_Value (COLUMNNAME_Description, Description);
}
/** Get Description.
@return Optional short description of the record
*/
public String getDescription ()
{
return (String)get_Value(COLUMNNAME_Description);
}
/** Set Depreciate. /** Set Depreciate.
@param IsDepreciated @param IsDepreciated
The asset will be depreciated The asset will be depreciated
@ -453,6 +754,30 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo
return (String)get_Value(COLUMNNAME_PostingType); return (String)get_Value(COLUMNNAME_PostingType);
} }
/** Set Processed.
@param Processed
The document has been processed
*/
public void setProcessed (boolean Processed)
{
set_Value (COLUMNNAME_Processed, Boolean.valueOf(Processed));
}
/** Get Processed.
@return The document has been processed
*/
public boolean isProcessed ()
{
Object oo = get_Value(COLUMNNAME_Processed);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Process Now. /** Set Process Now.
@param Processing Process Now */ @param Processing Process Now */
public void setProcessing (boolean Processing) public void setProcessing (boolean Processing)
@ -473,4 +798,78 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo
} }
return false; return false;
} }
/** Set Usable Life - Months.
@param UseLifeMonths
Months of the usable life of the asset
*/
public void setUseLifeMonths (int UseLifeMonths)
{
set_Value (COLUMNNAME_UseLifeMonths, Integer.valueOf(UseLifeMonths));
}
/** Get Usable Life - Months.
@return Months of the usable life of the asset
*/
public int getUseLifeMonths ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_UseLifeMonths);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Use Life - Months (fiscal).
@param UseLifeMonths_F Use Life - Months (fiscal) */
public void setUseLifeMonths_F (int UseLifeMonths_F)
{
set_Value (COLUMNNAME_UseLifeMonths_F, Integer.valueOf(UseLifeMonths_F));
}
/** Get Use Life - Months (fiscal).
@return Use Life - Months (fiscal) */
public int getUseLifeMonths_F ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_UseLifeMonths_F);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Usable Life - Years.
@param UseLifeYears
Years of the usable life of the asset
*/
public void setUseLifeYears (int UseLifeYears)
{
set_Value (COLUMNNAME_UseLifeYears, Integer.valueOf(UseLifeYears));
}
/** Get Usable Life - Years.
@return Years of the usable life of the asset
*/
public int getUseLifeYears ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_UseLifeYears);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Use Life - Years (fiscal).
@param UseLifeYears_F Use Life - Years (fiscal) */
public void setUseLifeYears_F (int UseLifeYears_F)
{
set_Value (COLUMNNAME_UseLifeYears_F, Integer.valueOf(UseLifeYears_F));
}
/** Get Use Life - Years (fiscal).
@return Use Life - Years (fiscal) */
public int getUseLifeYears_F ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_UseLifeYears_F);
if (ii == null)
return 0;
return ii.intValue();
}
} }

View File

@ -0,0 +1,153 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
/** Generated Model - DO NOT CHANGE */
package org.compiere.model;
import java.sql.ResultSet;
import java.util.Properties;
import org.compiere.util.KeyNamePair;
/** Generated Model for A_FundingMode
* @author Adempiere (generated)
* @version Release 3.6.0LTS - $Id$ */
public class X_A_FundingMode extends PO implements I_A_FundingMode, I_Persistent
{
/**
*
*/
private static final long serialVersionUID = 20121024L;
/** Standard Constructor */
public X_A_FundingMode (Properties ctx, int A_FundingMode_ID, String trxName)
{
super (ctx, A_FundingMode_ID, trxName);
/** if (A_FundingMode_ID == 0)
{
setA_FundingMode_ID (0);
setName (null);
setValue (null);
} */
}
/** Load Constructor */
public X_A_FundingMode (Properties ctx, ResultSet rs, String trxName)
{
super (ctx, rs, trxName);
}
/** AccessLevel
* @return 7 - System - Client - Org
*/
protected int get_AccessLevel()
{
return accessLevel.intValue();
}
/** Load Meta Data */
protected POInfo initPO (Properties ctx)
{
POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName());
return poi;
}
public String toString()
{
StringBuffer sb = new StringBuffer ("X_A_FundingMode[")
.append(get_ID()).append("]");
return sb.toString();
}
/** Set Asset Funding Mode.
@param A_FundingMode_ID Asset Funding Mode */
public void setA_FundingMode_ID (int A_FundingMode_ID)
{
if (A_FundingMode_ID < 1)
set_ValueNoCheck (COLUMNNAME_A_FundingMode_ID, null);
else
set_ValueNoCheck (COLUMNNAME_A_FundingMode_ID, Integer.valueOf(A_FundingMode_ID));
}
/** Get Asset Funding Mode.
@return Asset Funding Mode */
public int getA_FundingMode_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_FundingMode_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Description.
@param Description
Optional short description of the record
*/
public void setDescription (String Description)
{
set_Value (COLUMNNAME_Description, Description);
}
/** Get Description.
@return Optional short description of the record
*/
public String getDescription ()
{
return (String)get_Value(COLUMNNAME_Description);
}
/** Set Name.
@param Name
Alphanumeric identifier of the entity
*/
public void setName (String Name)
{
set_Value (COLUMNNAME_Name, Name);
}
/** Get Name.
@return Alphanumeric identifier of the entity
*/
public String getName ()
{
return (String)get_Value(COLUMNNAME_Name);
}
/** Set Search Key.
@param Value
Search key for the record in the format required - must be unique
*/
public void setValue (String Value)
{
set_Value (COLUMNNAME_Value, Value);
}
/** Get Search Key.
@return Search key for the record in the format required - must be unique
*/
public String getValue ()
{
return (String)get_Value(COLUMNNAME_Value);
}
/** Get Record ID/ColumnName
@return ID/ColumnName pair
*/
public KeyNamePair getKeyNamePair()
{
return new KeyNamePair(get_ID(), getValue());
}
}

View File

@ -33,7 +33,7 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_I_Asset (Properties ctx, int I_Asset_ID, String trxName) public X_I_Asset (Properties ctx, int I_Asset_ID, String trxName)
@ -78,15 +78,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Accumdepreciation_Acct(), get_TrxName()); } .getPO(getA_Accumdepreciation_Acct(), get_TrxName()); }
/** Set Accumulated Depreciation. /** Set Accumulated Depreciation Account.
@param A_Accumdepreciation_Acct Accumulated Depreciation */ @param A_Accumdepreciation_Acct Accumulated Depreciation Account */
public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct) public void setA_Accumdepreciation_Acct (int A_Accumdepreciation_Acct)
{ {
set_Value (COLUMNNAME_A_Accumdepreciation_Acct, Integer.valueOf(A_Accumdepreciation_Acct)); set_Value (COLUMNNAME_A_Accumdepreciation_Acct, Integer.valueOf(A_Accumdepreciation_Acct));
} }
/** Get Accumulated Depreciation. /** Get Accumulated Depreciation Account.
@return Accumulated Depreciation */ @return Accumulated Depreciation Account */
public int getA_Accumdepreciation_Acct () public int getA_Accumdepreciation_Acct ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Accumdepreciation_Acct); Integer ii = (Integer)get_Value(COLUMNNAME_A_Accumdepreciation_Acct);
@ -117,15 +117,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Asset_Acct(), get_TrxName()); } .getPO(getA_Asset_Acct(), get_TrxName()); }
/** Set Asset Cost Account. /** Set Asset Acct.
@param A_Asset_Acct Asset Cost Account */ @param A_Asset_Acct Asset Acct */
public void setA_Asset_Acct (int A_Asset_Acct) public void setA_Asset_Acct (int A_Asset_Acct)
{ {
set_Value (COLUMNNAME_A_Asset_Acct, Integer.valueOf(A_Asset_Acct)); set_Value (COLUMNNAME_A_Asset_Acct, Integer.valueOf(A_Asset_Acct));
} }
/** Get Asset Cost Account. /** Get Asset Acct.
@return Asset Cost Account */ @return Asset Acct */
public int getA_Asset_Acct () public int getA_Asset_Acct ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct); Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct);
@ -151,9 +151,9 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return bd; return bd;
} }
public I_A_Asset_Group getA_Asset_Group() throws RuntimeException public org.compiere.model.I_A_Asset_Group getA_Asset_Group() throws RuntimeException
{ {
return (I_A_Asset_Group)MTable.get(getCtx(), I_A_Asset_Group.Table_Name) return (org.compiere.model.I_A_Asset_Group)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Group.Table_Name)
.getPO(getA_Asset_Group_ID(), get_TrxName()); } .getPO(getA_Asset_Group_ID(), get_TrxName()); }
/** Set Asset Group. /** Set Asset Group.
@ -202,15 +202,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
/** Set Asset Life Current Year. /** Set A_Asset_Life_Current_Year.
@param A_Asset_Life_Current_Year Asset Life Current Year */ @param A_Asset_Life_Current_Year A_Asset_Life_Current_Year */
public void setA_Asset_Life_Current_Year (int A_Asset_Life_Current_Year) public void setA_Asset_Life_Current_Year (int A_Asset_Life_Current_Year)
{ {
set_Value (COLUMNNAME_A_Asset_Life_Current_Year, Integer.valueOf(A_Asset_Life_Current_Year)); set_Value (COLUMNNAME_A_Asset_Life_Current_Year, Integer.valueOf(A_Asset_Life_Current_Year));
} }
/** Get Asset Life Current Year. /** Get A_Asset_Life_Current_Year.
@return Asset Life Current Year */ @return A_Asset_Life_Current_Year */
public int getA_Asset_Life_Current_Year () public int getA_Asset_Life_Current_Year ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Life_Current_Year); Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Life_Current_Year);
@ -219,15 +219,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
/** Set Asset Life Years. /** Set Life Years.
@param A_Asset_Life_Years Asset Life Years */ @param A_Asset_Life_Years Life Years */
public void setA_Asset_Life_Years (int A_Asset_Life_Years) public void setA_Asset_Life_Years (int A_Asset_Life_Years)
{ {
set_Value (COLUMNNAME_A_Asset_Life_Years, Integer.valueOf(A_Asset_Life_Years)); set_Value (COLUMNNAME_A_Asset_Life_Years, Integer.valueOf(A_Asset_Life_Years));
} }
/** Get Asset Life Years. /** Get Life Years.
@return Asset Life Years */ @return Life Years */
public int getA_Asset_Life_Years () public int getA_Asset_Life_Years ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Life_Years); Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Life_Years);
@ -236,20 +236,20 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException public org.compiere.model.I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException
{ {
return (I_A_Asset_Spread)MTable.get(getCtx(), I_A_Asset_Spread.Table_Name) return (org.compiere.model.I_A_Asset_Spread)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Spread.Table_Name)
.getPO(getA_Asset_Spread_Type(), get_TrxName()); } .getPO(getA_Asset_Spread_Type(), get_TrxName()); }
/** Set Asset Spread Type. /** Set Spread Type.
@param A_Asset_Spread_Type Asset Spread Type */ @param A_Asset_Spread_Type Spread Type */
public void setA_Asset_Spread_Type (int A_Asset_Spread_Type) public void setA_Asset_Spread_Type (int A_Asset_Spread_Type)
{ {
set_Value (COLUMNNAME_A_Asset_Spread_Type, Integer.valueOf(A_Asset_Spread_Type)); set_Value (COLUMNNAME_A_Asset_Spread_Type, Integer.valueOf(A_Asset_Spread_Type));
} }
/** Get Asset Spread Type. /** Get Spread Type.
@return Asset Spread Type */ @return Spread Type */
public int getA_Asset_Spread_Type () public int getA_Asset_Spread_Type ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Spread_Type); Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Spread_Type);
@ -258,15 +258,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
/** Set Base Amount. /** Set A_Base_Amount.
@param A_Base_Amount Base Amount */ @param A_Base_Amount A_Base_Amount */
public void setA_Base_Amount (BigDecimal A_Base_Amount) public void setA_Base_Amount (BigDecimal A_Base_Amount)
{ {
set_Value (COLUMNNAME_A_Base_Amount, A_Base_Amount); set_Value (COLUMNNAME_A_Base_Amount, A_Base_Amount);
} }
/** Get Base Amount. /** Get A_Base_Amount.
@return Base Amount */ @return A_Base_Amount */
public BigDecimal getA_Base_Amount () public BigDecimal getA_Base_Amount ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Base_Amount); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Base_Amount);
@ -275,15 +275,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return bd; return bd;
} }
/** Set Calc. Accumulated Depr.. /** Set A_Calc_Accumulated_Depr.
@param A_Calc_Accumulated_Depr Calc. Accumulated Depr. */ @param A_Calc_Accumulated_Depr A_Calc_Accumulated_Depr */
public void setA_Calc_Accumulated_Depr (BigDecimal A_Calc_Accumulated_Depr) public void setA_Calc_Accumulated_Depr (BigDecimal A_Calc_Accumulated_Depr)
{ {
set_Value (COLUMNNAME_A_Calc_Accumulated_Depr, A_Calc_Accumulated_Depr); set_Value (COLUMNNAME_A_Calc_Accumulated_Depr, A_Calc_Accumulated_Depr);
} }
/** Get Calc. Accumulated Depr.. /** Get A_Calc_Accumulated_Depr.
@return Calc. Accumulated Depr. */ @return A_Calc_Accumulated_Depr */
public BigDecimal getA_Calc_Accumulated_Depr () public BigDecimal getA_Calc_Accumulated_Depr ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Calc_Accumulated_Depr); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Calc_Accumulated_Depr);
@ -292,15 +292,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return bd; return bd;
} }
/** Set Curr. Dep. Exp.. /** Set A_Curr_Dep_Exp.
@param A_Curr_Dep_Exp Curr. Dep. Exp. */ @param A_Curr_Dep_Exp A_Curr_Dep_Exp */
public void setA_Curr_Dep_Exp (BigDecimal A_Curr_Dep_Exp) public void setA_Curr_Dep_Exp (BigDecimal A_Curr_Dep_Exp)
{ {
set_Value (COLUMNNAME_A_Curr_Dep_Exp, A_Curr_Dep_Exp); set_Value (COLUMNNAME_A_Curr_Dep_Exp, A_Curr_Dep_Exp);
} }
/** Get Curr. Dep. Exp.. /** Get A_Curr_Dep_Exp.
@return Curr. Dep. Exp. */ @return A_Curr_Dep_Exp */
public BigDecimal getA_Curr_Dep_Exp () public BigDecimal getA_Curr_Dep_Exp ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Curr_Dep_Exp); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Curr_Dep_Exp);
@ -331,15 +331,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Depreciation_Acct(), get_TrxName()); } .getPO(getA_Depreciation_Acct(), get_TrxName()); }
/** Set Depreciation Expense Account. /** Set Depreciation Account.
@param A_Depreciation_Acct Depreciation Expense Account */ @param A_Depreciation_Acct Depreciation Account */
public void setA_Depreciation_Acct (int A_Depreciation_Acct) public void setA_Depreciation_Acct (int A_Depreciation_Acct)
{ {
set_Value (COLUMNNAME_A_Depreciation_Acct, Integer.valueOf(A_Depreciation_Acct)); set_Value (COLUMNNAME_A_Depreciation_Acct, Integer.valueOf(A_Depreciation_Acct));
} }
/** Get Depreciation Expense Account. /** Get Depreciation Account.
@return Depreciation Expense Account */ @return Depreciation Account */
public int getA_Depreciation_Acct () public int getA_Depreciation_Acct ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Acct); Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Acct);
@ -348,20 +348,20 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_A_Depreciation_Method getA_Depreciation_Calc_T() throws RuntimeException public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Calc_T() throws RuntimeException
{ {
return (I_A_Depreciation_Method)MTable.get(getCtx(), I_A_Depreciation_Method.Table_Name) return (org.compiere.model.I_A_Depreciation_Method)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Method.Table_Name)
.getPO(getA_Depreciation_Calc_Type(), get_TrxName()); } .getPO(getA_Depreciation_Calc_Type(), get_TrxName()); }
/** Set Depreciation Calculation Type. /** Set Calculation Type.
@param A_Depreciation_Calc_Type Depreciation Calculation Type */ @param A_Depreciation_Calc_Type Calculation Type */
public void setA_Depreciation_Calc_Type (int A_Depreciation_Calc_Type) public void setA_Depreciation_Calc_Type (int A_Depreciation_Calc_Type)
{ {
set_Value (COLUMNNAME_A_Depreciation_Calc_Type, Integer.valueOf(A_Depreciation_Calc_Type)); set_Value (COLUMNNAME_A_Depreciation_Calc_Type, Integer.valueOf(A_Depreciation_Calc_Type));
} }
/** Get Depreciation Calculation Type. /** Get Calculation Type.
@return Depreciation Calculation Type */ @return Calculation Type */
public int getA_Depreciation_Calc_Type () public int getA_Depreciation_Calc_Type ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Calc_Type); Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Calc_Type);
@ -370,15 +370,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
/** Set Depreciation Manual Amount. /** Set A_Depreciation_Manual_Amount.
@param A_Depreciation_Manual_Amount Depreciation Manual Amount */ @param A_Depreciation_Manual_Amount A_Depreciation_Manual_Amount */
public void setA_Depreciation_Manual_Amount (BigDecimal A_Depreciation_Manual_Amount) public void setA_Depreciation_Manual_Amount (BigDecimal A_Depreciation_Manual_Amount)
{ {
set_Value (COLUMNNAME_A_Depreciation_Manual_Amount, A_Depreciation_Manual_Amount); set_Value (COLUMNNAME_A_Depreciation_Manual_Amount, A_Depreciation_Manual_Amount);
} }
/** Get Depreciation Manual Amount. /** Get A_Depreciation_Manual_Amount.
@return Depreciation Manual Amount */ @return A_Depreciation_Manual_Amount */
public BigDecimal getA_Depreciation_Manual_Amount () public BigDecimal getA_Depreciation_Manual_Amount ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Manual_Amount); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Manual_Amount);
@ -393,28 +393,28 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
public static final String A_DEPRECIATION_MANUAL_PERIOD_Period = "PR"; public static final String A_DEPRECIATION_MANUAL_PERIOD_Period = "PR";
/** Yearly = YR */ /** Yearly = YR */
public static final String A_DEPRECIATION_MANUAL_PERIOD_Yearly = "YR"; public static final String A_DEPRECIATION_MANUAL_PERIOD_Yearly = "YR";
/** Set Depreciation Manual Period. /** Set A_Depreciation_Manual_Period.
@param A_Depreciation_Manual_Period Depreciation Manual Period */ @param A_Depreciation_Manual_Period A_Depreciation_Manual_Period */
public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period) public void setA_Depreciation_Manual_Period (String A_Depreciation_Manual_Period)
{ {
set_Value (COLUMNNAME_A_Depreciation_Manual_Period, A_Depreciation_Manual_Period); set_Value (COLUMNNAME_A_Depreciation_Manual_Period, A_Depreciation_Manual_Period);
} }
/** Get Depreciation Manual Period. /** Get A_Depreciation_Manual_Period.
@return Depreciation Manual Period */ @return A_Depreciation_Manual_Period */
public String getA_Depreciation_Manual_Period () public String getA_Depreciation_Manual_Period ()
{ {
return (String)get_Value(COLUMNNAME_A_Depreciation_Manual_Period); return (String)get_Value(COLUMNNAME_A_Depreciation_Manual_Period);
} }
public I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException public org.compiere.model.I_A_Depreciation_Table_Header getA_Depreciation_Table_Header() throws RuntimeException
{ {
return (I_A_Depreciation_Table_Header)MTable.get(getCtx(), I_A_Depreciation_Table_Header.Table_Name) return (org.compiere.model.I_A_Depreciation_Table_Header)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Table_Header.Table_Name)
.getPO(getA_Depreciation_Table_Header_ID(), get_TrxName()); } .getPO(getA_Depreciation_Table_Header_ID(), get_TrxName()); }
/** Set Depreciation Table Header. /** Set A_Depreciation_Table_Header_ID.
@param A_Depreciation_Table_Header_ID Depreciation Table Header */ @param A_Depreciation_Table_Header_ID A_Depreciation_Table_Header_ID */
public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID) public void setA_Depreciation_Table_Header_ID (int A_Depreciation_Table_Header_ID)
{ {
if (A_Depreciation_Table_Header_ID < 1) if (A_Depreciation_Table_Header_ID < 1)
@ -423,8 +423,8 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
set_Value (COLUMNNAME_A_Depreciation_Table_Header_ID, Integer.valueOf(A_Depreciation_Table_Header_ID)); set_Value (COLUMNNAME_A_Depreciation_Table_Header_ID, Integer.valueOf(A_Depreciation_Table_Header_ID));
} }
/** Get Depreciation Table Header. /** Get A_Depreciation_Table_Header_ID.
@return Depreciation Table Header */ @return A_Depreciation_Table_Header_ID */
public int getA_Depreciation_Table_Header_ID () public int getA_Depreciation_Table_Header_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Table_Header_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Table_Header_ID);
@ -433,15 +433,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
/** Set Depreciation Variable Perc.. /** Set Variable Percent.
@param A_Depreciation_Variable_Perc Depreciation Variable Perc. */ @param A_Depreciation_Variable_Perc Variable Percent */
public void setA_Depreciation_Variable_Perc (BigDecimal A_Depreciation_Variable_Perc) public void setA_Depreciation_Variable_Perc (BigDecimal A_Depreciation_Variable_Perc)
{ {
set_Value (COLUMNNAME_A_Depreciation_Variable_Perc, A_Depreciation_Variable_Perc); set_Value (COLUMNNAME_A_Depreciation_Variable_Perc, A_Depreciation_Variable_Perc);
} }
/** Get Depreciation Variable Perc.. /** Get Variable Percent.
@return Depreciation Variable Perc. */ @return Variable Percent */
public BigDecimal getA_Depreciation_Variable_Perc () public BigDecimal getA_Depreciation_Variable_Perc ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Variable_Perc); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Depreciation_Variable_Perc);
@ -517,15 +517,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
/** Set A_Life_Period. /** Set Life Periods.
@param A_Life_Period A_Life_Period */ @param A_Life_Period Life Periods */
public void setA_Life_Period (int A_Life_Period) public void setA_Life_Period (int A_Life_Period)
{ {
set_Value (COLUMNNAME_A_Life_Period, Integer.valueOf(A_Life_Period)); set_Value (COLUMNNAME_A_Life_Period, Integer.valueOf(A_Life_Period));
} }
/** Get A_Life_Period. /** Get Life Periods.
@return A_Life_Period */ @return Life Periods */
public int getA_Life_Period () public int getA_Life_Period ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Life_Period); Integer ii = (Integer)get_Value(COLUMNNAME_A_Life_Period);
@ -534,8 +534,8 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
/** Set Asset ID. /** Set Parent Asset.
@param A_Parent_Asset_ID Asset ID */ @param A_Parent_Asset_ID Parent Asset */
public void setA_Parent_Asset_ID (int A_Parent_Asset_ID) public void setA_Parent_Asset_ID (int A_Parent_Asset_ID)
{ {
if (A_Parent_Asset_ID < 1) if (A_Parent_Asset_ID < 1)
@ -544,8 +544,8 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
set_Value (COLUMNNAME_A_Parent_Asset_ID, Integer.valueOf(A_Parent_Asset_ID)); set_Value (COLUMNNAME_A_Parent_Asset_ID, Integer.valueOf(A_Parent_Asset_ID));
} }
/** Get Asset ID. /** Get Parent Asset.
@return Asset ID */ @return Parent Asset */
public int getA_Parent_Asset_ID () public int getA_Parent_Asset_ID ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Parent_Asset_ID); Integer ii = (Integer)get_Value(COLUMNNAME_A_Parent_Asset_ID);
@ -554,15 +554,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
/** Set Period End. /** Set A_Period_End.
@param A_Period_End Period End */ @param A_Period_End A_Period_End */
public void setA_Period_End (int A_Period_End) public void setA_Period_End (int A_Period_End)
{ {
set_Value (COLUMNNAME_A_Period_End, Integer.valueOf(A_Period_End)); set_Value (COLUMNNAME_A_Period_End, Integer.valueOf(A_Period_End));
} }
/** Get Period End. /** Get A_Period_End.
@return Period End */ @return A_Period_End */
public int getA_Period_End () public int getA_Period_End ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_End); Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_End);
@ -571,15 +571,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
/** Set Period Posted. /** Set A_Period_Posted.
@param A_Period_Posted Period Posted */ @param A_Period_Posted A_Period_Posted */
public void setA_Period_Posted (int A_Period_Posted) public void setA_Period_Posted (int A_Period_Posted)
{ {
set_Value (COLUMNNAME_A_Period_Posted, Integer.valueOf(A_Period_Posted)); set_Value (COLUMNNAME_A_Period_Posted, Integer.valueOf(A_Period_Posted));
} }
/** Get Period Posted. /** Get A_Period_Posted.
@return Period Posted */ @return A_Period_Posted */
public int getA_Period_Posted () public int getA_Period_Posted ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_Posted); Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_Posted);
@ -588,15 +588,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
/** Set Period Start. /** Set A_Period_Start.
@param A_Period_Start Period Start */ @param A_Period_Start A_Period_Start */
public void setA_Period_Start (int A_Period_Start) public void setA_Period_Start (int A_Period_Start)
{ {
set_Value (COLUMNNAME_A_Period_Start, Integer.valueOf(A_Period_Start)); set_Value (COLUMNNAME_A_Period_Start, Integer.valueOf(A_Period_Start));
} }
/** Get Period Start. /** Get A_Period_Start.
@return Period Start */ @return A_Period_Start */
public int getA_Period_Start () public int getA_Period_Start ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_Start); Integer ii = (Integer)get_Value(COLUMNNAME_A_Period_Start);
@ -605,15 +605,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
/** Set Prior. Year Accumulated Depr.. /** Set A_Prior_Year_Accumulated_Depr.
@param A_Prior_Year_Accumulated_Depr Prior. Year Accumulated Depr. */ @param A_Prior_Year_Accumulated_Depr A_Prior_Year_Accumulated_Depr */
public void setA_Prior_Year_Accumulated_Depr (BigDecimal A_Prior_Year_Accumulated_Depr) public void setA_Prior_Year_Accumulated_Depr (BigDecimal A_Prior_Year_Accumulated_Depr)
{ {
set_Value (COLUMNNAME_A_Prior_Year_Accumulated_Depr, A_Prior_Year_Accumulated_Depr); set_Value (COLUMNNAME_A_Prior_Year_Accumulated_Depr, A_Prior_Year_Accumulated_Depr);
} }
/** Get Prior. Year Accumulated Depr.. /** Get A_Prior_Year_Accumulated_Depr.
@return Prior. Year Accumulated Depr. */ @return A_Prior_Year_Accumulated_Depr */
public BigDecimal getA_Prior_Year_Accumulated_Depr () public BigDecimal getA_Prior_Year_Accumulated_Depr ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Prior_Year_Accumulated_Depr); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Prior_Year_Accumulated_Depr);
@ -622,15 +622,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return bd; return bd;
} }
/** Set Quantity. /** Set Current Qty.
@param A_QTY_Current Quantity */ @param A_QTY_Current Current Qty */
public void setA_QTY_Current (int A_QTY_Current) public void setA_QTY_Current (int A_QTY_Current)
{ {
set_Value (COLUMNNAME_A_QTY_Current, Integer.valueOf(A_QTY_Current)); set_Value (COLUMNNAME_A_QTY_Current, Integer.valueOf(A_QTY_Current));
} }
/** Get Quantity. /** Get Current Qty.
@return Quantity */ @return Current Qty */
public int getA_QTY_Current () public int getA_QTY_Current ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_QTY_Current); Integer ii = (Integer)get_Value(COLUMNNAME_A_QTY_Current);
@ -639,15 +639,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
/** Set Original Qty. /** Set A_QTY_Original.
@param A_QTY_Original Original Qty */ @param A_QTY_Original A_QTY_Original */
public void setA_QTY_Original (int A_QTY_Original) public void setA_QTY_Original (int A_QTY_Original)
{ {
set_Value (COLUMNNAME_A_QTY_Original, Integer.valueOf(A_QTY_Original)); set_Value (COLUMNNAME_A_QTY_Original, Integer.valueOf(A_QTY_Original));
} }
/** Get Original Qty. /** Get A_QTY_Original.
@return Original Qty */ @return A_QTY_Original */
public int getA_QTY_Original () public int getA_QTY_Original ()
{ {
Integer ii = (Integer)get_Value(COLUMNNAME_A_QTY_Original); Integer ii = (Integer)get_Value(COLUMNNAME_A_QTY_Original);
@ -708,16 +708,16 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
public static final String A_REVAL_CAL_METHOD_InceptionToDate = "IDF"; public static final String A_REVAL_CAL_METHOD_InceptionToDate = "IDF";
/** Year Balances = YBF */ /** Year Balances = YBF */
public static final String A_REVAL_CAL_METHOD_YearBalances = "YBF"; public static final String A_REVAL_CAL_METHOD_YearBalances = "YBF";
/** Set Revaluation Calculation Method. /** Set A_Reval_Cal_Method.
@param A_Reval_Cal_Method Revaluation Calculation Method */ @param A_Reval_Cal_Method A_Reval_Cal_Method */
public void setA_Reval_Cal_Method (String A_Reval_Cal_Method) public void setA_Reval_Cal_Method (String A_Reval_Cal_Method)
{ {
set_Value (COLUMNNAME_A_Reval_Cal_Method, A_Reval_Cal_Method); set_Value (COLUMNNAME_A_Reval_Cal_Method, A_Reval_Cal_Method);
} }
/** Get Revaluation Calculation Method. /** Get A_Reval_Cal_Method.
@return Revaluation Calculation Method */ @return A_Reval_Cal_Method */
public String getA_Reval_Cal_Method () public String getA_Reval_Cal_Method ()
{ {
return (String)get_Value(COLUMNNAME_A_Reval_Cal_Method); return (String)get_Value(COLUMNNAME_A_Reval_Cal_Method);
@ -789,15 +789,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
/** Set Salvage Value. /** Set Asset Salvage Value.
@param A_Salvage_Value Salvage Value */ @param A_Salvage_Value Asset Salvage Value */
public void setA_Salvage_Value (BigDecimal A_Salvage_Value) public void setA_Salvage_Value (BigDecimal A_Salvage_Value)
{ {
set_Value (COLUMNNAME_A_Salvage_Value, A_Salvage_Value); set_Value (COLUMNNAME_A_Salvage_Value, A_Salvage_Value);
} }
/** Get Salvage Value. /** Get Asset Salvage Value.
@return Salvage Value */ @return Asset Salvage Value */
public BigDecimal getA_Salvage_Value () public BigDecimal getA_Salvage_Value ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Salvage_Value); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Salvage_Value);
@ -806,15 +806,15 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return bd; return bd;
} }
/** Set Split Percentage. /** Set Split Percent.
@param A_Split_Percent Split Percentage */ @param A_Split_Percent Split Percent */
public void setA_Split_Percent (BigDecimal A_Split_Percent) public void setA_Split_Percent (BigDecimal A_Split_Percent)
{ {
set_Value (COLUMNNAME_A_Split_Percent, A_Split_Percent); set_Value (COLUMNNAME_A_Split_Percent, A_Split_Percent);
} }
/** Get Split Percentage. /** Get Split Percent.
@return Split Percentage */ @return Split Percent */
public BigDecimal getA_Split_Percent () public BigDecimal getA_Split_Percent ()
{ {
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Split_Percent); BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Split_Percent);
@ -894,9 +894,9 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return (Timestamp)get_Value(COLUMNNAME_AssetServiceDate); return (Timestamp)get_Value(COLUMNNAME_AssetServiceDate);
} }
public I_C_AcctSchema getC_AcctSchema() throws RuntimeException public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException
{ {
return (I_C_AcctSchema)MTable.get(getCtx(), I_C_AcctSchema.Table_Name) return (org.compiere.model.I_C_AcctSchema)MTable.get(getCtx(), org.compiere.model.I_C_AcctSchema.Table_Name)
.getPO(getC_AcctSchema_ID(), get_TrxName()); } .getPO(getC_AcctSchema_ID(), get_TrxName()); }
/** Set Accounting Schema. /** Set Accounting Schema.
@ -922,9 +922,9 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_C_BPartner getC_BPartner() throws RuntimeException public org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException
{ {
return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name) return (org.compiere.model.I_C_BPartner)MTable.get(getCtx(), org.compiere.model.I_C_BPartner.Table_Name)
.getPO(getC_BPartner_ID(), get_TrxName()); } .getPO(getC_BPartner_ID(), get_TrxName()); }
/** Set Business Partner . /** Set Business Partner .
@ -950,9 +950,9 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException public org.compiere.model.I_C_BPartner_Location getC_BPartner_Location() throws RuntimeException
{ {
return (I_C_BPartner_Location)MTable.get(getCtx(), I_C_BPartner_Location.Table_Name) return (org.compiere.model.I_C_BPartner_Location)MTable.get(getCtx(), org.compiere.model.I_C_BPartner_Location.Table_Name)
.getPO(getC_BPartner_Location_ID(), get_TrxName()); } .getPO(getC_BPartner_Location_ID(), get_TrxName()); }
/** Set Partner Location. /** Set Partner Location.
@ -978,9 +978,9 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_C_Location getC_Location() throws RuntimeException public org.compiere.model.I_C_Location getC_Location() throws RuntimeException
{ {
return (I_C_Location)MTable.get(getCtx(), I_C_Location.Table_Name) return (org.compiere.model.I_C_Location)MTable.get(getCtx(), org.compiere.model.I_C_Location.Table_Name)
.getPO(getC_Location_ID(), get_TrxName()); } .getPO(getC_Location_ID(), get_TrxName()); }
/** Set Address. /** Set Address.
@ -1006,9 +1006,9 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_A_Depreciation_Convention getConventionT() throws RuntimeException public org.compiere.model.I_A_Depreciation_Convention getConventionT() throws RuntimeException
{ {
return (I_A_Depreciation_Convention)MTable.get(getCtx(), I_A_Depreciation_Convention.Table_Name) return (org.compiere.model.I_A_Depreciation_Convention)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Convention.Table_Name)
.getPO(getConventionType(), get_TrxName()); } .getPO(getConventionType(), get_TrxName()); }
/** Set ConventionType. /** Set ConventionType.
@ -1028,9 +1028,9 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_A_Depreciation getDepreciationT() throws RuntimeException public org.compiere.model.I_A_Depreciation getDepreciationT() throws RuntimeException
{ {
return (I_A_Depreciation)MTable.get(getCtx(), I_A_Depreciation.Table_Name) return (org.compiere.model.I_A_Depreciation)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation.Table_Name)
.getPO(getDepreciationType(), get_TrxName()); } .getPO(getDepreciationType(), get_TrxName()); }
/** Set DepreciationType. /** Set DepreciationType.
@ -1129,6 +1129,20 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return new KeyNamePair(get_ID(), String.valueOf(getI_Asset_ID())); return new KeyNamePair(get_ID(), String.valueOf(getI_Asset_ID()));
} }
/** Set I_Asset_UU.
@param I_Asset_UU I_Asset_UU */
public void setI_Asset_UU (String I_Asset_UU)
{
set_Value (COLUMNNAME_I_Asset_UU, I_Asset_UU);
}
/** Get I_Asset_UU.
@return I_Asset_UU */
public String getI_Asset_UU ()
{
return (String)get_Value(COLUMNNAME_I_Asset_UU);
}
/** Set Import Error Message. /** Set Import Error Message.
@param I_ErrorMsg @param I_ErrorMsg
Messages generated from import process Messages generated from import process
@ -1372,9 +1386,9 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_M_Locator getM_Locator() throws RuntimeException public org.compiere.model.I_M_Locator getM_Locator() throws RuntimeException
{ {
return (I_M_Locator)MTable.get(getCtx(), I_M_Locator.Table_Name) return (org.compiere.model.I_M_Locator)MTable.get(getCtx(), org.compiere.model.I_M_Locator.Table_Name)
.getPO(getM_Locator_ID(), get_TrxName()); } .getPO(getM_Locator_ID(), get_TrxName()); }
/** Set Locator. /** Set Locator.
@ -1400,9 +1414,9 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_M_Product getM_Product() throws RuntimeException public org.compiere.model.I_M_Product getM_Product() throws RuntimeException
{ {
return (I_M_Product)MTable.get(getCtx(), I_M_Product.Table_Name) return (org.compiere.model.I_M_Product)MTable.get(getCtx(), org.compiere.model.I_M_Product.Table_Name)
.getPO(getM_Product_ID(), get_TrxName()); } .getPO(getM_Product_ID(), get_TrxName()); }
/** Set Product. /** Set Product.

View File

@ -33,7 +33,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent
/** /**
* *
*/ */
private static final long serialVersionUID = 20100614L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_I_FAJournal (Properties ctx, int I_FAJournal_ID, String trxName) public X_I_FAJournal (Properties ctx, int I_FAJournal_ID, String trxName)
@ -97,9 +97,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_C_ElementValue getAccount() throws RuntimeException public org.compiere.model.I_C_ElementValue getAccount() throws RuntimeException
{ {
return (I_C_ElementValue)MTable.get(getCtx(), I_C_ElementValue.Table_Name) return (org.compiere.model.I_C_ElementValue)MTable.get(getCtx(), org.compiere.model.I_C_ElementValue.Table_Name)
.getPO(getAccount_ID(), get_TrxName()); } .getPO(getAccount_ID(), get_TrxName()); }
/** Set Account. /** Set Account.
@ -350,9 +350,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent
return (String)get_Value(COLUMNNAME_BPartnerValue); return (String)get_Value(COLUMNNAME_BPartnerValue);
} }
public I_C_AcctSchema getC_AcctSchema() throws RuntimeException public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException
{ {
return (I_C_AcctSchema)MTable.get(getCtx(), I_C_AcctSchema.Table_Name) return (org.compiere.model.I_C_AcctSchema)MTable.get(getCtx(), org.compiere.model.I_C_AcctSchema.Table_Name)
.getPO(getC_AcctSchema_ID(), get_TrxName()); } .getPO(getC_AcctSchema_ID(), get_TrxName()); }
/** Set Accounting Schema. /** Set Accounting Schema.
@ -378,9 +378,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_C_Activity getC_Activity() throws RuntimeException public org.compiere.model.I_C_Activity getC_Activity() throws RuntimeException
{ {
return (I_C_Activity)MTable.get(getCtx(), I_C_Activity.Table_Name) return (org.compiere.model.I_C_Activity)MTable.get(getCtx(), org.compiere.model.I_C_Activity.Table_Name)
.getPO(getC_Activity_ID(), get_TrxName()); } .getPO(getC_Activity_ID(), get_TrxName()); }
/** Set Activity. /** Set Activity.
@ -423,9 +423,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent
return (String)get_Value(COLUMNNAME_CategoryName); return (String)get_Value(COLUMNNAME_CategoryName);
} }
public I_C_BPartner getC_BPartner() throws RuntimeException public org.compiere.model.I_C_BPartner getC_BPartner() throws RuntimeException
{ {
return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name) return (org.compiere.model.I_C_BPartner)MTable.get(getCtx(), org.compiere.model.I_C_BPartner.Table_Name)
.getPO(getC_BPartner_ID(), get_TrxName()); } .getPO(getC_BPartner_ID(), get_TrxName()); }
/** Set Business Partner . /** Set Business Partner .
@ -451,9 +451,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_C_Campaign getC_Campaign() throws RuntimeException public org.compiere.model.I_C_Campaign getC_Campaign() throws RuntimeException
{ {
return (I_C_Campaign)MTable.get(getCtx(), I_C_Campaign.Table_Name) return (org.compiere.model.I_C_Campaign)MTable.get(getCtx(), org.compiere.model.I_C_Campaign.Table_Name)
.getPO(getC_Campaign_ID(), get_TrxName()); } .getPO(getC_Campaign_ID(), get_TrxName()); }
/** Set Campaign. /** Set Campaign.
@ -502,9 +502,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_C_Currency getC_Currency() throws RuntimeException public org.compiere.model.I_C_Currency getC_Currency() throws RuntimeException
{ {
return (I_C_Currency)MTable.get(getCtx(), I_C_Currency.Table_Name) return (org.compiere.model.I_C_Currency)MTable.get(getCtx(), org.compiere.model.I_C_Currency.Table_Name)
.getPO(getC_Currency_ID(), get_TrxName()); } .getPO(getC_Currency_ID(), get_TrxName()); }
/** Set Currency. /** Set Currency.
@ -530,9 +530,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_C_DocType getC_DocType() throws RuntimeException public org.compiere.model.I_C_DocType getC_DocType() throws RuntimeException
{ {
return (I_C_DocType)MTable.get(getCtx(), I_C_DocType.Table_Name) return (org.compiere.model.I_C_DocType)MTable.get(getCtx(), org.compiere.model.I_C_DocType.Table_Name)
.getPO(getC_DocType_ID(), get_TrxName()); } .getPO(getC_DocType_ID(), get_TrxName()); }
/** Set Document Type. /** Set Document Type.
@ -638,9 +638,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent
return (String)get_Value(COLUMNNAME_ConversionTypeValue); return (String)get_Value(COLUMNNAME_ConversionTypeValue);
} }
public I_C_Period getC_Period() throws RuntimeException public org.compiere.model.I_C_Period getC_Period() throws RuntimeException
{ {
return (I_C_Period)MTable.get(getCtx(), I_C_Period.Table_Name) return (org.compiere.model.I_C_Period)MTable.get(getCtx(), org.compiere.model.I_C_Period.Table_Name)
.getPO(getC_Period_ID(), get_TrxName()); } .getPO(getC_Period_ID(), get_TrxName()); }
/** Set Period. /** Set Period.
@ -666,9 +666,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_C_Project getC_Project() throws RuntimeException public org.compiere.model.I_C_Project getC_Project() throws RuntimeException
{ {
return (I_C_Project)MTable.get(getCtx(), I_C_Project.Table_Name) return (org.compiere.model.I_C_Project)MTable.get(getCtx(), org.compiere.model.I_C_Project.Table_Name)
.getPO(getC_Project_ID(), get_TrxName()); } .getPO(getC_Project_ID(), get_TrxName()); }
/** Set Project. /** Set Project.
@ -694,9 +694,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_C_SalesRegion getC_SalesRegion() throws RuntimeException public org.compiere.model.I_C_SalesRegion getC_SalesRegion() throws RuntimeException
{ {
return (I_C_SalesRegion)MTable.get(getCtx(), I_C_SalesRegion.Table_Name) return (org.compiere.model.I_C_SalesRegion)MTable.get(getCtx(), org.compiere.model.I_C_SalesRegion.Table_Name)
.getPO(getC_SalesRegion_ID(), get_TrxName()); } .getPO(getC_SalesRegion_ID(), get_TrxName()); }
/** Set Sales Region. /** Set Sales Region.
@ -745,9 +745,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_C_UOM getC_UOM() throws RuntimeException public org.compiere.model.I_C_UOM getC_UOM() throws RuntimeException
{ {
return (I_C_UOM)MTable.get(getCtx(), I_C_UOM.Table_Name) return (org.compiere.model.I_C_UOM)MTable.get(getCtx(), org.compiere.model.I_C_UOM.Table_Name)
.getPO(getC_UOM_ID(), get_TrxName()); } .getPO(getC_UOM_ID(), get_TrxName()); }
/** Set UOM. /** Set UOM.
@ -826,9 +826,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent
return (String)get_Value(COLUMNNAME_CurrencyRateType); return (String)get_Value(COLUMNNAME_CurrencyRateType);
} }
public I_C_ValidCombination getC_ValidCombination() throws RuntimeException public org.compiere.model.I_C_ValidCombination getC_ValidCombination() throws RuntimeException
{ {
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name) return (org.compiere.model.I_C_ValidCombination)MTable.get(getCtx(), org.compiere.model.I_C_ValidCombination.Table_Name)
.getPO(getC_ValidCombination_ID(), get_TrxName()); } .getPO(getC_ValidCombination_ID(), get_TrxName()); }
/** Set Combination. /** Set Combination.
@ -905,9 +905,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent
return (String)get_Value(COLUMNNAME_DocTypeName); return (String)get_Value(COLUMNNAME_DocTypeName);
} }
public I_GL_Budget getGL_Budget() throws RuntimeException public org.compiere.model.I_GL_Budget getGL_Budget() throws RuntimeException
{ {
return (I_GL_Budget)MTable.get(getCtx(), I_GL_Budget.Table_Name) return (org.compiere.model.I_GL_Budget)MTable.get(getCtx(), org.compiere.model.I_GL_Budget.Table_Name)
.getPO(getGL_Budget_ID(), get_TrxName()); } .getPO(getGL_Budget_ID(), get_TrxName()); }
/** Set Budget. /** Set Budget.
@ -933,9 +933,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_GL_Category getGL_Category() throws RuntimeException public org.compiere.model.I_GL_Category getGL_Category() throws RuntimeException
{ {
return (I_GL_Category)MTable.get(getCtx(), I_GL_Category.Table_Name) return (org.compiere.model.I_GL_Category)MTable.get(getCtx(), org.compiere.model.I_GL_Category.Table_Name)
.getPO(getGL_Category_ID(), get_TrxName()); } .getPO(getGL_Category_ID(), get_TrxName()); }
/** Set GL Category. /** Set GL Category.
@ -961,9 +961,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_GL_JournalBatch getGL_JournalBatch() throws RuntimeException public org.compiere.model.I_GL_JournalBatch getGL_JournalBatch() throws RuntimeException
{ {
return (I_GL_JournalBatch)MTable.get(getCtx(), I_GL_JournalBatch.Table_Name) return (org.compiere.model.I_GL_JournalBatch)MTable.get(getCtx(), org.compiere.model.I_GL_JournalBatch.Table_Name)
.getPO(getGL_JournalBatch_ID(), get_TrxName()); } .getPO(getGL_JournalBatch_ID(), get_TrxName()); }
/** Set Journal Batch. /** Set Journal Batch.
@ -989,9 +989,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_GL_Journal getGL_Journal() throws RuntimeException public org.compiere.model.I_GL_Journal getGL_Journal() throws RuntimeException
{ {
return (I_GL_Journal)MTable.get(getCtx(), I_GL_Journal.Table_Name) return (org.compiere.model.I_GL_Journal)MTable.get(getCtx(), org.compiere.model.I_GL_Journal.Table_Name)
.getPO(getGL_Journal_ID(), get_TrxName()); } .getPO(getGL_Journal_ID(), get_TrxName()); }
/** Set Journal. /** Set Journal.
@ -1017,9 +1017,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_GL_JournalLine getGL_JournalLine() throws RuntimeException public org.compiere.model.I_GL_JournalLine getGL_JournalLine() throws RuntimeException
{ {
return (I_GL_JournalLine)MTable.get(getCtx(), I_GL_JournalLine.Table_Name) return (org.compiere.model.I_GL_JournalLine)MTable.get(getCtx(), org.compiere.model.I_GL_JournalLine.Table_Name)
.getPO(getGL_JournalLine_ID(), get_TrxName()); } .getPO(getGL_JournalLine_ID(), get_TrxName()); }
/** Set Journal Line. /** Set Journal Line.
@ -1090,6 +1090,20 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent
return new KeyNamePair(get_ID(), String.valueOf(getI_FAJournal_ID())); return new KeyNamePair(get_ID(), String.valueOf(getI_FAJournal_ID()));
} }
/** Set I_FAJournal_UU.
@param I_FAJournal_UU I_FAJournal_UU */
public void setI_FAJournal_UU (String I_FAJournal_UU)
{
set_Value (COLUMNNAME_I_FAJournal_UU, I_FAJournal_UU);
}
/** Get I_FAJournal_UU.
@return I_FAJournal_UU */
public String getI_FAJournal_UU ()
{
return (String)get_Value(COLUMNNAME_I_FAJournal_UU);
}
/** Set Imported. /** Set Imported.
@param I_IsImported @param I_IsImported
Has this import been processed Has this import been processed
@ -1185,9 +1199,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_M_Product getM_Product() throws RuntimeException public org.compiere.model.I_M_Product getM_Product() throws RuntimeException
{ {
return (I_M_Product)MTable.get(getCtx(), I_M_Product.Table_Name) return (org.compiere.model.I_M_Product)MTable.get(getCtx(), org.compiere.model.I_M_Product.Table_Name)
.getPO(getM_Product_ID(), get_TrxName()); } .getPO(getM_Product_ID(), get_TrxName()); }
/** Set Product. /** Set Product.
@ -1410,9 +1424,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent
return (String)get_Value(COLUMNNAME_UPC); return (String)get_Value(COLUMNNAME_UPC);
} }
public I_C_ElementValue getUser1() throws RuntimeException public org.compiere.model.I_C_ElementValue getUser1() throws RuntimeException
{ {
return (I_C_ElementValue)MTable.get(getCtx(), I_C_ElementValue.Table_Name) return (org.compiere.model.I_C_ElementValue)MTable.get(getCtx(), org.compiere.model.I_C_ElementValue.Table_Name)
.getPO(getUser1_ID(), get_TrxName()); } .getPO(getUser1_ID(), get_TrxName()); }
/** Set User List 1. /** Set User List 1.
@ -1438,9 +1452,9 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent
return ii.intValue(); return ii.intValue();
} }
public I_C_ElementValue getUser2() throws RuntimeException public org.compiere.model.I_C_ElementValue getUser2() throws RuntimeException
{ {
return (I_C_ElementValue)MTable.get(getCtx(), I_C_ElementValue.Table_Name) return (org.compiere.model.I_C_ElementValue)MTable.get(getCtx(), org.compiere.model.I_C_ElementValue.Table_Name)
.getPO(getUser2_ID(), get_TrxName()); } .getPO(getUser2_ID(), get_TrxName()); }
/** Set User List 2. /** Set User List 2.

View File

@ -0,0 +1,907 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
/** Generated Model - DO NOT CHANGE */
package org.compiere.model;
import java.math.BigDecimal;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Properties;
import org.compiere.util.Env;
/** Generated Model for I_FixedAsset
* @author Adempiere (generated)
* @version Release 3.6.0LTS - $Id$ */
public class X_I_FixedAsset extends PO implements I_I_FixedAsset, I_Persistent
{
/**
*
*/
private static final long serialVersionUID = 20121024L;
/** Standard Constructor */
public X_I_FixedAsset (Properties ctx, int I_FixedAsset_ID, String trxName)
{
super (ctx, I_FixedAsset_ID, trxName);
/** if (I_FixedAsset_ID == 0)
{
setA_Asset_Cost (Env.ZERO);
// 0
setA_Remaining_Period (0);
// 0
setAssetPeriodDepreciationAmt (Env.ZERO);
// 0
setDocAction (null);
// 'CO'
setI_IsImported (false);
// 'N'
setUseLifeMonths (0);
setUseLifeMonths_F (0);
} */
}
/** Load Constructor */
public X_I_FixedAsset (Properties ctx, ResultSet rs, String trxName)
{
super (ctx, rs, trxName);
}
/** AccessLevel
* @return 3 - Client - Org
*/
protected int get_AccessLevel()
{
return accessLevel.intValue();
}
/** Load Meta Data */
protected POInfo initPO (Properties ctx)
{
POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName());
return poi;
}
public String toString()
{
StringBuffer sb = new StringBuffer ("X_I_FixedAsset[")
.append(get_ID()).append("]");
return sb.toString();
}
/** Set Accumulated Depreciation.
@param A_Accumulated_Depr Accumulated Depreciation */
public void setA_Accumulated_Depr (BigDecimal A_Accumulated_Depr)
{
set_Value (COLUMNNAME_A_Accumulated_Depr, A_Accumulated_Depr);
}
/** Get Accumulated Depreciation.
@return Accumulated Depreciation */
public BigDecimal getA_Accumulated_Depr ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Accumulated_Depr);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Accumulated Depreciation (fiscal).
@param A_Accumulated_Depr_F Accumulated Depreciation (fiscal) */
public void setA_Accumulated_Depr_F (BigDecimal A_Accumulated_Depr_F)
{
set_Value (COLUMNNAME_A_Accumulated_Depr_F, A_Accumulated_Depr_F);
}
/** Get Accumulated Depreciation (fiscal).
@return Accumulated Depreciation (fiscal) */
public BigDecimal getA_Accumulated_Depr_F ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Accumulated_Depr_F);
if (bd == null)
return Env.ZERO;
return bd;
}
public org.compiere.model.I_A_Asset_Class getA_Asset_Class() throws RuntimeException
{
return (org.compiere.model.I_A_Asset_Class)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Class.Table_Name)
.getPO(getA_Asset_Class_ID(), get_TrxName()); }
/** Set Asset class.
@param A_Asset_Class_ID Asset class */
public void setA_Asset_Class_ID (int A_Asset_Class_ID)
{
if (A_Asset_Class_ID < 1)
set_Value (COLUMNNAME_A_Asset_Class_ID, null);
else
set_Value (COLUMNNAME_A_Asset_Class_ID, Integer.valueOf(A_Asset_Class_ID));
}
/** Get Asset class.
@return Asset class */
public int getA_Asset_Class_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Class_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Asset Class Key.
@param A_Asset_Class_Value Asset Class Key */
public void setA_Asset_Class_Value (String A_Asset_Class_Value)
{
set_Value (COLUMNNAME_A_Asset_Class_Value, A_Asset_Class_Value);
}
/** Get Asset Class Key.
@return Asset Class Key */
public String getA_Asset_Class_Value ()
{
return (String)get_Value(COLUMNNAME_A_Asset_Class_Value);
}
/** Set Asset Cost.
@param A_Asset_Cost Asset Cost */
public void setA_Asset_Cost (BigDecimal A_Asset_Cost)
{
set_Value (COLUMNNAME_A_Asset_Cost, A_Asset_Cost);
}
/** Get Asset Cost.
@return Asset Cost */
public BigDecimal getA_Asset_Cost ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Asset_Cost);
if (bd == null)
return Env.ZERO;
return bd;
}
public org.compiere.model.I_A_Asset_Group getA_Asset_Group() throws RuntimeException
{
return (org.compiere.model.I_A_Asset_Group)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Group.Table_Name)
.getPO(getA_Asset_Group_ID(), get_TrxName()); }
/** Set Asset Group.
@param A_Asset_Group_ID
Group of Assets
*/
public void setA_Asset_Group_ID (int A_Asset_Group_ID)
{
if (A_Asset_Group_ID < 1)
set_Value (COLUMNNAME_A_Asset_Group_ID, null);
else
set_Value (COLUMNNAME_A_Asset_Group_ID, Integer.valueOf(A_Asset_Group_ID));
}
/** Get Asset Group.
@return Group of Assets
*/
public int getA_Asset_Group_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Group_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Asset Group Key.
@param A_Asset_Group_Value Asset Group Key */
public void setA_Asset_Group_Value (String A_Asset_Group_Value)
{
set_Value (COLUMNNAME_A_Asset_Group_Value, A_Asset_Group_Value);
}
/** Get Asset Group Key.
@return Asset Group Key */
public String getA_Asset_Group_Value ()
{
return (String)get_Value(COLUMNNAME_A_Asset_Group_Value);
}
public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException
{
return (org.compiere.model.I_A_Asset)MTable.get(getCtx(), org.compiere.model.I_A_Asset.Table_Name)
.getPO(getA_Asset_ID(), get_TrxName()); }
/** Set Asset.
@param A_Asset_ID
Asset used internally or by customers
*/
public void setA_Asset_ID (int A_Asset_ID)
{
if (A_Asset_ID < 1)
set_Value (COLUMNNAME_A_Asset_ID, null);
else
set_Value (COLUMNNAME_A_Asset_ID, Integer.valueOf(A_Asset_ID));
}
/** Get Asset.
@return Asset used internally or by customers
*/
public int getA_Asset_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.compiere.model.I_A_Asset_Type getA_Asset_Type() throws RuntimeException
{
return (org.compiere.model.I_A_Asset_Type)MTable.get(getCtx(), org.compiere.model.I_A_Asset_Type.Table_Name)
.getPO(getA_Asset_Type_ID(), get_TrxName()); }
/** Set Asset Type.
@param A_Asset_Type_ID Asset Type */
public void setA_Asset_Type_ID (int A_Asset_Type_ID)
{
if (A_Asset_Type_ID < 1)
set_Value (COLUMNNAME_A_Asset_Type_ID, null);
else
set_Value (COLUMNNAME_A_Asset_Type_ID, Integer.valueOf(A_Asset_Type_ID));
}
/** Get Asset Type.
@return Asset Type */
public int getA_Asset_Type_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Type_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Asset Type Value.
@param A_Asset_Type_Value Asset Type Value */
public void setA_Asset_Type_Value (String A_Asset_Type_Value)
{
set_Value (COLUMNNAME_A_Asset_Type_Value, A_Asset_Type_Value);
}
/** Get Asset Type Value.
@return Asset Type Value */
public String getA_Asset_Type_Value ()
{
return (String)get_Value(COLUMNNAME_A_Asset_Type_Value);
}
/** Set Current Period.
@param A_Current_Period Current Period */
public void setA_Current_Period (int A_Current_Period)
{
set_Value (COLUMNNAME_A_Current_Period, Integer.valueOf(A_Current_Period));
}
/** Get Current Period.
@return Current Period */
public int getA_Current_Period ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Current_Period);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Remaining Period.
@param A_Remaining_Period Remaining Period */
public void setA_Remaining_Period (int A_Remaining_Period)
{
set_Value (COLUMNNAME_A_Remaining_Period, Integer.valueOf(A_Remaining_Period));
}
/** Get Remaining Period.
@return Remaining Period */
public int getA_Remaining_Period ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Remaining_Period);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Asset Salvage Value.
@param A_Salvage_Value Asset Salvage Value */
public void setA_Salvage_Value (BigDecimal A_Salvage_Value)
{
set_Value (COLUMNNAME_A_Salvage_Value, A_Salvage_Value);
}
/** Get Asset Salvage Value.
@return Asset Salvage Value */
public BigDecimal getA_Salvage_Value ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Salvage_Value);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Asset Depreciation Date.
@param AssetDepreciationDate
Date of last depreciation
*/
public void setAssetDepreciationDate (Timestamp AssetDepreciationDate)
{
set_Value (COLUMNNAME_AssetDepreciationDate, AssetDepreciationDate);
}
/** Get Asset Depreciation Date.
@return Date of last depreciation
*/
public Timestamp getAssetDepreciationDate ()
{
return (Timestamp)get_Value(COLUMNNAME_AssetDepreciationDate);
}
/** Set Depreciation Amount / Period.
@param AssetPeriodDepreciationAmt
Applies to Straight Line depreciation
*/
public void setAssetPeriodDepreciationAmt (BigDecimal AssetPeriodDepreciationAmt)
{
set_Value (COLUMNNAME_AssetPeriodDepreciationAmt, AssetPeriodDepreciationAmt);
}
/** Get Depreciation Amount / Period.
@return Applies to Straight Line depreciation
*/
public BigDecimal getAssetPeriodDepreciationAmt ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_AssetPeriodDepreciationAmt);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set In Service Date.
@param AssetServiceDate
Date when Asset was put into service
*/
public void setAssetServiceDate (Timestamp AssetServiceDate)
{
set_Value (COLUMNNAME_AssetServiceDate, AssetServiceDate);
}
/** Get In Service Date.
@return Date when Asset was put into service
*/
public Timestamp getAssetServiceDate ()
{
return (Timestamp)get_Value(COLUMNNAME_AssetServiceDate);
}
/** Set Business Partner Key.
@param BPartner_Value
The Key of the Business Partner
*/
public void setBPartner_Value (String BPartner_Value)
{
set_Value (COLUMNNAME_BPartner_Value, BPartner_Value);
}
/** Get Business Partner Key.
@return The Key of the Business Partner
*/
public String getBPartner_Value ()
{
return (String)get_Value(COLUMNNAME_BPartner_Value);
}
public org.compiere.model.I_C_BPartner getC_BPartnerSR() throws RuntimeException
{
return (org.compiere.model.I_C_BPartner)MTable.get(getCtx(), org.compiere.model.I_C_BPartner.Table_Name)
.getPO(getC_BPartnerSR_ID(), get_TrxName()); }
/** Set BPartner (Agent).
@param C_BPartnerSR_ID
Business Partner (Agent or Sales Rep)
*/
public void setC_BPartnerSR_ID (int C_BPartnerSR_ID)
{
if (C_BPartnerSR_ID < 1)
set_Value (COLUMNNAME_C_BPartnerSR_ID, null);
else
set_Value (COLUMNNAME_C_BPartnerSR_ID, Integer.valueOf(C_BPartnerSR_ID));
}
/** Get BPartner (Agent).
@return Business Partner (Agent or Sales Rep)
*/
public int getC_BPartnerSR_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartnerSR_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.compiere.model.I_C_City getC_City() throws RuntimeException
{
return (org.compiere.model.I_C_City)MTable.get(getCtx(), org.compiere.model.I_C_City.Table_Name)
.getPO(getC_City_ID(), get_TrxName()); }
/** Set City.
@param C_City_ID
City
*/
public void setC_City_ID (int C_City_ID)
{
if (C_City_ID < 1)
set_Value (COLUMNNAME_C_City_ID, null);
else
set_Value (COLUMNNAME_C_City_ID, Integer.valueOf(C_City_ID));
}
/** Get City.
@return City
*/
public int getC_City_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_City_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set City Value.
@param C_City_Value City Value */
public void setC_City_Value (String C_City_Value)
{
set_Value (COLUMNNAME_C_City_Value, C_City_Value);
}
/** Get City Value.
@return City Value */
public String getC_City_Value ()
{
return (String)get_Value(COLUMNNAME_C_City_Value);
}
public org.compiere.model.I_C_UOM getC_UOM() throws RuntimeException
{
return (org.compiere.model.I_C_UOM)MTable.get(getCtx(), org.compiere.model.I_C_UOM.Table_Name)
.getPO(getC_UOM_ID(), get_TrxName()); }
/** Set UOM.
@param C_UOM_ID
Unit of Measure
*/
public void setC_UOM_ID (int C_UOM_ID)
{
if (C_UOM_ID < 1)
set_Value (COLUMNNAME_C_UOM_ID, null);
else
set_Value (COLUMNNAME_C_UOM_ID, Integer.valueOf(C_UOM_ID));
}
/** Get UOM.
@return Unit of Measure
*/
public int getC_UOM_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_UOM_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Account Date.
@param DateAcct
Accounting Date
*/
public void setDateAcct (Timestamp DateAcct)
{
set_Value (COLUMNNAME_DateAcct, DateAcct);
}
/** Get Account Date.
@return Accounting Date
*/
public Timestamp getDateAcct ()
{
return (Timestamp)get_Value(COLUMNNAME_DateAcct);
}
/** Set Description.
@param Description
Optional short description of the record
*/
public void setDescription (String Description)
{
set_Value (COLUMNNAME_Description, Description);
}
/** Get Description.
@return Optional short description of the record
*/
public String getDescription ()
{
return (String)get_Value(COLUMNNAME_Description);
}
/** DocAction AD_Reference_ID=135 */
public static final int DOCACTION_AD_Reference_ID=135;
/** Complete = CO */
public static final String DOCACTION_Complete = "CO";
/** Approve = AP */
public static final String DOCACTION_Approve = "AP";
/** Reject = RJ */
public static final String DOCACTION_Reject = "RJ";
/** Post = PO */
public static final String DOCACTION_Post = "PO";
/** Void = VO */
public static final String DOCACTION_Void = "VO";
/** Close = CL */
public static final String DOCACTION_Close = "CL";
/** Reverse - Correct = RC */
public static final String DOCACTION_Reverse_Correct = "RC";
/** Reverse - Accrual = RA */
public static final String DOCACTION_Reverse_Accrual = "RA";
/** Invalidate = IN */
public static final String DOCACTION_Invalidate = "IN";
/** Re-activate = RE */
public static final String DOCACTION_Re_Activate = "RE";
/** <None> = -- */
public static final String DOCACTION_None = "--";
/** Prepare = PR */
public static final String DOCACTION_Prepare = "PR";
/** Unlock = XL */
public static final String DOCACTION_Unlock = "XL";
/** Wait Complete = WC */
public static final String DOCACTION_WaitComplete = "WC";
/** Set Document Action.
@param DocAction
The targeted status of the document
*/
public void setDocAction (String DocAction)
{
set_Value (COLUMNNAME_DocAction, DocAction);
}
/** Get Document Action.
@return The targeted status of the document
*/
public String getDocAction ()
{
return (String)get_Value(COLUMNNAME_DocAction);
}
/** Set Import Error Message.
@param I_ErrorMsg
Messages generated from import process
*/
public void setI_ErrorMsg (String I_ErrorMsg)
{
set_Value (COLUMNNAME_I_ErrorMsg, I_ErrorMsg);
}
/** Get Import Error Message.
@return Messages generated from import process
*/
public String getI_ErrorMsg ()
{
return (String)get_Value(COLUMNNAME_I_ErrorMsg);
}
/** Set Imported Fixed Asset.
@param I_FixedAsset_ID Imported Fixed Asset */
public void setI_FixedAsset_ID (int I_FixedAsset_ID)
{
if (I_FixedAsset_ID < 1)
set_ValueNoCheck (COLUMNNAME_I_FixedAsset_ID, null);
else
set_ValueNoCheck (COLUMNNAME_I_FixedAsset_ID, Integer.valueOf(I_FixedAsset_ID));
}
/** Get Imported Fixed Asset.
@return Imported Fixed Asset */
public int getI_FixedAsset_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_I_FixedAsset_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Imported.
@param I_IsImported
Has this import been processed
*/
public void setI_IsImported (boolean I_IsImported)
{
set_Value (COLUMNNAME_I_IsImported, Boolean.valueOf(I_IsImported));
}
/** Get Imported.
@return Has this import been processed
*/
public boolean isI_IsImported ()
{
Object oo = get_Value(COLUMNNAME_I_IsImported);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Inventory No.
@param InventoryNo Inventory No */
public void setInventoryNo (String InventoryNo)
{
set_Value (COLUMNNAME_InventoryNo, InventoryNo);
}
/** Get Inventory No.
@return Inventory No */
public String getInventoryNo ()
{
return (String)get_Value(COLUMNNAME_InventoryNo);
}
/** Set Locator Key.
@param LocatorValue
Key of the Warehouse Locator
*/
public void setLocatorValue (String LocatorValue)
{
set_Value (COLUMNNAME_LocatorValue, LocatorValue);
}
/** Get Locator Key.
@return Key of the Warehouse Locator
*/
public String getLocatorValue ()
{
return (String)get_Value(COLUMNNAME_LocatorValue);
}
public org.compiere.model.I_M_Locator getM_Locator() throws RuntimeException
{
return (org.compiere.model.I_M_Locator)MTable.get(getCtx(), org.compiere.model.I_M_Locator.Table_Name)
.getPO(getM_Locator_ID(), get_TrxName()); }
/** Set Locator.
@param M_Locator_ID
Warehouse Locator
*/
public void setM_Locator_ID (int M_Locator_ID)
{
if (M_Locator_ID < 1)
set_Value (COLUMNNAME_M_Locator_ID, null);
else
set_Value (COLUMNNAME_M_Locator_ID, Integer.valueOf(M_Locator_ID));
}
/** Get Locator.
@return Warehouse Locator
*/
public int getM_Locator_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_M_Locator_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.compiere.model.I_M_Product getM_Product() throws RuntimeException
{
return (org.compiere.model.I_M_Product)MTable.get(getCtx(), org.compiere.model.I_M_Product.Table_Name)
.getPO(getM_Product_ID(), get_TrxName()); }
/** Set Product.
@param M_Product_ID
Product, Service, Item
*/
public void setM_Product_ID (int M_Product_ID)
{
if (M_Product_ID < 1)
set_Value (COLUMNNAME_M_Product_ID, null);
else
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 Name.
@param Name
Alphanumeric identifier of the entity
*/
public void setName (String Name)
{
set_Value (COLUMNNAME_Name, Name);
}
/** Get Name.
@return Alphanumeric identifier of the entity
*/
public String getName ()
{
return (String)get_Value(COLUMNNAME_Name);
}
/** Set Processed.
@param Processed
The document has been processed
*/
public void setProcessed (boolean Processed)
{
set_Value (COLUMNNAME_Processed, Boolean.valueOf(Processed));
}
/** Get Processed.
@return The document has been processed
*/
public boolean isProcessed ()
{
Object oo = get_Value(COLUMNNAME_Processed);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Process Now.
@param Processing Process Now */
public void setProcessing (boolean Processing)
{
set_Value (COLUMNNAME_Processing, Boolean.valueOf(Processing));
}
/** Get Process Now.
@return Process Now */
public boolean isProcessing ()
{
Object oo = get_Value(COLUMNNAME_Processing);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Product Key.
@param ProductValue
Key of the Product
*/
public void setProductValue (String ProductValue)
{
set_Value (COLUMNNAME_ProductValue, ProductValue);
}
/** Get Product Key.
@return Key of the Product
*/
public String getProductValue ()
{
return (String)get_Value(COLUMNNAME_ProductValue);
}
/** Set Quantity.
@param Qty
Quantity
*/
public void setQty (BigDecimal Qty)
{
set_Value (COLUMNNAME_Qty, Qty);
}
/** Get Quantity.
@return Quantity
*/
public BigDecimal getQty ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Qty);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Sequence.
@param SeqNo
Method of ordering records; lowest number comes first
*/
public void setSeqNo (int SeqNo)
{
set_Value (COLUMNNAME_SeqNo, Integer.valueOf(SeqNo));
}
/** Get Sequence.
@return Method of ordering records; lowest number comes first
*/
public int getSeqNo ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_SeqNo);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Symbol.
@param UOMSymbol
Symbol for a Unit of Measure
*/
public void setUOMSymbol (String UOMSymbol)
{
set_Value (COLUMNNAME_UOMSymbol, UOMSymbol);
}
/** Get Symbol.
@return Symbol for a Unit of Measure
*/
public String getUOMSymbol ()
{
return (String)get_Value(COLUMNNAME_UOMSymbol);
}
/** Set Usable Life - Months.
@param UseLifeMonths
Months of the usable life of the asset
*/
public void setUseLifeMonths (int UseLifeMonths)
{
set_Value (COLUMNNAME_UseLifeMonths, Integer.valueOf(UseLifeMonths));
}
/** Get Usable Life - Months.
@return Months of the usable life of the asset
*/
public int getUseLifeMonths ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_UseLifeMonths);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Use Life - Months (fiscal).
@param UseLifeMonths_F Use Life - Months (fiscal) */
public void setUseLifeMonths_F (int UseLifeMonths_F)
{
set_Value (COLUMNNAME_UseLifeMonths_F, Integer.valueOf(UseLifeMonths_F));
}
/** Get Use Life - Months (fiscal).
@return Use Life - Months (fiscal) */
public int getUseLifeMonths_F ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_UseLifeMonths_F);
if (ii == null)
return 0;
return ii.intValue();
}
}

View File

@ -33,7 +33,7 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent
/** /**
* *
*/ */
private static final long serialVersionUID = 20120821L; private static final long serialVersionUID = 20121024L;
/** Standard Constructor */ /** Standard Constructor */
public X_M_Product (Properties ctx, int M_Product_ID, String trxName) public X_M_Product (Properties ctx, int M_Product_ID, String trxName)
@ -1099,6 +1099,8 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent
public static final String PRODUCTTYPE_ExpenseType = "E"; public static final String PRODUCTTYPE_ExpenseType = "E";
/** Online = O */ /** Online = O */
public static final String PRODUCTTYPE_Online = "O"; public static final String PRODUCTTYPE_Online = "O";
/** Asset = A */
public static final String PRODUCTTYPE_Asset = "A";
/** Set Product Type. /** Set Product Type.
@param ProductType @param ProductType
Type of product Type of product