https://netsuiteprofessionals.com logo
l

Lucas

03/26/2022, 5:09 PM
Hi All, I need input on this, could someone help? I have client script and I want 'shipaddr1' on sublist changed event, I know shipaddr1 is deprecated, Instead I am using Record.getValue('shipaddress') but it's giving me entire shipping address So I am splitting this address into an array and which is giving me 5 values out of that 3rd index is my shipping address, Do you think this is the correct way? and I know there is a possibility that each time I won't get shipping address at 3rd index, in that case what should I do? Please help Thanks.
b

battk

03/27/2022, 12:58 AM
first attempt should be using SuiteScript 2.x Scripting Subrecords
👍 1