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?