break the stockdetail into 2 seperated xml file:T_WM_INDETAIL.xml & T_WM_OUTDETAIL.xml
make the Batch field in T_WM_INDETAIL.xml not null allowed