- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2025 05:15 AM
var getValidContractsForAccount = Class.create();
getValidContractsForAccount.prototype = Object.extendsObject(global.AbstractAjaxProcessor, {
getValidContractsForAccount: function(accountId) {
gs.info('ankit1::'+accountId);
if (!accountId) return 'sys_id=NULL';
},
type: 'getValidContractsForAccount'
});
This is my script include which I am calling in order management form while user will enter their account.
I am calling this script include in reference qualifier for a custom field.
Issue: It is not printing any logs.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2025 06:13 AM
Hi @ankitbanerj ,
It looks like the SI function is not getting executed due to wrong syntax while calling it, please correct the syntax as below and test if it works.
javascript: new sn_app_orm_wksp.getValidContractsForAccount().getValidContractsForAccount(current.account)
If this address your question, please don't forget to mark this response correct by clicking on Accept as Solution and/or Kudos.
You may mark this helpful as well if it helps you.
Thanks,
Animesh Das
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2025 05:51 AM
Try setting the sys_properties record 'glide.security.sandbox_no_logging ' to false.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2025 06:13 AM
Hi @ankitbanerj ,
It looks like the SI function is not getting executed due to wrong syntax while calling it, please correct the syntax as below and test if it works.
javascript: new sn_app_orm_wksp.getValidContractsForAccount().getValidContractsForAccount(current.account)
If this address your question, please don't forget to mark this response correct by clicking on Accept as Solution and/or Kudos.
You may mark this helpful as well if it helps you.
Thanks,
Animesh Das