• dtaylor
  • NEWBIE
  • 0 Points
  • Member since 2004

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 1
    Replies
Can you pass in parameters such as the Opportunity ID to an SControl? 
 
Hi,
Can anyone please tell me what is wrong with the piece of code?  I am trying to pull assets that have been updated since yesterday...
 

DateTime endTime = sfdc.getServerTimestamp().timestamp;

DateTime startTime = endTime.Subtract(new System.TimeSpan(1, 0, 0, 0, 0));

sforce.QueryResult qr = sfdc.query("Select Id from Asset Where SystemModstamp > " + startTime);

The error is:

System.Web.Services.Protocols.SoapException was unhandled
  Message="MALFORMED_QUERY: \nAsset Where SystemModstamp > 11/27/2006 8:59:45 PM\n                            

   ^\nERROR at Row:1:Column:47\nunexpected char: '/'"

Hello,
I am trying to connect to Salesforce using BizTalk.  I can login without any problems however I need to set the URL returned from the LoginResults.  Does anyone know how to do this?
 
Thanks,
Donna
 
Hello,
I am trying to connect to Salesforce using BizTalk.  I can login without any problems however I need to set the URL returned from the LoginResults.  Does anyone know how to do this?
 
Thanks,
Donna
Hello,
I am trying to connect to Salesforce using BizTalk.  I can login without any problems however I need to set the URL returned from the LoginResults.  Does anyone know how to do this?
 
Thanks,
Donna