Skip to main content

Notifications

Announcements

No record found.

Supply chain | Supply Chain Management, Commerce
Unanswered

Show a dialog with a text box on scan of a product to enter a serial number.

Posted on by 392

Hi All,

Trust all are doing well.

We have a requirement where we need to show a dialog to enter the serial number of the product and it should be add on the extensionproperties of the line item with key value pair.

We can not use the standard one as we are using for some other scenarios. Basically, i have written the code in the preproductsalestrigger method to show the dialog and to enter the serial number but not able find out the value at the postproductsalestrigger.

Please help, how can we achieve this.

Thanks in Advance..

Stay safe....

  • Guanghui Profile Picture
    Guanghui on at
    RE: Show a dialog with a text box on scan of a product to enter a serial number.

    Please log a ticket for MS support, I would like to help.

  • Pankaj_93 Profile Picture
    Pankaj_93 392 on at
    RE: Show a dialog with a text box on scan of a product to enter a serial number.

    Hi Guanghui,

    I had tried already as you suggested, I am facing a problem in this case, not able to get that value in the postproductsaletrigger.

    Can you please suggest how can I get that value in the postproductsaletrigger?

    I tried to save in the extension properties but it did not work.

    Thanks...

  • P Jackson Profile Picture
    P Jackson 1,571 on at
    RE: Show a dialog with a text box on scan of a product to enter a serial number.

    You might be able to achieve this using an Info code.

  • Guanghui Profile Picture
    Guanghui on at
    RE: Show a dialog with a text box on scan of a product to enter a serial number.

    I checked the trigger preproductsalestrigger/postproductsalestrigger, both of them have the interface

    execute(options: Triggers.IPreProductSaleTriggerOptions)

    I think you can put the serial number to the options after you input serial number, and then you should able to get it from post trigger options variable.

  • Pankaj_93 Profile Picture
    Pankaj_93 392 on at
    RE: Show a dialog with a text box on scan of a product to enter a serial number.

    Hi,

    We are using POS Version - 10.0.464.10002 and D365 Version 10.0.11.

  • Xusheng Profile Picture
    Xusheng on at
    RE: Show a dialog with a text box on scan of a product to enter a serial number.

    Hi,

    What is your POS version and D365 version?

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Liquid error: parsing "/globalsearch/?q=+mn+h++rka+ka+paint+khol+kar+rahe+ho+gaya+hai+ki+mixi+men+barik+kata+hara+dhaniya+dalkar+use+karte+han+v+nahi+h+kya+karenge+to+nahi+" - Nested quantifier +.