I have a solution to move the inventory from one location to another. It uses the global variable $$rv to hold the initial amount and use Resource::LayoutNavigation2 (global) to hold the number wanted to be moved. However, I frequently got an error message for comparing the two numbers (see the screen shot). I wonder what's wrong with it. Thanks.