Skip to main content

Can anybody help? Our fields (bold and underlined below)- "Signer Information" & Podio ID" are only working a fourth of the time for every email that goes out. I've tried everything I can think of, and googled everything and cannot find a solution. 

 

<messaging:emailTemplate recipientType="Contact"

    relatedToType="Opportunity"

    subject="Order Form Submitted: {!relatedTo.name}"

    replyTo="Michael.suplita@worktrucksolutions.com" >

   

<messaging:htmlEmailBody >        

    <html>

        <body>

         <STYLE type="text/css">

               TH {font-size: 11px; font-face: arial;background: #CCCCCC; border-width: 1;  text-align: center }

               TD  {font-size: 11px; font-face: verdana }

               TABLE {border: solid #CCCCCC; border-width: 1}

               TR {border: solid #CCCCCC; border-width: 1}

         </STYLE>

                  <font face="arial" size="2">

        <p>Dear {!recipient.name},</p>

        <p>Below is a list of products related to the Opportunity:<b>   <apex:outputlink value="{!LEFT($Api.Partner_Server_URL_140,FIND('.com',$Api.Partner_Server_URL_140)+4)+relatedTo.Id}">{!relatedTo.Name}</apex:outputlink> </b>.</p>

        <br/>Account: {!relatedTo.Account.name}

         <br/>OEM: {!relatedTo.OEM__c}

         <br/>Podio ID: {!relatedTo.Podio_ID_Opp__c}

        <br/>Podio Link: {!relatedTo.Podio_Link__c}

        <br/>Opportunity Owner: {!relatedTo.owner.name}

        <br/>Signer: {!relatedTo.Signer_Information__c}

        <br/>Dealer Type: {!relatedTo.Dealer_Type__c}

         <br/>Address: {!relatedTo.Billing_Address__c}

       

         <p/>

         

        <br/>Notes for Implementation: {!relatedTo.Notes_for_Implementation__c}

        <br/>Opportunity Discount Request Notes: {!relatedTo.Discount_Request_Notes_Quote__c}

        <br/>Opportunity Manager Notes on Discount: {!relatedTo.Manager_Approval_Notes_on_Discount_Quot__c}

       

        <p/

        <br/><b><a href="https://worktrucksolutions.lightning.force.com/lightning/r/Opportunity/{!relatedTo.Dealer_Group_ID__c}/view">Dealer Group: {!relatedTo.PArent_Account__c}</a></b>

        <br/><b><a href="Dealer Group Process Doc</a></b>

   

 <p/>                  

       <table border="0" >

                 <tr >

                     <th>Action</th><th>Product Name</th><th>Quantity</th><th>Unit Price</th><th>Discount Amount</th><th>Total Price</th>

                  </tr>

    <apex:repeat var="opp" value="{!relatedTo.OpportunityLineItems}">

       <tr>

           <td><a href="https://worktrucksolutions.lightning.force.com/lightning/r/Quote/{!opp.id}/view">View</a></td>

           <td>{!opp.PriceBookEntry.name}</td>

           <td>{!ROUND(opp.Quantity,0)}</td>

           <td>{!ROUND(opp.UnitPrice,0)}</td>

           <td>{!ROUND(opp.Discount_Amount1__c,0)}</td>

           <td>{!ROUND(opp.TotalPrice,0)}</td>

       </tr>

    </apex:repeat>                

       </table>

       <p/>

       

 </font>

       

        </body>

    </html>

</messaging:htmlEmailBody>

6 条评论
0/9000