This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"objects": [ | |
{ | |
"operation": "Insert", | |
"externalId": "Id", | |
"mockFields": [], | |
"updateWithMockData": false, | |
"mockCSVData": false, | |
"deleteOldData": true, | |
"allRecords": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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>(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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 |