Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Sales Invoice Posting - Batch Processing

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

HI there,

We are having a Sales Order of type Supscription. Lines are service Items with Quantity 1.

We need to post the Invoice for periodically for the above subscription order.

So what we did is, We went to Sales & Marketing >> Opened the sales subscription order >> Invoice Ribbon >> Generate Invoice >> In that Positng routine, i have schedled the batch job to run periadically for every 10 mins.

Batch job working fine. However for the first run it is posting a Invoice. Second run onwards it is not posting any Invoices. And also there is no error as well.

(There is no problem in credit limit, overdelivery/underdelivery setups. We can able to post mulitple invoices for that order manually.)

How we can fix this?

Thank you,

Logu

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Sales Invoice Posting - Batch Processing

    Hi,

    I am also facing the same issue.

    are you able to resolve this issue, could you please share the solution to this issue.

    thanks,

    Valeru

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Sales Invoice Posting - Batch Processing

    HI,

    Thank you for your reply.

    1. While we are doing it manually we can post multiple times. It behaves as expected. Invoiced qty for line adding with 1.

    2. Nothing changed in Sales Order data, as it is a subscription order.

    3. We tried by allowing negative stock as well. But no effect.  FYI: We are using service item.

    Any clue to fix this issue?

    Thank you in Advance,

    Logu

  • Suggested answer
    Weaveriski Profile Picture
    Weaveriski 23,616 on at
    Re: Sales Invoice Posting - Batch Processing

    What is the on order figure on the line?

    If you manually invoice it from the order what does it do? Check the invoiced figure prior and after.

    Any modification in the sales order area?

    Are you allowing negative stock? Is it checking physical stock?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Sales Invoice Posting - Batch Processing

    Kant,

    Thanks again for your interest in solving our issue.

    We have provided quantity as "All".

    I believe, as it is a subscription order, quantity should not be problem.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Sales Invoice Posting - Batch Processing

    Logu,

    I'm curious to see your selection criteria...  Also, are you posting against "All" or "Deliver now"?

    If Dlv now, try setting that field on the quantity tab on the order lines back to 1 and run the batch again.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Sales Invoice Posting - Batch Processing

    Hi Kent,

    Thank you for your response.

    Yes, We have tested with "late selection" option also. However result is same. I mean, in both the cases, only in first itration, invoice got created/posted.

    Any clues?

    Thank you,

    Logu

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Sales Invoice Posting - Batch Processing

    Hi Logu,

    What is your selection criteria for the batch job?  What are you parameters (quantity).  Is the "late selection" option checked off in the posting screen?

  • Re: Sales Invoice Posting - Batch Processing

    try debuging the batch process

    blogs.msdn.com/.../step-by-step-checklist-for-debugging-batch-jobs-in-dynamics-ax.aspx

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,354 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans