Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

How to find the expiration date of an org in salesforce.com

I tried this query:

Select TrialExpirationDate from Organisation

but it is returning null as the org is purchased one.

So, how can we find the expiration date of a purchased org?

share|improve this question

2 Answers 2

TrialExpirationDate tell us the date on which Trial is going to expire.

IF you have normal Dev org or purchases org then this field will be NULL

From the doc:

Description: The date that this organization's trial license expires.

http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_organization.htm

I think if you want to find the expiration date purchases org then you need contact to SFDC support.

share|improve this answer
1  
Or your account executive. –  sfdcfox Jul 1 at 15:00

Try this:

Select TrialExpirationDate from Organization

Note:

1.At above shared query, Organization is misspelled.

2.User must have the “View All Data” permission to access this object.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.