Notifications
Announcements
No record found.
The grid uses CustInvoiceJour as the root data source.
The Packing slip value must be filterable in the grid.
The value is derived at runtime (UI only) and must not be permanently saved to the database.
A deterministic rule must be applied (e.g. latest PackingSlip).
Display correctly for all rows immediately
Not require clicking a row to calculate the value
Not break standard SalesCopying behavior
Not cause duplicate records or infinite loops
Be safe and performant for large dataset
What is the cleanest and recommended approach in D365FO to display a derived, filterable Packing slip value in the SalesCopying invoice grid, while correctly handling a one-to-many relationship?
Update
I’ve implemented this by persisting the PackingSlipId on CustInvoiceJour when the related InventTrans is created.
This allows the field to behave like a standard field (filterable, sortable) and matches how the business actually uses the data.
Thanks for the guidance, Martin.
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 503 Most Valuable Professional
André Arnaud de Cal... 434 Super User 2025 Season 2
BillurSamdancioglu 278 Most Valuable Professional