Hello, I need to do a lookup on an invoice line wh...
# suitescript
p
Hello, I need to do a lookup on an invoice line when an invoice is initially created. I am trying pageinit but it does not pickup the line value. What scripting entry point can I use? I need the project value on the line so I can set some values on the invoice
b
what does your code look like
p
message has been deleted
b
that looks okay
id probably use getSublistValue instead to avoid messing with the current line
but otherwise you may want to try using setTimeout to get the values later