Skip to main content

Notifications

Supply Chain Management forum
Suggested answer

While doing Batch invoice setup for sales orders getting following error " Field 'Sales order' must be filled in"

Posted on by 130

Business Case scenario: We are trying to set up  Batch invoicing with Late selection. But without any sales order to invoice, it throws this error. Can any one help? 

  • Grygory.Ivanov Profile Picture
    Grygory.Ivanov 160 on at
    RE: While doing Batch invoice setup for sales orders getting following error " Field 'Sales order' must be filled in"

    do you have any modifications around invoice posting? What happens when you set your query under Select button and hit OK?

  • Hitesh21 Patel Profile Picture
    Hitesh21 Patel 130 on at
    RE: While doing Batch invoice setup for sales orders getting following error " Field 'Sales order' must be filled in"

    invoice-batch-job.jpgI Followed your Instructions, but it's still giving the same error.

  • Suggested answer
    Grygory.Ivanov Profile Picture
    Grygory.Ivanov 160 on at
    RE: While doing Batch invoice setup for sales orders getting following error " Field 'Sales order' must be filled in"

    Hello,

    Late selection works when you setup Select query and batch parameters. You can check Late selection then click Select and setup your query

    batch-query-invoice.jpg

    - in this case, first run (or after you click OK in the query screen) will show you orders, but any further runs will re-create the list of orders to invoice at the moment of the batch job execution.

    Make sure you click Batch button before you hit OK in the periodic invoice posting job, too.

    batch-setup-invoice.jpg

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Dynamics 365 Community Newsletter - August 2024

Catch up on the latest D365 Community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,142 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 227,979 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans