Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private ApexPages.StandardController ctrl;
- public FTR__c ftrObj {get;set;}
- public FTR_Controller(ApexPages.StandardController controller) {
- this.ctrl = controller;
- this.ftrObj = (FTR__c) controller.getRecord();
- this.ftrObj.RecordTypeId = Schema.SObjectType.FTR__c.getRecordTypeInfosByName().get('FTR OE Record Type').getRecordTypeId();
- }
Add Comment
Please, Sign In to add comment