Discussions
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Join us
The case of the (partially) vanishing shipaddress - line item shipping
Have been tracking down a nasty bug for quite a while with no luck. Heres what I know.
We are creating sales order records via suitescript and setting shipaddress (msr - shipaddress on line item) with an internal id of an addressbook record like this:
record.setCurrentLineItemValue('item', 'shipaddress', [addrbookaddrid] );
record.commitLineItem('item');
This almost always seems to work fine. However we find that when we have user event scripts (or client scripts) that read the value of the ship address
on these lines after the record has been saved, and there is no value. This ship to address mysteriously disappears. This happens seemingly randomly. We cannot reproduce the error, only catch it after the fact.