• Sarav M
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 5
    Replies
I don't see "Customer Portal" under "Set up --> Customize -->" as mentioned in the Force.Com Developer Documentation. I am logged in as an system administrator and i should have requisite access. Should we have to purchase this seperately?

We maintain our CRM data in Salesforce. We have hired a thirdpary company to fulfill certain aspects of our workflow process. We would like to send our data[from salesforce] to that company[in salesforce].

 

To summarize, can data flow from one salesforce application to another salesforce application.  

I have datetime field in salesforce.
When i assign the value of '2008-11-26 17:24:24" it saves it as "11/26/2008 9:24 AM".  I don't want this conversion, what should i do?
I am getting the malformed query exception when executing the following code. USA_ID__C is number(18) field in salesforce.

        private SforceService sfLoginCred = null;
        string QueryString = "select id, Name from Account where USA_ID__c = 2253998837041073";
        sfLoginCred.QueryOptionsValue = new QueryOptions();
        sfLoginCred.QueryOptionsValue.batchSize = 250;
        sfLoginCred.QueryOptionsValue.batchSizeSpecified = true;
        QueryResult qr = sfLoginCred.query(QueryString);

Following is the exception i am getting
Error        : MALFORMED_QUERY:
from Account where USA_ID__c = 2253998837041073
                               ^
ERROR at Row:1:Column:48
For input string: "2253998837041073"



The above code works fine when
        string QueryString = "select id, Name from Account where Name = "Peter";

I have created a custom object in salesforce. It has two date/time fields named start date and end date. But when i try to save information in those fields it is not saving the date.
 
Here's how i assign the values

C2B_Classified_Ad__c c2bClasAd = new C2B_Classified_Ad__c();

String _accountName = "Sarav";

DateTime _startDate, _endDate ;

_startDate = DateTime.Parse("09/18/2008");

_endDate = DateTime.Parse("09/18/2008");

c2bClasAd.Name = _accountName ;

c2bClasAd.CAD_Start_Date__c = _startDate.Date;

c2bClasAd.CAD_End_Date__c = _endDate .ToUniversalTime();

 

I even created a custom date field[CAD_Begin_Date] in salesforce instead of datetime field and tried to insert/update and it is failing.

c2bClasAd.CAD_Begin_Date__c = StartDate.Date;

Other string fields are updated properly without any problem. Please tell me whether i am doing something wrong here.

 

 

I don't see "Customer Portal" under "Set up --> Customize -->" as mentioned in the Force.Com Developer Documentation. I am logged in as an system administrator and i should have requisite access. Should we have to purchase this seperately?

We maintain our CRM data in Salesforce. We have hired a thirdpary company to fulfill certain aspects of our workflow process. We would like to send our data[from salesforce] to that company[in salesforce].

 

To summarize, can data flow from one salesforce application to another salesforce application.  

I am getting the malformed query exception when executing the following code. USA_ID__C is number(18) field in salesforce.

        private SforceService sfLoginCred = null;
        string QueryString = "select id, Name from Account where USA_ID__c = 2253998837041073";
        sfLoginCred.QueryOptionsValue = new QueryOptions();
        sfLoginCred.QueryOptionsValue.batchSize = 250;
        sfLoginCred.QueryOptionsValue.batchSizeSpecified = true;
        QueryResult qr = sfLoginCred.query(QueryString);

Following is the exception i am getting
Error        : MALFORMED_QUERY:
from Account where USA_ID__c = 2253998837041073
                               ^
ERROR at Row:1:Column:48
For input string: "2253998837041073"



The above code works fine when
        string QueryString = "select id, Name from Account where Name = "Peter";

I have created a custom object in salesforce. It has two date/time fields named start date and end date. But when i try to save information in those fields it is not saving the date.
 
Here's how i assign the values

C2B_Classified_Ad__c c2bClasAd = new C2B_Classified_Ad__c();

String _accountName = "Sarav";

DateTime _startDate, _endDate ;

_startDate = DateTime.Parse("09/18/2008");

_endDate = DateTime.Parse("09/18/2008");

c2bClasAd.Name = _accountName ;

c2bClasAd.CAD_Start_Date__c = _startDate.Date;

c2bClasAd.CAD_End_Date__c = _endDate .ToUniversalTime();

 

I even created a custom date field[CAD_Begin_Date] in salesforce instead of datetime field and tried to insert/update and it is failing.

c2bClasAd.CAD_Begin_Date__c = StartDate.Date;

Other string fields are updated properly without any problem. Please tell me whether i am doing something wrong here.