Get time of last publish of stock balance updates when creating task.
Added direct connection to Visma db and sproc for retrieving stock balance updates.