Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Generate a single pack...
Finance forum
Suggested answer

Generate a single packing slip of multiple orders of same invoice account

Posted on by 250
Hello,
Can anyone please tell me how to generate a single Packing slip of multiple orders.
The orders need to have the same invoice account else an error needs to be generated.
In short, a single packing slip needs to be generated.
  • Martin Dráb Profile Picture
    Martin Dráb 228,135 Most Valuable Professional on at
    Generate a single packing slip of multiple orders of same invoice account
    Okay, so you want to write, it's somehow related to warehouse journals and it fails already before posting, because it fails to find the right purchase orders. Is my understanding correct?
     
    If so, please explain the business requirement to us. We can't fix your code without knowing what it should do.
     
    Are you fine with using a summary update (the same thing you'd do in GUI, as I described)?
  • Jason0810M Profile Picture
    Jason0810M 250 on at
    Generate a single packing slip of multiple orders of same invoice account
    Hello Martin,
    I meant technically in development, how can this be implemented for purchase orders?
     
     
    The logic is always taking the last purchase order for packing slip. The other purchase orders are not being taking into consideration.
     
  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 228,135 Most Valuable Professional on at
    Generate a single packing slip of multiple orders of same invoice account
    For example, go to All sales orders, select two orders and click Packing slip (Pick and pack > Generate). Then change the value of Summary update for field to Invoice account.
     
    Note that it doesn't throw an error if there are more invoice accounts; it will creates a packing slip per invoice account. The typical usage is not selecting orders manually but using a query to post all applicable orders (that may be for different customers).

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,277 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,135 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans