originalLead field

This commit is contained in:
yuri
2016-10-05 12:07:08 +03:00
parent 57eeec63c1
commit 7c554a605e
7 changed files with 51 additions and 9 deletions
@@ -13,7 +13,8 @@
"contactRole": "Title",
"campaign": "Campaign",
"targetLists": "Target Lists",
"targetList": "Target List"
"targetList": "Target List",
"originalLead": "Original Lead"
},
"links": {
"contacts": "Contacts",
@@ -27,7 +28,8 @@
"targetLists": "Target Lists",
"campaignLogRecords": "Campaign Log",
"campaign": "Campaign",
"portalUsers": "Portal Users"
"portalUsers": "Portal Users",
"originalLead": "Original Lead"
},
"options": {
"type": {
@@ -15,7 +15,8 @@
"campaign": "Campaign",
"targetLists": "Target Lists",
"targetList": "Target List",
"portalUser": "Portal User"
"portalUser": "Portal User",
"originalLead": "Original Lead"
},
"links": {
"opportunities": "Opportunities",
@@ -26,7 +27,8 @@
"account": "Account (Primary)",
"accounts": "Accounts",
"casesPrimary": "Cases (Primary)",
"portalUser": "Portal User"
"portalUser": "Portal User",
"originalLead": "Original Lead"
},
"labels": {
"Create Contact": "Create Contact"
@@ -12,12 +12,14 @@
"description": "Description",
"amountConverted": "Amount (converted)",
"amountWeightedConverted": "Amount Weighted",
"campaign": "Campaign"
"campaign": "Campaign",
"originalLead": "Original Lead"
},
"links": {
"contacts": "Contacts",
"documents": "Documents",
"campaign": "Campaign"
"campaign": "Campaign",
"originalLead": "Original Lead"
},
"options": {
"stage": {
@@ -159,6 +159,12 @@
"layoutMassUpdateDisabled": true,
"layoutFiltersDisabled": true,
"entity": "TargetList"
},
"originalLead": {
"type": "link",
"layoutMassUpdateDisabled": true,
"layoutListDisabled": true,
"readOnly": true
}
},
"links": {
@@ -268,6 +274,11 @@
"type": "hasMany",
"entity": "User",
"foreign": "accounts"
},
"originalLead": {
"type": "hasOne",
"entity": "Lead",
"foreign": "createdAccount"
}
},
"collection": {
@@ -183,6 +183,12 @@
"layoutMassUpdateDisabled": true,
"layoutListDisabled": true,
"readOnly": true
},
"originalLead": {
"type": "link",
"layoutMassUpdateDisabled": true,
"layoutListDisabled": true,
"readOnly": true
}
},
"links": {
@@ -280,6 +286,11 @@
"type": "hasOne",
"entity": "User",
"foreign": "contact"
},
"originalLead": {
"type": "hasOne",
"entity": "Lead",
"foreign": "createdContact"
}
},
"collection": {
@@ -208,17 +208,20 @@
"createdAccount": {
"type": "belongsTo",
"entity": "Account",
"noJoin": true
"noJoin": true,
"foreign": "originalLead"
},
"createdContact": {
"type": "belongsTo",
"entity": "Contact",
"noJoin": true
"noJoin": true,
"foreign": "originalLead"
},
"createdOpportunity": {
"type": "belongsTo",
"entity": "Opportunity",
"noJoin": true
"noJoin": true,
"foreign": "originalLead"
},
"campaign": {
"type": "belongsTo",
@@ -70,6 +70,12 @@
"campaign": {
"type": "link"
},
"originalLead": {
"type": "link",
"layoutMassUpdateDisabled": true,
"layoutListDisabled": true,
"readOnly": true
},
"createdAt": {
"type": "datetime",
"readOnly": true
@@ -167,6 +173,11 @@
"entity": "Campaign",
"foreign": "opportunities",
"noJoin": true
},
"originalLead": {
"type": "hasOne",
"entity": "Lead",
"foreign": "createdOpportunity"
}
},
"collection": {