I have this custom script, which returns a sublist...
# suitescript
c
I have this custom script, which returns a sublist of materials/items for a user chosen assembly. But i found a problem, when i sort on the material cost, it does not sort the values correctly. etc (the most expensive items should show at the top) But they dont?? Which you can see on the screenshot, so im wondering if this is a netsuite thing or a thing that has to do with my script
j
Looks like you are sorting it as if it is text, instead of a number.
If the field is text, you can do formula number and have TO_NUMBER({yourfield})
c
message has been deleted
message has been deleted
I think you are right!
Im getting an error when changing the fieldType
Fixed the error, tried to change the field type to currency, but it makes no difference
works now
🎉 1