26
Views
1
Comments
expression for Orders_base module
Question

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

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

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

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.