Public
Private
SameAccount
auth
cache
config
crypto
currency
currentRecord
email
encode
file
format
http
https
log
plugin
portlet
record
redirect
render
runtime
search
sftp
sso
task
transaction
ui/dialog
ui/message
ui/serverWidget
url
util
workflow
xml
/** * @NApiVersion 2.x * @NScriptType ClientScript * @NModuleScope Public */ define(["N/log"], function(record, runtime, search) { function lineInit(context) { // context.currentRecord; // context.sublistId; return; } function pageInit(context) { // context.currentRecord; // context.mode; return; } function postSourcing(context) { // context.currentRecord; // context.sublistId; // context.fieldId; return; } function saveRecord(context) { // context.currentRecord; return true; //Return true if you want to continue saving the record. } function sublistChanged(context) { // context.currentRecord; // context.sublistId; } function validateDelete(context) { // context.currentRecord; // context.sublistId; return true; //Return true if the line deletion is valid. } function validateField(context) { // context.currentRecord; // context.sublistId; // context.fieldId; // context.line; // context.column; return true; //Return true to continue with the change. } function validateInsert(context) { // context.currentRecord; // context.sublistId; return true; //Return true if the line insertion is valid. } function validateLine(context) { // context.currentRecord; // context.sublistId; return true; //Return true if the line is valid. } function fieldChanged(context) { // context.currentRecord; // context.sublistId; // context.fieldId; // context.line; // context.column; return; } } ); return { getInputData: getInputData, map: map, summarize: summarize };