Replies: 1 comment
-
Hi @StefB1995, It is not supported to extend the field in the serial number dialog itself, however you can replace the entire dialog used to capture the serial number by replacing the handler for the GetSerialNumberClientRequest. When you add an item to a cart, a dialog standard is asking to fill Serial Number, if the item needs to, the code below, overwrite that and I am forcing and hardcoded the Serial Number, they can do a custom dialog to user provide the serial number, instead of hardcoded it. If customer needs a sample code of a Custom dialog, in GasStation sample we have it. With the custom dialog you can remove any length validation for the serial number to work through the 20 character limit. An example on how to create a custom dialog can be found here |
Beta Was this translation helpful? Give feedback.
-
Hi all,
At our customer we need to increase the size of the serial number that can be entered.
In the documentation (link) I found the following:
The length of the INVENTSERIALID field in the channel database is 50 characters, but the POS UI accepts serial numbers that are a maximum of only 20 characters long. In this case, you must extend the field in both the POS UI and the Commerce Headquarters database.
Does anyone have experience on how to extend the field in the POS UI, I don't find much information in the documentation on how to do this?
Already created a ticket at Microsoft for more information but they're still looking at it.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions