• alokmishrajaipur
  • 0 Points
  • Member since 2010

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
  • 0



I am working on Enterprise WSDL and I took WSDL from SFDC platform,


I am getting the following error while generating apex classes from WSDL : 


Error: sobjectEnterpriseSoapSforceCom

Error: Invalid type: enterpriseSoapSforceCom.QueryResult at 40:16

Error: enterpriseSoapSforceCom

Error: unexpected token: 'delete' at 507:54

please suggest the solution.



Hi I am quite new to the cloud developement i have few question


1. How can i make my application multitenant. so that it can be configured according to ones need.

Is there any Step by step guide available or some configuration needed. Please help


2. In the above situations i want to have some part of data of all the tenants be shared by their customers. i.e. If tenant A has its customer C1 and who is also customer of the tenant B, then in this case C1 should, in his page, have access to its data from both the tenants A and B.


I am selecting date from datepicker and setting that date in controller but date is not getting set.

I am taking two date fields in object and then using that.

Given below is my code, can anyone suggest....where i am going wrong?



<apex:page standardController="Retailer1__c" showHeader="false" extensions="NewRetailerHomeController">





<apex:inputField value="{!Retailer1__c.From_Date__c}"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

<apex:outputText value="TO DATE"></apex:outputText>

<apex:inputfield value="{!Retailer1__c.To_Date__c}"/>



<apex:commandButton value="Go" action="{!Go}" reRender="getTransaction"/><br/><br/>



<apex:pageBlockTable value="{!Detail}" var="det" id="getDetail">

<apex:column value="{!det.ReceiptId__c}" headerValue="RECEIPT ID"/>

<apex:column value="{!det.SysDate__c}" headerValue="DATE AND TIME"/>

<apex:column value="{!det.CustomerId__r.CustUserName__c}" headerValue="CUSTOMER NAME"/>









public class NewRetailerHomeController {

public NewRetailerHomeController(ApexPages.StandardController controller) {



public Date From_Date{get; set;}

public Date To_Date{get; set;}


public List<ItemTransaction__c> getDetail()



system.debug('from date --'+From_Date);

system.debug('from date --'+To_Date);


if(From_Date != null && To_Date != null){

return [SELECT ReceiptId__c, SysDate__c , ItemTransaction__c.CustomerId__r.CustUserName__c FROM ItemTransaction__c where SysDate__c >= :From_Date and SysDate__c <= :To_Date];


return null;


public pageReference Go()


return null;