• minci
  • NEWBIE
  • 0 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 13
    Questions
  • 9
    Replies

Hi all,

 

I am using a custom button.

I want to show user a file upload dialog to user when he clicks the custom button.

Did anyone have idea how to do it?

Tnx,

Hi all,

I am running a vatch apex application.

The query that I use returns (just for now!!!!) 398 Accounts.

I got unexpected results. So, I looked and the debug logs...

WELL It turns out that the execute() method was called just with the first 200 records and thats it!

I havn't noticed a second call with the rest 198 records and the Batch finished its execution.

There is nothing more to wait for. (I write this because I know Bach Apex is asynchronious).

 

Have anyone face such a strange situatiion? How can I make it work well?

Thanks,

 

Batch Apex looks like programmes heaven.

But I can not find information about limitations in list size in batch apex.

Generally I it clear how batch apex allows programer access more records than in "Normal Apex".

But what are the limitations in number of script lines , SQL query (a query in the execute function code)

,  collections limits ,  heap limits ect.

 

Thank you in ahead!

I wrote the query:

 

Select count() from Account

 

I have around 20,000 accounts in the system.

So how am I suppouse to get their number in the system?

Thanks!

Hi.

In my system I have 2 triggers on one Account.

The problem is that I must ensure the one triggers executes first and the seccont just after it.

How can I do it?

Thanks!

 

I wrote this code :

 

List<Contact> contactsToCount = [Select Id, Account from Contact where Account in : account_id_list];

Tkan i got an compilation error saying that there is not sych a field

Account in sObject contact.

Contact is being given by salesforce ans so the field Account (Label : Account Name).

Can someone tell me what is the p[roblem?

Thanks!