Hi..
I know this should be very simple to achive. Its just can't get it done. Please try to help me as much as you can. Here is my problem.
I have a Product List in an entity called "Final_Bill_Item_Info" which holds the Quantity of the products. This Entity is associated to another enity called "Service_Items" which holds the product name. Now what i want is to Calculate the total quantity of Products in the "Final_Bill_Item_Info" categorising to the product name and update that information on another enity called "Test_Stock_2" .
I have the folllowing microflow that works ok when run as an after commit and after delete event of the "Final_Bill_Item_Info" Entity. The microflow updates each product quantity categorizing to the product name in the "Test_Stock_2" Entity.
But what I want is to calculate the same via an Action Button.
When I run the microflow via an action button, only ONE Category name is updated in the "Test_Stock_2" entity. It works if I place the Action Button in the tool bar of a Data Grid of the "Final_Bill_Item_Info" Entity. But again It only updates the selected Product in the data grid, NOT all of them at once.
Is there any way, that I can update all the products at once via an Action button??
** I have also used the "Äggregate" fuction instead of the "Loop", but the result is the same...
Please HELP?
Dylan