Hi,
I wrote the following script to uncheck default billing and default shipping When creating new address in customer record
function uncheck_default_add() { nlapiSetCurrentLineItemValue( 'addressbook', 'defaultbilling', 'F'); nlapiSetCurrentLineItemValue( 'addressbook', 'defaultshipping', 'F'); }Where should I apply it (What is the function)? I tried many deployments and functions but no one works perfectly.