function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
giri rockzzzzgiri rockzzzz 

how to display names of an custom object according to their according to their date creation

how to display names of an custom object according to their according to their date creation

 

ex:

var=[select name from billingperiod__c order by ??? ];

 

i want to display names on the order of creation

Best Answer chosen by Admin (Salesforce Developers) 
rmehrmeh

Hi,

 

You have to take CreatedDate Field into consuderation.

 

For Example:

select name from billingperiod__c order by CreatedDate ASC/DESC

 

(ASC - if you want it to be ascending

  DESC - if you want it to be descending

)

All Answers

rmehrmeh

Hi,

 

You have to take CreatedDate Field into consuderation.

 

For Example:

select name from billingperiod__c order by CreatedDate ASC/DESC

 

(ASC - if you want it to be ascending

  DESC - if you want it to be descending

)

This was selected as the best answer
giri rockzzzzgiri rockzzzz

Thank you very much rmeh ...now it works :) :) :)

giri rockzzzzgiri rockzzzz

hi,

can you help on workflows...am new to salesforce..

i need it urgently plz help....hope u understand

 

 

1.A lost opportunity email will be sent to the servicing branch’s manager of the opportunity and NSC
2.manager if the salesperson is an NSC salesperson. If no servicing branch send to the opportunity owner’s  
   manager
3.The email will only be sent when the lost business categories are Price and Product. Or Service where the
   reason is Dispatch could not meet the timing
4.Subject Line: Lost Opportunity Notification
5.The Email will contain the link to the opportunity
6.The email will contain following fields: opportunity owner name, Account name, Opportunity name,
    transaction type, quote comments, opportunity lost category, opportunity lost reason(s) {multi pick list}