Hi everyone, hope you all are doing well. I have a...
# suitescript
s
Hi everyone, hope you all are doing well. I have a list/records field with Item data in it. I want to get description and other data when user select an item in this field. To load a record or for search even we need to identify the record type which in this case I can't find for all items. In the help section for record.Type I can find ITEM_GROUP, DISCOUNT_ITEM, INVENTORY_ITEM etc but how can I know which type of item is selected in the field??
b
you don't, item does not store that information in the field
you have do to a search to get your information (or at least to get the record type)
or use sourcing on other fields to get the values you want
s
Got it, Thanks.