Update account on inventory bundle

Update account on inventory bundle

Could someone please give me the deluge code needed to change one of the account numbers on the accounting transaction that's created when you create a bundle? Specifically, the entry is:
DR Finished Goods
  CR Uncategorized expense

And I want Deluge code to change the "Uncategoried expense" to "Raw materials".

Thanks in advance!