• Petr Svestka
  • NEWBIE
  • 0 Points
  • Member since 2015
  • Deloitte


  • Chatter
    Feed
  • 0
    Best Answers
  • 4
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 0
    Replies
I'm desperately trying to find out an answer to the below question on S2S connection.
 
How many API requests are consumed by accepting a record from a Salesforce-to-Salesforce connection?

What I can see in the receiving org:
1. Auto-accepting first one record: 6 API requests
2. Auto-accepting additional two records together shortly after the first one: 1 API request

Can someone provide any more info?
Thank you.
Hi there,

A query:
select id, sobjecttype from objectterritory2association
returns records that have sObjectType of 'Account'.

But when I try to filter by it, it doesn't return any row:
select id, sobjecttype from objectterritory2association where sobjecttype = 'Account'
According to documentation, only the value 'Account' is suported, but why this can't be filtered?
https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_objectterritory2association.htm?search_text=objectterritory2association says it should be filterable.

https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_erd_territory2.htm doesn't even list the file sObjectType.
A possible flaw in the documentation maybe?

Anyway, this seems to work though:
select id, sobjecttype, object.type from objectterritory2association where object.type = 'Account'

Can someone from the support explain the behavior?

Thank you
Petr Svestka
Hi there,

A query:
select id, sobjecttype from objectterritory2association
returns records that have sObjectType of 'Account'.

But when I try to filter by it, it doesn't return any row:
select id, sobjecttype from objectterritory2association where sobjecttype = 'Account'
According to documentation, only the value 'Account' is suported, but why this can't be filtered?
https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_objectterritory2association.htm?search_text=objectterritory2association says it should be filterable.

https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_erd_territory2.htm doesn't even list the file sObjectType.
A possible flaw in the documentation maybe?

Anyway, this seems to work though:
select id, sobjecttype, object.type from objectterritory2association where object.type = 'Account'

Can someone from the support explain the behavior?

Thank you
Petr Svestka