The sub total 'A" decides the value for credit management. As suggested by anil, that may be an option.
But the issue is after 45 days it should consider the tax also.
Involve FI guys as suggested by SD.
This one looks very interesting. Please keep posting the status.
Thanks
Jobi