• venkatasubhash
  • NEWBIE
  • 0 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 2
    Replies

The following is my code i retrive it from quote line items....i am rendering it as pdf ..i am able to get the table with serial num as what i give in the quote as

1,

1.1,

1.2 ,

2,

2.1,

2.2 ,

3,

3.1 etc...in the table, but i want the table to break after serieal num 1 and separate table for 2 and so on...plz hlp me out...

 

 

 

<apex:repeat value="{!QuoteLineItem}" var="a">

<table border="1" width="100%" id="table4">
<tr>
       <td bgcolor="#C0C0C0"><font face="Arial">S.No:</font></td>
       <td bgcolor="#C0C0C0" width="40%"><font face="Arial">Product--Description</font></td>     

        
       <td bgcolor="#C0C0C0"><font face="Arial">QTY</font></td>
       <td bgcolor="#C0C0C0"><font face="Arial">Unit Price</font></td>
       <td bgcolor="#C0C0C0"><font face="Arial">Total Price</font></td>
</tr>
 
<tr>
      
           <td >{!a.Serial_Num__c}</td>       
             <td width="40%">{!a.PricebookEntry.Name}--{!a.Description}</td>
            
             <td>{!a.Quantity}</td>
             
             <td><apex:OutputField value="{!a.UnitPrice}"/></td>
             <td><apex:OutputField value="{!a.TotalPrice}"/></td>
                  
             
          </tr>
    </table>

</apex:repeat>

The following is my code i retrive it from quote line items....i am rendering it as pdf ..i am able to get the table with serial num as what i give in the quote as

1,

1.1,

1.2 ,

2,

2.1,

2.2 ,

3,

3.1 etc...in the table, but i want the table to break after serieal num 1 and separate table for 2 and so on...plz hlp me out...

 

 

 

<apex:repeat value="{!QuoteLineItem}" var="a">

<table border="1" width="100%" id="table4">
<tr>
       <td bgcolor="#C0C0C0"><font face="Arial">S.No:</font></td>
       <td bgcolor="#C0C0C0" width="40%"><font face="Arial">Product--Description</font></td>     

        
       <td bgcolor="#C0C0C0"><font face="Arial">QTY</font></td>
       <td bgcolor="#C0C0C0"><font face="Arial">Unit Price</font></td>
       <td bgcolor="#C0C0C0"><font face="Arial">Total Price</font></td>
</tr>
 
<tr>
      
           <td >{!a.Serial_Num__c}</td>       
             <td width="40%">{!a.PricebookEntry.Name}--{!a.Description}</td>
            
             <td>{!a.Quantity}</td>
             
             <td><apex:OutputField value="{!a.UnitPrice}"/></td>
             <td><apex:OutputField value="{!a.TotalPrice}"/></td>
                  
             
          </tr>
    </table>

</apex:repeat>

The following is my code i retrive it from quote line items....i am rendering it as pdf ..i am able to get the table with serial num as what i give in the quote as 1 , 2 ,3 etc...in the table, but i want the table to break after serieal num 1 and separate table for 2 and so on...plz hlp me out...

 

 

 

<table border="1" width="100%" id="table4">
<tr>
       <td bgcolor="#C0C0C0"><font face="Arial">S.No:</font></td>
       <td bgcolor="#C0C0C0" width="40%"><font face="Arial">Product--Description</font></td>             
       <td bgcolor="#C0C0C0"><font face="Arial">QTY</font></td>
       <td bgcolor="#C0C0C0"><font face="Arial">Unit Price</font></td>
       <td bgcolor="#C0C0C0"><font face="Arial">Total Price</font></td>
</tr>
 
<tr>
       <apex:repeat value="{!QuoteLineItem}" var="a">
          <tr>
            <td >{!a.Serial_Num__c}</td>
        
             <td width="40%">{!a.PricebookEntry.Name}--{!a.Description}</td>
            
             <td>{!a.Quantity}</td>
             
             <td><apex:OutputField value="{!a.UnitPrice}"/></td>
             <td><apex:OutputField value="{!a.TotalPrice}"/></td>
                  
             
          </tr>
       </apex:repeat>  
</tr>

<tr>

 

 

 

 

Hi ...

I have Visualforcepage where I am displaying one picklist input field from account Object.I have one button upon clicking the button i want to get the value selected in picklist field.As I need to do some functionality depending on this value.

 

Hence, can anyone suggest how can can i get the picklist field value in controller extension class.

The following is my code i retrive it from quote line items....i am rendering it as pdf ..i am able to get the table with serial num as what i give in the quote as 1 , 2 ,3 etc...in the table, but i want the table to break after serieal num 1 and separate table for 2 and so on...plz hlp me out...

 

 

 

<table border="1" width="100%" id="table4">
<tr>
       <td bgcolor="#C0C0C0"><font face="Arial">S.No:</font></td>
       <td bgcolor="#C0C0C0" width="40%"><font face="Arial">Product--Description</font></td>             
       <td bgcolor="#C0C0C0"><font face="Arial">QTY</font></td>
       <td bgcolor="#C0C0C0"><font face="Arial">Unit Price</font></td>
       <td bgcolor="#C0C0C0"><font face="Arial">Total Price</font></td>
</tr>
 
<tr>
       <apex:repeat value="{!QuoteLineItem}" var="a">
          <tr>
            <td >{!a.Serial_Num__c}</td>
        
             <td width="40%">{!a.PricebookEntry.Name}--{!a.Description}</td>
            
             <td>{!a.Quantity}</td>
             
             <td><apex:OutputField value="{!a.UnitPrice}"/></td>
             <td><apex:OutputField value="{!a.TotalPrice}"/></td>
                  
             
          </tr>
       </apex:repeat>  
</tr>

<tr>