Advertisement
Guest User

Untitled

a guest
Oct 30th, 2014
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. public with sharing class ParentChildExtensionAUTOsample {
  2.  
  3. public Audit__c audit;
  4. public Auto_Audit_Sample_Policy__c child;
  5. String accId;
  6.  
  7. public ParentChildExtensionAUTOsample(ApexPages.StandardController standardController)
  8. {
  9. accID=ApexPages.currentPage().getParameters().get('AccId');
  10. this.child = (Auto_Audit_Sample_Policy__c)standardController.getRecord();
  11.  
  12.  
  13. audit= [SELECT Id, Policy_Information__c, Policy_Number__c, Prior_Carrier__c, Expiring_Premium__c, Reinstatement_Information__c, Insured_Location__c, Agent_Information__c, Agent_City__c, Agent_Name__c,
  14. Driver_Information__c, Age__c, Gender__c, Marital_Status__c, Named_Insured_Add_Driver__c, Occupation__c, Business_Use__c, Vehicle_Information__c, Model_Year__c, Vehicle_Type__c, ISO_Symbol__c,
  15. Annual_Miles__c, Limit_Information__c, Liability_Limits__c, UM_Limits__c, UIM_Limits__c, UM_UIM_Limits__c, PIP_Limits__c, PIP_Deductible__c, APD_Deductible_Vehicle__c, Premium__c, Rating_Information__c,
  16. MVR_Violations__c, Policy_Discounts__c, Rating_Tier__c, Credit_Scoring__c, Telematics_UBI__c, Loss_Information__c, CLUE_Report__c, Prior_Carrier_Loss_Experience__c, Company_Loss_Experience__c, Individual_Loss_Detail__c,
  17. General_Information__c, Signed_Application__c, Vehicle_Photo_Information__c, Proof_of_Ownership__c, Other_Policies__c, UW_Guidelines_Followed__c, Risk_Management_Standards__c, Personal_Auto_Product__c
  18. FROM Audit__c WHERE Id = :ApexPages.currentPage().getParameters().get('AccId') LIMIT 1];
  19.  
  20.  
  21. }
  22.  
  23. public Audit__c getAudit()
  24. {
  25. return audit;
  26. }
  27.  
  28. public PageReference save(){
  29. // TO DO
  30. return null;
  31.  
  32. }
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement