I had 3 custom entities called promotion coupon and member . In the member entity i created a text field called coupon id which is not linked to any of other entities and in the coupon entity i have lookup feild for promotion .Here the problem is i want to compare the coupon id feild in the member entity with coupon id field in the coupon entity . If it matches the coupon id in the member entity that coupon id should link to the promotion . I want javascript code for it or any suggestions would be helpful
Thank you
*This post is locked for comments