Skip to content

Commit

Permalink
Add service source code from https://github.com/adempiere/org.eevolut…
Browse files Browse the repository at this point in the history
  • Loading branch information
yamelsenih committed Feb 21, 2025
1 parent ab760fa commit 028deb4
Show file tree
Hide file tree
Showing 2 changed files with 204 additions and 18 deletions.
81 changes: 74 additions & 7 deletions base/src/org/adempiere/core/domains/models/I_FM_Amortization.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright (C) 2006-2017 ADempiere Foundation, 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 *
* or (at your option) any later version. *
* or (at your option) any later version. *
* 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. *
Expand All @@ -12,19 +12,19 @@
* 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 *
* or via [email protected] *
* or https://github.com/adempiere/adempiere/blob/develop/license.html *
* or via [email protected] or http://www.adempiere.net/license.html *
*****************************************************************************/
package org.adempiere.core.domains.models;

import java.math.BigDecimal;
import java.sql.Timestamp;
import org.compiere.model.MTable;
import org.compiere.util.KeyNamePair;

import java.math.BigDecimal;
import java.sql.Timestamp;

/** Generated Interface for FM_Amortization
* @author Adempiere (generated)
* @version Release 3.9.4
* @version Release 3.9.3
*/
public interface I_FM_Amortization
{
Expand Down Expand Up @@ -89,6 +89,73 @@ public interface I_FM_Amortization
*/
public int getCreatedBy();

/** Column name CurrentCapitalAmt */
public static final String COLUMNNAME_CurrentCapitalAmt = "CurrentCapitalAmt";

/** Set Current Capital Amount */
public void setCurrentCapitalAmt (BigDecimal CurrentCapitalAmt);

/** Get Current Capital Amount */
public BigDecimal getCurrentCapitalAmt();

/** Column name CurrentDueDate */
public static final String COLUMNNAME_CurrentDueDate = "CurrentDueDate";

/** Set Current Due Date.
* Date when the payment is due
*/
public void setCurrentDueDate (Timestamp CurrentDueDate);

/** Get Current Due Date.
* Date when the payment is due
*/
public Timestamp getCurrentDueDate();

/** Column name CurrentDunningAmt */
public static final String COLUMNNAME_CurrentDunningAmt = "CurrentDunningAmt";

/** Set Current Dunning Amount */
public void setCurrentDunningAmt (BigDecimal CurrentDunningAmt);

/** Get Current Dunning Amount */
public BigDecimal getCurrentDunningAmt();

/** Column name CurrentDunningTaxAmt */
public static final String COLUMNNAME_CurrentDunningTaxAmt = "CurrentDunningTaxAmt";

/** Set Current Dunning Tax Amount */
public void setCurrentDunningTaxAmt (BigDecimal CurrentDunningTaxAmt);

/** Get Current Dunning Tax Amount */
public BigDecimal getCurrentDunningTaxAmt();

/** Column name CurrentFeeAmt */
public static final String COLUMNNAME_CurrentFeeAmt = "CurrentFeeAmt";

/** Set Current Fee Amount */
public void setCurrentFeeAmt (BigDecimal CurrentFeeAmt);

/** Get Current Fee Amount */
public BigDecimal getCurrentFeeAmt();

/** Column name CurrentInterestAmt */
public static final String COLUMNNAME_CurrentInterestAmt = "CurrentInterestAmt";

/** Set Current Interest Amount */
public void setCurrentInterestAmt (BigDecimal CurrentInterestAmt);

/** Get Current Interest Amount */
public BigDecimal getCurrentInterestAmt();

/** Column name CurrentTaxAmt */
public static final String COLUMNNAME_CurrentTaxAmt = "CurrentTaxAmt";

/** Set Current Tax Amount */
public void setCurrentTaxAmt (BigDecimal CurrentTaxAmt);

/** Get Current Tax Amount */
public BigDecimal getCurrentTaxAmt();

/** Column name Description */
public static final String COLUMNNAME_Description = "Description";

Expand Down Expand Up @@ -137,7 +204,7 @@ public interface I_FM_Amortization
/** Get Financial Account */
public int getFM_Account_ID();

public org.adempiere.core.domains.models.I_FM_Account getFM_Account() throws RuntimeException;
public I_FM_Account getFM_Account() throws RuntimeException;

/** Column name FM_Amortization_ID */
public static final String COLUMNNAME_FM_Amortization_ID = "FM_Amortization_ID";
Expand Down
141 changes: 130 additions & 11 deletions base/src/org/adempiere/core/domains/models/X_FM_Amortization.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright (C) 2006-2017 ADempiere Foundation, 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 *
* or (at your option) any later version. *
* or (at your option) any later version. *
* 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. *
Expand All @@ -12,33 +12,33 @@
* 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 *
* or via [email protected] *
* or https://github.com/adempiere/adempiere/blob/develop/license.html *
* or via [email protected] or http://www.adempiere.net/license.html *
*****************************************************************************/
/** Generated Model - DO NOT CHANGE */
package org.adempiere.core.domains.models;

import java.math.BigDecimal;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Properties;
import org.compiere.model.I_Persistent;
import org.compiere.model.MTable;
import org.compiere.model.PO;
import org.compiere.model.POInfo;
import org.compiere.util.Env;
import org.compiere.util.KeyNamePair;

import java.math.BigDecimal;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Properties;

/** Generated Model for FM_Amortization
* @author Adempiere (generated)
* @version Release 3.9.4 - $Id$ */
* @version Release 3.9.3 - $Id$ */
public class X_FM_Amortization extends PO implements I_FM_Amortization, I_Persistent
{

/**
*
*/
private static final long serialVersionUID = 20230102L;
private static final long serialVersionUID = 20200826L;

/** Standard Constructor */
public X_FM_Amortization (Properties ctx, int FM_Amortization_ID, String trxName)
Expand Down Expand Up @@ -100,6 +100,125 @@ public BigDecimal getCapitalAmt ()
return bd;
}

/** Set Current Capital Amount.
@param CurrentCapitalAmt Current Capital Amount */
public void setCurrentCapitalAmt (BigDecimal CurrentCapitalAmt)
{
set_Value (COLUMNNAME_CurrentCapitalAmt, CurrentCapitalAmt);
}

/** Get Current Capital Amount.
@return Current Capital Amount */
public BigDecimal getCurrentCapitalAmt ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CurrentCapitalAmt);
if (bd == null)
return Env.ZERO;
return bd;
}

