Advertisement
Guest User

Untitled

a guest
Apr 25th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.71 KB | None | 0 0
  1. List<cxsrec__cxsCandidate__c> candidates = new List<cxsrec__cxsCandidate__c>();
  2. for(Integer i = 0; i<150; i++) {
  3.     candidates.add(new cxsrec__cxsCandidate__c(
  4.             cxsrec__Last_name__c = 'Test' + i,
  5.             cxsrec__First_name__c = 'Anonymisierung noch nicht abgelaufen' + i,
  6.             cxsrec__Date_of_birth__c = Date.newInstance(2017, 1, 1),
  7.             cxsrec__E_mail_address__c = '1anontest@test.xysz',
  8.             cxsrec__Mobile_phone__c ='+491221211',
  9.             Anonymization_Status__c = 'Anonymization in 6 days',
  10.             Eingangsdatum_Email_Einverst_ndnis__c = Date.today() - 750,
  11.             ExistsInTalentPool__c = false,
  12.             Brand__c = 'AMS'
  13.     ));
  14. }
  15.  
  16. insert candidates;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement