<@UM3UMEK3L> Can you use the lineuniquekey?
# suitescript
p
@Sirus Badiee Can you use the lineuniquekey?
s
Unfortunately lineuniquekey doesn't work either - that one doesn't match the actual item sublist line ID on the record that is needed to update the sublist value.
p
you could do a scheduled script and loop through the lines on the invoice with an issue
is there a reason you can't fix the source transaction so this does not happen?
s
Yeah that's pretty much what I ended up doing... Definitely gets the job done, but I feel like it's a bit more processing power - since if there are multiple lines that are wrong on the Invoice, it needs to loop through all of them multiple times.
Yeah, the source transaction is the Sales Order and unfortunately, our homegrown e-commerce website is overriding some classifications that are natively put on the Sales Order (sourced from the Item record)
So it's not really a NetSuite-functionality thing.
p
could you adjust the field in the integration?