Package com.centraview.common

Examples of com.centraview.common.DoubleMember


          catch (Exception e){
            e.printStackTrace();
          }
          DateMember invoiceDate = new DateMember ("Date",InvoiceDate,10,"",'T',false,1,"EST");

          DoubleMember   Total = new DoubleMember("Total",new Double(total[i]),'D',"0",'T',false,20);


          DoubleMember   AmountDue = new DoubleMember("AmountDue",new Double(amtDue[i]),'D',"",'T',false,20);
          DoubleMember   AmountApplied = new DoubleMember("AmountApplied",new Double(payment[i]),'D',"",'T',false,20);


          ie.put ("InvoiceId", InvoiceId);
          ie.put ("InvoiceNum", InvoiceNum);
          ie.put ("Date", invoiceDate);
View Full Code Here


    */
   
    if (this.get("ListPrice") != null )
    {
      listprice = ((Double)((DoubleMember)this.get("ListPrice")).getMemberValue()).doubleValue();
      DoubleMember smPrice  = (DoubleMember)this.get("ListPrice");
      Double dp = (Double)smPrice.getMemberValue();
      pricevalue = dp.floatValue();
    }
   
    System.out.println("listprice ::"+listprice );
     
    if (this.get("Cost") != null
    {
      cost = ((Double)((DoubleMember)this.get("Cost")).getMemberValue()).doubleValue();
      //costvalue = ((Float)((DoubleMember)this.get("Cost")).getMemberValue()).floatValue();
      DoubleMember smCost  = (DoubleMember)this.get("Cost");
      Double dc = (Double)smCost.getMemberValue();
      costvalue = dc.floatValue();
    }
   
    System.out.println("cost ::"+cost );
     
View Full Code Here

    try
    {
       IntMember invoiceID = (IntMember)ele.get("InvoiceId");
       int invID = ( (Integer)invoiceID.getMemberValue()).intValue();

       DoubleMember appAmt = (DoubleMember)ele.get("AmountApplied");
       float amt = ( (Number)appAmt.getMemberValue()).floatValue();

       cvdal.setSql("account.payment.applypaymentinvoices");

         cvdal.setInt(1,paymentID);
         cvdal.setInt(2,invID);
View Full Code Here

      IntMember invoiceID = (IntMember)ele.get("InvoiceId");
      int invID = ( (Integer)invoiceID.getMemberValue()).intValue();



      DoubleMember appAmt = (DoubleMember)ele.get("AmountApplied");
      float amt = ( (Double)appAmt.getMemberValue()).floatValue();


      cvdal.setSql("account.payment.updatepaymentinvoices");
      //ALLSQL.put("account.payment.updatepaymentinvoices","update applypayment set amount = ? where paymentid = ? and invoiceid =?");
View Full Code Here

          Double total = new Double(0);
          if(hm.get("invoicetotal") != null ){
            total = new Double(((Number) hm.get("invoicetotal")).doubleValue());
        }

          DoubleMember dblTotal = new DoubleMember( "Total"  ,total , 10 , "", 'T' , false , 10 );

          Double amtApp = new Double(0);

          if(hm.get("amountapplied") != null ){
            amtApp = new Double(((Number) hm.get("amountapplied")).doubleValue());
      }
          DoubleMember dblAppAmt = new DoubleMember( "AmountApplied"  ,amtApp , 10 , "", 'T' , false , 10 );

          Double amtDue = null;

          if(hm.get("amountdue") != null){
            amtDue = new Double(((Number)hm.get("amountdue")).doubleValue());
          }

          DoubleMember dblAmtDue = new DoubleMember( "AmountDue"  ,amtDue , 10 , "", 'T' , false , 10 );


          ItemElement ie = new ItemElement(11);

          ie.put ("LineId",LineId);
View Full Code Here

          }

          StringMember strType =
            new StringMember("Type", (String) hm.get("Type"), 10, "", 'T', false);

          DoubleMember dblBalance =
            new DoubleMember("Balance",
              new Double(Double.parseDouble(hm.get("Balance").toString())), 10,
              "", 'T', false, 10);

          StringMember strParentAccount =
            new StringMember("ParentAccount", (String) hm.get("ParentAccount"),
View Full Code Here

          {
            price =
              new FloatMember("Price", new Float(0), 10, "", 'T', false, 10);
          }

          DoubleMember intQty = null;

          if (hm.get("OnHand") != null)
          {
            intQty =
              new DoubleMember("OnHand",
                new Double(Double.parseDouble((hm.get("OnHand")).toString())),
                10, "", 'T', false, 10);
          }
          else
          {
            intQty =
              new DoubleMember("OnHand", new Double(0), 10, "", 'T', false, 10);
          }

          StringMember strtaxClass =
            new StringMember("TaxClass", (String) hm.get("taxclass"), 10, "",
              'T', false);
View Full Code Here

          DateMember date =
            new DateMember("Date",
              new Date(((Timestamp) hm.get("date")).getTime()), 10, "", 'T',
              false, 1, timezoneid);

          DoubleMember total =
            new DoubleMember("Total",
              new Double(Double.parseDouble(hm.get("total").toString())), 10,
              "", 'T', false, 10);

          id = ((Long) hm.get("accountmgr")).intValue();

          IntMember saleID =
            new IntMember("SalesRepID", id, 10, "", 'T', false, 10);

          StringMember salesrep =
            new StringMember("SalesRep", (String) hm.get("salesrep"), 10, "",
              'T', true);
          StringMember status =
            new StringMember("Status", (String) hm.get("status"), 10, "", 'T',
              false);
          DoubleMember discount =
            new DoubleMember("Discount", (Double) hm.get("Discount"), 10, "",
              'T', false, 10);
          StringMember creator =
            new StringMember("Creator", (String) hm.get("creator"), 10, "",
              'T', false);
          StringMember poNumber =
View Full Code Here

            date =
              new DateMember("InvoiceDate", null, 10, null, 'T', false, 10,
                "EST");
          }

          DoubleMember dblAmount =
            new DoubleMember("Total", amount, 10, null, 'T', false, 10);

          StringMember strPaid = null;

          double amt = 0;
View Full Code Here

        {
          IntMember intExpID =
            new IntMember("ExpenseID", expenseID, 10, null, 'T', true, 10);
          IntMember intIndID =
            new IntMember("IndividualID", indID, 10, null, 'T', false, 10);
          DoubleMember dblAmount =
            new DoubleMember("Amount", amount, 10, "", 'T', false, 10);

          DateMember submitedDt =
            new DateMember("Created", (Date) hm.get("Created"), 10, "", 'T',
              false, 1, "EST");
View Full Code Here

TOP

Related Classes of com.centraview.common.DoubleMember

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.