8.0 wmsstaging8 jco

reuse function to detect the type of move