I need to restrict customer product in customer entity.if i have one customer product Then "add new customer product" button should be disable on customer entity..
I need to restrict customer product in customer entity.if i have one customer product Then "add new customer product" button should be disable on customer entity..
I need to restrict customer product in customer entity.if i have one customer product Then "add new customer product" button should be disable on customer entity..
In the function that determines whether the button will be disabled/enabled, you'll need to check if any Customer product is already associated with the Customer (by making a JavaScript REST OData call). If it exists, simply return a false which will disable
the button.