Calculation for Payment Overdue by Buckets 30 days, 60 days, 90 days.
Posted: Wed Jul 11, 2007 1:35 am
Dear Expert,
I have successfully created a Statement Of Account and we were happy with it, until our Accountant requested for overdue payments to be shown in the buckets of >30 days, >60 days, >90 days, >120 days etc.
I have the following C# script, how can I insert this into contitions so that the overdue invoices are accumulated into the right bucket fields. I have created 5 decimal fields = Buk30, Buk 60, Buk90, Buk120 and Buk160 Please....................
if (Days > 30 && Days 60 && Days 90 && Days 120 && Days 160)
{
Amount += Buk160
}
else
{
// whatever not within the range;
}
I have successfully created a Statement Of Account and we were happy with it, until our Accountant requested for overdue payments to be shown in the buckets of >30 days, >60 days, >90 days, >120 days etc.
I have the following C# script, how can I insert this into contitions so that the overdue invoices are accumulated into the right bucket fields. I have created 5 decimal fields = Buk30, Buk 60, Buk90, Buk120 and Buk160 Please....................
if (Days > 30 && Days 60 && Days 90 && Days 120 && Days 160)
{
Amount += Buk160
}
else
{
// whatever not within the range;
}