Well if your building your own ERP I wish you the best of British. However if you want to re-invent the wheel you must be braver than me..certainly got deeper pockets! Shopping Cart Elite these guys have it all layed out wthin their platform, if you are an enteprise client you may want to leverage Acumatica with this same technology with will give you cloud ERP and integrated Accounting.