Very interesting; I just added this UE to the Loca...
# suitescript
e
Very interesting; I just added this UE to the Location record:
Copy code
function beforeLoad(type) {
	nlapiLogExecution("DEBUG", "addrtext", nlapiGetFieldValue("addrtext"));
	nlapiLogExecution("DEBUG", "addr1", nlapiGetFieldValue("addr1"));
	nlapiLogExecution("DEBUG", "addr2", nlapiGetFieldValue("addr2"));
	nlapiLogExecution("DEBUG", "addr3", nlapiGetFieldValue("addr3"));
	nlapiLogExecution("DEBUG", "city", nlapiGetFieldValue("city"));
	nlapiLogExecution("DEBUG", "state", nlapiGetFieldValue("state"));
	nlapiLogExecution("DEBUG", "zip", nlapiGetFieldValue("zip"));
	nlapiLogExecution("DEBUG", "country", nlapiGetFieldValue("country"));
}