When a global ERP system implementation failed, Hugh Pinkus had to take stock of what went wrong and why.