Skip to content

Instantly share code, notes, and snippets.

View JeroenSfdc's full-sized avatar
🎯
Focusing

Jeronimo JeroenSfdc

🎯
Focusing
View GitHub Profile
{
"objects": [
{
"operation": "Insert",
"externalId": "Id",
"mockFields": [],
"updateWithMockData": false,
"mockCSVData": false,
"deleteOldData": true,
"allRecords": true,
/**
* Created by MO20244784 on 20/01/2022.
*/
public with sharing class PerformanceTriggerHelper {
public static void setCleaningLocationMatchingStatus(List<Performance__c> newPerformanceList) {
Set<Id> workerIds = new Set<Id>();
Set<Date> workDateList = new Set<Date>();
/**
* Created by MO20244784 on 20/01/2022.
*/
public with sharing class PerformanceTriggerHelper {
// The method name can be just matchBooking()
// That is in hindsight a better name, because the intent is to ideally identify/match a Booking
// Method should allow for partial success with regards to DML, any exceptions should be logged to DebugLog