Skip to Content
0
Jan 26 at 06:59 AM

Get last date with value in SAC

270 Views

Hi

I want to create an action to calculate depreciation of an investment. It will be a general calculation that will take the full investment sum (investment account member) and spread it on ten years (on the depreciation account member). The allocation of the depreciation should start on next month after last investment of the project was done. How do I find the date of the last investment for each project?

I already have an action that prompts for projects, start date and number of years of the depreciation. But the above action will be more general for all projects to begin with.

Thanks!
Magnus Olsson