In sales order , for line view, there is Batch number field and we can see batch number and on hand situation etc.
customer would like to see manufacturing date when select drop down list > on hand tab( for standard, like Site, batch number, available physical, total available can be seen in on hand tab)
Does anyone know how to customize it to show relative batch number's manufacturing date in drop down list of batch number, on hand tab).
Thanks in advance.
*This post is locked for comments
Hi Rustem
Update information: my previous mentioned customize method is somehow inappropriate.
manufacturing date is displayed by my previous customize but it is incorrect.
Correct manufacturing date of batchId wasn't displayed.
I will try by adding display method.
Thanks in advance.
Best Regards,
Pooh
Hi Rustem
Thanks for your advice.
But I simply added manufacturing date field (with DateEdit control, set datasource and datafield as InvantBatch,proddate) to tabPageOnHand tab page
like tabPageBatch tab page because it also has same proddate field that I want to add.
In the sales order form, manufacturing date is displayed well when clicked pull down of batchId,
but there is one problem.
After displayed on-hand tab of batchId pull down,
then closed sales order form.
then reopen sales order form and click pull of of batchid,
but manufacturing date is not displayed,
but change to batch tab and then change to on-hand tab again,manufacturing date is displayed well.
Do you have any idea about this.
So sorry for my complicated situation. I am new to Dynamics AX.
Thanks in advance.
The display method modifier indicates that the method has a return value that can appear on a form or a report.
https://docs.microsoft.com/en-us/dynamicsax-2012/developer/using-the-display-method-modifier
Take a look at the ctrlInventSum_AvailPhysical field control and availPhysical() method on InventDim data source table of InventBatchIdLookup form.
Hi
Rustem
Thank you so much for your answer.
I will try it. display method means override method?
Hi!
You need to customise InventBatchIdLookup form.
Add new field on tabPageOnHand tab page and write display method for that field.
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