Cash discount date same as due date

Dear All,

I have setup the terms of payment as 90 days with end of the month for a customer. If invoice is booked on january 10 then due date is calculated as April 30 and is working fine. But how to give cash discount date as April 30 which is same as due date.

Appreciating your quick reply.

Thanks,

Sayeed

Solved the issue by creating a cash discount setup with discounting principle as Curr. Mth and Months as 3. After thiis, the discount date calculated same as due date of invoice.