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)

Error "Field sales order must be filled in" while creating batch invoice job

(0) ShareShare
ReportReport
Posted on by 6,707 Super User 2026 Season 1

Hi All,

We are creating a batch invoice and have selected late selection and have updated the query for filtering the orders we want to invoice.

We selected the batch group and setup recurrence and other normal setup we do for batch invoicing.

As we click OK to save the batch job we get an error "Field sales order must be filled in" and we are not able to start the batch job. Anyone with any idea why this issue is coming.

We are using Dynamics 365 U8 (1611)

*This post is locked for comments

I have the same question (0)
  • Sukrut Parab Profile Picture
    71,735 Moderator on at

    is this a custom batch job ? if not can you provide navigation and give details about what change you made to the query

  • Community Member Profile Picture
    on at

    Hi Sagar,

    Could you get your problem solved? How? I am also facing same issue. But not in batch job.

  • Verified answer
    Sagar Suman Profile Picture
    6,707 Super User 2026 Season 1 on at

    Hi AamirQ,

    Yes we were able to fix this issue and it was because of some orphan records in the sales table. After deleting the records we were able to start the batch job.

  • Suggested answer
    Sagar Suman Profile Picture
    6,707 Super User 2026 Season 1 on at

    Hi All,

    The table was salesparamtable where there were some orphan records which were not having any sales id. We deleted the same and after which we could process the batch job.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans