Package org.compiere.model

Examples of org.compiere.model.MPaySelectionLine


    {
      IDColumn id = (IDColumn)miniTable.getValueAt(i, 0);
      if (id.isSelected())
      {
        line += 10;
        MPaySelectionLine psl = new MPaySelectionLine (m_ps, line, PaymentRule);
        int C_Invoice_ID = id.getRecord_ID().intValue();
        BigDecimal OpenAmt = (BigDecimal)miniTable.getValueAt(i, 8);
        BigDecimal PayAmt = (BigDecimal)miniTable.getValueAt(i, 9);
        boolean isSOTrx = false;
        //
        psl.setInvoice(C_Invoice_ID, isSOTrx,
          OpenAmt, PayAmt, OpenAmt.subtract(PayAmt));
        if (!psl.save(trxName))
        {
          return Msg.translate(Env.getCtx(), "C_PaySelectionLine_ID");
        }
        log.fine("C_Invoice_ID=" + C_Invoice_ID + ", PayAmt=" + PayAmt);
      }
View Full Code Here

TOP

Related Classes of org.compiere.model.MPaySelectionLine

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.