I am trying to implement Charts using the technique in the Sample CRM BO. this is my Rule.
Rule 1
CREATE StatisticsRecordIncome WITH StatisticsRecordIncome.SYear=StatistParam.StatYear,StatisticsRecordIncome.BaseName=StatistParam.BaseName,StatisticsRecordIncome.SMonth=1,StatisticsRecordIncome.StatusText='Paid'
Rule 2
CREATE StatisticsRecordIncome WITH StatisticsRecordIncome.SYear=StatistParam.StatYear,StatisticsRecordIncome.BaseName=StatistParam.BaseName,StatisticsRecordIncome.SMonth=2,StatisticsRecordIncome.StatusText='Unpaid'
Rule 3
CREATE StatisticsRecordIncome WITH StatisticsRecordIncome.SYear=StatistParam.StatYear,StatisticsRecordIncome.BaseName=StatistParam.BaseName,StatisticsRecordIncome.SMonth=3
Rule 4
Same as Rule 3 except I change SMonth= 4, 5, 6, etc for each month and rule.
When I run the report the it does the Count but it only count is wrong. how can I get it to Count using the Invoice Status. I am still trying to understand how this Rule work. Can you help?
Anyone please help.
Leopold
The Problem I am having is that there are 12months in the Year. the current rule is creating 12 records for the Year. But my Invoice Status is only (Paid and Unpaid)