How to get count of MObjects?

Anonymous
Not applicable

How to get count of MObjects?

Hi all,

When getting multiple Lead records, I can get the count from returnCount plus remainingCount.
What about Opportunity and OpportunityPersonRole(MObject)?
I can't find the remainingCount in the result of 'getMObjects', is there any other way to get the count number?

Best Regards,
Biao
Tags (1)
3 REPLIES 3
Anonymous
Not applicable

Re: How to get count of MObjects?

In principle the remaining count is relevant when the number exceeds the batch number or the maximum a single XML response can dsiplay.

Anonymous
Not applicable

Re: How to get count of MObjects?

Hi bgomes,

I know remaining count can display, because i have got it when calling 'getMultipleLeads' and 'getLeadChanges'.
Now I need to get it when getting MObjects. But I can't find it in the result of 'getMObjects' at the location just like results of 'getMultipleLeads' and 'getLeadChanges'. Is it all right? Is there any way to get it?
Could you please show me an example?

Thank you very much.
Biao
Anonymous
Not applicable

Re: How to get count of MObjects?

I'm interested learning how to get the remaining count from getMObjects as well.