Skip to content

Instantly share code, notes, and snippets.

@mpassovoy
Created January 15, 2018 19:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mpassovoy/864a308c6d3fd8a26af195494ca44f7c to your computer and use it in GitHub Desktop.
Save mpassovoy/864a308c6d3fd8a26af195494ca44f7c to your computer and use it in GitHub Desktop.
public static Merge_Audit__c createMergeAudit(String winner, String loser, String winnerWGID, String loserWGID, String mergeType, String json){
Merge_Audit__c m = new Merge_Audit__c(Winning_Id__c = winner,
Losing_Id__c = loser,
Winning_WG_Id__c = winnerWGID,
Losing_WG_Id__c = loserWGID,
Type__c = mergeType,
Losing_Record_Detail__c = json);
return m;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment