dinsdag 1 mei 2012 14:18
As i understand it as long as a Contract has a Contract Line AND is Invoiced then once the Contract Start Date is reached the Contract status will update to "Active".
Also once a Contract End Date is passed then the Contract Status will update to "expired"
My issue is that these status updates take place but at random times; so, if a Contract was set to expire on 30/4/2012 then at c.23.59hrs the status would change from Active to Expired. This happened but at a random time during that day so effectively the Contract expired before it should have. The same happened to Invoiced contracts set to start on 1/5/2012, these updated from 'Invoiced' to 'Active' but not until 12.39hrs on that day.
does anyone have any ieas what might be causing this anomaly?
dinsdag 1 mei 2012 15:11Beantwoorder
Contracts are set to expired when the expiry date is in the past by the "Update Contract States Job" System Job. This is run once a day at the time that the server was installed.
The reason that you are seeing contracts expiring before 23.59 is that by default the Expiry date does not have a time element, so by default it will be set to 00:00 UTC - which means that at any point during the day of expiry, the job will see the expiry date as in the past and therefore expired.
You might be able to change the expiry date to contain a time element which might give you more control - and you could use http://crmjobeditor.codeplex.com/ (provided you are not using CRM Online) to change the time that the job runs to be mid-night.
Read my blog: www.develop1.net/public
If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"