I have more than five modules where "reporting date" is a line item and I import values for them. In each of those modules I have another line item to calculate the reporting period based on the reporting dates. Here is the formula for that.
IF DAY(reporting date) <= 15 THEN PERIOD(reporting date) ELSE PERIOD(reporting date) + 1.
Currently i have this formula in each of those 5 modules. Is it possible to centralize this calculation done in a line item of a system module and call it from the 5 modules by passing the reporting date as a parameter. That way if we need to change the formula later, I can modify it one module, rather than 5 modules. I might be able to centralize the threshold days (15) in system module, but I want to know if I can centralize the entire formula.
Any help is appreciated!!