HI Experts,
i am trying to create new LeanLead using Customer BO (Event- BeforeSave) , since Customer comes under Foundation deployment unit and LeadLead comes under CRM deployment unit,
system is not allowing me to write the code in Customer BO (Event- BeforeSave) ,
CustomerExtensionBO - Even Before save -
if (this.CustomerRole.RoleCode.content == "CRM002") { // CRM002 is prospect role
LeanLead.CreateWithReference(this) ;
}
error is -
Access of member 'CreateWithReference' in a cross-deployment unit is not possible.
Regards,
Abhishek