Please help with this question
On the Product edit page, develop a new button or action for calculating product popularity. Popularity is calculated as the ratio of the number
of products in invoice records that contain the current product, to the total number of products in invoice records. Display the calculation result
as a percentage using the message window.
how to solve it by esq?