Real-time inventory visibility is what makes BOPIS, click-and-collect and ship-from-store work. Here's how it is built, and how to tell if yours is accurate.