Adempiere 3.5.2a

org.eevolution.process
Class FixPaymentCashLine

java.lang.Object
  extended by org.compiere.process.SvrProcess
      extended by org.eevolution.process.FixPaymentCashLine
All Implemented Interfaces:
ProcessCall

public class FixPaymentCashLine
extends SvrProcess

Fix Payment Cash Line [ 1866214 ] Adempiere need can void a Cash Journal https://sourceforge.net/tracker/?func=detail&atid=879335&aid=1866214&group_id=176962

Version:
$Id: FixPaymentCashLine.java,v 1.2 2005/04/19 12:54:30 srama Exp $
Author:
Sergio Ramazzina,Victor Perez

Field Summary
 
Fields inherited from class org.compiere.process.SvrProcess
log, MSG_InvalidArguments, MSG_SaveErrorRowNotFound
 
Constructor Summary
FixPaymentCashLine()
           
 
Method Summary
protected  String doIt()
          Perform process.
static MPayment[] getOfCash(Properties ctx, String cashName, BigDecimal amt, int C_BankAccount_ID, int AD_Client_ID, String trxName)
          Get Payment of Cash
static void main(String[] args)
          Test
protected  void prepare()
          Prepare - e.g., get Parameters.
 
Methods inherited from class org.compiere.process.SvrProcess
addLog, addLog, commit, commitEx, doIt, get_TrxName, getAD_Client_ID, getAD_PInstance_ID, getAD_User_ID, getCtx, getName, getParameter, getProcessInfo, getRecord_ID, getTable_ID, isLocked, lockObject, postProcess, rollback, startProcess, unlockObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixPaymentCashLine

public FixPaymentCashLine()
Method Detail

prepare

protected void prepare()
Prepare - e.g., get Parameters.

Specified by:
prepare in class SvrProcess

doIt

protected String doIt()
               throws Exception
Perform process.

Specified by:
doIt in class SvrProcess
Returns:
Message (clear text)
Throws:
Exception - if not successful

getOfCash

public static MPayment[] getOfCash(Properties ctx,
                                   String cashName,
                                   BigDecimal amt,
                                   int C_BankAccount_ID,
                                   int AD_Client_ID,
                                   String trxName)
Get Payment of Cash

Parameters:
ctx - context
cashName - Cash Name
trxName - transaction
Returns:
payments of cash

main

public static void main(String[] args)
Test

Parameters:
args - ignored

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.