Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Cash Flow Forecast Post Reply Post New Topic
Author Message
Gethyn
Newbie
Newbie
Avatar

Joined: 15 Aug 2011
Location: United Kingdom
Online Status: Offline
Posts: 3
Quote Gethyn Replybullet Topic: Cash Flow Forecast
     Posted: 15 Aug 2011 at 9:51am
Hello,


I have a problem creating a formula to produce a cash flow forecast.


The fields I have are:

Opportunity
Estimated Close Date
Billing Frequency
PS Fees
Annual License Fee

I need to create a table, as shown below:

Which applies 50% of PS Fees, 1 month after Estimated Close Date.
Then the remainig 50% of PS Fees + 2 x Annual License Fee, 3 months after Estimated Close Date.


Opprotunity     Oct     Nov    Dec     Jan     Feb
Opportunity A     5000            10000     
Opportunity B             5000             10000     
Opportunity C             1500             15000     
Total             5000     6500   10000     25000     0

Thanks in advance for your help,

Gethyn.
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 15 Aug 2011 at 10:52am
Because of the complex calculations that change the dates for the data, you will not be able to do this by selecting tables in Crystal.  I'm not sure that you can do it using a command.  I think you're going to have to write a stored procedure that will do the correct calculations and return a table that contains two rows for each opportunity - one row for close date + 1 month and another for close date + 3 months.
 
What type of database are you connecting to?
 
-Dell
IP IP Logged
Gethyn
Newbie
Newbie
Avatar

Joined: 15 Aug 2011
Location: United Kingdom
Online Status: Offline
Posts: 3
Quote Gethyn Replybullet Posted: 15 Aug 2011 at 11:00am
Hi Dell,

It's a Microsoft SQL Server database.

Thanks,

Gethyn.
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum