I am running a client side fieldchanged function that sets the Tax Item based on Location and Ship Method. The first thing the script does is look into the Customer record to see if they are taxable. I have the following to accomplish that:
var Customer = nlapiGetFieldValue('entity');
var Taxable = Customer.getFieldValue('taxable');
But I am getting a error on "var Taxable = Customer.getFieldValue('taxable');" that says:
Customer.getFieldValue is not a function
I have been running this script for months now, and I have never gotten that error before. It just started today. Is there anything that changed with Suitescript?
Any help with this would be greatly appreciated!