* Code optimization for accounts receivable report to avoid timeout error * Added index for party_type