/** Set Current Due Date.
@param CurrentDueDate
Date when the payment is due
*/
public void setCurrentDueDate (Timestamp CurrentDueDate)
{
set_Value (COLUMNNAME_CurrentDueDate, CurrentDueDate);
}

/** Get Current Due Date.
@return Date when the payment is due
*/
public Timestamp getCurrentDueDate ()
{
return (Timestamp)get_Value(COLUMNNAME_CurrentDueDate);
}

/** Set Current Dunning Amount.
@param CurrentDunningAmt Current Dunning Amount */
public void setCurrentDunningAmt (BigDecimal CurrentDunningAmt)
{
set_Value (COLUMNNAME_CurrentDunningAmt, CurrentDunningAmt);
}

/** Get Current Dunning Amount.
@return Current Dunning Amount */
public BigDecimal getCurrentDunningAmt ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CurrentDunningAmt);
if (bd == null)
return Env.ZERO;
return bd;
}

/** Set Current Dunning Tax Amount.
@param CurrentDunningTaxAmt Current Dunning Tax Amount */
public void setCurrentDunningTaxAmt (BigDecimal CurrentDunningTaxAmt)
{
set_Value (COLUMNNAME_CurrentDunningTaxAmt, CurrentDunningTaxAmt);
}

/** Get Current Dunning Tax Amount.
@return Current Dunning Tax Amount */
public BigDecimal getCurrentDunningTaxAmt ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CurrentDunningTaxAmt);
if (bd == null)
return Env.ZERO;
return bd;
}

/** Set Current Fee Amount.
@param CurrentFeeAmt Current Fee Amount */
public void setCurrentFeeAmt (BigDecimal CurrentFeeAmt)
{
set_Value (COLUMNNAME_CurrentFeeAmt, CurrentFeeAmt);
}

/** Get Current Fee Amount.
@return Current Fee Amount */
public BigDecimal getCurrentFeeAmt ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CurrentFeeAmt);
if (bd == null)
return Env.ZERO;
return bd;
}

/** Set Current Interest Amount.
@param CurrentInterestAmt Current Interest Amount */
public void setCurrentInterestAmt (BigDecimal CurrentInterestAmt)
{
set_Value (COLUMNNAME_CurrentInterestAmt, CurrentInterestAmt);
}

/** Get Current Interest Amount.
@return Current Interest Amount */
public BigDecimal getCurrentInterestAmt ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CurrentInterestAmt);
if (bd == null)
return Env.ZERO;
return bd;
}

/** Set Current Tax Amount.
@param CurrentTaxAmt Current Tax Amount */
public void setCurrentTaxAmt (BigDecimal CurrentTaxAmt)
{
set_Value (COLUMNNAME_CurrentTaxAmt, CurrentTaxAmt);
}

/** Get Current Tax Amount.
@return Current Tax Amount */
public BigDecimal getCurrentTaxAmt ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CurrentTaxAmt);
if (bd == null)
return Env.ZERO;
return bd;
}

/** Set Description.
@param Description
Optional short description of the record
Expand Down Expand Up @@ -151,9 +270,9 @@ public Timestamp getEndDate ()
return (Timestamp)get_Value(COLUMNNAME_EndDate);
}

public org.adempiere.core.domains.models.I_FM_Account getFM_Account() throws RuntimeException
public I_FM_Account getFM_Account() throws RuntimeException
{
return (org.adempiere.core.domains.models.I_FM_Account)MTable.get(getCtx(), org.adempiere.core.domains.models.I_FM_Account.Table_Name)
return (I_FM_Account)MTable.get(getCtx(), I_FM_Account.Table_Name)
.getPO(getFM_Account_ID(), get_TrxName()); }

/** Set Financial Account.
Expand Down

0 comments on commit 028deb4

Please sign in to comment.