Name
x_snc_codesanity.DevToolsGetParentRecord
Description
The DevToolsGetParentRecord function is called by the DevTools extension point instance class and returns a parent record for the given record if it can be determined.
Script
function DevToolsGetParentRecord(grRecord)
{
var GetRecord = x_snc_devtools.GetRecord;
var strTable = grRecord.getRecordClassName();
/*
if (strTable == 'incident_task')
{
return GetRecord('incident',grRecord.incident);
}
*/
return false;
}
Sys ID
686718d3db4a8510bcced03cd39619be