Fix for 1072, ar/ap account dropdown resetting on update
Removing unused code
Correcting join on entity in IS->retrieve_invoice
Fixing possible join projection issue posting gl transaction
state/province not always filled in,required in Belgium