Questions tagged [closedate]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
21 views

Field History prior to enabling History Tracking

'Salesforce starts tracking field history from the date and time that you enable it on a field. Changes made before this date and time aren’t included and didn’t create an entry in the History related ...
1
vote
2answers
39 views

Date Formatting issue in Apex?

I have date format something like this. I don't know how to format this and this value needs to used on a close date in Opportunities. Please help me to format this. I tried below but throwing errors ...
3
votes
1answer
1k views

Invalid Date Format for CloseDate with simple salesforce

I'm encountering some issues when attempting to create an opportunity using the python library simple salesforce. I've verified that CloseDate is a Date Type field. With the simple salesforce ...
2
votes
2answers
3k views

CloseDate Using Apex

How Do i need to Write APex Code for the CloseDate on Opportunity object? Opportunity Opp= new Opportunity(); Opp.Name='Beginner'; Opp.CloseDate= ?????; Opp.StageName='Proposal'; ...
0
votes
1answer
465 views

Calculate if close date is in the next 3 quarters

I'm trying to create a formula to return true if the opportunity close date is in the next 3 quarters. It seems pretty easy, but for some reason I can't find the correct syntax. Examples: If Close ...
1
vote
2answers
335 views

SOQL or Report to identify the number of accounts without an opportunity closed within a year

I wanted to quickly identify which accounts have not been closed within a year. However the following will always return too many rows queried 50,000+. Is there a way to get a list of these records ...
0
votes
1answer
84 views

Equaling Opportunity Close Date to an existing Custom Date Field

I am trying to create a simple workflow that would make it so that the 'Close Date' in an Opportunity is automatically updated to anything (even if NULL) that is in the Custom Date Field called '...
0
votes
1answer
433 views

Compile Error: Variable does not exist: o.CloseDate

Does anyone have an idea why my trigger doesn't want to save the o.Closedate, only the stagename works fine. but the error I get on closedate is "variable doesn't exists" ...thanks in advance. ...
3
votes
1answer
48 views

How does Salesforce Calculates Fiscal Periods?

We have offices around the globe (from India to San Francisco). Now I am told, that our West coast users, get their date reset at midday. As weird as it sounds to me, I am interested to know: How ...
4
votes
1answer
1k views

Is there a way to set a closed date on a case for my apex test?

I've recently built a VisualForce page which provides data about when cases have been closed etc. I'm having trouble writing tests for this class due to the fact the field ClosedDate on the case ...
1
vote
0answers
49 views

Change date from 12-31-2015 into 31-Dec-15

How can I change the format of the date from the format of 12-31-2015 into the format of 31-Dec-15? Is this even possible in salesforce? As much as possible I want to avoid coding. Thanks in advance. ...
0
votes
1answer
766 views

Can a Case close date be modified?

I have a case Case no :34765 Close Date: 23/04/2015 Can i Change the case close date to 27/6/2015.
2
votes
2answers
1k views

I am trying to create a formula to calculate the number of remaining full months left in the year from the closed date

Example:: If close date is not this year, amount this year = 0 If close date is this year, amount this year = Setup cost + (Monthly amount x number of whole months between the close date and the end ...
2
votes
2answers
448 views

What timezone is Opportunity CloseDate stored in?

I am working specifically with Opportunities, but I assume that all closeDates are stored the same in SF. If an Opportunity is closed at 10pm EST, March 4th; the time is 3am March 5th in UTC. Does ...