Your cost scheme highly depends on self-cost and ability to react on changes in realtime. Inventory control, discount amount control, purchase prices and menu prices control is vitally important, along with effective management. All data should be imported automatically into system and be available for analytics online. Export of ERP system data to accounting is important, while it saves your time.