Oracle CRM On Demand JavaScript API Developer's Guide > JavaScript API Reference > Methods for CRUD Operations >
Helper Functions for Callback Functions
Table 13 describes the helper functions that are available for callback functions.
Table 13. Helper Functions for Callback Functions
|
|
|
|
|
getRowId() |
row ID |
Create, read, update |
Gets the row ID of the record in the response object. |
var rowID = response.getRowId();
|
getModId() |
mod ID |
Create, Read, Update |
Gets the mod ID of the record in the response object. |
var modId = response.getModId();
|
getFieldValue(fieldName) |
Field value |
Read |
Gets the field value of the corresponding field name passed in the function. |
var desc = response.getFieldValue("Description");
|
|