How can I determine if an item is "serialized" fro...
# suitescript
r
How can I determine if an item is "serialized" from a User Event script on Inventory Transfer? I have it working in the client script, but the user event script is throwing an error on using sublistId: 'inventory', fieldId: 'isnumbered'
c
The item itself has a property for it. Either look it up or source it.
a
Copy code
var isSerial = paramRec.getSublistValue({
    sublistId: 'item',
    fieldId: 'isserial',
    line: nLine
});
You need to test it, in some scenarios this is the way it behaves:
Copy code
if (lineData.ISSERIAL === 'T') {
r
This was much simpler, seems on the currentRecord (Client) Text and Value can be used. In the User Event, it can only be Value.