Notifications
Announcements
No record found.
Hi,
I am looking for way to creating works for Loads in AX from X++ code.
I know that I must create shipment and wave. Is any class to do these operations?
Regards
P.
*This post is locked for comments
Any tips? :(
I'm not sure if i get it right. You want to create shipment works by code? The standard work creation process doesn't work for you (Wave processing etc)?
If you are looking for classes you might have a look at WHSWorkCreate, WHSWorkCreateWaveShipping and WHSWorkCreateWave. There are plenty more work creation classes for any kind. The work creation work for shipments is quite complex.
Thanx, I do that, but now I have one problem else.
I got info "Shipment not fully allocated". I think that is problem with configuration.. I have same problem when I want to release load from AX forms.
Do you know how to solve this?
I looked in code and I have problem with Location in WHSWorkCreateWaveShipping.createTempLine(). Maybe do you know why Location is empty?
can you debug and check this condition in method createTempTable. Is the wmsLocation empty?
If it is the location check your location directives again. It seems that the location is filtered out by the query you defined in location directive actions. The inventory is obvoiusly available but the location is not found during wave processing. What kind of order do you use...a sales order? Check the "pick"-directive of the order you use.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 4 Most Valuable Professional
Priya_K 4
MyDynamicsNAV 2