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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Multiple Invoices from Multiple Packing Slips

(0) ShareShare
ReportReport
Posted on by 275

Hi Guys,

I have made some modifications in my sales-order process. From one sales order I generate multiple delivery orders, packing slips and invoices. The parameter is Item Group Id.

Generating multiple delivery orders and packing slips is fine. The problem occurs when i want to generate invoice from each of packing slips. Only the first packing slip is having the right invoice, the remaining encountered errors.

Any thoughts?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Please share what the error you are getting.

    are you getting message like Sales Order already invoiced?

    if so then may be lines populated on Invoice posting form is not appropriate

    consider validating the value populated in different quantity fields in Line Details tab.

    Please verify and update with your feedback and more information.

  • Yoki Prasayadi Profile Picture
    275 on at

    Yup, the error is "Sales Order already invoiced". I have SalesFormLetter class (which is parent class) which will be called each time whenever i want to create journal (DO, Packing Slip, Invoice).

    The SalesFormLetter class has children classes such as SalesFormLetter_DeliveryOrder, SalesFormLetter_PackingSlip, and SalesFormLetter_Invoice.

    I give 'while select query' in SalesFormLetter class to create one journal based on ItemGroupId. All goes well until we are going to do invoice.

  • André Arnaud de Calavon Profile Picture
    301,459 Super User 2025 Season 2 on at

    Hi Yoki,

    Do you have some customizations in this area?

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#2
TAHER Mehdi Profile Picture

TAHER Mehdi 3

#3
Nakul Profile Picture

Nakul 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans