Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Job queue entry won't save the settings

Posted on by 29

Hi,

I have this problem when creating a job queue entry for Report 296 – Batch Post Sales Orders. I'd like to schedule this to be invoiced accordingly to some filtered criteria. Unfortunately, it seems like it won't save the option Invoice so I have to set it again and again.

Have I missed anything?


pastedimage1683264966238v1.png

Categories:
  • Adam Allgurin Profile Picture
    Adam Allgurin 9 on at
    RE: Job queue entry won't save the settings

    Hello,

    In my opinion this should be working (as it previously did). When looking at the code in the base application I found this. When debugging a post once, it runs the request page as it should.

    And the InvReq variable is set to true, which is what I want it to be (picture 1), but then it passes this var in to "User Setup managament", where it checks if the user is allowed to post. (picture 2). However there is no alternative to handle the most common choice here, which is allow. So this will return false on the InvReq variable, thus not invoicing the batch posted sales orders.

    pastedimage1686142894851v2.png

    Picture 1

    Picture 2

  • Jim Oskarsson Profile Picture
    Jim Oskarsson 22 on at
    RE: Job queue entry won't save the settings

    Hi Nitin,

    OK, so you mean that the sales orders will be invoiced by the batch job as expected despite that the "Invoice" option shows value False when opening the request page? And that the bug consists only of showing wrong value for the "Invoice" option?

    Best regards,

    Jim

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: Job queue entry won't save the settings

    Yes, I can see the same issue as you mentioned here, but the same time, my job queue is working as expected as I had setup the ship and invoice button on request page initially.

    Are your documents posting with job queue with those setups?

  • Jim Oskarsson Profile Picture
    Jim Oskarsson 22 on at
    RE: Job queue entry won't save the settings

    Hi Nitin,

    Yes, we set this exactly as in you example on the image here. But when we open up that page again the "Invoice" setting is lost (set to false).

    When you open up that page again, is the "Invoice" setting still there for you or do you have the same issue as we do?

    Thanks,

    Jim

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: Job queue entry won't save the settings

    Also I tried to replication it and its working fine my side, I m using US version.

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: Job queue entry won't save the settings

    Hi,

    Did you try this?

  • Jim Oskarsson Profile Picture
    Jim Oskarsson 22 on at
    RE: Job queue entry won't save the settings

    Hi Nitin,

    I work in the same company as Tony. We are a Microsoft Partner company and this question concerns the customers that we help with Business Central. We have developers so we can make a solution with code as you kindly suggested and showed how to do. But we think that if Microsoft provides a simple and stable solution in the system then we should use that instead of building custom coded solutions.

    In this article we get the impression that we can schedule batch posting/invoicing of sales orders through the user interface, not with custom code: learn.microsoft.com/.../ui-batch-posting

    So our question is - should this work as described in the article above? Then our conclusion is that we are experiencing a bug in the latest release.

    Batch invoicing should be a pretty common thing to use so if this is a bug then why are not more people asking the same question?

    Thanks,

    Jim

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: Job queue entry won't save the settings

    Please verify first with your partner to assist in development side otherwise you can raise a support ticket to Microsoft

  • Typhooneforrest Profile Picture
    Typhooneforrest 29 on at
    RE: Job queue entry won't save the settings

    Hi Nitin,

    Thanks for your answer. Do you believe this is a bug in the latest version? It seems to work in previous versions of BC. Did Microsoft make any changes/updates at your knowledge?

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: Job queue entry won't save the settings

    Do as system is suggesting

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans