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!
Custom SO body field for Cybersource payments
I'm looking at setting up a custom field to record the amount authorization by Cybersource on a Sales Order. Any ideas how I can script this?
I was looking at the sequence of beforeLoad/beforeSave/afterSave calls when saving a SalesOrder, and it looks like payment is processed through cybersource after the record is saved and before the record is loaded (view mode) again.
So if I'm not mistaken, if I want to calculate this authorized amount I would have to do this on a beforeLoad on a view.. I'm not sure if this is a good idea, since this would introduce the mutation in the view mode.. I would like to avoid those pesky "The record has changed" messages...
0