Payment Selection for Payroll integrate with the AD Core

https://sourceforge.net/tracker/?func=detail&atid=934929&aid=3015702&group_id=176962

kind regards
Victor Perez
www.e-evolution.com
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=3015702
This commit is contained in:
vpj-cd 2010-06-14 04:32:25 +00:00
parent e42a4136b2
commit 2c7cfc8b3e
8 changed files with 8153 additions and 0 deletions

View File

@ -0,0 +1,238 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
package org.eevolution.model;
import java.math.BigDecimal;
import java.sql.Timestamp;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
/** Generated Interface for HR_PaySelection
* @author Adempiere (generated)
* @version Release 3.5.4a
*/
public interface I_HR_PaySelection
{
/** TableName=HR_PaySelection */
public static final String Table_Name = "HR_PaySelection";
/** AD_Table_ID=53248 */
public static final int Table_ID = MTable.getTable_ID(Table_Name);
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
/** AccessLevel = 3 - Client - Org
*/
BigDecimal accessLevel = BigDecimal.valueOf(3);
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
/** Set Organization.
* Organizational entity within client
*/
public void setAD_Org_ID (int AD_Org_ID);
/** Get Organization.
* Organizational entity within client
*/
public int getAD_Org_ID();
/** Column name C_BankAccount_ID */
public static final String COLUMNNAME_C_BankAccount_ID = "C_BankAccount_ID";
/** Set Bank Account.
* Account at the Bank
*/
public void setC_BankAccount_ID (int C_BankAccount_ID);
/** Get Bank Account.
* Account at the Bank
*/
public int getC_BankAccount_ID();
public I_C_BankAccount getC_BankAccount() throws RuntimeException;
/** Column name CreateFrom */
public static final String COLUMNNAME_CreateFrom = "CreateFrom";
/** Set Create lines from.
* Process which will generate a new document lines based on an existing document
*/
public void setCreateFrom (String CreateFrom);
/** Get Create lines from.
* Process which will generate a new document lines based on an existing document
*/
public String getCreateFrom();
/** 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 HR_PaySelection_ID */
public static final String COLUMNNAME_HR_PaySelection_ID = "HR_PaySelection_ID";
/** Set Payroll Payment Selection ID.
* Payroll Payment Selection
*/
public void setHR_PaySelection_ID (int HR_PaySelection_ID);
/** Get Payroll Payment Selection ID.
* Payroll Payment Selection
*/
public int getHR_PaySelection_ID();
/** 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 IsApproved */
public static final String COLUMNNAME_IsApproved = "IsApproved";
/** Set Approved.
* Indicates if this document requires approval
*/
public void setIsApproved (boolean IsApproved);
/** Get Approved.
* Indicates if this document requires approval
*/
public boolean isApproved();
/** Column name Name */
public static final String COLUMNNAME_Name = "Name";
/** Set Name.
* Alphanumeric identifier of the entity
*/
public void setName (String Name);
/** Get Name.
* Alphanumeric identifier of the entity
*/
public String getName();
/** Column name PayDate */
public static final String COLUMNNAME_PayDate = "PayDate";
/** Set Payment date.
* Date Payment made
*/
public void setPayDate (Timestamp PayDate);
/** Get Payment date.
* Date Payment made
*/
public Timestamp getPayDate();
/** Column name Processed */
public static final String COLUMNNAME_Processed = "Processed";
/** Set Processed.
* The document has been processed
*/
public void setProcessed (boolean Processed);
/** Get Processed.
* The document has been processed
*/
public boolean isProcessed();
/** Column name Processing */
public static final String COLUMNNAME_Processing = "Processing";
/** Set Process Now */
public void setProcessing (boolean Processing);
/** Get Process Now */
public boolean isProcessing();
/** Column name TotalAmt */
public static final String COLUMNNAME_TotalAmt = "TotalAmt";
/** Set Total Amount.
* Total Amount
*/
public void setTotalAmt (BigDecimal TotalAmt);
/** Get Total Amount.
* Total Amount
*/
public BigDecimal getTotalAmt();
/** 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

@ -0,0 +1,296 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
package org.eevolution.model;
import java.math.BigDecimal;
import java.sql.Timestamp;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
/** Generated Interface for HR_PaySelectionCheck
* @author Adempiere (generated)
* @version Release 3.5.4a
*/
public interface I_HR_PaySelectionCheck
{
/** TableName=HR_PaySelectionCheck */
public static final String Table_Name = "HR_PaySelectionCheck";
/** AD_Table_ID=53250 */
public static final int Table_ID = MTable.getTable_ID(Table_Name);
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
/** AccessLevel = 3 - Client - Org
*/
BigDecimal accessLevel = BigDecimal.valueOf(3);
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
/** Set Organization.
* Organizational entity within client
*/
public void setAD_Org_ID (int AD_Org_ID);
/** Get Organization.
* Organizational entity within client
*/
public int getAD_Org_ID();
/** Column name C_BP_BankAccount_ID */
public static final String COLUMNNAME_C_BP_BankAccount_ID = "C_BP_BankAccount_ID";
/** Set Partner Bank Account.
* Bank Account of the Business Partner
*/
public void setC_BP_BankAccount_ID (int C_BP_BankAccount_ID);
/** Get Partner Bank Account.
* Bank Account of the Business Partner
*/
public int getC_BP_BankAccount_ID();
public I_C_BP_BankAccount getC_BP_BankAccount() throws RuntimeException;
/** Column name C_BPartner_ID */
public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID";
/** Set Business Partner .
* Identifies a Business Partner
*/
public void setC_BPartner_ID (int C_BPartner_ID);
/** Get Business Partner .
* Identifies a Business Partner
*/
public int getC_BPartner_ID();
public I_C_BPartner getC_BPartner() throws RuntimeException;
/** Column name C_Payment_ID */
public static final String COLUMNNAME_C_Payment_ID = "C_Payment_ID";
/** Set Payment.
* Payment identifier
*/
public void setC_Payment_ID (int C_Payment_ID);
/** Get Payment.
* Payment identifier
*/
public int getC_Payment_ID();
public I_C_Payment getC_Payment() throws RuntimeException;
/** 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 DiscountAmt */
public static final String COLUMNNAME_DiscountAmt = "DiscountAmt";
/** Set Discount Amount.
* Calculated amount of discount
*/
public void setDiscountAmt (BigDecimal DiscountAmt);
/** Get Discount Amount.
* Calculated amount of discount
*/
public BigDecimal getDiscountAmt();
/** Column name DocumentNo */
public static final String COLUMNNAME_DocumentNo = "DocumentNo";
/** Set Document No.
* Document sequence number of the document
*/
public void setDocumentNo (String DocumentNo);
/** Get Document No.
* Document sequence number of the document
*/
public String getDocumentNo();
/** Column name HR_PaySelectionCheck_ID */
public static final String COLUMNNAME_HR_PaySelectionCheck_ID = "HR_PaySelectionCheck_ID";
/** Set Payroll Pay Selection Check ID.
* Payroll Payment Selection Check
*/
public void setHR_PaySelectionCheck_ID (int HR_PaySelectionCheck_ID);
/** Get Payroll Pay Selection Check ID.
* Payroll Payment Selection Check
*/
public int getHR_PaySelectionCheck_ID();
/** Column name HR_PaySelection_ID */
public static final String COLUMNNAME_HR_PaySelection_ID = "HR_PaySelection_ID";
/** Set Payroll Payment Selection ID.
* Payroll Payment Selection
*/
public void setHR_PaySelection_ID (int HR_PaySelection_ID);
/** Get Payroll Payment Selection ID.
* Payroll Payment Selection
*/
public int getHR_PaySelection_ID();
public org.eevolution.model.I_HR_PaySelection getHR_PaySelection() throws RuntimeException;
/** 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 IsGeneratedDraft */
public static final String COLUMNNAME_IsGeneratedDraft = "IsGeneratedDraft";
/** Set Generated Draft */
public void setIsGeneratedDraft (boolean IsGeneratedDraft);
/** Get Generated Draft */
public boolean isGeneratedDraft();
/** Column name IsPrinted */
public static final String COLUMNNAME_IsPrinted = "IsPrinted";
/** Set Printed.
* Indicates if this document / line is printed
*/
public void setIsPrinted (boolean IsPrinted);
/** Get Printed.
* Indicates if this document / line is printed
*/
public boolean isPrinted();
/** Column name IsReceipt */
public static final String COLUMNNAME_IsReceipt = "IsReceipt";
/** Set Receipt.
* This is a sales transaction (receipt)
*/
public void setIsReceipt (boolean IsReceipt);
/** Get Receipt.
* This is a sales transaction (receipt)
*/
public boolean isReceipt();
/** Column name PayAmt */
public static final String COLUMNNAME_PayAmt = "PayAmt";
/** Set Payment amount.
* Amount being paid
*/
public void setPayAmt (BigDecimal PayAmt);
/** Get Payment amount.
* Amount being paid
*/
public BigDecimal getPayAmt();
/** Column name PaymentRule */
public static final String COLUMNNAME_PaymentRule = "PaymentRule";
/** Set Payment Rule.
* How you pay the invoice
*/
public void setPaymentRule (String PaymentRule);
/** Get Payment Rule.
* How you pay the invoice
*/
public String getPaymentRule();
/** Column name Processed */
public static final String COLUMNNAME_Processed = "Processed";
/** Set Processed.
* The document has been processed
*/
public void setProcessed (boolean Processed);
/** Get Processed.
* The document has been processed
*/
public boolean isProcessed();
/** Column name Qty */
public static final String COLUMNNAME_Qty = "Qty";
/** Set Quantity.
* Quantity
*/
public void setQty (int Qty);
/** Get Quantity.
* Quantity
*/
public int getQty();
/** 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

@ -0,0 +1,294 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
package org.eevolution.model;
import java.math.BigDecimal;
import java.sql.Timestamp;
import org.compiere.model.*;
import org.compiere.util.KeyNamePair;
/** Generated Interface for HR_PaySelectionLine
* @author Adempiere (generated)
* @version Release 3.5.4a
*/
public interface I_HR_PaySelectionLine
{
/** TableName=HR_PaySelectionLine */
public static final String Table_Name = "HR_PaySelectionLine";
/** AD_Table_ID=53249 */
public static final int Table_ID = MTable.getTable_ID(Table_Name);
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
/** AccessLevel = 3 - Client - Org
*/
BigDecimal accessLevel = BigDecimal.valueOf(3);
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
/** Set Organization.
* Organizational entity within client
*/
public void setAD_Org_ID (int AD_Org_ID);
/** Get Organization.
* Organizational entity within client
*/
public int getAD_Org_ID();
/** Column name 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 DifferenceAmt */
public static final String COLUMNNAME_DifferenceAmt = "DifferenceAmt";
/** Set Difference.
* Difference Amount
*/
public void setDifferenceAmt (BigDecimal DifferenceAmt);
/** Get Difference.
* Difference Amount
*/
public BigDecimal getDifferenceAmt();
/** Column name DiscountAmt */
public static final String COLUMNNAME_DiscountAmt = "DiscountAmt";
/** Set Discount Amount.
* Calculated amount of discount
*/
public void setDiscountAmt (BigDecimal DiscountAmt);
/** Get Discount Amount.
* Calculated amount of discount
*/
public BigDecimal getDiscountAmt();
/** Column name HR_Movement_ID */
public static final String COLUMNNAME_HR_Movement_ID = "HR_Movement_ID";
/** Set Payroll Movement */
public void setHR_Movement_ID (int HR_Movement_ID);
/** Get Payroll Movement */
public int getHR_Movement_ID();
public org.eevolution.model.I_HR_Movement getHR_Movement() throws RuntimeException;
/** Column name HR_PaySelectionCheck_ID */
public static final String COLUMNNAME_HR_PaySelectionCheck_ID = "HR_PaySelectionCheck_ID";
/** Set Payroll Pay Selection Check ID.
* Payroll Payment Selection Check
*/
public void setHR_PaySelectionCheck_ID (int HR_PaySelectionCheck_ID);
/** Get Payroll Pay Selection Check ID.
* Payroll Payment Selection Check
*/
public int getHR_PaySelectionCheck_ID();
public org.eevolution.model.I_HR_PaySelectionCheck getHR_PaySelectionCheck() throws RuntimeException;
/** Column name HR_PaySelectionLine_ID */
public static final String COLUMNNAME_HR_PaySelectionLine_ID = "HR_PaySelectionLine_ID";
/** Set Payroll Payment Selection Line ID.
* Payroll Payment Selection Line
*/
public void setHR_PaySelectionLine_ID (int HR_PaySelectionLine_ID);
/** Get Payroll Payment Selection Line ID.
* Payroll Payment Selection Line
*/
public int getHR_PaySelectionLine_ID();
/** Column name HR_PaySelection_ID */
public static final String COLUMNNAME_HR_PaySelection_ID = "HR_PaySelection_ID";
/** Set Payroll Payment Selection ID.
* Payroll Payment Selection
*/
public void setHR_PaySelection_ID (int HR_PaySelection_ID);
/** Get Payroll Payment Selection ID.
* Payroll Payment Selection
*/
public int getHR_PaySelection_ID();
public org.eevolution.model.I_HR_PaySelection getHR_PaySelection() throws RuntimeException;
/** 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 IsManual */
public static final String COLUMNNAME_IsManual = "IsManual";
/** Set Manual.
* This is a manual process
*/
public void setIsManual (boolean IsManual);
/** Get Manual.
* This is a manual process
*/
public boolean isManual();
/** Column name IsSOTrx */
public static final String COLUMNNAME_IsSOTrx = "IsSOTrx";
/** Set Sales Transaction.
* This is a Sales Transaction
*/
public void setIsSOTrx (boolean IsSOTrx);
/** Get Sales Transaction.
* This is a Sales Transaction
*/
public boolean isSOTrx();
/** Column name Line */
public static final String COLUMNNAME_Line = "Line";
/** Set Line No.
* Unique line for this document
*/
public void setLine (int Line);
/** Get Line No.
* Unique line for this document
*/
public int getLine();
/** Column name OpenAmt */
public static final String COLUMNNAME_OpenAmt = "OpenAmt";
/** Set Open Amount.
* Open item amount
*/
public void setOpenAmt (BigDecimal OpenAmt);
/** Get Open Amount.
* Open item amount
*/
public BigDecimal getOpenAmt();
/** Column name PayAmt */
public static final String COLUMNNAME_PayAmt = "PayAmt";
/** Set Payment amount.
* Amount being paid
*/
public void setPayAmt (BigDecimal PayAmt);
/** Get Payment amount.
* Amount being paid
*/
public BigDecimal getPayAmt();
/** Column name PaymentRule */
public static final String COLUMNNAME_PaymentRule = "PaymentRule";
/** Set Payment Rule.
* How you pay the invoice
*/
public void setPaymentRule (String PaymentRule);
/** Get Payment Rule.
* How you pay the invoice
*/
public String getPaymentRule();
/** Column name Processed */
public static final String COLUMNNAME_Processed = "Processed";
/** Set Processed.
* The document has been processed
*/
public void setProcessed (boolean Processed);
/** Get Processed.
* The document has been processed
*/
public boolean isProcessed();
/** Column name 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

@ -0,0 +1,301 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.math.BigDecimal;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Properties;
import org.compiere.model.*;
import org.compiere.util.Env;
import org.compiere.util.KeyNamePair;
/** Generated Model for HR_PaySelection
* @author Adempiere (generated)
* @version Release 3.5.4a - $Id$ */
public class X_HR_PaySelection extends PO implements I_HR_PaySelection, I_Persistent
{
/**
*
*/
private static final long serialVersionUID = 20091211L;
/** Standard Constructor */
public X_HR_PaySelection (Properties ctx, int HR_PaySelection_ID, String trxName)
{
super (ctx, HR_PaySelection_ID, trxName);
/** if (HR_PaySelection_ID == 0)
{
setC_BankAccount_ID (0);
setHR_PaySelection_ID (0);
setIsApproved (false);
setName (null);
// @#Date@
setPayDate (new Timestamp( System.currentTimeMillis() ));
// @#Date@
setProcessed (false);
setProcessing (false);
setTotalAmt (Env.ZERO);
} */
}
/** Load Constructor */
public X_HR_PaySelection (Properties ctx, ResultSet rs, String trxName)
{
super (ctx, rs, trxName);
}
/** AccessLevel
* @return 3 - Client - Org
*/
protected int get_AccessLevel()
{
return accessLevel.intValue();
}
/** Load Meta Data */
protected POInfo initPO (Properties ctx)
{
POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName());
return poi;
}
public String toString()
{
StringBuffer sb = new StringBuffer ("X_HR_PaySelection[")
.append(get_ID()).append("]");
return sb.toString();
}
public I_C_BankAccount getC_BankAccount() throws RuntimeException
{
return (I_C_BankAccount)MTable.get(getCtx(), I_C_BankAccount.Table_Name)
.getPO(getC_BankAccount_ID(), get_TrxName()); }
/** Set Bank Account.
@param C_BankAccount_ID
Account at the Bank
*/
public void setC_BankAccount_ID (int C_BankAccount_ID)
{
if (C_BankAccount_ID < 1)
set_Value (COLUMNNAME_C_BankAccount_ID, null);
else
set_Value (COLUMNNAME_C_BankAccount_ID, Integer.valueOf(C_BankAccount_ID));
}
/** Get Bank Account.
@return Account at the Bank
*/
public int getC_BankAccount_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_BankAccount_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Create lines from.
@param CreateFrom
Process which will generate a new document lines based on an existing document
*/
public void setCreateFrom (String CreateFrom)
{
set_Value (COLUMNNAME_CreateFrom, CreateFrom);
}
/** Get Create lines from.
@return Process which will generate a new document lines based on an existing document
*/
public String getCreateFrom ()
{
return (String)get_Value(COLUMNNAME_CreateFrom);
}
/** Set Description.
@param Description
Optional short description of the record
*/
public void setDescription (String Description)
{
set_Value (COLUMNNAME_Description, Description);
}
/** Get Description.
@return Optional short description of the record
*/
public String getDescription ()
{
return (String)get_Value(COLUMNNAME_Description);
}
/** Set Payroll Payment Selection ID.
@param HR_PaySelection_ID
Payroll Payment Selection
*/
public void setHR_PaySelection_ID (int HR_PaySelection_ID)
{
if (HR_PaySelection_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_PaySelection_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_PaySelection_ID, Integer.valueOf(HR_PaySelection_ID));
}
/** Get Payroll Payment Selection ID.
@return Payroll Payment Selection
*/
public int getHR_PaySelection_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_HR_PaySelection_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Approved.
@param IsApproved
Indicates if this document requires approval
*/
public void setIsApproved (boolean IsApproved)
{
set_Value (COLUMNNAME_IsApproved, Boolean.valueOf(IsApproved));
}
/** Get Approved.
@return Indicates if this document requires approval
*/
public boolean isApproved ()
{
Object oo = get_Value(COLUMNNAME_IsApproved);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Name.
@param Name
Alphanumeric identifier of the entity
*/
public void setName (String Name)
{
set_Value (COLUMNNAME_Name, Name);
}
/** Get Name.
@return Alphanumeric identifier of the entity
*/
public String getName ()
{
return (String)get_Value(COLUMNNAME_Name);
}
/** Get Record ID/ColumnName
@return ID/ColumnName pair
*/
public KeyNamePair getKeyNamePair()
{
return new KeyNamePair(get_ID(), getName());
}
/** Set Payment date.
@param PayDate
Date Payment made
*/
public void setPayDate (Timestamp PayDate)
{
set_Value (COLUMNNAME_PayDate, PayDate);
}
/** Get Payment date.
@return Date Payment made
*/
public Timestamp getPayDate ()
{
return (Timestamp)get_Value(COLUMNNAME_PayDate);
}
/** Set Processed.
@param Processed
The document has been processed
*/
public void setProcessed (boolean Processed)
{
set_Value (COLUMNNAME_Processed, Boolean.valueOf(Processed));
}
/** Get Processed.
@return The document has been processed
*/
public boolean isProcessed ()
{
Object oo = get_Value(COLUMNNAME_Processed);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Process Now.
@param Processing Process Now */
public void setProcessing (boolean Processing)
{
set_Value (COLUMNNAME_Processing, Boolean.valueOf(Processing));
}
/** Get Process Now.
@return Process Now */
public boolean isProcessing ()
{
Object oo = get_Value(COLUMNNAME_Processing);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Total Amount.
@param TotalAmt
Total Amount
*/
public void setTotalAmt (BigDecimal TotalAmt)
{
set_Value (COLUMNNAME_TotalAmt, TotalAmt);
}
/** Get Total Amount.
@return Total Amount
*/
public BigDecimal getTotalAmt ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_TotalAmt);
if (bd == null)
return Env.ZERO;
return bd;
}
}

View File

@ -0,0 +1,434 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.math.BigDecimal;
import java.sql.ResultSet;
import java.util.Properties;
import org.compiere.model.*;
import org.compiere.util.Env;
import org.compiere.util.KeyNamePair;
/** Generated Model for HR_PaySelectionCheck
* @author Adempiere (generated)
* @version Release 3.5.4a - $Id$ */
public class X_HR_PaySelectionCheck extends PO implements I_HR_PaySelectionCheck, I_Persistent
{
/**
*
*/
private static final long serialVersionUID = 20091211L;
/** Standard Constructor */
public X_HR_PaySelectionCheck (Properties ctx, int HR_PaySelectionCheck_ID, String trxName)
{
super (ctx, HR_PaySelectionCheck_ID, trxName);
/** if (HR_PaySelectionCheck_ID == 0)
{
setC_BPartner_ID (0);
setDiscountAmt (Env.ZERO);
setHR_PaySelectionCheck_ID (0);
setHR_PaySelection_ID (0);
setIsGeneratedDraft (false);
// N
setIsPrinted (false);
setIsReceipt (false);
setPayAmt (Env.ZERO);
setPaymentRule (null);
setProcessed (false);
// N
setQty (0);
} */
}
/** Load Constructor */
public X_HR_PaySelectionCheck (Properties ctx, ResultSet rs, String trxName)
{
super (ctx, rs, trxName);
}
/** AccessLevel
* @return 3 - Client - Org
*/
protected int get_AccessLevel()
{
return accessLevel.intValue();
}
/** Load Meta Data */
protected POInfo initPO (Properties ctx)
{
POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName());
return poi;
}
public String toString()
{
StringBuffer sb = new StringBuffer ("X_HR_PaySelectionCheck[")
.append(get_ID()).append("]");
return sb.toString();
}
public I_C_BP_BankAccount getC_BP_BankAccount() throws RuntimeException
{
return (I_C_BP_BankAccount)MTable.get(getCtx(), I_C_BP_BankAccount.Table_Name)
.getPO(getC_BP_BankAccount_ID(), get_TrxName()); }
/** Set Partner Bank Account.
@param C_BP_BankAccount_ID
Bank Account of the Business Partner
*/
public void setC_BP_BankAccount_ID (int C_BP_BankAccount_ID)
{
if (C_BP_BankAccount_ID < 1)
set_Value (COLUMNNAME_C_BP_BankAccount_ID, null);
else
set_Value (COLUMNNAME_C_BP_BankAccount_ID, Integer.valueOf(C_BP_BankAccount_ID));
}
/** Get Partner Bank Account.
@return Bank Account of the Business Partner
*/
public int getC_BP_BankAccount_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_BP_BankAccount_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_BPartner getC_BPartner() throws RuntimeException
{
return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name)
.getPO(getC_BPartner_ID(), get_TrxName()); }
/** Set Business Partner .
@param C_BPartner_ID
Identifies a Business Partner
*/
public void setC_BPartner_ID (int C_BPartner_ID)
{
if (C_BPartner_ID < 1)
set_Value (COLUMNNAME_C_BPartner_ID, null);
else
set_Value (COLUMNNAME_C_BPartner_ID, Integer.valueOf(C_BPartner_ID));
}
/** Get Business Partner .
@return Identifies a Business Partner
*/
public int getC_BPartner_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartner_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_C_Payment getC_Payment() throws RuntimeException
{
return (I_C_Payment)MTable.get(getCtx(), I_C_Payment.Table_Name)
.getPO(getC_Payment_ID(), get_TrxName()); }
/** Set Payment.
@param C_Payment_ID
Payment identifier
*/
public void setC_Payment_ID (int C_Payment_ID)
{
if (C_Payment_ID < 1)
set_Value (COLUMNNAME_C_Payment_ID, null);
else
set_Value (COLUMNNAME_C_Payment_ID, Integer.valueOf(C_Payment_ID));
}
/** Get Payment.
@return Payment identifier
*/
public int getC_Payment_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_Payment_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Discount Amount.
@param DiscountAmt
Calculated amount of discount
*/
public void setDiscountAmt (BigDecimal DiscountAmt)
{
set_Value (COLUMNNAME_DiscountAmt, DiscountAmt);
}
/** Get Discount Amount.
@return Calculated amount of discount
*/
public BigDecimal getDiscountAmt ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_DiscountAmt);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Document No.
@param DocumentNo
Document sequence number of the document
*/
public void setDocumentNo (String DocumentNo)
{
set_Value (COLUMNNAME_DocumentNo, DocumentNo);
}
/** Get Document No.
@return Document sequence number of the document
*/
public String getDocumentNo ()
{
return (String)get_Value(COLUMNNAME_DocumentNo);
}
/** Get Record ID/ColumnName
@return ID/ColumnName pair
*/
public KeyNamePair getKeyNamePair()
{
return new KeyNamePair(get_ID(), getDocumentNo());
}
/** Set Payroll Pay Selection Check ID.
@param HR_PaySelectionCheck_ID
Payroll Payment Selection Check
*/
public void setHR_PaySelectionCheck_ID (int HR_PaySelectionCheck_ID)
{
if (HR_PaySelectionCheck_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_PaySelectionCheck_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_PaySelectionCheck_ID, Integer.valueOf(HR_PaySelectionCheck_ID));
}
/** Get Payroll Pay Selection Check ID.
@return Payroll Payment Selection Check
*/
public int getHR_PaySelectionCheck_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_HR_PaySelectionCheck_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_HR_PaySelection getHR_PaySelection() throws RuntimeException
{
return (org.eevolution.model.I_HR_PaySelection)MTable.get(getCtx(), org.eevolution.model.I_HR_PaySelection.Table_Name)
.getPO(getHR_PaySelection_ID(), get_TrxName()); }
/** Set Payroll Payment Selection ID.
@param HR_PaySelection_ID
Payroll Payment Selection
*/
public void setHR_PaySelection_ID (int HR_PaySelection_ID)
{
if (HR_PaySelection_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_PaySelection_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_PaySelection_ID, Integer.valueOf(HR_PaySelection_ID));
}
/** Get Payroll Payment Selection ID.
@return Payroll Payment Selection
*/
public int getHR_PaySelection_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_HR_PaySelection_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Generated Draft.
@param IsGeneratedDraft Generated Draft */
public void setIsGeneratedDraft (boolean IsGeneratedDraft)
{
set_Value (COLUMNNAME_IsGeneratedDraft, Boolean.valueOf(IsGeneratedDraft));
}
/** Get Generated Draft.
@return Generated Draft */
public boolean isGeneratedDraft ()
{
Object oo = get_Value(COLUMNNAME_IsGeneratedDraft);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Printed.
@param IsPrinted
Indicates if this document / line is printed
*/
public void setIsPrinted (boolean IsPrinted)
{
set_Value (COLUMNNAME_IsPrinted, Boolean.valueOf(IsPrinted));
}
/** Get Printed.
@return Indicates if this document / line is printed
*/
public boolean isPrinted ()
{
Object oo = get_Value(COLUMNNAME_IsPrinted);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Receipt.
@param IsReceipt
This is a sales transaction (receipt)
*/
public void setIsReceipt (boolean IsReceipt)
{
set_Value (COLUMNNAME_IsReceipt, Boolean.valueOf(IsReceipt));
}
/** Get Receipt.
@return This is a sales transaction (receipt)
*/
public boolean isReceipt ()
{
Object oo = get_Value(COLUMNNAME_IsReceipt);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Payment amount.
@param PayAmt
Amount being paid
*/
public void setPayAmt (BigDecimal PayAmt)
{
set_Value (COLUMNNAME_PayAmt, PayAmt);
}
/** Get Payment amount.
@return Amount being paid
*/
public BigDecimal getPayAmt ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_PayAmt);
if (bd == null)
return Env.ZERO;
return bd;
}
/** PaymentRule AD_Reference_ID=195 */
public static final int PAYMENTRULE_AD_Reference_ID=195;
/** Cash = B */
public static final String PAYMENTRULE_Cash = "B";
/** Credit Card = K */
public static final String PAYMENTRULE_CreditCard = "K";
/** Direct Deposit = T */
public static final String PAYMENTRULE_DirectDeposit = "T";
/** Check = S */
public static final String PAYMENTRULE_Check = "S";
/** On Credit = P */
public static final String PAYMENTRULE_OnCredit = "P";
/** Direct Debit = D */
public static final String PAYMENTRULE_DirectDebit = "D";
/** Mixed = M */
public static final String PAYMENTRULE_Mixed = "M";
/** Set Payment Rule.
@param PaymentRule
How you pay the invoice
*/
public void setPaymentRule (String PaymentRule)
{
set_Value (COLUMNNAME_PaymentRule, PaymentRule);
}
/** Get Payment Rule.
@return How you pay the invoice
*/
public String getPaymentRule ()
{
return (String)get_Value(COLUMNNAME_PaymentRule);
}
/** Set Processed.
@param Processed
The document has been processed
*/
public void setProcessed (boolean Processed)
{
set_Value (COLUMNNAME_Processed, Boolean.valueOf(Processed));
}
/** Get Processed.
@return The document has been processed
*/
public boolean isProcessed ()
{
Object oo = get_Value(COLUMNNAME_Processed);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Quantity.
@param Qty
Quantity
*/
public void setQty (int Qty)
{
set_Value (COLUMNNAME_Qty, Integer.valueOf(Qty));
}
/** Get Quantity.
@return Quantity
*/
public int getQty ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_Qty);
if (ii == null)
return 0;
return ii.intValue();
}
}

