Package org.compiere.model

Examples of org.compiere.model.MPayment


        log.fine("Line Date=" + trxDate
          + ", Payment=" + C_Payment_ID + ", Currency=" + C_Currency_ID + ", Amt=" + TrxAmt);
        // 
        MBankStatementLine bsl = new MBankStatementLine (bs);
        MPayment payment = new MPayment(Env.getCtx(), C_Payment_ID, null);
        bsl.setStatementLineDate(trxDate);
        bsl.setPayment(new MPayment(Env.getCtx(), C_Payment_ID, trxName));
       
        bsl.setTrxAmt(TrxAmt);
        bsl.setStmtAmt(TrxAmt);
        bsl.setC_Currency_ID(bankAccount.getC_Currency_ID());
        // 21-10-2009 rgliddon: Added setting of column value.
        bsl.set_ValueOfColumn("C_ConversionType_ID", payment.getC_ConversionType_ID());
       
        if (!bsl.save())
          log.log(Level.SEVERE, "Line not created #" + i);
      }   //   if selected
    }   //  for all rows
View Full Code Here

TOP

Related Classes of org.compiere.model.MPayment

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.