Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

customize drop down list of Batch number of sales order

Posted on by 75

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

  • pooh Profile Picture
    pooh 75 on at
    RE: customize drop down list of Batch number of sales order

    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

  • pooh Profile Picture
    pooh 75 on at
    RE: customize drop down list of Batch number of sales order

    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.

  • Suggested answer
    Rustem Galiamov Profile Picture
    Rustem Galiamov 8,072 on at
    RE: customize drop down list of Batch number of sales order

    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.

  • pooh Profile Picture
    pooh 75 on at
    RE: customize drop down list of Batch number of sales order

    Hi

    Rustem

    Thank you so much for your answer.

    I will try it. display method means override method?

  • Suggested answer
    Rustem Galiamov Profile Picture
    Rustem Galiamov 8,072 on at
    RE: customize drop down list of Batch number of sales order

    Hi!

    You need to customise InventBatchIdLookup form.

    Add new field on tabPageOnHand tab page and write display method for that field.

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.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans