Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Post Packing Slip AX 2012 x++ help!

Posted on by Microsoft Employee

I have a customization where I can automatically post packing slip and invoice during picking slip registration.

So to post a packing slip through code we would call the salesFormLetter.update method and pass in either the salesorder or the wmsshipment. I was passing in wmsshipment because of packing slip consolidation into a single shipment for multiple sales orders.

Now I need a way to do the packing slip post through code by using the wmspickingroute because I want to include the freight and handling line items (service items) in the packing slip and the wmsshipment does not include these lines even if you select the Qty as Picked quantity and non stocked products.

 0434.4.jpg

 

 

I guess I somehow need a way to modify the query as the posting logic executes. I have been debugging to see the flow and end up getting lost in all the classes and methods and can’t seem to find the location to make modifications.

Do anybody have any experience with this?

*This post is locked for comments

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 229,918 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans