• IT Main One
  • NEWBIE
  • 15 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 3
    Replies
I found some posts regarding adding a year to a date, and even calculating the FIRST day of a following month. But my effort to reverse engineer these was fruitless. For our contracts, whatever a rep enters as the START date, we want the END date to auto-populate (upon saving) for one year later, but the LAST DAY of whatever that month happens to be.

So I need it to calulate DATE of Start_date__c + 1 year, + 1 month, minus 1 day

That's do-able right? Thanks in advance!!
 

Wow, I just can't seem to figure this simple thing out.  In a visualforce template I want to create a link to an object record. 

 

I've seen examples like this

 

 

({!LEFT($Api.Partner_Server_URL_140, FIND(".com/",$Api.Partner_Server_URL_140)+3)

 

but shouldn't I be able to use a simple relative URL to get this to work?

 

 

 

 

A new record was created!  <a href="/{!RelatedTo.ID}">Click here</a>  to see it.

 

 

However, when the email gets sent out the link becomes "http://5008000000dmoskaax/" and not "http://na8.salesforce.com/5008000000dmoskaax"

 

 

 

Any idears?

 

 

 

Tyler

 

 

 

I was wondering if anyone has come across this API return message:

 

 

[message] => field integrity exception: PricebookEntryId, unknown (versions 3.0 and higher must specify pricebook entry id; others must specify product id)

 

 I have not seen this, but I do understand what is asking. The reason why I am posting this is because:

 

How are we supposed to know what the version is when we are creating an opportunity line item?

 

If somone could please share that with me, I will be greatful

 

 

Thanks,

~Mike