what is table_sys_id while making a code for mandatory check
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2017 07:56 AM
what is table_sys_id while making a code for mandatory check
and what is gel() method and which value do we fetch using this method
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2017 09:50 AM
The table_sys_id field on the sys_attachment table is the sys_id of the target record - the record you want to add the attachments to.
'gel' is simply a shortcut for 'document.getElementById', which is standard javascript.
HTML DOM getElementById() Method
Mark Correct if it solved your issue or hit Like and Helpful if you find my response worthy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2017 06:35 AM
hello deepa
your answer is very nice it has cleared my doubt but i am still confused with the parameter which is passed under gel()
for ex. in the below statement
var cat_id = gel('sysparm_item_guid').value;
from where do we get this value "sysparm_item_guid "

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2017 06:52 AM
var cat_id = gel('sysparm_item_guid').value; //'sysparm_item_guid--this will get current cart item in the order guide
//gel--It is a shortcut for " document.getElementById ", it's javascript function.
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2017 11:49 AM