01-24-2020, 08:26 PM (This post was last modified: 01-24-2020, 08:34 PM by rslemer.)
I imagine there was a workflow code for calculations today, that could disable
would do a workflow with the aggregate function for these calculations
and maybe the developer’s block to list items as a detailed view
was needing the "stepping stones"
but, by the way, it will be better to create an external application and consult the database directly, the bad thing for the user is that he is out of the same visual standard ...
I understand and it is a good approach but those numbers are calculated dynamically per time period with special related lists to show the right numbers, you would have to modify them all... non-trivial
01-27-2020, 08:25 PM (This post was last modified: 01-27-2020, 08:25 PM by rslemer.)
I will use the cbemployee module as a base
I created a block for the monthly goal value
goal start day (which is always the 9th of each month)
goal end day (which is the 10th of the following month)
Accumulated value
I need to do a function with the sql command to sum up the confirmed payments for this user (I thought of a custom function because of the period that is not the full month, but from 9 to 10 of the following month)
and I wanted to make a list of the payments that made up this calculation (I think this is developer blocks, right)
Does the custom function have a model that I can follow? I think doing a sql command that returns the calculated value, I need the system to take this value and put it in the field