Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. Account a = new Account(...etc...);
  2. Contact c = new Contact(RecordTypeId = GlobalVariables.myContactTypeId,
  3. AccountId = account.Id, FirstName = 'First', LastName = 'Student');
  4. insert student;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement