Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Post Packing Slip AX 2012 x++ help!

(0) ShareShare
ReportReport
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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans