Purchase account would be debited by 38000 and packing account would be debited by 2000. 40000 would be credited to respective creditor or bank a/c.... reason for not accounting trade disc is that we record only cash discount in the book of accounts.
HOPE MY ANSWER WAS HELPFULL TO U...