web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Unanswered

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

(0) ShareShare
ReportReport
Posted on by 396

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....

I have the same question (0)
  • Xusheng Profile Picture
    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?

  • Pankaj_93 Profile Picture
    396 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.

  • Guanghui Profile Picture
    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.

  • P Jackson Profile Picture
    1,614 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.

  • Pankaj_93 Profile Picture
    396 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...

  • Guanghui Profile Picture
    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 770

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 238 Super User 2025 Season 2

#3
Sagar Suman Profile Picture

Sagar Suman 206 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans