From 9b77f74e53c36ea424a67f3fe5944071727e0102 Mon Sep 17 00:00:00 2001 From: yuri Date: Mon, 18 May 2015 12:02:34 +0300 Subject: [PATCH] optedOut column --- .../metadata/entityDefs/TargetList.json | 28 ++++++++++++++++--- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/TargetList.json b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/TargetList.json index 463b37343b..b173da43f7 100644 --- a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/TargetList.json +++ b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/TargetList.json @@ -66,22 +66,42 @@ "accounts": { "type": "hasMany", "entity": "Account", - "foreign": "targetLists" + "foreign": "targetLists", + "additionalColumns": { + "optedOut": { + "type": "bool" + } + } }, "contacts": { "type": "hasMany", "entity": "Contact", - "foreign": "targetLists" + "foreign": "targetLists", + "additionalColumns": { + "optedOut": { + "type": "bool" + } + } }, "leads": { "type": "hasMany", "entity": "Lead", - "foreign": "targetLists" + "foreign": "targetLists", + "additionalColumns": { + "optedOut": { + "type": "bool" + } + } }, "users": { "type": "hasMany", "entity": "User", - "foreign": "targetLists" + "foreign": "targetLists", + "additionalColumns": { + "optedOut": { + "type": "bool" + } + } } }, "collection": {