web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Invoice posting batch already scheduled, but query didn't change after being edited...

(0) ShareShare
ReportReport
Posted on by 1,087

Hi,

in our company we got a nightly batch for Invoice Posting. It uses the standard SalesFormLetter_invoice class.

It's already scheduled to be executed each night.

I had to modify the query (with the user form, nothing has been hardcoded with X++) to exclude some customers, but the next execution has run with the old query. How do I "refresh" it with the new query instead? If i look in the BatchJobs form I already see the new version of the query, but somehow the class still fetches the old one..

Any hint?

Thank you in advance

regards

*This post is locked for comments

  • Verified answer
    Bilal Issa Profile Picture
    4,370 on at

    Hi ,

    you can set the the old batch job to be withhold and create new one with new query, or reset usage data for the account created the batch job.

    Best Regards,

    Bilal

  • Verified answer
    Dick Wenning Profile Picture
    8,705 Moderator on at

    did you change the query with the same user that original build the batch.

    pack and unpack is user related on the query in those scenarios

  • Verified answer
    Community Member Profile Picture
    on at

    Hi guess,

    1. change the batch job status to withhold or probably you can stop the batch job on your confirmation.

    2. you need to do Incremental Run,

    3. add your process job once again and check.

    Please correct me if I'm wrong.

  • vv1984 Profile Picture
    1,087 on at

    Yes, the query has been edited by the same user. Maybe withholding the old batch and schedule a new one is the best solution in this case.

    Thank you

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans