• Administrator 88
  • NEWBIE
  • 50 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 7
    Questions
  • 5
    Replies
I am trying to install a package in salesforce developer edition, but getting these errors -

Missing Organization Feature: MultiCurrency
Problem is in the one of the formula field.

Its automatically calculating values and displaying "INR 0.00".

But i dont want to display this formula field, if the output is INR 0.00.

But its recognizing this value and rendering in it pdf, how to avoid this issue.
 
  <tr style="display: {!IF(ISBLANK(Quotation__c.Sub_Total2__c), 'none', 'table-row')};">
  <td align="right" colspan="8"><b>Sub Total ({!Quotation__c.CurrencyIsoCode}) : </b></td>
  <td align="right" >{!Quotation__c.Sub_Total2__c} </td>
  </tr>
  
  <tr style="display: {!IF(ISBLANK(Quotation__c.Discount2__c), 'none', 'table-row')};">
  <td align="right" colspan="8"><b>Discount ({!Quotation__c.CurrencyIsoCode}) : </b></td>
  <td align="right" >{!Quotation__c.Discount2__c} </td>
  </tr>
  
  <tr style="display: {!IF(ISBLANK(Quotation__c.Total2__c), 'none', 'table-row')};">
  <td align="right" colspan="8"><b>Total ({!Quotation__c.CurrencyIsoCode}) : </b></td>
  <td align="right" >{!Quotation__c.Total2__c} </td>
  </tr>

Formula fields are "Total2__c, Discount2__c, Sub_Total2__c"
Hi All,

I have one field with RIch Text type, when i render/print this field on PDF i am getting coded text.

Please help with this issue, i dont want this code type text,..

Example:

Rich Text Field Name : Note

Content Below:
  1. The product shall be delivered as a ESD. ESD stands for Electronic Software Distribution wherein the product has to be downloaded from the Internet and the license keys shall be provided via email.
  2. The above product includes1 year technical support, free patches and point updates via internet from Intel Corporation, USA.
  3. Please provide the End Users Details with Email ID.
  4. The above mentioned price is exclusive of Training and Installation of the software.
  5. Tax Deduction at Source (TDS) should not be applicable as per the CBDT notification No. 21/2012 [F.No.142/10/2012-SO(TPL)] S.O. 1323(E), DATED 13-6-2012 and Notification No. SO 1323 (E), dated 13-06-2012.
  6. The quoted price is subjected to change if there is any deviation in the exchange rate by +/-5%.
  7. Any new taxes applicable at the time of billing will be to your account.

In pdf file i am getting:

<ol><li>The product shall be delivered as a ESD. ESD stands for Electronic Software Distribution wherein
the product has to be downloaded from the Internet and the license keys shall be provided via
email.</li><li>The above product includes1 year technical support, free patches and point updates via
internet from Intel Corporation, USA.</li><li>Please provide the End Users Details with Email
ID.</li><li>The above mentioned price is exclusive of Training and Installation of the software.</li><li>Tax
Deduction at Source (TDS) should not be applicable as per the CBDT notification No. 21/2012
[F.No.142/10/2012-SO(TPL)] S.O. 1323(E), DATED 13-6-2012 and Notification No. SO 1323 (E), dated
13-06-2012.</li><li>The quoted price is subjected to change if there is any deviation in the exchange rate by
+/-5%.</li><li>Any new taxes applicable at the time of billing will be to your account.</li></ol>


APEX code i am using to print on pdf:
 
{!Quotation__c.Note__c}

 
Hi,

I am very new to the Visual Force Page,

I wanted to display whole value like 1, 2, 3,.etc,. not diceimal value like 1.0, 2.0, 3.0, etc,..

How to achieve this ?
 
<tr style="display: {!IF(ISBLANK(Quotation__c.SL1__c), 'none', 'table-row')};">
  <td align="left" >{!Quotation__c.SL1__c} </td>
  <td align="left" >{!Quotation__c.Qty1__c} </td>
  <td align="left" >{!Quotation__c.Product_Description1__c} </td>
</tr>
 
Here "SL1__c and Qty1__c" fields are displaying decimal values.
Hi,

I am very new to the Visual Force Page,

i wanted to display company logo image on top second page of pdf, but not on the first page.

this logo headed image pdf of 2nd page should appear when it exceds 1st page content.
 
<p style="float: right; page-break-before: always;">
  <img src="https://c.na6.content.force.com/servlet/servlet.ImageServer?id=01580000001sFmE&oid=00D80000000M4RR&lastMod=1425464868000" width="70px" height="50px"/>
  </p>

 
Hi all,

I am very new to the Visual Force Page, 

this is the code i am using to print image on to pdf, 
 
<apex:page standardController="Quotation__c" renderAs="pdf">

<html>
<body>
  
<table>
 <tr>
  <th>Forms</th>
  <th>
  <img src="https://na6.salesforce.com/servlet/servlet.ImageServer?
id=01580000001J0Gv&oid=00D80000000M4RR" height="50" width="250"/>
  </th>
  <td>price</td>
</tr>
</table>

</body>
</html>

</apex:page>

 
Hi All,

I am very new to the Visual Force Page,

I got an object in which some of the fields will be filled and some of them will not. For that object i have created Button which as connected to visual force page.

When Clicked on Button, it will generate PDF file to print. 

This PDF file display/generates all fieds description and values.

But i wanted display/generate only filled fields in an object.

Is this Possible ?
 
<apex:page standardController="OPF__c" renderAs="pdf">

<html>
<head>
<style>

#sign.table { table-layout: fixed; }
#sign1.td { width: 33%; }


body
{
  font-face : arial;
  font:weight : bold;
  font-size : 13px;
}
</style>
</head>
<body>  
  <p align="center"><u><font face="Arial" weight="8"><b> Customers Purchase Order Summary Cum Shipping Instructions </b></font></u></p>
<table border="0" width="100%" cellspacing="0" cellspading="0" id="tableDate">
<tr>  
<td align="left" width="100%">Date :{!OPF__c.Date__c}</td>
</tr>

</table>  
<table border="1" width="100%" height="80%" cellspacing="0" cellspading="0" id="table1">

  <tr>
  <th width="5%" align="center"> SL.</th>
  <th width="20%" align="center"> <font face="Arial" weight="2"> Description </font>
  </th>
  <th width="75%" colspan="3">  </th>
  </tr>

  <tr>
  <td align="center"> 01 </td>
  <td align="left">GTEs Internal Reference </td>
  <td align="left" colspan="3"> {!OPF__c.Name} </td>
  </tr>
 
  <tr>
  <td align="center"> 02 </td>
  <td align="left"> Nature of Account </td>
  <td align="left" colspan="3"> {!OPF__c.Nature_of_the_Account__c}  </td>
  </tr>
 
  <tr>
  <td align="center"> 03 </td>
  <td align="left"> Primary Account Holder </td>
  <td align="left" colspan="3"> {!OPF__c.Primary_Owner_of_Acc__c}  </td>
  </tr>
  
  <tr>
  <td align="center"> 04 </td>
  <td align="left"> Technical Person </td>
  <td align="left" colspan="3"> {!OPF__c.Technical_Person__c}  </td>
  </tr>

  <tr>
  <td align="center"> 05 </td>
  <td align="left"> Technical Person Share </td>
  <td align="left" colspan="3"> {!OPF__c.Technical_Person_Share__c} % </td>
  </tr>
  
  <tr>
  <td align="center"> 06 </td>
  <td align="left"> BDE </td>
  <td align="left" colspan="3"> {!OPF__c.BDE__c}  </td>
  </tr>

  <tr>
  <td align="center"> 07 </td>
  <td align="left"> BDE Share </td>
  <td align="left" colspan="3"> {!OPF__c.BDE_Share__c} % </td>
  </tr>


........
..........
...............
..................


   </table>
   </body>
   </html>

</apex:page>

Here OPF is the object name,.
Hi All,

I have one field with RIch Text type, when i render/print this field on PDF i am getting coded text.

Please help with this issue, i dont want this code type text,..

Example:

Rich Text Field Name : Note

Content Below:
  1. The product shall be delivered as a ESD. ESD stands for Electronic Software Distribution wherein the product has to be downloaded from the Internet and the license keys shall be provided via email.
  2. The above product includes1 year technical support, free patches and point updates via internet from Intel Corporation, USA.
  3. Please provide the End Users Details with Email ID.
  4. The above mentioned price is exclusive of Training and Installation of the software.
  5. Tax Deduction at Source (TDS) should not be applicable as per the CBDT notification No. 21/2012 [F.No.142/10/2012-SO(TPL)] S.O. 1323(E), DATED 13-6-2012 and Notification No. SO 1323 (E), dated 13-06-2012.
  6. The quoted price is subjected to change if there is any deviation in the exchange rate by +/-5%.
  7. Any new taxes applicable at the time of billing will be to your account.

In pdf file i am getting:

<ol><li>The product shall be delivered as a ESD. ESD stands for Electronic Software Distribution wherein
the product has to be downloaded from the Internet and the license keys shall be provided via
email.</li><li>The above product includes1 year technical support, free patches and point updates via
internet from Intel Corporation, USA.</li><li>Please provide the End Users Details with Email
ID.</li><li>The above mentioned price is exclusive of Training and Installation of the software.</li><li>Tax
Deduction at Source (TDS) should not be applicable as per the CBDT notification No. 21/2012
[F.No.142/10/2012-SO(TPL)] S.O. 1323(E), DATED 13-6-2012 and Notification No. SO 1323 (E), dated
13-06-2012.</li><li>The quoted price is subjected to change if there is any deviation in the exchange rate by
+/-5%.</li><li>Any new taxes applicable at the time of billing will be to your account.</li></ol>


APEX code i am using to print on pdf:
 
{!Quotation__c.Note__c}

 
Hi,

I am very new to the Visual Force Page,

i wanted to display company logo image on top second page of pdf, but not on the first page.

this logo headed image pdf of 2nd page should appear when it exceds 1st page content.
 
<p style="float: right; page-break-before: always;">
  <img src="https://c.na6.content.force.com/servlet/servlet.ImageServer?id=01580000001sFmE&oid=00D80000000M4RR&lastMod=1425464868000" width="70px" height="50px"/>
  </p>

 
Hi All,

I am very new to the Visual Force Page,

I got an object in which some of the fields will be filled and some of them will not. For that object i have created Button which as connected to visual force page.

When Clicked on Button, it will generate PDF file to print. 

This PDF file display/generates all fieds description and values.

But i wanted display/generate only filled fields in an object.

Is this Possible ?
 
<apex:page standardController="OPF__c" renderAs="pdf">

<html>
<head>
<style>

#sign.table { table-layout: fixed; }
#sign1.td { width: 33%; }


body
{
  font-face : arial;
  font:weight : bold;
  font-size : 13px;
}
</style>
</head>
<body>  
  <p align="center"><u><font face="Arial" weight="8"><b> Customers Purchase Order Summary Cum Shipping Instructions </b></font></u></p>
<table border="0" width="100%" cellspacing="0" cellspading="0" id="tableDate">
<tr>  
<td align="left" width="100%">Date :{!OPF__c.Date__c}</td>
</tr>

</table>  
<table border="1" width="100%" height="80%" cellspacing="0" cellspading="0" id="table1">

  <tr>
  <th width="5%" align="center"> SL.</th>
  <th width="20%" align="center"> <font face="Arial" weight="2"> Description </font>
  </th>
  <th width="75%" colspan="3">  </th>
  </tr>

  <tr>
  <td align="center"> 01 </td>
  <td align="left">GTEs Internal Reference </td>
  <td align="left" colspan="3"> {!OPF__c.Name} </td>
  </tr>
 
  <tr>
  <td align="center"> 02 </td>
  <td align="left"> Nature of Account </td>
  <td align="left" colspan="3"> {!OPF__c.Nature_of_the_Account__c}  </td>
  </tr>
 
  <tr>
  <td align="center"> 03 </td>
  <td align="left"> Primary Account Holder </td>
  <td align="left" colspan="3"> {!OPF__c.Primary_Owner_of_Acc__c}  </td>
  </tr>
  
  <tr>
  <td align="center"> 04 </td>
  <td align="left"> Technical Person </td>
  <td align="left" colspan="3"> {!OPF__c.Technical_Person__c}  </td>
  </tr>

  <tr>
  <td align="center"> 05 </td>
  <td align="left"> Technical Person Share </td>
  <td align="left" colspan="3"> {!OPF__c.Technical_Person_Share__c} % </td>
  </tr>
  
  <tr>
  <td align="center"> 06 </td>
  <td align="left"> BDE </td>
  <td align="left" colspan="3"> {!OPF__c.BDE__c}  </td>
  </tr>

  <tr>
  <td align="center"> 07 </td>
  <td align="left"> BDE Share </td>
  <td align="left" colspan="3"> {!OPF__c.BDE_Share__c} % </td>
  </tr>


........
..........
...............
..................


   </table>
   </body>
   </html>

</apex:page>

Here OPF is the object name,.