Hi guys, I have next piece of code. When I run it ...
# suitescript
v
Hi guys, I have next piece of code. When I run it and log the result, i get ‘SpecOrd’ and not Id of Purchase Order. Is this normal behaviour or am I missing something?
Copy code
var poCreate = salesOrderRecord.getSublistValue({
            sublistId: 'item',
            fieldId: 'createpo',
            line: i
          });
1
I actually needed fieldId: ‘createdpo’.
z
what are you using record.load or search?