Convert to string before gsub
Better error message for non inventory item
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
Merge branch 'master' into cassetes