Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public with sharing class ParentChildExtensionAUTOsample {
- public Audit__c audit;
- public Auto_Audit_Sample_Policy__c child;
- String accId;
- public ParentChildExtensionAUTOsample(ApexPages.StandardController standardController)
- {
- accID=ApexPages.currentPage().getParameters().get('AccId');
- this.child = (Auto_Audit_Sample_Policy__c)standardController.getRecord();
- 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,
- 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,
- 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,
- 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,
- 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
- FROM Audit__c WHERE Id = :ApexPages.currentPage().getParameters().get('AccId') LIMIT 1];
- }
- public Audit__c getAudit()
- {
- return audit;
- }
- public PageReference save(){
- // TO DO
- return null;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement