We have a request to limit the number of characters the user can type into the item comment (Retail operation Id 103) text box in the cart.
Any ideas how to do it other than using Javascript to intercept Microsoft's standard code?
Thanks
Announcements
We have a request to limit the number of characters the user can type into the item comment (Retail operation Id 103) text box in the cart.
Any ideas how to do it other than using Javascript to intercept Microsoft's standard code?
Thanks
No. I want to do exactly what the header says: adding a product comment to the cartline , retail operation ID 103. It writes to the cartline entity's description field and by the time the order is created in HQ it is populated in the SalesLine.CustRef field.
That text dialog that is opened for operation Id 103, the number of characters must be limited to 50.
Is there a trigger or something that can be used to add a max length to the text box other than intercepting Microsoft's code with Javascript and force a max length of 50.
I looked at the custRef field on the salesline in the AOT and it extends from CustRefLine which extends from custRef which extends from PersonName which extends from Name and none of these extended types have its stringsize set to allow for extensibility. So it cannot come from the HQ side to the POS side. I cannot even extend salesline.CustRef to use a custom extended data type that has the string size that we wanted, it is not extendable.
So how do I do it on the POS side on the cartline for the text dialog that opens for operation id 103?
Hi Retha,
Are you considering setting up helptext, which will prompt a message when the mouse moves over a field, only the prompt is not limited.
Zain Mehmood
462
Moderator
Danny Bilodeau
156
Moderator
Laurens vd Tang
120
Super User 2025 Season 1