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)

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
    305,465 Super User 2026 Season 1 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

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 April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 21

#2
dekion Profile Picture

dekion 4

#2
Virginia99 Profile Picture

Virginia99 4

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans