Friday, June 22, 2007

Race to 100

We all make life goals big and small: start a business, win a professional sporting event, make a million dollars, eat an extra-large Gecko pizza all by yourself. One that I've had for a long time is very simple. Do 100 push-ups in a row; no breaks, no stopping. I figured if I could do that I would be in pretty good shape, or at least relatively strong. I always wanted to do this before kids came along. With John Cannon's impending arrival, now is my last chance! To meet this goal I am doing previous day's amount plus 1. Yesterday was 27 and today will be 28.

There is still time for you to get in on the fun. Just check out the schedule below and keep up. Is it silly and nerdy? Hell yes it is. However comma, it is kind of fun. Every night, before we eat, I get down on the ground and do them. Kristina counts. John Cannon kicks. I push. Good lessons learned by all.

Race to 100 Schedule


Friday, June 15, 2007

Siebel eScript Now() Function

There is no "Now()" function in Siebel eScript but you can write your own to return the current date/time off the server. Here's how it goes:

function Now(){
var dtNow = new Date();
var sNow = ( dtNow.getMonth()+1) + "/" + dtNow.getDate() + "/" + dtNow.getFullYear() + " "
+ dtNow.getHours() + ":" + dtNow.getMinutes() + ":" + dtNow.getSeconds();
return(sNow)
}


Note
  1. You should use SetFormattedFieldValue() if you are planning to use this on a business component field.
  2. This function returns server time. You may need to make adjustments based on local time for the user.

Test Class for your Marketing Cloud Trigger

When using the Salesforce Marketing Cloud Connector to enable Marketing Cloud access from Sales and Service Clouds, folks often want to perf...