Hi. I was able to duplicate the Lead entity and named the duplicate as Order.
I was also able to add an element in Leads->Convert. The element I added is Order.
So, I was able to make a conversion of Lead to Order. But the problem is that I don't know what to make as a foreign field here in this code in my Order.json under entityDefs:
"createdOrder": {
"type": "belongsTo",
"entity": "Order",
"noJoin": true,
"foreign": "originalLead"
},
Since there is no originalLead under Order(which is a direct copy of Lead).
My question is, what field can I replace the originalLead in that code?
Thanks in advance.
I was also able to add an element in Leads->Convert. The element I added is Order.
So, I was able to make a conversion of Lead to Order. But the problem is that I don't know what to make as a foreign field here in this code in my Order.json under entityDefs:
"createdOrder": {
"type": "belongsTo",
"entity": "Order",
"noJoin": true,
"foreign": "originalLead"
},
Since there is no originalLead under Order(which is a direct copy of Lead).
My question is, what field can I replace the originalLead in that code?
Thanks in advance.