AP Discount

SOLVED

hello,  when making a pmt to a vendor the discount amt taken is not going to the correct acct.  It is going to a sales a acct versus a purchase acct.  Where can I correct this?  thank you