get accounts for opening entry
cleanup raw materials supplied table for sub-contraction. Fixes #1743