We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f288d37 commit 078d863Copy full SHA for 078d863
1 file changed
src/FileCabinet/SuiteScripts/CS/customModule_CS.js
@@ -84,7 +84,7 @@ function csExampleModule_CS(log, aModule, bModule) {
84
try {
85
log.audit('starting custom client script saveRecord');
86
// Run code to see if...
87
- // allowSave = false;
+ if (!scriptContext.currentRecord) allowSave = false; //?
88
} catch (err) {
89
log.error({ title: 'csExampleModule_CS.saveRecord()', details: err });
90
}
0 commit comments