Evaluate if you can write to a specific record identified by table and
sys_id.
Table 1. Parameters
Name |
Type |
Description |
table |
String |
The name of the table containing the record to query, such as
pa_indicators. |
id |
String |
The sys_id of the record to query. |
Table 2. Returns
Type |
Description |
Boolean |
Indicates that you can write to the specified record. Returns true if the
record exists within the domain of the current user. Returns false if the record
does not exist, or is in a different domain. |
var pa = new SNC.PADomainUtils();
pa.isWriteable('pa_incidents','cd8125b5140012007665a83e633b028d');