Set tran_date and undep_funds as needed for Deposit

Some NetSuite instances have a constraint on the deposit transaction
date not being too far away from the sales order transaction.

Also undeposited funds accout might not be required for all instances