Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested answer

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

(0) ShareShare
ReportReport
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
    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
    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
    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

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Zain Mehmood Profile Picture

Zain Mehmood 261 Moderator

#2
Siv Sagar Profile Picture

Siv Sagar 111 Super User 2025 Season 1

#3
Danny Bilodeau Profile Picture

Danny Bilodeau 106 Moderator

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans