Guest User

Untitled

a guest
Nov 23rd, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. private ApexPages.StandardController ctrl;
  2. public FTR__c ftrObj {get;set;}
  3.  
  4. public FTR_Controller(ApexPages.StandardController controller) {
  5. this.ctrl = controller;
  6. this.ftrObj = (FTR__c) controller.getRecord();
  7.  
  8. this.ftrObj.RecordTypeId = Schema.SObjectType.FTR__c.getRecordTypeInfosByName().get('FTR OE Record Type').getRecordTypeId();
  9. }
Add Comment
Please, Sign In to add comment