Returns the fields that link the current master table to the specified detail table.
Syntax
settings.getDetailsKeys(detailsTable);
Arguments
detailsTable
The name of a detail table linked to the current table.
Return value
An array with two elements: masterKeys contains fields from the current master table, and detailsKeys contains the corresponding fields from the detail table.
Example
Display the first pair of fields linking Orders to Order Details.
var settings = new ProjectSettings("Orders");
var keys = settings.getDetailsKeys("Order Details");
MVCFunctions.Echo(keys["masterKeys"][0] + " -> " + keys["detailsKeys"][0]);
See also: