Last active
May 25, 2020 08:12
-
-
Save benahm/105ce8d89274ff9fbac0a14bbccfb660 to your computer and use it in GitHub Desktop.
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
// Define the record | |
QuoteFieldHistory__b bo1 = new QuoteFieldHistory__b(); | |
bo1.Field__c = 'Status'; | |
bo1.Date__c = Date.today(); | |
bo1.NewValue__c = 'In Review'; | |
bo1.OldValue__c = 'Draft'; | |
bo1.Quote__c = '0Q03N000000EnQaSAK'; | |
bo1.User__c = '0053N000002EdVOQA0'; | |
// Insert the record | |
Database.insertImmediate(bo1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment