• Chandra babu 2
  • NEWBIE
  • 55 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 28
    Questions
  • 32
    Replies
i need How to increase the size of text Values ,, like

                       If suppose text value is Food Item.......I need Food Item size is Increase and color change

plese help me.

 
if suppose i had created Two fields on main page 1)Enter an Area   2)Find the Restaurents.

Now we clickon Enter an area Some values are Shown,click on That Value,,,,
After we go for click on  Find the restaurents .....To display the restaurents page.


pls tel me
like picklist is 

My Account
==========
Activity
My Account
Address Book
=====================click on activity display the activity values Activity
                                                                                                          ====
                                                                                                          Recent orders
                                                                                                          Recent Restaurents 


like this pls Help me. 
public class  ReturnSupplierWiseSummaryctrl
{
       public List<Return_Supplier_Wise_Summary__c> rswsum{get;set;}
       public List<Return_Supplier_Wise_Summary__c> rswsummary{get;set;}
       public Return_Supplier_Wise_Summary__c rsws{get;set;}
       public Return_Supplier_Wise_Summary__c rswst{get;set;}
       public Date todate{get;set;}
       public Date fromdate{get;set;}
       public DrugSale__c drgs{get;set;}
       public List<AggregateResult> drgsl{get;set;}
       public List<PieWedgeData> pieData {get;set;}
   
     public PageReference search() 
    {
    rswsum= new List<Return_Supplier_Wise_Summary__c>();
    rswsummary=new List<Return_Supplier_Wise_Summary__c>();
      rsws=new Return_Supplier_Wise_Summary__c();
    rswst=new Return_Supplier_Wise_Summary__c();
    drgs=new DrugSale__c();
    drgsl=new List<AggregateResult>();
      pieData = new List<PieWedgeData> ();
    fromdate =date.parse(ApexPages.CurrentPage().getParameters().get('fromdate'));
    todate=date.parse(ApexPages.CurrentPage().getParameters().get('todate'));
   drgsl=[select Drug_Name__c medtyp,SUM(Selling_Quantity__c)qtysum,SUM(Returned_Quantity_c__c)rtq  from DrugSale__c where (DateofSale__c> :fromdate and DateofSale__c< :todate) group by DrugSale__c.Drug_Name__c order by DrugSale__c.Drug_Name__c];
    List<Return_Supplier_Wise_Summary__c> existing = new List<Return_Supplier_Wise_Summary__c>([SELECT Name From Return_Supplier_Wise_Summary__c]);
    delete existing;
      for(Integer i=0;i<drgsl.size();i++)
    {
       rsws=new Return_Supplier_Wise_Summary__c();
       rsws.Drug_Name__c=(String)drgsl[i].get('medtyp');
       rsws.Selling_Qunatity__c=(Decimal)drgsl[i].get('qtysum');
       rsws.Returned_Quantity__c=(Decimal)drgsl[i].get('rtq');
      insert rsws;
    }
    rswsummary=[select Drug_Name__c,Selling_Qunatity__c,Returned_Quantity__c,Date_of_Sale__c,Expiry_Date__c from Return_Supplier_Wise_Summary__c];
     pieData= new List<PieWedgeData>();
    for(Integer k=0;k<rswsummary.size();k++)
  {   
   pieData.add(new PieWedgeData(rswsummary[k].Drug_Name__c,rswsummary[k].Selling_Qunatity__c,rswsummary[k].Returned_Quantity__c));
  }
    return null;
}
 public class PieWedgeData 
 {  
  public String DrugName{ get; set; }  
  public Decimal SellingQuantity{ get; set; }  
  public Decimal ReturnedQuantity{get;set;}
   
  public PieWedgeData(String drug, Decimal data,Decimal qnty) 
  {  
   this.DrugName=drug;  
   this.SellingQuantity= data;
     this.ReturnedQuantity=qnty;
     
  }  
 }  
pls anyone Help.


i am creted custom picklist on  UI page values there apple, banana,orange,
     Now my questios is i am giving  input test box another value like water million. 
                       water million is add the custom picklist.how to write the code in vf page.pls help me.
 
public class DrugStockvalueCtrl
{
public DrugSale__c crs{get;set;}
     public List<DrugSale__c> lcrs{get;set;}
    
     public List<AggregateResult> aggr{get;set;}
     public List<PieWedgeData> pieData {get;set;} 
     
  public DrugStockvalueCtrl()
  {
    
    crs= new DrugSale__c();
    lcrs= new List<DrugSale__c>();
    aggr = new List<AggregateResult>();
    pieData=new List<PieWedgeData>();
  }  
  
  public Pagereference getBill()
  { 
    Date frm=Date.parse(ApexPages.CurrentPage().getParameters().get('jb'));
    Date tod=Date.parse(ApexPages.CurrentPage().getParameters().get('gb'));
    aggr = new List<AggregateResult>();
     lcrs=[select Name,Drug_Name__c,DateofSale__c,Price_Amount__c from DrugSale__c where (DateofSale__c> :frm and DateofSale__c< :tod)];
      pieData= new List<PieWedgeData>();
        for(Integer k=0;k<lcrs.size();k++)
        {
        pieData.add(new PieWedgeData(lcrs[k].Drug_Name__c,lcrs[k].Price_Amount__c ));
        }
        return null;
    }
    
     public class PieWedgeData 
     {  
      public String DrugName{get;set;}
      public Decimal PriceAmount{get;set;}  
       
      public PieWedgeData(String drug,Decimal dtype) 
      {  
       this.DrugName=drug;  
       this.PriceAmount=dtype;
      }  
    }  
}
I have taken two objects   software,developer  these two objects i have created some of IDs,

Retrieve data from software object through id number that id must be in look up relation how to add that particular id number to developer object input fields
I have Taken TWo objects               Purchase                                         sales
                                                  Purchase_Quantity__c                         Selling_Quantity__c 


 How to give the formula Field one object to other object pls tel me
 
Hi Helo all !..........


Please tel me How to Retrive Deta from the Multiple Objeccts.
Item Code search:                                                              
 
  Item Name
   Item Price  
   Item Quantity

Transaction ID        :::this are the purchase fields
Transaction Date 
Amount 
Discount 
Purchase Quantity 


i Have Taken Two Objects Stock And Purchase and Created the above Fields ,in the Stock i was Given Item code ,Then Automaticallly Display the Purchase values also.pls tel me How to give the lookup and Display the values on vf [page.
i am taking Two objects and created fields i want to give lookup and how to display the values on vf page
I have taken Two Objects and i am giving the lookup Then how to Display the field values on vf Page.
if suppose i had created Two fields on main page 1)Enter an Area   2)Find the Restaurents.

Now we clickon Enter an area Some values are Shown,click on That Value,,,,
After we go for click on  Find the restaurents .....To display the restaurents page.


pls tel me
public class  ReturnSupplierWiseSummaryctrl
{
       public List<Return_Supplier_Wise_Summary__c> rswsum{get;set;}
       public List<Return_Supplier_Wise_Summary__c> rswsummary{get;set;}
       public Return_Supplier_Wise_Summary__c rsws{get;set;}
       public Return_Supplier_Wise_Summary__c rswst{get;set;}
       public Date todate{get;set;}
       public Date fromdate{get;set;}
       public DrugSale__c drgs{get;set;}
       public List<AggregateResult> drgsl{get;set;}
       public List<PieWedgeData> pieData {get;set;}
   
     public PageReference search() 
    {
    rswsum= new List<Return_Supplier_Wise_Summary__c>();
    rswsummary=new List<Return_Supplier_Wise_Summary__c>();
      rsws=new Return_Supplier_Wise_Summary__c();
    rswst=new Return_Supplier_Wise_Summary__c();
    drgs=new DrugSale__c();
    drgsl=new List<AggregateResult>();
      pieData = new List<PieWedgeData> ();
    fromdate =date.parse(ApexPages.CurrentPage().getParameters().get('fromdate'));
    todate=date.parse(ApexPages.CurrentPage().getParameters().get('todate'));
   drgsl=[select Drug_Name__c medtyp,SUM(Selling_Quantity__c)qtysum,SUM(Returned_Quantity_c__c)rtq  from DrugSale__c where (DateofSale__c> :fromdate and DateofSale__c< :todate) group by DrugSale__c.Drug_Name__c order by DrugSale__c.Drug_Name__c];
    List<Return_Supplier_Wise_Summary__c> existing = new List<Return_Supplier_Wise_Summary__c>([SELECT Name From Return_Supplier_Wise_Summary__c]);
    delete existing;
      for(Integer i=0;i<drgsl.size();i++)
    {
       rsws=new Return_Supplier_Wise_Summary__c();
       rsws.Drug_Name__c=(String)drgsl[i].get('medtyp');
       rsws.Selling_Qunatity__c=(Decimal)drgsl[i].get('qtysum');
       rsws.Returned_Quantity__c=(Decimal)drgsl[i].get('rtq');
      insert rsws;
    }
    rswsummary=[select Drug_Name__c,Selling_Qunatity__c,Returned_Quantity__c,Date_of_Sale__c,Expiry_Date__c from Return_Supplier_Wise_Summary__c];
     pieData= new List<PieWedgeData>();
    for(Integer k=0;k<rswsummary.size();k++)
  {   
   pieData.add(new PieWedgeData(rswsummary[k].Drug_Name__c,rswsummary[k].Selling_Qunatity__c,rswsummary[k].Returned_Quantity__c));
  }
    return null;
}
 public class PieWedgeData 
 {  
  public String DrugName{ get; set; }  
  public Decimal SellingQuantity{ get; set; }  
  public Decimal ReturnedQuantity{get;set;}
   
  public PieWedgeData(String drug, Decimal data,Decimal qnty) 
  {  
   this.DrugName=drug;  
   this.SellingQuantity= data;
     this.ReturnedQuantity=qnty;
     
  }  
 }  
pls anyone Help.


i am creted custom picklist on  UI page values there apple, banana,orange,
     Now my questios is i am giving  input test box another value like water million. 
                       water million is add the custom picklist.how to write the code in vf page.pls help me.
 
public class DrugStockvalueCtrl
{
public DrugSale__c crs{get;set;}
     public List<DrugSale__c> lcrs{get;set;}
    
     public List<AggregateResult> aggr{get;set;}
     public List<PieWedgeData> pieData {get;set;} 
     
  public DrugStockvalueCtrl()
  {
    
    crs= new DrugSale__c();
    lcrs= new List<DrugSale__c>();
    aggr = new List<AggregateResult>();
    pieData=new List<PieWedgeData>();
  }  
  
  public Pagereference getBill()
  { 
    Date frm=Date.parse(ApexPages.CurrentPage().getParameters().get('jb'));
    Date tod=Date.parse(ApexPages.CurrentPage().getParameters().get('gb'));
    aggr = new List<AggregateResult>();
     lcrs=[select Name,Drug_Name__c,DateofSale__c,Price_Amount__c from DrugSale__c where (DateofSale__c> :frm and DateofSale__c< :tod)];
      pieData= new List<PieWedgeData>();
        for(Integer k=0;k<lcrs.size();k++)
        {
        pieData.add(new PieWedgeData(lcrs[k].Drug_Name__c,lcrs[k].Price_Amount__c ));
        }
        return null;
    }
    
     public class PieWedgeData 
     {  
      public String DrugName{get;set;}
      public Decimal PriceAmount{get;set;}  
       
      public PieWedgeData(String drug,Decimal dtype) 
      {  
       this.DrugName=drug;  
       this.PriceAmount=dtype;
      }  
    }  
}
I have Taken TWo objects               Purchase                                         sales
                                                  Purchase_Quantity__c                         Selling_Quantity__c 


 How to give the formula Field one object to other object pls tel me
 
i am taking Two objects and created fields i want to give lookup and how to display the values on vf page
Amount  :
Discount :

Net Price:

I need i will give Amount value and Discount values But on UI page Directly calculated that two column fields ,and display the net price total value.

please tel me how to create  and display values. 

Request help in multiplying values in Two  Fields (UnitPrice__c  & QuantitySold__c}

& display the value in edit mode in 3rd Field (TotalSale__c)

 

All the 03 Fields are  Number type

 

 -----------------------------------VF Page------------------------------------------------------------------------------
               
  <apex:inputField id="IDUnitPrice" value="{!opportunity.UnitPrice__c}" ></apex:inputField>
  <apex:inputField id="IDQtySold" value="{!opportunity.QuantitySold__c}"  onkeyup="javascript&colon;CalculateAmount();">  

  </apex:inputField>
  <apex:inputField id="IDTotalSale" label="Total Sale" value="{!opportunity.TotalSale__c}"></apex:inputField>
 ------------------------------------Script -----------------------------------------------------------------------------------

function CalculateAmount()
      {  
        
         var Price =  VALUE(UnitPrice__c.);
         var Qty = VALUE(QuantitySold__c);
         
         var Amount =  Price * Qty;      
      
         VALUE(TotalSale__c) = Amount;
      }