Home › Forums › WMS Express › Filter Sales Orders from Shipping
-
AuthorPosts
-
Justin Glazier
August 25, 2026 at 1:00 pmPost count: 2We do a lot of partial shipments, and I was wondering if there’s a way to filter sales orders with a Qty. to Ship of 0 from the WMS Express Ship list? Or is there a better recommended way to handle backorders in WMS Express?
I also noticed a reference to anOnBeforeAddSalesOrderToLookupListevent in the Shipping Management codeunit — is this event available in WMS Express, or is it Warehouse Insight only?-
This topic was modified 2 weeks, 1 day ago by
Justin Glazier.
Nathan Silverman
August 25, 2026 at 3:10 pmPost count: 34
Justin Glazier
August 26, 2026 at 11:45 amPost count: 2::I’m trying to add a custom filter to the WMS Express handheld “Ship” screen so that sales orders drop off the list when an item on the order has zero available inventory, and reappear once stock comes back in (to support partial/full fulfillment as stock allows). I’ve run into a wall finding the right extension point and wanted to get your input before spending more time guessing.
Environment: D365BC WMS Express 2.15.9393.1 (Standard configuration — no warehouse documents, shipping directly against sales orders).
What I confirmed works:
My extension is installed and genuinely executing in the correct company — verified with a simple test (a page extension Message() that fires reliably on publish).
What I ruled out:I subscribed to OnBeforeAddDocToLookupList and OnBeforeAddSalesOrderToLookupList on codeunit 23045019 “WHX Shipping Mgmt.” — both match the exact names/signatures documented on the “Events defined in Shipping Management” KB page.
That did not seem to work for me so to test unambiguously, I made each subscriber throw an Error() unconditionally (no logic, no filtering — just an immediate error) and published that.
Result: opening the Ship list — both on initial load and after using the filter/search field — loads completely normally with no error at all. Neither event fires for this screen, in either mode.
Given that, I don’t believe these events are in the call path for the built-in WMS Express “Ship” sales order list, even though they’re documented and clearly do exist in the codeunit.My question: which procedure/event actually governs the sales order list shown on the WMS Express “Ship” screen (Standard tier), and is there a supported way to filter it based on real-time item availability? If this isn’t something the current event set exposes, I’d appreciate knowing that too, so I can look at other approaches.
If this is Warehouse Insight only that is an acceptable answer. Just trying to see what is possible for testing.
Chandan Mehra
August 27, 2026 at 8:27 amPost count: 3::Hi Justin,
We have two event subscribers available for applying header and line level filters to Sales Orders:
OnAfterFilterLookupSalesHeaders()
OnAfterFilterLookupSalesLines()If you want to filter on a specific field, please apply the filter within the appropriate event subscriber and clear the ptxtFilter parameter afterward. This will prevent the same filter from being applied again after it has already been handled in the event subscriber.
-Thanks
-
This topic was modified 2 weeks, 1 day ago by
-
AuthorPosts
- You must be logged in to reply to this topic.