Hi guys, I need to add two fields (as shown below)...
# suitescript
g
Hi guys, I need to add two fields (as shown below) to a form, the Item Display Name field must be a drop-down list that displays the Items Description (called Display Name). When the user selects an Item Display Name from the drop-down list, the system should populate the Item Name Field. I tried to create a transaction body field called 'Item Display Name' of type list/record, and I chose 'Item' as a list/record type, but the list shows the Name of the item instead of Display Name. I have not found an option to select that the list shows the Display Name. Do you have any idea how I can do this?
k
@gabyrdzlobaton did you check your general Preferences of
SHOW DISPLAY NAME WITH ITEM CODES
which should be true.
g
That box is not checked, and I cannot make any changes to the General Preferences. So I need to find another way to create the list. ☹️
k
then You gotta use field Changed function in order to grab Displayname, using Load record API and get value and set Value.
Since, you don’t wanna change