When creating a customer via script, I'm trying to set the default shipping and billing addresses in the address book, but I'm getting the following error:
custRec.getSublistSubrecord is not a function
. What should I use instead to add addresses to the customer's address book?