Have you ever heard for OpenERP system. You can manage:
+ Sales, Purchases, Warehouse, Accounting, HR,...
+ POS for multi branches, with central DB.
+ Multi Companies applying
+ Connector to Online Shop to synchronize data.
This is a comlete system that will be best suitable with your business model, and it is OPEN SOURCE, and totally FREE TO USE.