• dhetzer
  • NEWBIE
  • 0 Points
  • Member since 2004

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 0
    Replies

HELP!   I can't for the life of me seem to create an Event via that API.  
When i try to .Create() the following Event object:

   AccountId: Nothing
   ActivityDate: #8/27/2003 3:30:00 PM#
   ActivityDateSpecified: False
   ActivityDateTime: #8/27/2003 3:30:00 PM#
   ActivityDateTimeSpecified: False
   CreatedById: Nothing
   CreatedDate: #12:00:00 AM#
   CreatedDateSpecified: False
   Description: ""
   DurationInMinutes: 120
   DurationInMinutesSpecified: False
   fieldsToNull: Nothing
   Id: Nothing
   IsAllDayEvent: False
   IsAllDayEventSpecified: False
   IsChild: False
   IsChildSpecified: False
   IsGroupEvent: False
   IsPrivate: False
   LastModifiedById: Nothing
   LastModifiedDate: #12:00:00 AM#
   LastModifiedDateSpecified: False
   Location: "0"
   MarketingEvent__c: ""
   OwnerId: "00530000000c3kG"
   Prescreen__c: ""
   RequestedFulfillment__c: ""
   Subject: "Meet with Tamara and Garfield"
   SystemModstamp: #12:00:00 AM#
   SystemModstampSpecified: False
   Type: "Other"
   WhatId: Nothing
   WhoId: "00Q30000001j2dMEAQ"

 

I get this:

{sforce.Error}
    fields: {Length=1}
    message: "You must enter a value"
    statusCode: REQUIRED_FIELD_MISSING
    fields: {Length=1}

with no mention of which required field is missing --
has anyone seen/resolved this before?   I'm using API version 2.0

I'm assuming the ActivityDateSpecified, LastModifiedDateSpecified, etc fields are FALSE because this Event has not yet been posted to the server, and they are not createable.

Thanks in advance for any help at all with this

Help!

I can't seem to get the QueryMore command to work if i have nested queries happening within a loop.

I receive an error message of INVALID_QUERY_LOCATOR when i call the QueryResult.QueryMore command.    I suspect it's because i am opening multiple client-side cursors, and the outermost QueryLocator is being closed.    

Question is, how can i explicitly close such a cursor?   I've tried "MyQueryResult = Nothing", but it didn't seem to make a difference.

thanks in advance

david hetzer

InScope Corporation (formerly HR Technologies)