HAS-CRM / IssueTracker

Issue Tracking
0 stars 0 forks source link

Approval Date for Quotation was incorrectly set [Amy] #8

Closed kinosker closed 7 years ago

kinosker commented 7 years ago

Background: Quotation was approved on 25/05/2017 (Today), but the approved date recorded as 26/06/2017 (Tomorrow).

kinosker commented 7 years ago

Diagnosis: Approved date is generated using javascript Date.Now(), which relies on the system/user clock. This may lead to an incorrect date set.

Conclusion: Explained the cause for such issue to occur, but user mentioned that his date was correctly set.

kinosker commented 7 years ago

Closed - Did not recur for 2 mths

kinosker commented 7 years ago

Incorrect quotation date re-occur again, found out that user PC is in the correct time zone

kinosker commented 7 years ago

Strategy:

kinosker commented 7 years ago

Resolved:

  1. Used workflow to set approval date as CRM Server time (Workflow Execution date)
  2. Fallback set as user's computer date.