Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Session Date and batch job(s) wrong date(s)

(0) ShareShare
ReportReport
Posted on by 30

Hi,

We have 3 times the incident that our batch job invoicing takes the wrong invoice date! For instance Sales Order is created at 13-08-2020 and the invoice date will be 05-08-2020.....

Batch jobs are running under the Admin account.

My guess is that when you change the session date in Development or UAT environment this affects our Production machine. Also it occurs not instantly but at a random day ? :-(

Problem is solved by rebooting the AOS server.

Any one has faced this problem ? 

  • Tabinda Profile Picture
    Tabinda 2 on at
    Session Date and batch job(s) wrong date(s)
    Hi,
     
    Did you find any reason to the issue. I am having same issue, invoice is created on different date and posted on back date.
  • Suggested answer
    Fangyuan Hou Profile Picture
    Fangyuan Hou on at
    RE: Session Date and batch job(s) wrong date(s)

    Prod environment and Dev/UAT environment using different database, so could not be the case that change the session date in Dev/UAT environment this affects the Production machine.

    May we ask is the difference always 7 days between created time and invoice date? if not, what's the time zone setting for admin account, the create time is UTC time stored in database, but the Invoice date will stored as date which consider Admin user's timezone setting.

    If the difference always 7 days, this could be related to some code logic issue, suggest you raise a support ticket to Microsoft have a further troubleshoot.

  • csteenbe2 Profile Picture
    csteenbe2 30 on at
    RE: Session Date and batch job(s) wrong date(s)

    Thanks for your reply.

    Session date for the Admin user can only be done by 2 people in our team so that can not be the case. But we have changed it in UAT and DEV but we will never-never change it in PROD.

    No customizations in invoice process what can be related to date(s).

  • nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: Session Date and batch job(s) wrong date(s)

    Changing session date in dev or UAT doesn't have any impact on your prod system. Perhaps someone accidentally changed the session data in prod?

    Do you have some customizations in the invoicing process? Perhaps there's a bug that could explain it.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,431 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans