Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Getting code to execute on system generated transactions
I have written a small piece of code that goes through the line items on a purchase order transaction to set a column field to be the date of the purchase order. This is to allow us to say on the bill when the order was made.
This code is working well for manually entered transactions (I have the code executing on save record) but it doesn't work for automatically generated purchase orders (e.g. drop ships or memorised invoices). I have to go into edit mode on the PO and then save again. I'd like it just to run without me having to do this.
0