Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Account a = new Account(...etc...);
- Contact c = new Contact(RecordTypeId = GlobalVariables.myContactTypeId,
- AccountId = account.Id, FirstName = 'First', LastName = 'Student');
- insert student;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement