Update stock report and field library to use parameters named node_category & section_category instead of site & group
testTradeReports: create movements with both sides
fix resourceType related key that was joining stock table twice