attributes: {
"SpeakAddress": {
type: Terrasoft.ViewModelColumnType.VIRTUAL_COLUMN,
dataValueType: Terrasoft.DataValueType.LOOKUP,
referenceSchemaName: "AccountAddress",
isLookup: true,
lookupListConfig: {
"filter": function () {
Как написать sql запрос
select ad.id, ad.Address
from
AddressType at,
AccountAddress ad
where
at.Name = 'Собеседования' and
at.Id = ad.AddressTypeId
}
}
//isRequired: true
},