Component.source
Property Description |
The query type of the component joined to this component. This property can also be described as the inverse relationship of this component. This property is set during the of Query.joinFrom(options) and Component.joinFrom(options). |
Type |
string (read-only) |
Module |
|
Parent Object |
|
Sibling Object Members |
|
Since |
2018.1 |
Syntax
Important:
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/query Module Script Samples.
// Add additional code
...
var myEmployeeQuery = query.create({
type: query.Type.EMPLOYEE
});
var myTransactionJoin = myEmployeeQuery.joinFrom({
fieldId: 'entity',
source: 'transaction'
});
var theSource = myTransactionJoin.source;
...
// Add additional code