View File

@ -0,0 +1,414 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
/** Generated Model - DO NOT CHANGE */
package org.eevolution.model;
import java.math.BigDecimal;
import java.sql.ResultSet;
import java.util.Properties;
import org.compiere.model.*;
import org.compiere.util.Env;
/** Generated Model for HR_PaySelectionLine
* @author Adempiere (generated)
* @version Release 3.5.4a - $Id$ */
public class X_HR_PaySelectionLine extends PO implements I_HR_PaySelectionLine, I_Persistent
{
/**
*
*/
private static final long serialVersionUID = 20091211L;
/** Standard Constructor */
public X_HR_PaySelectionLine (Properties ctx, int HR_PaySelectionLine_ID, String trxName)
{
super (ctx, HR_PaySelectionLine_ID, trxName);
/** if (HR_PaySelectionLine_ID == 0)
{
setDifferenceAmt (Env.ZERO);
setDiscountAmt (Env.ZERO);
setHR_PaySelectionLine_ID (0);
setHR_PaySelection_ID (0);
setIsManual (false);
setIsSOTrx (false);
setLine (0);
// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM C_PaySelectionLine WHERE C_PaySelection_ID=@C_PaySelection_ID@
setOpenAmt (Env.ZERO);
setPayAmt (Env.ZERO);
setPaymentRule (null);
// S
setProcessed (false);
// N
} */
}
/** Load Constructor */
public X_HR_PaySelectionLine (Properties ctx, ResultSet rs, String trxName)
{
super (ctx, rs, trxName);
}
/** AccessLevel
* @return 3 - Client - Org
*/
protected int get_AccessLevel()
{
return accessLevel.intValue();
}
/** Load Meta Data */
protected POInfo initPO (Properties ctx)
{
POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName());
return poi;
}
public String toString()
{
StringBuffer sb = new StringBuffer ("X_HR_PaySelectionLine[")
.append(get_ID()).append("]");
return sb.toString();
}
/** Set Description.
@param Description
Optional short description of the record
*/
public void setDescription (String Description)
{
set_Value (COLUMNNAME_Description, Description);
}
/** Get Description.
@return Optional short description of the record
*/
public String getDescription ()
{
return (String)get_Value(COLUMNNAME_Description);
}
/** Set Difference.
@param DifferenceAmt
Difference Amount
*/
public void setDifferenceAmt (BigDecimal DifferenceAmt)
{
set_ValueNoCheck (COLUMNNAME_DifferenceAmt, DifferenceAmt);
}
/** Get Difference.
@return Difference Amount
*/
public BigDecimal getDifferenceAmt ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_DifferenceAmt);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Discount Amount.
@param DiscountAmt
Calculated amount of discount
*/
public void setDiscountAmt (BigDecimal DiscountAmt)
{
set_ValueNoCheck (COLUMNNAME_DiscountAmt, DiscountAmt);
}
/** Get Discount Amount.
@return Calculated amount of discount
*/
public BigDecimal getDiscountAmt ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_DiscountAmt);
if (bd == null)
return Env.ZERO;
return bd;
}
public org.eevolution.model.I_HR_Movement getHR_Movement() throws RuntimeException
{
return (org.eevolution.model.I_HR_Movement)MTable.get(getCtx(), org.eevolution.model.I_HR_Movement.Table_Name)
.getPO(getHR_Movement_ID(), get_TrxName()); }
/** Set Payroll Movement.
@param HR_Movement_ID Payroll Movement */
public void setHR_Movement_ID (int HR_Movement_ID)
{
if (HR_Movement_ID < 1)
set_Value (COLUMNNAME_HR_Movement_ID, null);
else
set_Value (COLUMNNAME_HR_Movement_ID, Integer.valueOf(HR_Movement_ID));
}
/** Get Payroll Movement.
@return Payroll Movement */
public int getHR_Movement_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_HR_Movement_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_HR_PaySelectionCheck getHR_PaySelectionCheck() throws RuntimeException
{
return (org.eevolution.model.I_HR_PaySelectionCheck)MTable.get(getCtx(), org.eevolution.model.I_HR_PaySelectionCheck.Table_Name)
.getPO(getHR_PaySelectionCheck_ID(), get_TrxName()); }
/** Set Payroll Pay Selection Check ID.
@param HR_PaySelectionCheck_ID
Payroll Payment Selection Check
*/
public void setHR_PaySelectionCheck_ID (int HR_PaySelectionCheck_ID)
{
if (HR_PaySelectionCheck_ID < 1)
set_Value (COLUMNNAME_HR_PaySelectionCheck_ID, null);
else
set_Value (COLUMNNAME_HR_PaySelectionCheck_ID, Integer.valueOf(HR_PaySelectionCheck_ID));
}
/** Get Payroll Pay Selection Check ID.
@return Payroll Payment Selection Check
*/
public int getHR_PaySelectionCheck_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_HR_PaySelectionCheck_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Payroll Payment Selection Line ID.
@param HR_PaySelectionLine_ID
Payroll Payment Selection Line
*/
public void setHR_PaySelectionLine_ID (int HR_PaySelectionLine_ID)
{
if (HR_PaySelectionLine_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_PaySelectionLine_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_PaySelectionLine_ID, Integer.valueOf(HR_PaySelectionLine_ID));
}
/** Get Payroll Payment Selection Line ID.
@return Payroll Payment Selection Line
*/
public int getHR_PaySelectionLine_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_HR_PaySelectionLine_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.eevolution.model.I_HR_PaySelection getHR_PaySelection() throws RuntimeException
{
return (org.eevolution.model.I_HR_PaySelection)MTable.get(getCtx(), org.eevolution.model.I_HR_PaySelection.Table_Name)
.getPO(getHR_PaySelection_ID(), get_TrxName()); }
/** Set Payroll Payment Selection ID.
@param HR_PaySelection_ID
Payroll Payment Selection
*/
public void setHR_PaySelection_ID (int HR_PaySelection_ID)
{
if (HR_PaySelection_ID < 1)
set_ValueNoCheck (COLUMNNAME_HR_PaySelection_ID, null);
else
set_ValueNoCheck (COLUMNNAME_HR_PaySelection_ID, Integer.valueOf(HR_PaySelection_ID));
}
/** Get Payroll Payment Selection ID.
@return Payroll Payment Selection
*/
public int getHR_PaySelection_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_HR_PaySelection_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Manual.
@param IsManual
This is a manual process
*/
public void setIsManual (boolean IsManual)
{
set_Value (COLUMNNAME_IsManual, Boolean.valueOf(IsManual));
}
/** Get Manual.
@return This is a manual process
*/
public boolean isManual ()
{
Object oo = get_Value(COLUMNNAME_IsManual);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Sales Transaction.
@param IsSOTrx
This is a Sales Transaction
*/
public void setIsSOTrx (boolean IsSOTrx)
{
set_Value (COLUMNNAME_IsSOTrx, Boolean.valueOf(IsSOTrx));
}
/** Get Sales Transaction.
@return This is a Sales Transaction
*/
public boolean isSOTrx ()
{
Object oo = get_Value(COLUMNNAME_IsSOTrx);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Line No.
@param Line
Unique line for this document
*/
public void setLine (int Line)
{
set_Value (COLUMNNAME_Line, Integer.valueOf(Line));
}
/** Get Line No.
@return Unique line for this document
*/
public int getLine ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_Line);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Open Amount.
@param OpenAmt
Open item amount
*/
public void setOpenAmt (BigDecimal OpenAmt)
{
set_ValueNoCheck (COLUMNNAME_OpenAmt, OpenAmt);
}
/** Get Open Amount.
@return Open item amount
*/
public BigDecimal getOpenAmt ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_OpenAmt);
if (bd == null)
return Env.ZERO;
return bd;
}
/** Set Payment amount.
@param PayAmt
Amount being paid
*/
public void setPayAmt (BigDecimal PayAmt)
{
set_Value (COLUMNNAME_PayAmt, PayAmt);
}
/** Get Payment amount.
@return Amount being paid
*/
public BigDecimal getPayAmt ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_PayAmt);
if (bd == null)
return Env.ZERO;
return bd;
}
/** PaymentRule AD_Reference_ID=195 */
public static final int PAYMENTRULE_AD_Reference_ID=195;
/** Cash = B */
public static final String PAYMENTRULE_Cash = "B";
/** Credit Card = K */
public static final String PAYMENTRULE_CreditCard = "K";
/** Direct Deposit = T */
public static final String PAYMENTRULE_DirectDeposit = "T";
/** Check = S */
public static final String PAYMENTRULE_Check = "S";
/** On Credit = P */
public static final String PAYMENTRULE_OnCredit = "P";
/** Direct Debit = D */
public static final String PAYMENTRULE_DirectDebit = "D";
/** Mixed = M */
public static final String PAYMENTRULE_Mixed = "M";
/** Set Payment Rule.
@param PaymentRule
How you pay the invoice
*/
public void setPaymentRule (String PaymentRule)
{
set_Value (COLUMNNAME_PaymentRule, PaymentRule);
}
/** Get Payment Rule.
@return How you pay the invoice
*/
public String getPaymentRule ()
{
return (String)get_Value(COLUMNNAME_PaymentRule);
}
/** Set Processed.
@param Processed
The document has been processed
*/
public void setProcessed (boolean Processed)
{
set_Value (COLUMNNAME_Processed, Boolean.valueOf(Processed));
}
/** Get Processed.
@return The document has been processed
*/
public boolean isProcessed ()
{
Object oo = get_Value(COLUMNNAME_Processed);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff