Bypass Term of Payment in Journal voucher

Dear All,

Can i have some advise and code on this matter where my company want to alter the journal voucher where i need the Due Date (LedgerJournalTrans.Due) is equal to Date in (LedgerJournalTrans.TransDate) without go through the Term of Payment (LedgerJournalTrans.Payment). I want to see the Term of Payment but i don’t want to effect the changes in Due date.

For example, i want the Date is 18/02/2014,Term of Payment is M+15 and Due date also 18/02/2014

but in the system it show Date is 18/02/2014,Term of Payment is M+15 and Due date also 15/03/2014.

Please help me to advise this matter.

Thanks