Hi All,
I create form "A" to show the summary quantity of certain bussiness for each item within a date range, such as qty from purchase order, or from production order.
When I click a button to run InventTrans form to see the details, and only transactions within specified date range are shown.
How can I get the date range from form "A"?
Thanks.
Thanks Nikolaos, it works fine!
Let's assume you store the date range of your form A in variables fromDate and toDate.
Now, you need to add two methods in form A, one for retrieving the fromDate and another retrieving the toDate.
In init method of InventTrans form, you need to call these methods to get the range: microsoft-dynamics-ax-erp.blogspot.com/.../call-method-on-caller-form.html
Finally, use these ranges in InventTrans form to filter data: dynamics-ax-live.blogspot.com/.../how-to-filter-records-in-form-by-code.html
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156