Adempiere 3.4.0s

org.compiere.sqlj
Class Account

java.lang.Object
  extended by org.compiere.sqlj.Account

public class Account
extends Object

SQLJ Account related Functions

Version:
$Id: Account.java,v 1.3 2006/07/30 00:59:07 jjanke Exp $
Author:
Jorg Janke

Constructor Summary
Account()
           
 
Method Summary
static BigDecimal balance(int p_Account_ID, BigDecimal p_AmtDr, BigDecimal p_AmtCr)
          Get Balance based on Account Sign and Type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Account

public Account()
Method Detail

balance

public static BigDecimal balance(int p_Account_ID,
                                 BigDecimal p_AmtDr,
                                 BigDecimal p_AmtCr)
                          throws SQLException
Get Balance based on Account Sign and Type. Acct_Balance - acctBalance If an account is specified and found - If the account sign is Natural it sets it based on Account Type

Parameters:
p_Account_ID - account
p_AmtDr - debit
p_AmtCr - credit
Returns:
cr or dr balance
Throws:
SQLException

Adempiere 3.4.0s

AdemPiere