expression for Orders_base module

How to make expression for order closed and order canceled in Orders_Base module

Hi Harish,

Asuming you are talking about training exercise, you can make iin the orders_base module two server actions, one with an  aggregate that counts the total number closed orders, and another for the total orders canceled. The retun value of both server actions you return the total as a long integer. Make sure to set the server actions public and is function.

In your responsive module you can now define dependency to the two functions from orders_base and then use them in an expression.

Regards,

Daniel