The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
29 views

Trigger to update Child Records based on Parent Record

I am trying to update the status field of all the related child (Recipe Sheet Items) for a given parent (Recipe Sheet) when the status is updated to 'Void' and I am trying to make this trigger handle ...
2
votes
3answers
83 views

Bulkifying trigger to update lookup field using trigger

I have one trigger which is working exactly how i wanted it to be but the problem is it is not bulkified can somebody help with that Sales order is child object and Target_V2__c is parent, based on ...
2
votes
4answers
217 views

bulkifying trigger

I am trying to bulkify my trigger and looking for help looking for help. It works fine as it is for a single record but need to ensure it works in bulk, so need to bulkify it but not sure how. Also, ...
4
votes
2answers
74 views

Order of records in data load

I have a use case where I need to insert data in salesforce which is being exported from an external system. This data is split over multiple rows, and I need to get those multiple rows into the ...
1
vote
2answers
37 views

Is this a Bulkified trigger?

This is a Trigger working properly where it will fetch Logo__c[Rich Text Area] From Parent Object(Account) and put in Child Record(Contact) Logo__c[Again rich Text Area] trigger Pop_Img on Contact ...
0
votes
3answers
60 views

How do I Bulkify Trigger to populate Opportunity Picklists with Account Picklists

I'm working on a requirement as follows: Whenever an Opportunity is created or edited, its custom region picklists (Region__c) should be overwritten with the Account region picklists (Region__c). ...
9
votes
3answers
215 views

Bulkify on composite SOQL key

Assume I have a list of Objectx__c. Each instance of Objectx__c has a TEXT field SerializedData__c that contains two JSON values detailName and step. The requirement Using the detailName and ...
2
votes
1answer
104 views

Bulk API - Records in different parallel batches not visible in trigger

We're loading thousands of records into a custom object (Address__c) over the Bulk API, in parallel mode. It has a Master-Detail relationship with Contact There's a checkbox field on the object ...
4
votes
1answer
329 views

Bulkifying Apex trigger to handle large set of records updated via data loader

I wrote this trigger to per-form roll up operation on Child (Order line )to Parent (Order) Object related using Lookup field. Basically it sums up the currency amount of all order line records that ...
3
votes
2answers
136 views

Test already started: How to do big tests

I'd like to do a massive test. We've got a fairly complex operation that runs on any of 160,000 records, all of which have various scenarios as children and could be crappy data in some cases. I'd ...
0
votes
1answer
374 views

Making a Trigger Bulk Ready

I have a trigger that works just fine for single records and I am stumped how to make it work for multiple records. Any help would be appreciated. trigger TSSEducationUpdate on Education__c (after ...
3
votes
1answer
138 views

Governor limits in relation to System.setPassword

I can't seem to find how to bulkify System.setPassword(Id, String) method to set passwords for multiple users at once. Can it be done? If not, what governor limits I might potentially hit?
2
votes
2answers
127 views

EmailMessage trigger - does it ever happen in bulk?

I need to write some trigger logic under EmailMessage. Out of habit and good coding practice, I did it is "bulkified". However, an interesting thought came to me. Do I really need to make it run in ...
0
votes
2answers
156 views

How to realize bulk entry data for custom objects?

I want to do bulk entry for data in custom objects and wonder what would be the easiest way to do so. I have three objects, Timesheet (the main object), Type and Details. Every Timesheet has ...
5
votes
1answer
573 views

Submit records for approval in bulk without hitting DML Statement limit

I've got code to create and submit for approval a custom object. I'm running into the DML statement limit. As far as I can see each record I submit for approval takes up a DML statement, but there's ...
1
vote
2answers
534 views

Question on Bulkification/Governor Limit of Code

Is the code below ready to handle bulk changes? Is there a limit to how many Accounts I can be bulk updating with this trigger active? Trigger: trigger transferRelationshipTeamFromAcctOnAcctUpdate ...