web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Sales invoice through batch - parmjobstatus is in "Waiting" and order didn't invoiced

(0) ShareShare
ReportReport
Posted on by 2,903

Hi All,

I am trying to invoice the sales orders through batch job and few sales orders are getting invoiced and others are not.

When I checked the salesparmtable, the sales order reference were created but parmjobstatus was showing as "waiting" (for the orders which are not "invoiced") and as "Executed" for the order which are successfully invoiced.

When we tried to invoice the order manually, the invoices are posted successfully (parmjobstatus shows ëxecuted")

has anyone came across this situation anytime? please share your suggestions.

Thanks in advance.

*This post is locked for comments

I have the same question (0)
  • Sagar Suman Profile Picture
    6,773 Super User 2026 Season 1 on at

    Hi MuthukumaranAX,

    Does the orders which didn't got invoiced fall under the selection query of the batch job?

  • André Arnaud de Calavon Profile Picture
    305,561 Super User 2026 Season 1 on at

    Hi MuthukumaranAX,

    What query and other selection parameters did you define? Did you also enabled the 'late selection' option? This last option will ensure new sales orders which fall within the query definition will also be picked up.

  • MuthukumaranAX Profile Picture
    2,903 on at

    Yes all the orders are falling under the query selection

  • MuthukumaranAX Profile Picture
    2,903 on at

    Yes I had enabled the late selection option before adding it to batch. all the orders (as per the criteria) are going into batch but the only issue is for few orders parmjobstatus is waiting (those are not invoiced) and some orders parmjobstatus got updated as executed (those are invoiced).

  • Sagar Suman Profile Picture
    6,773 Super User 2026 Season 1 on at

    Hi MuthukumaranAX,

    What is the status of batch job? Is the batch job completed or is still having status executing.

  • MuthukumaranAX Profile Picture
    2,903 on at

    Hi Sagar,

    The batch job is completed.

  • Fredrik Sætre Profile Picture
    12,644 on at

    Did your query parameters have orderIDs in it?

  • Fredrik Sætre Profile Picture
    12,644 on at

    Please write a short step by step...

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 21

#2
dserp Profile Picture

dserp 4

#2
dekion Profile Picture

dekion 4

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans