IDEMPIERE-4334 Fixed Assets wrong dictionary (#117)

Fixed many wrongly defined columns #resolve IDEMPIERE-4334
Added a fix to DisplayType - running synchronize column in C_Conversion_Rate.C_Currency_ID_To and A_Asset_Split.A_Asset_ID_To was throwing error
This commit is contained in:
Carlos Ruiz 2020-06-16 14:06:11 +02:00 committed by GitHub
parent 7099e9d24e
commit 204b00c6f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 367 additions and 2101 deletions

View File

@ -0,0 +1,182 @@
SET SQLBLANKLINES ON
SET DEFINE OFF
-- IDEMPIERE-4334 Fixed Assets wrong dictionary
-- Jun 13, 2020, 4:54:29 PM CEST
UPDATE AD_Table SET IsActive='N',Updated=TO_DATE('2020-06-13 16:54:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53126
;
-- Jun 13, 2020, 4:54:37 PM CEST
UPDATE AD_Tab SET IsActive='N',Updated=TO_DATE('2020-06-13 16:54:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53170
;
-- Jun 13, 2020, 4:54:43 PM CEST
UPDATE AD_Window SET IsActive='N',Updated=TO_DATE('2020-06-13 16:54:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53057
;
-- Jun 13, 2020, 4:57:11 PM CEST
UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2020-06-13 16:57:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55831
;
-- Jun 13, 2020, 4:59:22 PM CEST
UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2020-06-13 16:59:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55635
;
-- Jun 13, 2020, 5:00:53 PM CEST
UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2020-06-13 17:00:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55787
;
-- Jun 13, 2020, 5:04:41 PM CEST
UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2020-06-13 17:04:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55998
;
-- Jun 13, 2020, 5:21:44 PM CEST
UPDATE AD_Field SET IsActive='N', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-06-13 17:21:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=55913
;
-- Jun 13, 2020, 5:23:24 PM CEST
UPDATE AD_Field SET IsActive='N', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-06-13 17:23:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56063
;
-- Jun 13, 2020, 5:23:40 PM CEST
UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2020-06-13 17:23:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55786
;
-- Jun 13, 2020, 5:23:44 PM CEST
UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2020-06-13 17:23:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55832
;
-- Jun 13, 2020, 5:23:50 PM CEST
UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2020-06-13 17:23:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56004
;
-- Jun 13, 2020, 5:27:16 PM CEST
UPDATE AD_Field SET IsActive='N', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-06-13 17:27:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56064
;
-- Jun 13, 2020, 5:27:29 PM CEST
UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2020-06-13 17:27:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55782
;
-- Jun 13, 2020, 5:27:42 PM CEST
UPDATE AD_Field SET IsActive='N', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-06-13 17:27:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=55915
;
-- Jun 13, 2020, 5:27:51 PM CEST
UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2020-06-13 17:27:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55873
;
-- Jun 13, 2020, 5:27:55 PM CEST
UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2020-06-13 17:27:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56061
;
-- Jun 13, 2020, 5:31:31 PM CEST
UPDATE AD_Field SET IsActive='N', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-06-13 17:31:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56057
;
-- Jun 13, 2020, 5:31:39 PM CEST
UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2020-06-13 17:31:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55779
;
-- Jun 13, 2020, 5:31:52 PM CEST
UPDATE AD_Field SET IsActive='N', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-06-13 17:31:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=55908
;
-- Jun 13, 2020, 5:31:59 PM CEST
UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2020-06-13 17:31:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55857
;
-- Jun 13, 2020, 5:32:03 PM CEST
UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2020-06-13 17:32:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56064
;
UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2020-06-13 17:56:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID IN (
55604, /*A_Asset_Acct.A_Disposal_Gain */
55613, /*A_Asset_Acct.A_Disposal_Loss */
55612, /*A_Asset_Acct.A_Disposal_Revenue */
55609, /*A_Asset_Acct.A_Reval_Accumdep_Offset_Cur */
55608, /*A_Asset_Acct.A_Reval_Accumdep_Offset_Prior */
55606, /*A_Asset_Acct.A_Reval_Cost_Offset */
55605, /*A_Asset_Acct.A_Reval_Cost_Offset_Prior */
55624, /*A_Asset_Acct.A_Reval_Depexp_Offset */
55840, /*A_Asset_Change.A_Disposal_Loss */
55839, /*A_Asset_Change.A_Disposal_Revenue */
55783, /*A_Asset_Group_Acct.A_Disposal_Gain */
55762, /*A_Asset_Group_Acct.A_Disposal_Loss */
55771, /*A_Asset_Group_Acct.A_Disposal_Revenue */
55770, /*A_Asset_Group_Acct.A_Reval_Accumdep_Offset_Cur */
55769, /*A_Asset_Group_Acct.A_Reval_Accumdep_Offset_Prior */
55767, /*A_Asset_Group_Acct.A_Reval_Cost_Offset */
55766, /*A_Asset_Group_Acct.A_Reval_Cost_Offset_Prior */
55765, /*A_Asset_Group_Acct.A_Reval_Depexp_Offset */
55690, /*A_Asset_Transfer.A_Accumdepreciation_Acct_New */
55662, /*A_Asset_Transfer.A_Asset_Acct_New */
55687, /*A_Asset_Transfer.A_Depreciation_Acct_New */
55665, /*A_Asset_Transfer.A_Disposal_Loss_New */
55672, /*A_Asset_Transfer.A_Disposal_Revenue_New */
56009, /*I_Asset.A_Disposal_Loss */
56010, /*I_Asset.A_Disposal_Revenue */
56019, /*I_Asset.A_Reval_Accumdep_Offset_Cur */
56046, /*I_Asset.A_Reval_Accumdep_Offset_Prior */
56048, /*I_Asset.A_Reval_Cost_Offset */
56049, /*I_Asset.A_Reval_Cost_Offset_Prior */
56050 /*I_Asset.A_Reval_Depexp_Offset */
)
;
UPDATE AD_Field SET IsActive='N',Updated=TO_DATE('2020-06-13 17:56:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID IN (
55610,
55695,
55884,
55609,
55694,
55883,
55614,
55699,
55888,
55615,
55700,
55889,
55612,
55697,
55886,
55613,
55698,
55887,
55616,
55701,
55890,
55953,
55952,
59255,
56074,
56073,
56078,
56079,
56076,
56077,
56080,
55724,
59200,
55722,
59201,
55726,
59202,
55730,
59203,
55728,
59204
);
ALTER TABLE A_FundingMode_Acct ADD CONSTRAINT AFundingModevc_AFundingModeAcc FOREIGN KEY(A_FundingMode_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE A_Asset_Split MODIFY A_Asset_ID_To NUMBER(10) DEFAULT NULL
;
ALTER TABLE A_Asset_Split ADD CONSTRAINT AAssetID_AAssetSplit FOREIGN KEY (A_Asset_ID_To) REFERENCES A_Asset DEFERRABLE INITIALLY DEFERRED
;
SELECT register_migration_script('202006131716_IDEMPIERE-4334.sql') FROM dual
;

View File

@ -0,0 +1,179 @@
-- IDEMPIERE-4334 Fixed Assets wrong dictionary
-- Jun 13, 2020, 4:54:29 PM CEST
UPDATE AD_Table SET IsActive='N',Updated=TO_TIMESTAMP('2020-06-13 16:54:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53126
;
-- Jun 13, 2020, 4:54:37 PM CEST
UPDATE AD_Tab SET IsActive='N',Updated=TO_TIMESTAMP('2020-06-13 16:54:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53170
;
-- Jun 13, 2020, 4:54:43 PM CEST
UPDATE AD_Window SET IsActive='N',Updated=TO_TIMESTAMP('2020-06-13 16:54:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53057
;
-- Jun 13, 2020, 4:57:11 PM CEST
UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2020-06-13 16:57:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55831
;
-- Jun 13, 2020, 4:59:22 PM CEST
UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2020-06-13 16:59:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55635
;
-- Jun 13, 2020, 5:00:53 PM CEST
UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2020-06-13 17:00:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55787
;
-- Jun 13, 2020, 5:04:41 PM CEST
UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2020-06-13 17:04:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55998
;
-- Jun 13, 2020, 5:21:44 PM CEST
UPDATE AD_Field SET IsActive='N', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-06-13 17:21:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=55913
;
-- Jun 13, 2020, 5:23:24 PM CEST
UPDATE AD_Field SET IsActive='N', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-06-13 17:23:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56063
;
-- Jun 13, 2020, 5:23:40 PM CEST
UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2020-06-13 17:23:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55786
;
-- Jun 13, 2020, 5:23:44 PM CEST
UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2020-06-13 17:23:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55832
;
-- Jun 13, 2020, 5:23:50 PM CEST
UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2020-06-13 17:23:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56004
;
-- Jun 13, 2020, 5:27:16 PM CEST
UPDATE AD_Field SET IsActive='N', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-06-13 17:27:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56064
;
-- Jun 13, 2020, 5:27:29 PM CEST
UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2020-06-13 17:27:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55782
;
-- Jun 13, 2020, 5:27:42 PM CEST
UPDATE AD_Field SET IsActive='N', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-06-13 17:27:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=55915
;
-- Jun 13, 2020, 5:27:51 PM CEST
UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2020-06-13 17:27:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55873
;
-- Jun 13, 2020, 5:27:55 PM CEST
UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2020-06-13 17:27:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56061
;
-- Jun 13, 2020, 5:31:31 PM CEST
UPDATE AD_Field SET IsActive='N', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-06-13 17:31:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56057
;
-- Jun 13, 2020, 5:31:39 PM CEST
UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2020-06-13 17:31:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55779
;
-- Jun 13, 2020, 5:31:52 PM CEST
UPDATE AD_Field SET IsActive='N', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-06-13 17:31:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=55908
;
-- Jun 13, 2020, 5:31:59 PM CEST
UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2020-06-13 17:31:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55857
;
-- Jun 13, 2020, 5:32:03 PM CEST
UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2020-06-13 17:32:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56064
;
UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2020-06-13 17:56:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID IN (
55604, /*A_Asset_Acct.A_Disposal_Gain */
55613, /*A_Asset_Acct.A_Disposal_Loss */
55612, /*A_Asset_Acct.A_Disposal_Revenue */
55609, /*A_Asset_Acct.A_Reval_Accumdep_Offset_Cur */
55608, /*A_Asset_Acct.A_Reval_Accumdep_Offset_Prior */
55606, /*A_Asset_Acct.A_Reval_Cost_Offset */
55605, /*A_Asset_Acct.A_Reval_Cost_Offset_Prior */
55624, /*A_Asset_Acct.A_Reval_Depexp_Offset */
55840, /*A_Asset_Change.A_Disposal_Loss */
55839, /*A_Asset_Change.A_Disposal_Revenue */
55783, /*A_Asset_Group_Acct.A_Disposal_Gain */
55762, /*A_Asset_Group_Acct.A_Disposal_Loss */
55771, /*A_Asset_Group_Acct.A_Disposal_Revenue */
55770, /*A_Asset_Group_Acct.A_Reval_Accumdep_Offset_Cur */
55769, /*A_Asset_Group_Acct.A_Reval_Accumdep_Offset_Prior */
55767, /*A_Asset_Group_Acct.A_Reval_Cost_Offset */
55766, /*A_Asset_Group_Acct.A_Reval_Cost_Offset_Prior */
55765, /*A_Asset_Group_Acct.A_Reval_Depexp_Offset */
55690, /*A_Asset_Transfer.A_Accumdepreciation_Acct_New */
55662, /*A_Asset_Transfer.A_Asset_Acct_New */
55687, /*A_Asset_Transfer.A_Depreciation_Acct_New */
55665, /*A_Asset_Transfer.A_Disposal_Loss_New */
55672, /*A_Asset_Transfer.A_Disposal_Revenue_New */
56009, /*I_Asset.A_Disposal_Loss */
56010, /*I_Asset.A_Disposal_Revenue */
56019, /*I_Asset.A_Reval_Accumdep_Offset_Cur */
56046, /*I_Asset.A_Reval_Accumdep_Offset_Prior */
56048, /*I_Asset.A_Reval_Cost_Offset */
56049, /*I_Asset.A_Reval_Cost_Offset_Prior */
56050 /*I_Asset.A_Reval_Depexp_Offset */
)
;
UPDATE AD_Field SET IsActive='N',Updated=TO_DATE('2020-06-13 17:56:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID IN (
55610,
55695,
55884,
55609,
55694,
55883,
55614,
55699,
55888,
55615,
55700,
55889,
55612,
55697,
55886,
55613,
55698,
55887,
55616,
55701,
55890,
55953,
55952,
59255,
56074,
56073,
56078,
56079,
56076,
56077,
56080,
55724,
59200,
55722,
59201,
55726,
59202,
55730,
59203,
55728,
59204
);
ALTER TABLE A_FundingMode_Acct ADD CONSTRAINT AFundingModevc_AFundingModeAcc FOREIGN KEY(A_FundingMode_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE a_asset_split ALTER COLUMN a_asset_id_to TYPE numeric(10,0) USING a_asset_id_to::numeric
;
ALTER TABLE A_Asset_Split ADD CONSTRAINT AAssetID_AAssetSplit FOREIGN KEY (A_Asset_ID_To) REFERENCES A_Asset DEFERRABLE INITIALLY DEFERRED
;
SELECT register_migration_script('202006131716_IDEMPIERE-4334.sql') FROM dual
;

View File

@ -96,17 +96,6 @@ public interface I_A_Asset_Acct
public org.compiere.model.I_A_Asset getA_Asset() throws RuntimeException;
/** Column name A_Asset_Spread_ID */
public static final String COLUMNNAME_A_Asset_Spread_ID = "A_Asset_Spread_ID";
/** Set A_Asset_Spread_ID */
public void setA_Asset_Spread_ID (int A_Asset_Spread_ID);
/** Get A_Asset_Spread_ID */
public int getA_Asset_Spread_ID();
public org.compiere.model.I_A_Asset_Spread getA_Asset_Spread() throws RuntimeException;
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
@ -239,17 +228,6 @@ public interface I_A_Asset_Acct
/** Get Variable Percent (fiscal) */
public BigDecimal getA_Depreciation_Variable_Perc_F();
/** Column name A_Disposal_Gain */
public static final String COLUMNNAME_A_Disposal_Gain = "A_Disposal_Gain";
/** Set Disposal Gain */
public void setA_Disposal_Gain (int A_Disposal_Gain);
/** Get Disposal Gain */
public int getA_Disposal_Gain();
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";
@ -261,17 +239,6 @@ public interface I_A_Asset_Acct
public I_C_ValidCombination getA_Disposal_Gain_A() throws RuntimeException;
/** Column name A_Disposal_Loss */
public static final String COLUMNNAME_A_Disposal_Loss = "A_Disposal_Loss";
/** Set Loss on Disposal */
public void setA_Disposal_Loss (int A_Disposal_Loss);
/** Get Loss on Disposal */
public int getA_Disposal_Loss();
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";
@ -283,17 +250,6 @@ public interface I_A_Asset_Acct
public I_C_ValidCombination getA_Disposal_Loss_A() throws RuntimeException;
/** Column name A_Disposal_Revenue */
public static final String COLUMNNAME_A_Disposal_Revenue = "A_Disposal_Revenue";
/** Set Disposal Revenue */
public void setA_Disposal_Revenue (int A_Disposal_Revenue);
/** Get Disposal Revenue */
public int getA_Disposal_Revenue();
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";
@ -336,28 +292,6 @@ public interface I_A_Asset_Acct
/** Get A_Period_Start */
public int getA_Period_Start();
/** Column name A_Reval_Accumdep_Offset_Cur */
public static final String COLUMNNAME_A_Reval_Accumdep_Offset_Cur = "A_Reval_Accumdep_Offset_Cur";
/** Set Revaluation Accumulated Depreciation Offset for Current Year */
public void setA_Reval_Accumdep_Offset_Cur (int A_Reval_Accumdep_Offset_Cur);
/** Get Revaluation Accumulated Depreciation Offset for Current Year */
public int getA_Reval_Accumdep_Offset_Cur();
public I_C_ValidCombination getA_Reval_Accumdep_Offset_() throws RuntimeException;
/** Column name A_Reval_Accumdep_Offset_Prior */
public static final String COLUMNNAME_A_Reval_Accumdep_Offset_Prior = "A_Reval_Accumdep_Offset_Prior";
/** Set Revaluation Accumulated Depreciation Offset for Prior Year */
public void setA_Reval_Accumdep_Offset_Prior (int A_Reval_Accumdep_Offset_Prior);
/** Get Revaluation Accumulated Depreciation Offset for Prior Year */
public int getA_Reval_Accumdep_Offset_Prior();
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";
@ -389,17 +323,6 @@ public interface I_A_Asset_Acct
/** Get A_Reval_Cal_Method */
public String getA_Reval_Cal_Method();
/** Column name A_Reval_Cost_Offset */
public static final String COLUMNNAME_A_Reval_Cost_Offset = "A_Reval_Cost_Offset";
/** Set Revaluation Cost Offset for Current Year */
public void setA_Reval_Cost_Offset (int A_Reval_Cost_Offset);
/** Get Revaluation Cost Offset for Current Year */
public int getA_Reval_Cost_Offset();
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";
@ -411,17 +334,6 @@ public interface I_A_Asset_Acct
public I_C_ValidCombination getA_Reval_Cost_Offset_A() throws RuntimeException;
/** Column name A_Reval_Cost_Offset_Prior */
public static final String COLUMNNAME_A_Reval_Cost_Offset_Prior = "A_Reval_Cost_Offset_Prior";
/** Set Revaluation Cost Offset for Prior Year */
public void setA_Reval_Cost_Offset_Prior (int A_Reval_Cost_Offset_Prior);
/** Get Revaluation Cost Offset for Prior Year */
public int getA_Reval_Cost_Offset_Prior();
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";
@ -433,17 +345,6 @@ public interface I_A_Asset_Acct
public I_C_ValidCombination getA_Reval_Cost_Offset_Prior_A() throws RuntimeException;
/** Column name A_Reval_Depexp_Offset */
public static final String COLUMNNAME_A_Reval_Depexp_Offset = "A_Reval_Depexp_Offset";
/** Set Revaluation Expense Offs */
public void setA_Reval_Depexp_Offset (int A_Reval_Depexp_Offset);
/** Get Revaluation Expense Offs */
public int getA_Reval_Depexp_Offset();
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";

View File

@ -145,17 +145,6 @@ public interface I_A_Asset_Change
/** Get Revaluation Date */
public Timestamp getA_Asset_RevalDate();
/** Column name A_Asset_Spread_Type */
public static final String COLUMNNAME_A_Asset_Spread_Type = "A_Asset_Spread_Type";
/** Set Spread Type */
public void setA_Asset_Spread_Type (int A_Asset_Spread_Type);
/** Get Spread Type */
public int getA_Asset_Spread_Type();
public org.compiere.model.I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException;
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
@ -175,17 +164,6 @@ public interface I_A_Asset_Change
public I_C_ValidCombination getA_Depreciation_A() throws RuntimeException;
/** Column name A_Depreciation_Calc_Type */
public static final String COLUMNNAME_A_Depreciation_Calc_Type = "A_Depreciation_Calc_Type";
/** Set Calculation Type */
public void setA_Depreciation_Calc_Type (int A_Depreciation_Calc_Type);
/** Get Calculation Type */
public int getA_Depreciation_Calc_Type();
public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Calc_T() throws RuntimeException;
/** Column name A_Depreciation_Manual_Amount */
public static final String COLUMNNAME_A_Depreciation_Manual_Amount = "A_Depreciation_Manual_Amount";
@ -224,17 +202,6 @@ public interface I_A_Asset_Change
/** Get Variable Percent */
public BigDecimal getA_Depreciation_Variable_Perc();
/** Column name A_Disposal_Loss */
public static final String COLUMNNAME_A_Disposal_Loss = "A_Disposal_Loss";
/** Set Loss on Disposal */
public void setA_Disposal_Loss (int A_Disposal_Loss);
/** Get Loss on Disposal */
public int getA_Disposal_Loss();
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";
@ -246,17 +213,6 @@ public interface I_A_Asset_Change
public I_C_ValidCombination getA_Disposal_Loss_A() throws RuntimeException;
/** Column name A_Disposal_Revenue */
public static final String COLUMNNAME_A_Disposal_Revenue = "A_Disposal_Revenue";
/** Set Disposal Revenue */
public void setA_Disposal_Revenue (int A_Disposal_Revenue);
/** Get Disposal Revenue */
public int getA_Disposal_Revenue();
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";
@ -630,17 +586,6 @@ public interface I_A_Asset_Change
public I_C_Location getC_Location() throws RuntimeException;
/** Column name ConventionType */
public static final String COLUMNNAME_ConventionType = "ConventionType";
/** Set ConventionType */
public void setConventionType (int ConventionType);
/** Get ConventionType */
public int getConventionType();
public org.compiere.model.I_A_Depreciation_Convention getConventionT() throws RuntimeException;
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
@ -685,17 +630,6 @@ public interface I_A_Asset_Change
*/
public Timestamp getDateAcct();
/** Column name DepreciationType */
public static final String COLUMNNAME_DepreciationType = "DepreciationType";
/** Set DepreciationType */
public void setDepreciationType (int DepreciationType);
/** Get DepreciationType */
public int getDepreciationType();
public org.compiere.model.I_A_Depreciation getDepreciationT() throws RuntimeException;
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";

View File

@ -96,17 +96,6 @@ public interface I_A_Asset_Group_Acct
public org.compiere.model.I_A_Asset_Group getA_Asset_Group() throws RuntimeException;
/** Column name A_Asset_Spread_Type */
public static final String COLUMNNAME_A_Asset_Spread_Type = "A_Asset_Spread_Type";
/** Set Spread Type */
public void setA_Asset_Spread_Type (int A_Asset_Spread_Type);
/** Get Spread Type */
public int getA_Asset_Spread_Type();
public org.compiere.model.I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException;
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
@ -126,17 +115,6 @@ public interface I_A_Asset_Group_Acct
public I_C_ValidCombination getA_Depreciation_A() throws RuntimeException;
/** Column name A_Depreciation_Calc_Type */
public static final String COLUMNNAME_A_Depreciation_Calc_Type = "A_Depreciation_Calc_Type";
/** Set Calculation Type */
public void setA_Depreciation_Calc_Type (int A_Depreciation_Calc_Type);
/** Get Calculation Type */
public int getA_Depreciation_Calc_Type();
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";
@ -250,17 +228,6 @@ public interface I_A_Asset_Group_Acct
/** Get Variable Percent (fiscal) */
public BigDecimal getA_Depreciation_Variable_Perc_F();
/** Column name A_Disposal_Gain */
public static final String COLUMNNAME_A_Disposal_Gain = "A_Disposal_Gain";
/** Set Disposal Gain */
public void setA_Disposal_Gain (int A_Disposal_Gain);
/** Get Disposal Gain */
public int getA_Disposal_Gain();
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";
@ -272,17 +239,6 @@ public interface I_A_Asset_Group_Acct
public I_C_ValidCombination getA_Disposal_Gain_A() throws RuntimeException;
/** Column name A_Disposal_Loss */
public static final String COLUMNNAME_A_Disposal_Loss = "A_Disposal_Loss";
/** Set Loss on Disposal */
public void setA_Disposal_Loss (int A_Disposal_Loss);
/** Get Loss on Disposal */
public int getA_Disposal_Loss();
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";
@ -294,17 +250,6 @@ public interface I_A_Asset_Group_Acct
public I_C_ValidCombination getA_Disposal_Loss_A() throws RuntimeException;
/** Column name A_Disposal_Revenue */
public static final String COLUMNNAME_A_Disposal_Revenue = "A_Disposal_Revenue";
/** Set Disposal Revenue */
public void setA_Disposal_Revenue (int A_Disposal_Revenue);
/** Get Disposal Revenue */
public int getA_Disposal_Revenue();
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";
@ -329,28 +274,6 @@ public interface I_A_Asset_Group_Acct
*/
public int getAD_Org_ID();
/** Column name A_Reval_Accumdep_Offset_Cur */
public static final String COLUMNNAME_A_Reval_Accumdep_Offset_Cur = "A_Reval_Accumdep_Offset_Cur";
/** Set Revaluation Accumulated Depreciation Offset for Current Year */
public void setA_Reval_Accumdep_Offset_Cur (int A_Reval_Accumdep_Offset_Cur);
/** Get Revaluation Accumulated Depreciation Offset for Current Year */
public int getA_Reval_Accumdep_Offset_Cur();
public I_C_ValidCombination getA_Reval_Accumdep_Offset_() throws RuntimeException;
/** Column name A_Reval_Accumdep_Offset_Prior */
public static final String COLUMNNAME_A_Reval_Accumdep_Offset_Prior = "A_Reval_Accumdep_Offset_Prior";
/** Set Revaluation Accumulated Depreciation Offset for Prior Year */
public void setA_Reval_Accumdep_Offset_Prior (int A_Reval_Accumdep_Offset_Prior);
/** Get Revaluation Accumulated Depreciation Offset for Prior Year */
public int getA_Reval_Accumdep_Offset_Prior();
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";
@ -382,17 +305,6 @@ public interface I_A_Asset_Group_Acct
/** Get A_Reval_Cal_Method */
public String getA_Reval_Cal_Method();
/** Column name A_Reval_Cost_Offset */
public static final String COLUMNNAME_A_Reval_Cost_Offset = "A_Reval_Cost_Offset";
/** Set Revaluation Cost Offset for Current Year */
public void setA_Reval_Cost_Offset (int A_Reval_Cost_Offset);
/** Get Revaluation Cost Offset for Current Year */
public int getA_Reval_Cost_Offset();
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";
@ -404,17 +316,6 @@ public interface I_A_Asset_Group_Acct
public I_C_ValidCombination getA_Reval_Cost_Offset_A() throws RuntimeException;
/** Column name A_Reval_Cost_Offset_Prior */
public static final String COLUMNNAME_A_Reval_Cost_Offset_Prior = "A_Reval_Cost_Offset_Prior";
/** Set Revaluation Cost Offset for Prior Year */
public void setA_Reval_Cost_Offset_Prior (int A_Reval_Cost_Offset_Prior);
/** Get Revaluation Cost Offset for Prior Year */
public int getA_Reval_Cost_Offset_Prior();
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";
@ -426,17 +327,6 @@ public interface I_A_Asset_Group_Acct
public I_C_ValidCombination getA_Reval_Cost_Offset_Prior_A() throws RuntimeException;
/** Column name A_Reval_Depexp_Offset */
public static final String COLUMNNAME_A_Reval_Depexp_Offset = "A_Reval_Depexp_Offset";
/** Set Revaluation Expense Offs */
public void setA_Reval_Depexp_Offset (int A_Reval_Depexp_Offset);
/** Get Revaluation Expense Offs */
public int getA_Reval_Depexp_Offset();
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";
@ -472,17 +362,6 @@ public interface I_A_Asset_Group_Acct
public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException;
/** Column name ConventionType */
public static final String COLUMNNAME_ConventionType = "ConventionType";
/** Set ConventionType */
public void setConventionType (int ConventionType);
/** Get ConventionType */
public int getConventionType();
public org.compiere.model.I_A_Depreciation_Convention getConventionT() throws RuntimeException;
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
@ -499,17 +378,6 @@ public interface I_A_Asset_Group_Acct
*/
public int getCreatedBy();
/** Column name DepreciationType */
public static final String COLUMNNAME_DepreciationType = "DepreciationType";
/** Set DepreciationType */
public void setDepreciationType (int DepreciationType);
/** Get DepreciationType */
public int getDepreciationType();
public org.compiere.model.I_A_Depreciation getDepreciationT() throws RuntimeException;
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";

View File

@ -1,275 +0,0 @@
/******************************************************************************
* Product: iDempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2012 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_Spread
* @author iDempiere (generated)
* @version Release 7.1
*/
public interface I_A_Asset_Spread
{
/** TableName=A_Asset_Spread */
public static final String Table_Name = "A_Asset_Spread";
/** AD_Table_ID=53126 */
public static final int Table_ID = 53126;
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_Spread_ID */
public static final String COLUMNNAME_A_Asset_Spread_ID = "A_Asset_Spread_ID";
/** Set A_Asset_Spread_ID */
public void setA_Asset_Spread_ID (int A_Asset_Spread_ID);
/** Get A_Asset_Spread_ID */
public int getA_Asset_Spread_ID();
/** Column name A_Asset_Spread_Type */
public static final String COLUMNNAME_A_Asset_Spread_Type = "A_Asset_Spread_Type";
/** Set Spread Type */
public void setA_Asset_Spread_Type (String A_Asset_Spread_Type);
/** Get 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 */
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_Period_1 */
public static final String COLUMNNAME_A_Period_1 = "A_Period_1";
/** Set Period 1 */
public void setA_Period_1 (BigDecimal A_Period_1);
/** Get Period 1 */
public BigDecimal getA_Period_1();
/** Column name A_Period_10 */
public static final String COLUMNNAME_A_Period_10 = "A_Period_10";
/** Set Period 10 */
public void setA_Period_10 (BigDecimal A_Period_10);
/** Get Period 10 */
public BigDecimal getA_Period_10();
/** Column name A_Period_11 */
public static final String COLUMNNAME_A_Period_11 = "A_Period_11";
/** Set Period 11 */
public void setA_Period_11 (BigDecimal A_Period_11);
/** Get Period 11 */
public BigDecimal getA_Period_11();
/** Column name A_Period_12 */
public static final String COLUMNNAME_A_Period_12 = "A_Period_12";
/** Set Period 12 */
public void setA_Period_12 (BigDecimal A_Period_12);
/** Get Period 12 */
public BigDecimal getA_Period_12();
/** Column name A_Period_13 */
public static final String COLUMNNAME_A_Period_13 = "A_Period_13";
/** Set Period 13 */
public void setA_Period_13 (BigDecimal A_Period_13);
/** Get Period 13 */
public BigDecimal getA_Period_13();
/** Column name A_Period_14 */
public static final String COLUMNNAME_A_Period_14 = "A_Period_14";
/** Set Period 14 */
public void setA_Period_14 (BigDecimal A_Period_14);
/** Get Period 14 */
public BigDecimal getA_Period_14();
/** Column name A_Period_2 */
public static final String COLUMNNAME_A_Period_2 = "A_Period_2";
/** Set Period 2 */
public void setA_Period_2 (BigDecimal A_Period_2);
/** Get Period 2 */
public BigDecimal getA_Period_2();
/** Column name A_Period_3 */
public static final String COLUMNNAME_A_Period_3 = "A_Period_3";
/** Set Period 3 */
public void setA_Period_3 (BigDecimal A_Period_3);
/** Get Period 3 */
public BigDecimal getA_Period_3();
/** Column name A_Period_4 */
public static final String COLUMNNAME_A_Period_4 = "A_Period_4";
/** Set Period 4 */
public void setA_Period_4 (BigDecimal A_Period_4);
/** Get Period 4 */
public BigDecimal getA_Period_4();
/** Column name A_Period_5 */
public static final String COLUMNNAME_A_Period_5 = "A_Period_5";
/** Set Period 5 */
public void setA_Period_5 (BigDecimal A_Period_5);
/** Get Period 5 */
public BigDecimal getA_Period_5();
/** Column name A_Period_6 */
public static final String COLUMNNAME_A_Period_6 = "A_Period_6";
/** Set Period 6 */
public void setA_Period_6 (BigDecimal A_Period_6);
/** Get Period 6 */
public BigDecimal getA_Period_6();
/** Column name A_Period_7 */
public static final String COLUMNNAME_A_Period_7 = "A_Period_7";
/** Set Period 7 */
public void setA_Period_7 (BigDecimal A_Period_7);
/** Get Period 7 */
public BigDecimal getA_Period_7();
/** Column name A_Period_8 */
public static final String COLUMNNAME_A_Period_8 = "A_Period_8";
/** Set Period 8 */
public void setA_Period_8 (BigDecimal A_Period_8);
/** Get Period 8 */
public BigDecimal getA_Period_8();
/** Column name A_Period_9 */
public static final String COLUMNNAME_A_Period_9 = "A_Period_9";
/** Set Period 9 */
public void setA_Period_9 (BigDecimal A_Period_9);
/** Get Period 9 */
public BigDecimal getA_Period_9();
/** 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 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

@ -52,17 +52,6 @@ public interface I_A_Asset_Transfer
public I_C_ValidCombination getA_Accumdepreciation_A() throws RuntimeException;
/** Column name A_Accumdepreciation_Acct_New */
public static final String COLUMNNAME_A_Accumdepreciation_Acct_New = "A_Accumdepreciation_Acct_New";
/** Set New Accum Depreciation Acct */
public void setA_Accumdepreciation_Acct_New (int A_Accumdepreciation_Acct_New);
/** Get New Accum Depreciation Acct */
public int getA_Accumdepreciation_Acct_New();
public I_C_ValidCombination getA_Accumdepreciation_Acct_() throws RuntimeException;
/** Column name A_Accumdepreciation_Acct_Str */
public static final String COLUMNNAME_A_Accumdepreciation_Acct_Str = "A_Accumdepreciation_Acct_Str";
@ -112,17 +101,6 @@ public interface I_A_Asset_Transfer
/** Get A_Asset_Acct_ID */
public int getA_Asset_Acct_ID();
/** Column name A_Asset_Acct_New */
public static final String COLUMNNAME_A_Asset_Acct_New = "A_Asset_Acct_New";
/** Set New Asset Cost Acct */
public void setA_Asset_Acct_New (int A_Asset_Acct_New);
/** Get New Asset Cost Acct */
public int getA_Asset_Acct_New();
public I_C_ValidCombination getA_Asset_Acct_() throws RuntimeException;
/** Column name A_Asset_Acct_Str */
public static final String COLUMNNAME_A_Asset_Acct_Str = "A_Asset_Acct_Str";
@ -204,17 +182,6 @@ public interface I_A_Asset_Transfer
public I_C_ValidCombination getA_Depreciation_A() throws RuntimeException;
/** Column name A_Depreciation_Acct_New */
public static final String COLUMNNAME_A_Depreciation_Acct_New = "A_Depreciation_Acct_New";
/** Set New Depreciation Exp Acct */
public void setA_Depreciation_Acct_New (int A_Depreciation_Acct_New);
/** Get New Depreciation Exp Acct */
public int getA_Depreciation_Acct_New();
public I_C_ValidCombination getA_Depreciation_Acct_() throws RuntimeException;
/** Column name A_Depreciation_Acct_Str */
public static final String COLUMNNAME_A_Depreciation_Acct_Str = "A_Depreciation_Acct_Str";
@ -255,17 +222,6 @@ public interface I_A_Asset_Transfer
public I_C_ValidCombination getA_Disposal_Loss_A() throws RuntimeException;
/** Column name A_Disposal_Loss_New */
public static final String COLUMNNAME_A_Disposal_Loss_New = "A_Disposal_Loss_New";
/** Set New Disposal Loss */
public void setA_Disposal_Loss_New (int A_Disposal_Loss_New);
/** Get New Disposal Loss */
public int getA_Disposal_Loss_New();
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";
@ -306,17 +262,6 @@ public interface I_A_Asset_Transfer
public I_C_ValidCombination getA_Disposal_Revenue_A() throws RuntimeException;
/** Column name A_Disposal_Revenue_New */
public static final String COLUMNNAME_A_Disposal_Revenue_New = "A_Disposal_Revenue_New";
/** Set New Disposal Revenue */
public void setA_Disposal_Revenue_New (int A_Disposal_Revenue_New);
/** Get New Disposal Revenue */
public int getA_Disposal_Revenue_New();
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";

View File

@ -127,17 +127,6 @@ public interface I_I_Asset
/** Get Life Years */
public int getA_Asset_Life_Years();
/** Column name A_Asset_Spread_Type */
public static final String COLUMNNAME_A_Asset_Spread_Type = "A_Asset_Spread_Type";
/** Set Spread Type */
public void setA_Asset_Spread_Type (int A_Asset_Spread_Type);
/** Get Spread Type */
public int getA_Asset_Spread_Type();
public org.compiere.model.I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException;
/** Column name A_Base_Amount */
public static final String COLUMNNAME_A_Base_Amount = "A_Base_Amount";
@ -193,17 +182,6 @@ public interface I_I_Asset
public I_C_ValidCombination getA_Depreciation_A() throws RuntimeException;
/** Column name A_Depreciation_Calc_Type */
public static final String COLUMNNAME_A_Depreciation_Calc_Type = "A_Depreciation_Calc_Type";
/** Set Calculation Type */
public void setA_Depreciation_Calc_Type (int A_Depreciation_Calc_Type);
/** Get Calculation Type */
public int getA_Depreciation_Calc_Type();
public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Calc_T() throws RuntimeException;
/** Column name A_Depreciation_Manual_Amount */
public static final String COLUMNNAME_A_Depreciation_Manual_Amount = "A_Depreciation_Manual_Amount";
@ -242,28 +220,6 @@ public interface I_I_Asset
/** Get Variable Percent */
public BigDecimal getA_Depreciation_Variable_Perc();
/** Column name A_Disposal_Loss */
public static final String COLUMNNAME_A_Disposal_Loss = "A_Disposal_Loss";
/** Set Loss on Disposal */
public void setA_Disposal_Loss (int A_Disposal_Loss);
/** Get Loss on Disposal */
public int getA_Disposal_Loss();
public I_C_ValidCombination getA_Disposal_L() throws RuntimeException;
/** Column name A_Disposal_Revenue */
public static final String COLUMNNAME_A_Disposal_Revenue = "A_Disposal_Revenue";
/** Set Disposal Revenue */
public void setA_Disposal_Revenue (int A_Disposal_Revenue);
/** Get Disposal Revenue */
public int getA_Disposal_Revenue();
public I_C_ValidCombination getA_Disposal_Reve() throws RuntimeException;
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
@ -362,28 +318,6 @@ public interface I_I_Asset
/** Get A_QTY_Original */
public int getA_QTY_Original();
/** Column name A_Reval_Accumdep_Offset_Cur */
public static final String COLUMNNAME_A_Reval_Accumdep_Offset_Cur = "A_Reval_Accumdep_Offset_Cur";
/** Set Revaluation Accumulated Depreciation Offset for Current Year */
public void setA_Reval_Accumdep_Offset_Cur (int A_Reval_Accumdep_Offset_Cur);
/** Get Revaluation Accumulated Depreciation Offset for Current Year */
public int getA_Reval_Accumdep_Offset_Cur();
public I_C_ValidCombination getA_Reval_Accumdep_Offset_() throws RuntimeException;
/** Column name A_Reval_Accumdep_Offset_Prior */
public static final String COLUMNNAME_A_Reval_Accumdep_Offset_Prior = "A_Reval_Accumdep_Offset_Prior";
/** Set Revaluation Accumulated Depreciation Offset for Prior Year */
public void setA_Reval_Accumdep_Offset_Prior (int A_Reval_Accumdep_Offset_Prior);
/** Get Revaluation Accumulated Depreciation Offset for Prior Year */
public int getA_Reval_Accumdep_Offset_Prior();
public I_C_ValidCombination getA_Reval_Accumdep_Offset_Pr() throws RuntimeException;
/** Column name A_Reval_Cal_Method */
public static final String COLUMNNAME_A_Reval_Cal_Method = "A_Reval_Cal_Method";
@ -393,39 +327,6 @@ public interface I_I_Asset
/** Get A_Reval_Cal_Method */
public String getA_Reval_Cal_Method();
/** Column name A_Reval_Cost_Offset */
public static final String COLUMNNAME_A_Reval_Cost_Offset = "A_Reval_Cost_Offset";
/** Set Revaluation Cost Offset for Current Year */
public void setA_Reval_Cost_Offset (int A_Reval_Cost_Offset);
/** Get Revaluation Cost Offset for Current Year */
public int getA_Reval_Cost_Offset();
public I_C_ValidCombination getA_Reval_Cost_Off() throws RuntimeException;
/** Column name A_Reval_Cost_Offset_Prior */
public static final String COLUMNNAME_A_Reval_Cost_Offset_Prior = "A_Reval_Cost_Offset_Prior";
/** Set Revaluation Cost Offset for Prior Year */
public void setA_Reval_Cost_Offset_Prior (int A_Reval_Cost_Offset_Prior);
/** Get Revaluation Cost Offset for Prior Year */
public int getA_Reval_Cost_Offset_Prior();
public I_C_ValidCombination getA_Reval_Cost_Offset_Pr() throws RuntimeException;
/** Column name A_Reval_Depexp_Offset */
public static final String COLUMNNAME_A_Reval_Depexp_Offset = "A_Reval_Depexp_Offset";
/** Set Revaluation Expense Offs */
public void setA_Reval_Depexp_Offset (int A_Reval_Depexp_Offset);
/** Get Revaluation Expense Offs */
public int getA_Reval_Depexp_Offset();
public I_C_ValidCombination getA_Reval_Depexp_Off() throws RuntimeException;
/** Column name A_Salvage_Value */
public static final String COLUMNNAME_A_Salvage_Value = "A_Salvage_Value";
@ -556,17 +457,6 @@ public interface I_I_Asset
public org.compiere.model.I_C_Location getC_Location() throws RuntimeException;
/** Column name ConventionType */
public static final String COLUMNNAME_ConventionType = "ConventionType";
/** Set ConventionType */
public void setConventionType (int ConventionType);
/** Get ConventionType */
public int getConventionType();
public org.compiere.model.I_A_Depreciation_Convention getConventionT() throws RuntimeException;
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
@ -583,17 +473,6 @@ public interface I_I_Asset
*/
public int getCreatedBy();
/** Column name DepreciationType */
public static final String COLUMNNAME_DepreciationType = "DepreciationType";
/** Set DepreciationType */
public void setDepreciationType (int DepreciationType);
/** Get DepreciationType */
public int getDepreciationType();
public org.compiere.model.I_A_Depreciation getDepreciationT() throws RuntimeException;
/** Column name Description */
public static final String COLUMNNAME_Description = "Description";

View File

@ -33,7 +33,7 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
/**
*
*/
private static final long serialVersionUID = 20200413L;
private static final long serialVersionUID = 20200613L;
/** Standard Constructor */
public X_A_Asset_Acct (Properties ctx, int A_Asset_Acct_ID, String trxName)
@ -202,31 +202,6 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return ii.intValue();
}
public org.compiere.model.I_A_Asset_Spread getA_Asset_Spread() throws RuntimeException
{
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()); }
/** Set A_Asset_Spread_ID.
@param A_Asset_Spread_ID A_Asset_Spread_ID */
public void setA_Asset_Spread_ID (int A_Asset_Spread_ID)
{
if (A_Asset_Spread_ID < 1)
set_Value (COLUMNNAME_A_Asset_Spread_ID, null);
else
set_Value (COLUMNNAME_A_Asset_Spread_ID, Integer.valueOf(A_Asset_Spread_ID));
}
/** Get A_Asset_Spread_ID.
@return A_Asset_Spread_ID */
public int getA_Asset_Spread_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Spread_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Depreciation_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
@ -496,28 +471,6 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return bd;
}
public I_C_ValidCombination getA_Disposal_G() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Disposal_Gain(), get_TrxName()); }
/** Set Disposal Gain.
@param A_Disposal_Gain Disposal Gain */
public void setA_Disposal_Gain (int A_Disposal_Gain)
{
set_Value (COLUMNNAME_A_Disposal_Gain, Integer.valueOf(A_Disposal_Gain));
}
/** Get Disposal Gain.
@return Disposal Gain */
public int getA_Disposal_Gain ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Gain);
if (ii == null)
return 0;
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)
@ -540,28 +493,6 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return ii.intValue();
}
public I_C_ValidCombination getA_Disposal_L() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Disposal_Loss(), get_TrxName()); }
/** Set Loss on Disposal.
@param A_Disposal_Loss Loss on Disposal */
public void setA_Disposal_Loss (int A_Disposal_Loss)
{
set_Value (COLUMNNAME_A_Disposal_Loss, Integer.valueOf(A_Disposal_Loss));
}
/** Get Loss on Disposal.
@return Loss on Disposal */
public int getA_Disposal_Loss ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Loss);
if (ii == null)
return 0;
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)
@ -584,28 +515,6 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return ii.intValue();
}
public I_C_ValidCombination getA_Disposal_Reve() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Disposal_Revenue(), get_TrxName()); }
/** Set Disposal Revenue.
@param A_Disposal_Revenue Disposal Revenue */
public void setA_Disposal_Revenue (int A_Disposal_Revenue)
{
set_Value (COLUMNNAME_A_Disposal_Revenue, Integer.valueOf(A_Disposal_Revenue));
}
/** Get Disposal Revenue.
@return Disposal Revenue */
public int getA_Disposal_Revenue ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Revenue);
if (ii == null)
return 0;
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)
@ -662,50 +571,6 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return ii.intValue();
}
public I_C_ValidCombination getA_Reval_Accumdep_Offset_() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Reval_Accumdep_Offset_Cur(), get_TrxName()); }
/** Set Revaluation Accumulated Depreciation Offset for Current Year.
@param A_Reval_Accumdep_Offset_Cur Revaluation Accumulated Depreciation Offset for Current Year */
public void setA_Reval_Accumdep_Offset_Cur (int A_Reval_Accumdep_Offset_Cur)
{
set_Value (COLUMNNAME_A_Reval_Accumdep_Offset_Cur, Integer.valueOf(A_Reval_Accumdep_Offset_Cur));
}
/** Get Revaluation Accumulated Depreciation Offset for Current Year.
@return Revaluation Accumulated Depreciation Offset for Current Year */
public int getA_Reval_Accumdep_Offset_Cur ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Accumdep_Offset_Cur);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Reval_Accumdep_Offset_Pr() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Reval_Accumdep_Offset_Prior(), get_TrxName()); }
/** Set Revaluation Accumulated Depreciation Offset for Prior Year.
@param A_Reval_Accumdep_Offset_Prior Revaluation Accumulated Depreciation Offset for Prior Year */
public void setA_Reval_Accumdep_Offset_Prior (int A_Reval_Accumdep_Offset_Prior)
{
set_Value (COLUMNNAME_A_Reval_Accumdep_Offset_Prior, Integer.valueOf(A_Reval_Accumdep_Offset_Prior));
}
/** Get Revaluation Accumulated Depreciation Offset for Prior Year.
@return Revaluation Accumulated Depreciation Offset for Prior Year */
public int getA_Reval_Accumdep_Offset_Prior ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Accumdep_Offset_Prior);
if (ii == null)
return 0;
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)
@ -773,28 +638,6 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return (String)get_Value(COLUMNNAME_A_Reval_Cal_Method);
}
public I_C_ValidCombination getA_Reval_Cost_Off() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Reval_Cost_Offset(), get_TrxName()); }
/** Set Revaluation Cost Offset for Current Year.
@param A_Reval_Cost_Offset Revaluation Cost Offset for Current Year */
public void setA_Reval_Cost_Offset (int A_Reval_Cost_Offset)
{
set_Value (COLUMNNAME_A_Reval_Cost_Offset, Integer.valueOf(A_Reval_Cost_Offset));
}
/** Get Revaluation Cost Offset for Current Year.
@return Revaluation Cost Offset for Current Year */
public int getA_Reval_Cost_Offset ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Cost_Offset);
if (ii == null)
return 0;
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)
@ -817,28 +660,6 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return ii.intValue();
}
public I_C_ValidCombination getA_Reval_Cost_Offset_Pr() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Reval_Cost_Offset_Prior(), get_TrxName()); }
/** Set 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)
{
set_Value (COLUMNNAME_A_Reval_Cost_Offset_Prior, Integer.valueOf(A_Reval_Cost_Offset_Prior));
}
/** Get Revaluation Cost Offset for Prior Year.
@return Revaluation Cost Offset for Prior Year */
public int getA_Reval_Cost_Offset_Prior ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Cost_Offset_Prior);
if (ii == null)
return 0;
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)
@ -861,28 +682,6 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent
return ii.intValue();
}
public I_C_ValidCombination getA_Reval_Depexp_Off() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Reval_Depexp_Offset(), get_TrxName()); }
/** Set Revaluation Expense Offs.
@param A_Reval_Depexp_Offset Revaluation Expense Offs */
public void setA_Reval_Depexp_Offset (int A_Reval_Depexp_Offset)
{
set_Value (COLUMNNAME_A_Reval_Depexp_Offset, Integer.valueOf(A_Reval_Depexp_Offset));
}
/** Get Revaluation Expense Offs.
@return Revaluation Expense Offs */
public int getA_Reval_Depexp_Offset ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Depexp_Offset);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Reval_Depexp_Offset_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)

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 = 20200413L;
private static final long serialVersionUID = 20200613L;
/** Standard Constructor */
public X_A_Asset_Change (Properties ctx, int A_Asset_Change_ID, String trxName)
@ -283,28 +283,6 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return (Timestamp)get_Value(COLUMNNAME_A_Asset_RevalDate);
}
public org.compiere.model.I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException
{
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()); }
/** Set Spread Type.
@param A_Asset_Spread_Type 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));
}
/** Get Spread Type.
@return Spread Type */
public int getA_Asset_Spread_Type ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Spread_Type);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Depreciation_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
@ -327,28 +305,6 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return ii.intValue();
}
public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Calc_T() 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_Calc_Type(), get_TrxName()); }
/** Set Calculation Type.
@param A_Depreciation_Calc_Type Calculation 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));
}
/** Get Calculation Type.
@return Calculation Type */
public int getA_Depreciation_Calc_Type ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Calc_Type);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set A_Depreciation_Manual_Amount.
@param A_Depreciation_Manual_Amount A_Depreciation_Manual_Amount */
public void setA_Depreciation_Manual_Amount (BigDecimal A_Depreciation_Manual_Amount)
@ -429,28 +385,6 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return bd;
}
public I_C_ValidCombination getA_Disposal_L() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Disposal_Loss(), get_TrxName()); }
/** Set Loss on Disposal.
@param A_Disposal_Loss Loss on Disposal */
public void setA_Disposal_Loss (int A_Disposal_Loss)
{
set_Value (COLUMNNAME_A_Disposal_Loss, Integer.valueOf(A_Disposal_Loss));
}
/** Get Loss on Disposal.
@return Loss on Disposal */
public int getA_Disposal_Loss ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Loss);
if (ii == null)
return 0;
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)
@ -473,28 +407,6 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return ii.intValue();
}
public I_C_ValidCombination getA_Disposal_Reve() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Disposal_Revenue(), get_TrxName()); }
/** Set Disposal Revenue.
@param A_Disposal_Revenue Disposal Revenue */
public void setA_Disposal_Revenue (int A_Disposal_Revenue)
{
set_Value (COLUMNNAME_A_Disposal_Revenue, Integer.valueOf(A_Disposal_Revenue));
}
/** Get Disposal Revenue.
@return Disposal Revenue */
public int getA_Disposal_Revenue ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Revenue);
if (ii == null)
return 0;
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)
@ -1178,28 +1090,6 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return ii.intValue();
}
public org.compiere.model.I_A_Depreciation_Convention getConventionT() throws RuntimeException
{
return (org.compiere.model.I_A_Depreciation_Convention)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Convention.Table_Name)
.getPO(getConventionType(), get_TrxName()); }
/** Set ConventionType.
@param ConventionType ConventionType */
public void setConventionType (int ConventionType)
{
set_Value (COLUMNNAME_ConventionType, Integer.valueOf(ConventionType));
}
/** Get ConventionType.
@return ConventionType */
public int getConventionType ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_ConventionType);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getC_ValidCombination() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
@ -1245,28 +1135,6 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return (Timestamp)get_Value(COLUMNNAME_DateAcct);
}
public org.compiere.model.I_A_Depreciation getDepreciationT() throws RuntimeException
{
return (org.compiere.model.I_A_Depreciation)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation.Table_Name)
.getPO(getDepreciationType(), get_TrxName()); }
/** Set DepreciationType.
@param DepreciationType DepreciationType */
public void setDepreciationType (int DepreciationType)
{
set_Value (COLUMNNAME_DepreciationType, Integer.valueOf(DepreciationType));
}
/** Get DepreciationType.
@return DepreciationType */
public int getDepreciationType ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_DepreciationType);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Depreciate.
@param IsDepreciated
The asset will be depreciated

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 = 20200413L;
private static final long serialVersionUID = 20200613L;
/** Standard Constructor */
public X_A_Asset_Group_Acct (Properties ctx, int A_Asset_Group_Acct_ID, String trxName)
@ -203,28 +203,6 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return ii.intValue();
}
public org.compiere.model.I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException
{
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()); }
/** Set Spread Type.
@param A_Asset_Spread_Type 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));
}
/** Get Spread Type.
@return Spread Type */
public int getA_Asset_Spread_Type ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Spread_Type);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Depreciation_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
@ -247,28 +225,6 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return ii.intValue();
}
public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Calc_T() 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_Calc_Type(), get_TrxName()); }
/** Set Calculation Type.
@param A_Depreciation_Calc_Type Calculation Type */
public void setA_Depreciation_Calc_Type (int A_Depreciation_Calc_Type)
{
set_ValueNoCheck (COLUMNNAME_A_Depreciation_Calc_Type, Integer.valueOf(A_Depreciation_Calc_Type));
}
/** Get Calculation Type.
@return Calculation Type */
public int getA_Depreciation_Calc_Type ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Calc_Type);
if (ii == null)
return 0;
return ii.intValue();
}
public org.compiere.model.I_A_Depreciation_Convention getA_Depreciation_Conv_F() throws RuntimeException
{
return (org.compiere.model.I_A_Depreciation_Convention)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Convention.Table_Name)
@ -516,28 +472,6 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return bd;
}
public I_C_ValidCombination getA_Disposal_G() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Disposal_Gain(), get_TrxName()); }
/** Set Disposal Gain.
@param A_Disposal_Gain Disposal Gain */
public void setA_Disposal_Gain (int A_Disposal_Gain)
{
set_Value (COLUMNNAME_A_Disposal_Gain, Integer.valueOf(A_Disposal_Gain));
}
/** Get Disposal Gain.
@return Disposal Gain */
public int getA_Disposal_Gain ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Gain);
if (ii == null)
return 0;
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)
@ -560,28 +494,6 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return ii.intValue();
}
public I_C_ValidCombination getA_Disposal_L() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Disposal_Loss(), get_TrxName()); }
/** Set Loss on Disposal.
@param A_Disposal_Loss Loss on Disposal */
public void setA_Disposal_Loss (int A_Disposal_Loss)
{
set_Value (COLUMNNAME_A_Disposal_Loss, Integer.valueOf(A_Disposal_Loss));
}
/** Get Loss on Disposal.
@return Loss on Disposal */
public int getA_Disposal_Loss ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Loss);
if (ii == null)
return 0;
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)
@ -604,28 +516,6 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return ii.intValue();
}
public I_C_ValidCombination getA_Disposal_Reve() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Disposal_Revenue(), get_TrxName()); }
/** Set Disposal Revenue.
@param A_Disposal_Revenue Disposal Revenue */
public void setA_Disposal_Revenue (int A_Disposal_Revenue)
{
set_Value (COLUMNNAME_A_Disposal_Revenue, Integer.valueOf(A_Disposal_Revenue));
}
/** Get Disposal Revenue.
@return Disposal Revenue */
public int getA_Disposal_Revenue ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Revenue);
if (ii == null)
return 0;
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)
@ -648,50 +538,6 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return ii.intValue();
}
public I_C_ValidCombination getA_Reval_Accumdep_Offset_() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Reval_Accumdep_Offset_Cur(), get_TrxName()); }
/** Set Revaluation Accumulated Depreciation Offset for Current Year.
@param A_Reval_Accumdep_Offset_Cur Revaluation Accumulated Depreciation Offset for Current Year */
public void setA_Reval_Accumdep_Offset_Cur (int A_Reval_Accumdep_Offset_Cur)
{
set_Value (COLUMNNAME_A_Reval_Accumdep_Offset_Cur, Integer.valueOf(A_Reval_Accumdep_Offset_Cur));
}
/** Get Revaluation Accumulated Depreciation Offset for Current Year.
@return Revaluation Accumulated Depreciation Offset for Current Year */
public int getA_Reval_Accumdep_Offset_Cur ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Accumdep_Offset_Cur);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Reval_Accumdep_Offset_Pr() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Reval_Accumdep_Offset_Prior(), get_TrxName()); }
/** Set Revaluation Accumulated Depreciation Offset for Prior Year.
@param A_Reval_Accumdep_Offset_Prior Revaluation Accumulated Depreciation Offset for Prior Year */
public void setA_Reval_Accumdep_Offset_Prior (int A_Reval_Accumdep_Offset_Prior)
{
set_Value (COLUMNNAME_A_Reval_Accumdep_Offset_Prior, Integer.valueOf(A_Reval_Accumdep_Offset_Prior));
}
/** Get Revaluation Accumulated Depreciation Offset for Prior Year.
@return Revaluation Accumulated Depreciation Offset for Prior Year */
public int getA_Reval_Accumdep_Offset_Prior ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Accumdep_Offset_Prior);
if (ii == null)
return 0;
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)
@ -759,28 +605,6 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return (String)get_Value(COLUMNNAME_A_Reval_Cal_Method);
}
public I_C_ValidCombination getA_Reval_Cost_Off() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Reval_Cost_Offset(), get_TrxName()); }
/** Set Revaluation Cost Offset for Current Year.
@param A_Reval_Cost_Offset Revaluation Cost Offset for Current Year */
public void setA_Reval_Cost_Offset (int A_Reval_Cost_Offset)
{
set_Value (COLUMNNAME_A_Reval_Cost_Offset, Integer.valueOf(A_Reval_Cost_Offset));
}
/** Get Revaluation Cost Offset for Current Year.
@return Revaluation Cost Offset for Current Year */
public int getA_Reval_Cost_Offset ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Cost_Offset);
if (ii == null)
return 0;
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)
@ -803,28 +627,6 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return ii.intValue();
}
public I_C_ValidCombination getA_Reval_Cost_Offset_Pr() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Reval_Cost_Offset_Prior(), get_TrxName()); }
/** Set 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)
{
set_Value (COLUMNNAME_A_Reval_Cost_Offset_Prior, Integer.valueOf(A_Reval_Cost_Offset_Prior));
}
/** Get Revaluation Cost Offset for Prior Year.
@return Revaluation Cost Offset for Prior Year */
public int getA_Reval_Cost_Offset_Prior ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Cost_Offset_Prior);
if (ii == null)
return 0;
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)
@ -847,28 +649,6 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return ii.intValue();
}
public I_C_ValidCombination getA_Reval_Depexp_Off() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Reval_Depexp_Offset(), get_TrxName()); }
/** Set Revaluation Expense Offs.
@param A_Reval_Depexp_Offset Revaluation Expense Offs */
public void setA_Reval_Depexp_Offset (int A_Reval_Depexp_Offset)
{
set_Value (COLUMNNAME_A_Reval_Depexp_Offset, Integer.valueOf(A_Reval_Depexp_Offset));
}
/** Get Revaluation Expense Offs.
@return Revaluation Expense Offs */
public int getA_Reval_Depexp_Offset ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Depexp_Offset);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Reval_Depexp_Offset_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
@ -936,50 +716,6 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_
return ii.intValue();
}
public org.compiere.model.I_A_Depreciation_Convention getConventionT() throws RuntimeException
{
return (org.compiere.model.I_A_Depreciation_Convention)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Convention.Table_Name)
.getPO(getConventionType(), get_TrxName()); }
/** Set ConventionType.
@param ConventionType ConventionType */
public void setConventionType (int ConventionType)
{
set_ValueNoCheck (COLUMNNAME_ConventionType, Integer.valueOf(ConventionType));
}
/** Get ConventionType.
@return ConventionType */
public int getConventionType ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_ConventionType);
if (ii == null)
return 0;
return ii.intValue();
}
public org.compiere.model.I_A_Depreciation getDepreciationT() throws RuntimeException
{
return (org.compiere.model.I_A_Depreciation)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation.Table_Name)
.getPO(getDepreciationType(), get_TrxName()); }
/** Set DepreciationType.
@param DepreciationType DepreciationType */
public void setDepreciationType (int DepreciationType)
{
set_ValueNoCheck (COLUMNNAME_DepreciationType, Integer.valueOf(DepreciationType));
}
/** Get DepreciationType.
@return DepreciationType */
public int getDepreciationType ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_DepreciationType);
if (ii == null)
return 0;
return ii.intValue();
}
/** PostingType AD_Reference_ID=125 */
public static final int POSTINGTYPE_AD_Reference_ID=125;
/** Actual = A */

View File

@ -1,399 +0,0 @@
/******************************************************************************
* Product: iDempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2012 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;
import org.compiere.util.KeyNamePair;
/** Generated Model for A_Asset_Spread
* @author iDempiere (generated)
* @version Release 7.1 - $Id$ */
public class X_A_Asset_Spread extends PO implements I_A_Asset_Spread, I_Persistent
{
/**
*
*/
private static final long serialVersionUID = 20200413L;
/** Standard Constructor */
public X_A_Asset_Spread (Properties ctx, int A_Asset_Spread_ID, String trxName)
{
super (ctx, A_Asset_Spread_ID, trxName);
/** if (A_Asset_Spread_ID == 0)
{
setA_Asset_Spread_ID (0);
setA_Period_1 (Env.ZERO);
setA_Period_10 (Env.ZERO);
setA_Period_11 (Env.ZERO);
setA_Period_12 (Env.ZERO);
setA_Period_13 (Env.ZERO);
setA_Period_14 (Env.ZERO);
setA_Period_2 (Env.ZERO);
setA_Period_3 (Env.ZERO);
setA_Period_4 (Env.ZERO);
setA_Period_5 (Env.ZERO);
setA_Period_6 (Env.ZERO);
setA_Period_7 (Env.ZERO);
setA_Period_8 (Env.ZERO);
setA_Period_9 (Env.ZERO);
} */
}
/** Load Constructor */
public X_A_Asset_Spread (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()
{
StringBuilder sb = new StringBuilder ("X_A_Asset_Spread[")
.append(get_ID()).append("]");
return sb.toString();
}
/** Set A_Asset_Spread_ID.
@param A_Asset_Spread_ID A_Asset_Spread_ID */
public void setA_Asset_Spread_ID (int A_Asset_Spread_ID)
{
if (A_Asset_Spread_ID < 1)
set_ValueNoCheck (COLUMNNAME_A_Asset_Spread_ID, null);
else
set_ValueNoCheck (COLUMNNAME_A_Asset_Spread_ID, Integer.valueOf(A_Asset_Spread_ID));
}
/** Get A_Asset_Spread_ID.
@return A_Asset_Spread_ID */
public int getA_Asset_Spread_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Spread_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_Spread_ID()));
}
/** Set Spread Type.
@param A_Asset_Spread_Type Spread Type */
public void setA_Asset_Spread_Type (String A_Asset_Spread_Type)
{
set_Value (COLUMNNAME_A_Asset_Spread_Type, A_Asset_Spread_Type);
}
/** Get Spread Type.
@return Spread Type */
public String getA_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.
@param A_Period_1 Period 1 */
public void setA_Period_1 (BigDecimal A_Period_1)
{
set_Value (COLUMNNAME_A_Period_1, A_Period_1);
}
/** Get Period 1.
@return Period 1 */
public BigDecimal getA_Period_1 ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Period_1);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Period 10.
@param A_Period_10 Period 10 */
public void setA_Period_10 (BigDecimal A_Period_10)
{
set_Value (COLUMNNAME_A_Period_10, A_Period_10);
}
/** Get Period 10.
@return Period 10 */
public BigDecimal getA_Period_10 ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Period_10);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Period 11.
@param A_Period_11 Period 11 */
public void setA_Period_11 (BigDecimal A_Period_11)
{
set_Value (COLUMNNAME_A_Period_11, A_Period_11);
}
/** Get Period 11.
@return Period 11 */
public BigDecimal getA_Period_11 ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Period_11);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Period 12.
@param A_Period_12 Period 12 */
public void setA_Period_12 (BigDecimal A_Period_12)
{
set_Value (COLUMNNAME_A_Period_12, A_Period_12);
}
/** Get Period 12.
@return Period 12 */
public BigDecimal getA_Period_12 ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Period_12);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Period 13.
@param A_Period_13 Period 13 */
public void setA_Period_13 (BigDecimal A_Period_13)
{
set_Value (COLUMNNAME_A_Period_13, A_Period_13);
}
/** Get Period 13.
@return Period 13 */
public BigDecimal getA_Period_13 ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Period_13);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Period 14.
@param A_Period_14 Period 14 */
public void setA_Period_14 (BigDecimal A_Period_14)
{
set_Value (COLUMNNAME_A_Period_14, A_Period_14);
}
/** Get Period 14.
@return Period 14 */
public BigDecimal getA_Period_14 ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Period_14);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Period 2.
@param A_Period_2 Period 2 */
public void setA_Period_2 (BigDecimal A_Period_2)
{
set_Value (COLUMNNAME_A_Period_2, A_Period_2);
}
/** Get Period 2.
@return Period 2 */
public BigDecimal getA_Period_2 ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Period_2);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Period 3.
@param A_Period_3 Period 3 */
public void setA_Period_3 (BigDecimal A_Period_3)
{
set_Value (COLUMNNAME_A_Period_3, A_Period_3);
}
/** Get Period 3.
@return Period 3 */
public BigDecimal getA_Period_3 ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Period_3);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Period 4.
@param A_Period_4 Period 4 */
public void setA_Period_4 (BigDecimal A_Period_4)
{
set_Value (COLUMNNAME_A_Period_4, A_Period_4);
}
/** Get Period 4.
@return Period 4 */
public BigDecimal getA_Period_4 ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Period_4);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Period 5.
@param A_Period_5 Period 5 */
public void setA_Period_5 (BigDecimal A_Period_5)
{
set_Value (COLUMNNAME_A_Period_5, A_Period_5);
}
/** Get Period 5.
@return Period 5 */
public BigDecimal getA_Period_5 ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Period_5);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Period 6.
@param A_Period_6 Period 6 */
public void setA_Period_6 (BigDecimal A_Period_6)
{
set_Value (COLUMNNAME_A_Period_6, A_Period_6);
}
/** Get Period 6.
@return Period 6 */
public BigDecimal getA_Period_6 ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Period_6);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Period 7.
@param A_Period_7 Period 7 */
public void setA_Period_7 (BigDecimal A_Period_7)
{
set_Value (COLUMNNAME_A_Period_7, A_Period_7);
}
/** Get Period 7.
@return Period 7 */
public BigDecimal getA_Period_7 ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Period_7);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Period 8.
@param A_Period_8 Period 8 */
public void setA_Period_8 (BigDecimal A_Period_8)
{
set_Value (COLUMNNAME_A_Period_8, A_Period_8);
}
/** Get Period 8.
@return Period 8 */
public BigDecimal getA_Period_8 ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Period_8);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Period 9.
@param A_Period_9 Period 9 */
public void setA_Period_9 (BigDecimal A_Period_9)
{
set_Value (COLUMNNAME_A_Period_9, A_Period_9);
}
/** Get Period 9.
@return Period 9 */
public BigDecimal getA_Period_9 ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_A_Period_9);
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);
}
}

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 = 20200413L;
private static final long serialVersionUID = 20200613L;
/** Standard Constructor */
public X_A_Asset_Transfer (Properties ctx, int A_Asset_Transfer_ID, String trxName)
@ -123,28 +123,6 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
return ii.intValue();
}
public I_C_ValidCombination getA_Accumdepreciation_Acct_() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Accumdepreciation_Acct_New(), get_TrxName()); }
/** Set New Accum Depreciation Acct.
@param A_Accumdepreciation_Acct_New New Accum Depreciation Acct */
public void setA_Accumdepreciation_Acct_New (int A_Accumdepreciation_Acct_New)
{
set_Value (COLUMNNAME_A_Accumdepreciation_Acct_New, Integer.valueOf(A_Accumdepreciation_Acct_New));
}
/** Get New Accum Depreciation Acct.
@return New Accum Depreciation Acct */
public int getA_Accumdepreciation_Acct_New ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Accumdepreciation_Acct_New);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Old Asset Cost Acct.
@param A_Accumdepreciation_Acct_Str Old Asset Cost Acct */
public void setA_Accumdepreciation_Acct_Str (String A_Accumdepreciation_Acct_Str)
@ -240,28 +218,6 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
return ii.intValue();
}
public I_C_ValidCombination getA_Asset_Acct_() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Asset_Acct_New(), get_TrxName()); }
/** Set New Asset Cost Acct.
@param A_Asset_Acct_New New Asset Cost Acct */
public void setA_Asset_Acct_New (int A_Asset_Acct_New)
{
set_Value (COLUMNNAME_A_Asset_Acct_New, Integer.valueOf(A_Asset_Acct_New));
}
/** Get New Asset Cost Acct.
@return New Asset Cost Acct */
public int getA_Asset_Acct_New ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Acct_New);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set A_Asset_Acct_Str.
@param A_Asset_Acct_Str A_Asset_Acct_Str */
public void setA_Asset_Acct_Str (String A_Asset_Acct_Str)
@ -411,28 +367,6 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
return ii.intValue();
}
public I_C_ValidCombination getA_Depreciation_Acct_() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Depreciation_Acct_New(), get_TrxName()); }
/** Set New Depreciation Exp Acct.
@param A_Depreciation_Acct_New New Depreciation Exp Acct */
public void setA_Depreciation_Acct_New (int A_Depreciation_Acct_New)
{
set_Value (COLUMNNAME_A_Depreciation_Acct_New, Integer.valueOf(A_Depreciation_Acct_New));
}
/** Get New Depreciation Exp Acct.
@return New Depreciation Exp Acct */
public int getA_Depreciation_Acct_New ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Acct_New);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set A_Depreciation_Acct_Str.
@param A_Depreciation_Acct_Str A_Depreciation_Acct_Str */
public void setA_Depreciation_Acct_Str (String A_Depreciation_Acct_Str)
@ -508,28 +442,6 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
return ii.intValue();
}
public I_C_ValidCombination getA_Disposal_Loss_() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Disposal_Loss_New(), get_TrxName()); }
/** Set New Disposal Loss.
@param A_Disposal_Loss_New New Disposal Loss */
public void setA_Disposal_Loss_New (int A_Disposal_Loss_New)
{
set_Value (COLUMNNAME_A_Disposal_Loss_New, Integer.valueOf(A_Disposal_Loss_New));
}
/** Get New Disposal Loss.
@return New Disposal Loss */
public int getA_Disposal_Loss_New ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Loss_New);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Disposal_Loss_New_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
@ -605,28 +517,6 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers
return ii.intValue();
}
public I_C_ValidCombination getA_Disposal_Revenue_() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Disposal_Revenue_New(), get_TrxName()); }
/** Set New Disposal Revenue.
@param A_Disposal_Revenue_New New Disposal Revenue */
public void setA_Disposal_Revenue_New (int A_Disposal_Revenue_New)
{
set_Value (COLUMNNAME_A_Disposal_Revenue_New, Integer.valueOf(A_Disposal_Revenue_New));
}
/** Get New Disposal Revenue.
@return New Disposal Revenue */
public int getA_Disposal_Revenue_New ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Revenue_New);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Disposal_Revenue_New_A() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)

View File

@ -33,7 +33,7 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
/**
*
*/
private static final long serialVersionUID = 20200413L;
private static final long serialVersionUID = 20200613L;
/** Standard Constructor */
public X_I_Asset (Properties ctx, int I_Asset_ID, String trxName)
@ -236,28 +236,6 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return ii.intValue();
}
public org.compiere.model.I_A_Asset_Spread getA_Asset_Spread_T() throws RuntimeException
{
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()); }
/** Set Spread Type.
@param A_Asset_Spread_Type 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));
}
/** Get Spread Type.
@return Spread Type */
public int getA_Asset_Spread_Type ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Asset_Spread_Type);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set A_Base_Amount.
@param A_Base_Amount A_Base_Amount */
public void setA_Base_Amount (BigDecimal A_Base_Amount)
@ -348,28 +326,6 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return ii.intValue();
}
public org.compiere.model.I_A_Depreciation_Method getA_Depreciation_Calc_T() 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_Calc_Type(), get_TrxName()); }
/** Set Calculation Type.
@param A_Depreciation_Calc_Type Calculation 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));
}
/** Get Calculation Type.
@return Calculation Type */
public int getA_Depreciation_Calc_Type ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Depreciation_Calc_Type);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set A_Depreciation_Manual_Amount.
@param A_Depreciation_Manual_Amount A_Depreciation_Manual_Amount */
public void setA_Depreciation_Manual_Amount (BigDecimal A_Depreciation_Manual_Amount)
@ -450,50 +406,6 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return bd;
}
public I_C_ValidCombination getA_Disposal_L() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Disposal_Loss(), get_TrxName()); }
/** Set Loss on Disposal.
@param A_Disposal_Loss Loss on Disposal */
public void setA_Disposal_Loss (int A_Disposal_Loss)
{
set_Value (COLUMNNAME_A_Disposal_Loss, Integer.valueOf(A_Disposal_Loss));
}
/** Get Loss on Disposal.
@return Loss on Disposal */
public int getA_Disposal_Loss ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Loss);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Disposal_Reve() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Disposal_Revenue(), get_TrxName()); }
/** Set Disposal Revenue.
@param A_Disposal_Revenue Disposal Revenue */
public void setA_Disposal_Revenue (int A_Disposal_Revenue)
{
set_Value (COLUMNNAME_A_Disposal_Revenue, Integer.valueOf(A_Disposal_Revenue));
}
/** Get Disposal Revenue.
@return Disposal Revenue */
public int getA_Disposal_Revenue ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Disposal_Revenue);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set User/Contact.
@param AD_User_ID
User within the system - Internal or Business Partner Contact
@ -656,50 +568,6 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return ii.intValue();
}
public I_C_ValidCombination getA_Reval_Accumdep_Offset_() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Reval_Accumdep_Offset_Cur(), get_TrxName()); }
/** Set Revaluation Accumulated Depreciation Offset for Current Year.
@param A_Reval_Accumdep_Offset_Cur Revaluation Accumulated Depreciation Offset for Current Year */
public void setA_Reval_Accumdep_Offset_Cur (int A_Reval_Accumdep_Offset_Cur)
{
set_Value (COLUMNNAME_A_Reval_Accumdep_Offset_Cur, Integer.valueOf(A_Reval_Accumdep_Offset_Cur));
}
/** Get Revaluation Accumulated Depreciation Offset for Current Year.
@return Revaluation Accumulated Depreciation Offset for Current Year */
public int getA_Reval_Accumdep_Offset_Cur ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Accumdep_Offset_Cur);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Reval_Accumdep_Offset_Pr() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Reval_Accumdep_Offset_Prior(), get_TrxName()); }
/** Set Revaluation Accumulated Depreciation Offset for Prior Year.
@param A_Reval_Accumdep_Offset_Prior Revaluation Accumulated Depreciation Offset for Prior Year */
public void setA_Reval_Accumdep_Offset_Prior (int A_Reval_Accumdep_Offset_Prior)
{
set_Value (COLUMNNAME_A_Reval_Accumdep_Offset_Prior, Integer.valueOf(A_Reval_Accumdep_Offset_Prior));
}
/** Get Revaluation Accumulated Depreciation Offset for Prior Year.
@return Revaluation Accumulated Depreciation Offset for Prior Year */
public int getA_Reval_Accumdep_Offset_Prior ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Accumdep_Offset_Prior);
if (ii == null)
return 0;
return ii.intValue();
}
/** A_Reval_Cal_Method AD_Reference_ID=53259 */
public static final int A_REVAL_CAL_METHOD_AD_Reference_ID=53259;
/** Default = DFT */
@ -723,72 +591,6 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return (String)get_Value(COLUMNNAME_A_Reval_Cal_Method);
}
public I_C_ValidCombination getA_Reval_Cost_Off() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Reval_Cost_Offset(), get_TrxName()); }
/** Set Revaluation Cost Offset for Current Year.
@param A_Reval_Cost_Offset Revaluation Cost Offset for Current Year */
public void setA_Reval_Cost_Offset (int A_Reval_Cost_Offset)
{
set_Value (COLUMNNAME_A_Reval_Cost_Offset, Integer.valueOf(A_Reval_Cost_Offset));
}
/** Get Revaluation Cost Offset for Current Year.
@return Revaluation Cost Offset for Current Year */
public int getA_Reval_Cost_Offset ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Cost_Offset);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Reval_Cost_Offset_Pr() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Reval_Cost_Offset_Prior(), get_TrxName()); }
/** Set 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)
{
set_Value (COLUMNNAME_A_Reval_Cost_Offset_Prior, Integer.valueOf(A_Reval_Cost_Offset_Prior));
}
/** Get Revaluation Cost Offset for Prior Year.
@return Revaluation Cost Offset for Prior Year */
public int getA_Reval_Cost_Offset_Prior ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Cost_Offset_Prior);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_ValidCombination getA_Reval_Depexp_Off() throws RuntimeException
{
return (I_C_ValidCombination)MTable.get(getCtx(), I_C_ValidCombination.Table_Name)
.getPO(getA_Reval_Depexp_Offset(), get_TrxName()); }
/** Set Revaluation Expense Offs.
@param A_Reval_Depexp_Offset Revaluation Expense Offs */
public void setA_Reval_Depexp_Offset (int A_Reval_Depexp_Offset)
{
set_Value (COLUMNNAME_A_Reval_Depexp_Offset, Integer.valueOf(A_Reval_Depexp_Offset));
}
/** Get Revaluation Expense Offs.
@return Revaluation Expense Offs */
public int getA_Reval_Depexp_Offset ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_A_Reval_Depexp_Offset);
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)
@ -1006,50 +808,6 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent
return ii.intValue();
}
public org.compiere.model.I_A_Depreciation_Convention getConventionT() throws RuntimeException
{
return (org.compiere.model.I_A_Depreciation_Convention)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation_Convention.Table_Name)
.getPO(getConventionType(), get_TrxName()); }
/** Set ConventionType.
@param ConventionType ConventionType */
public void setConventionType (int ConventionType)
{
set_Value (COLUMNNAME_ConventionType, Integer.valueOf(ConventionType));
}
/** Get ConventionType.
@return ConventionType */
public int getConventionType ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_ConventionType);
if (ii == null)
return 0;
return ii.intValue();
}
public org.compiere.model.I_A_Depreciation getDepreciationT() throws RuntimeException
{
return (org.compiere.model.I_A_Depreciation)MTable.get(getCtx(), org.compiere.model.I_A_Depreciation.Table_Name)
.getPO(getDepreciationType(), get_TrxName()); }
/** Set DepreciationType.
@param DepreciationType DepreciationType */
public void setDepreciationType (int DepreciationType)
{
set_Value (COLUMNNAME_DepreciationType, Integer.valueOf(DepreciationType));
}
/** Get DepreciationType.
@return DepreciationType */
public int getDepreciationType ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_DepreciationType);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Description.
@param Description
Optional short description of the record

View File

@ -633,6 +633,7 @@ public final class DisplayType
return getDatabase().getBlobDataType();
// ID, CreatedBy/UpdatedBy, Acct
else if (columnName.endsWith("_ID")
|| columnName.endsWith("_ID_To")
|| columnName.endsWith("tedBy")
|| columnName.endsWith("_Acct") )
return getDatabase().getNumericDataType()+"(10)";