Is it possible to add an address section to a custom record that acts like adding an address to a customer? I have the need to allow an address to be set on a custom record but I’d like to use NetSuite’s built in address forms and validation (e.g. sourcing the city and state from the zip).
b
battk
05/19/2019, 7:05 AM
i dont think you can add an address to a custom record
battk
05/19/2019, 7:06 AM
you can reference an existing address with a address book select custom field
s
Steven
05/19/2019, 8:24 AM
Yeah but it doesn’t seem to add the ability to add a new address. My custom record is linked to a customer so I could source the customer’s address but I need the ability to add a new address directly to the record
b
battk
05/19/2019, 8:33 AM
I doubt you can add an actual address subrecord to your custom record. NetSuite doesn't expose a way to add subrecords to custom records.
k
KevinJ of Kansas
05/19/2019, 10:58 AM
You could add a 2nd custom record to your desired behavior, but obviously that disconnects it from all functionality
s
Steven
05/19/2019, 5:55 PM
Thanks, sounds like I’ll need to build the functionality myself
Steven
05/20/2019, 1:12 AM
I just built each of the fields on the custom record and used a client script to call a quick api that returns the city name and state code based on zip. Behaves just like the address object, just a little uglier