This message was deleted.
# suitescript
s
This message was deleted.
a
the item... the comment says that? // the ID of the record item... "item record" would be more understandable
h
Thank you!
I tried running this a few different ways and wanted to verify that was no the issue. Still need to re-work my scripting a bit more
a
🙂 no worries the UE script is on the sales order already, so you don't generally need to reference its id... and if you do its available in the
context
so they would be able to include that in example code and it would still work for everyone
e
No need to delete questions that get answered; leaving them here helps others see and learn in the future
1000000 1
s
100% so annoying, it shouldn't even be a permission on here
a
ok well since ppl seem offended, it was just some NS sample UE code at the start of which there was a placeholder in the id parameter... something like this.
Copy code
let item = record.load({
    type: record.Type.INVENTORY_ITEM,
    id:  "###"  // the ID of the record item
});
and the question was, what ID goes in there? the SO id which the UE is executing on?
👍 1