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
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
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.
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
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
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,219 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156