• SunnyShiny
  • NEWBIE
  • 50 Points
  • Member since 2013

  • Chatter
    Feed
  • 2
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 29
    Questions
  • 15
    Replies

Hello

 

This is  my error when i try to install plugin salesforce in eclipse >

 

Cannot complete the install because one or more required items could not be found.
  Software being installed: Force.com IDE 28.0.0.201307091110 (com.salesforce.ide.feature.feature.group 28.0.0.201307091110)
  Missing requirement: Force.com IDE 28.0.0.201307091110 (com.salesforce.ide.feature.feature.group 28.0.0.201307091110) requires 'org.eclipse.update.ui 0.0.0' but it could not be found

 

Using Eclipse IDE for Java EE .

http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/keplerr

 

http://wiki.developerforce.com/page/Force.com_IDE_Installation_for_Eclipse_3.6

 

(I follow this link >

http://boards.developerforce.com/t5/General-Development/Security-token-and-password-not-saved-against-force-com-project/m-p/640355/highlight/true#M96299

 

because Ive got the same error, password and token cleared)

 

 

Thanks

 

Thanks for your help

<apex:page standardController="Opportunity">

<apex:pageBlock title="LineOrder">
<apex:pageBlockTable value="{! Opportunity.Order__r.LineOrder__r}" var="item">
<apex:column value="{! item.name}"/>
</apex:pageBlockTable>
</apex:pageBlock>

</apex:page>

Is it possible to show LineOrders this way?

 

Thanks

Hello,

 

How can I do to calculate a field everyday with a calcul based on the today date?

Thanks

Hello

How can I change a profile license from salesforce platform to salesforce.

Thanks for your help

Hi

first of all thanks for your help .. im new on soql and lost after sql server.

If there is any table showing difference between sql and soql Im interested

 

So I ve got a list of users and I need a list of event with the id of the contact assigned to and the owner of this contact.

I've got not clue how to do that in soql and I need to export this through data loader.

 

     SELECT Subject, OwnerId, Owner.Name, whoID, who.ownerID

     FROM Event

     WHERE ownerID in ('00Ua002500LIKza','00Ua002500jDKza','00Ua002500AaKzc')

 

Thanks a lot for your help

Hello,

 

I tried

SELECT e.Subject, e.OwnerId, (select Name from User where id=e.OwnerId) FROM Event e where subject = 'TEST'

 

but it doesn't work

If I run this query below >

SELECT Subject, OwnerId, Owner.Name FROM Event where subject = 'TEST'

 

The Name column will show Name value as vlookup and by clicking on it I can see the name.

What if I want to see directly in my query the value, the name of the user.

 

Thanks

Hello

 

I need to create a Ticket matrice report  with line "assigned to"

and for column difference of days between "requested delivery date" and "Closed date"

 

I've no idea how to make this column. I tried to have a look to "add formula"

but I can't see thus fields, do I need to first add them as column in the report?

 

Thanks

Hello,

I need to send a mail if an event is not completed and end date < Today-14days.

Thanks

 

I dont know how to do that.

I guess I need to create an Email alert than maybe a workflow rule but how can I reach this enddate.

Is it the same as activitydate?

 

Thanks

Hello,

 

What happen to records like event, contacts owned by an user which is deactivated?

Thanks,

Hello

I try to add values in a list already populated... is it possible ?

 

 List<Object__c> p = [Select id,RecordTypeId
            from Object__c
            where PrincipalClient__c IN :ClientIds];

 

        p.add = [Select id,RecordTypeId
                 From Object__c p
                 where id in (select Object__c from RelatedClient__c where Related_ClientField__c IN :ClientIds)  
                 ];

 

BUTI've got an error > Initial term of field expression must be a concrete SObject

 

Thing is my PrincipalClient__c field is a lookup in ma Object table.

And Related_clientField__c field is a Master-Detail(Object) in the RelatedClient__c table.

 

 

I tried to do just one query like below but I've got an error because >>

 

        List<PatientProfile__c> p = [Select id,RecordTypeId
            from Object__c 
            where (PrincipalClient__c IN :ClientIds)
            OR (id in (select Object__c from RelatedClient__c where Related_ClientField__c IN :ClientIds) )]; 

 

 Semi join sub-selects are not allowed with the 'OR' operator

 

 

 Thanks for your help.

 

Hello

I'm creating a trigger.

I need to male a list with a where condition pointing on a field of the object not the id.

 

Let s image

Object patient and objectB

 

 

objectB (id, name, patientid)

So >>

 

Trigger myTrigger on objectB (,,,,,)

List <Patient>  p = [select id, name from patient

                                   Where in IN :Trigger.newMap.KetSet()];   // but here i need ObjectB.patientid set

 

Thanks for your help

Sunny

Hi all,

I am newbie to apex Batch classes. I need to understand how Apex batches execute(the process).

I know how to write apex classes and trigeers. but totally confused in following Apex batch code. Kindly give me some tips/knowledge/information on how easily I can write apex batches.

==========================================================

  1. global class Beautification's implements Database.Batchable<sObject>{
  2. global final String Query;
  3. global final String Entity;
  4. global final String Field;
  5. global final String Value;
  6. global UpdateAccountFields(String q, String e, String f, String v){
  7. Query=q; Entity=e; Field=f;Value=v;
  8. }
  9. global Database.QueryLocator start(Database.BatchableContext BC){
  10. return Database.getQueryLocator(query);
  11. }
  12. global void execute(Database.BatchableContext BC,
  13. List<sObject> scope){
  14. for(Sobject s : scope){s.put(Field,Value);
  15. } update scope;
  16. }
  17. global void finish(Database.BatchableContext BC){
  18. }
  19. }

The following code can be used to call the above class:

 

1. Id batchInstanceId = Database.executeBatch(new UpdateInvoiceFields(q,e,f,v), 5);

=============================================================

I am little confused of the following lines:

 

1. ""query","entity","field","value"" declared as variable and at 7th line why it is assigned to q,e,f,v.

2.  return Database.getQueryLocator(query)...?

3.  [List<sObject> scope)  {  for(Sobject s : scope){s.put(Field,Value);]..in line 13,14.

Can't we use directly Account,lead,contact or any custom object. Like this:[ List<account>scope { for(account a:scope...].

4. Id batchInstanceId = Database.executeBatch(new UpdateInvoiceFields(q,e,f,v), 5);

 

can please explain line by line.

thank you in advance.

any kind of explanation/suggestions/information is highly appriciated.