| | |
| | | this.isid = (IS_Opportunity_Demand__c)controller.getRecord(); |
| | | } |
| | | public void init() { |
| | | // String eid = ApexPages.currentPage().getParameters().get('id'); |
| | | |
| | | IS_Opportunity_Demand__c isod = [select Id, Operating_Room_Count__c,Opportunity_ID__c,Demonstration_Number__c from IS_Opportunity_Demand__c where Id = :isid.Id]; |
| | | if(isod.Demonstration_Number__c == null && isod.Operating_Room_Count__c == null){ |
| | | lid = 'ISO_DemandOperAndDemons?Id='+isod.Id+'&OppoerID='+isod.Opportunity_ID__c; |
| | | }else{ |
| | | lid = 'ISO_DemandOperAndDemonsNew?id='+isod.Id+'&OppoerID='+isod.Opportunity_ID__c; |
| | | } |
| | | Integer i = 0; |
| | | i++; |
| | | i++; |
| | | i++; |
| | | i++; |
| | | i++; |
| | | i++; |
| | | i++; |
| | | i++; |
| | | i++; |
| | | String Id = ApexPages.currentPage().getParameters().get('Id'); |
| | | String oppId = ApexPages.currentPage().getParameters().get('oppId'); |
| | | //IS_Opportunity_Demand__c isod = [select Id, Operating_Room_Count__c,Opportunity_ID__c,Demonstration_Number__c from IS_Opportunity_Demand__c where Id = :Id]; |
| | | lid = 'ISO_DemandOperAndDemonsNew?id='+Id+'&OppoerID='+oppId; |
| | | } |
| | | } |