- Log on to NetSuite using Google Chrome.
- Navigate to the record with a Client-Side Suitescript.
- From the upper-right corner of the browser, click the Settings/Wrench icon and navigate to Tools > Developer Tools (shortcut: Ctrl + Shift + I).
- Type the function name in the console window.
Example: fieldChanged_Intrastat
Result in the console window:
function fieldChanged_Intrastat(type, name) {
try {
if (type == 'item') {
if (name == 'item') {
setNoTC();
}
}
}
catch (ex) {
nlapiLogExecution('ERROR', ex instanceof nlobjError ? ex.getCode() : CUSTOM_ERROR_CODE, ex instanceof nlobjError ? ex.getDetails() : 'JavaScript Error: ' + (ex.message != null ? ex.message : ex));
}
}
- Navigate to the deployment pages to find out the function name.
For Form-level Client Side Suitescript:
- Load the record.
- Click the Customize button, the script can be located at the Custom Code tab
For Global Client Side Suitescript:
- Customization > Scripting > Script Deployments
No comments:
Post a Comment