A user is trying to update some records in Salesforce, he is getting this error: OrderHistory: System.LimitException: Too many DML rows: 10001. He added that he is not able to insert 100 records ...
To add Ids to a Set without looping over a list of SObjects I tried to do the following. In every org I tried it leads to this error: Set<Opportunity> myset = new Set<Opportunity>([SELECT ...
We have a scenario where in the before insert trigger of object Asset, which looks for a duplicate and if a duplicate is found a record is inserted in the junction table and after the dml is complete, ...
Is there a way to clear the PageMessages in my controller without losing my Page's viewstate? At the moment I'm doing a ajax call from my visualforce page, which rerenders part of my page, but this ...