[IT] Passaggi per ricostruire il database HQ (in caso di crash): 1. Ripristinare l'ultimo backup dal database HQ (HQR). 2. Ripristinare un backup più recente possibile da qualsiasi negozio (HQR-Store) sulla stessa macchina in cui è stato ripristinato il database HQ. 3. Creare un Linked Server da HQR a HQR-Store (HQR -> HQR-Store). 4. Convertire il database HQ (HQR) in un database di negozio, utilizzando la procedura SysConvertDbToStoreDb. 5. Utilizzare la procedura SysRecreateHQDatabaseFromStore (@StoreId, @CashRegister), per ottenere i dati mancanti (ricostruzione). 6. Disabilitare il Linked Server da HQR a HQR-Store. 7. Convertire il database HQR di nuovo in database HQ, utilizzando la procedura SysConvertDbToHQ. !! Importante !! Se il processo di ricostruzione è stato avviato, tutti i processi che comportano modifiche a Products, Styles, Barcodes, Contacts, PriceLists, Layouts, Prescribers e Promotions DEVONO ESSERE INTERROTTI finché il processo non si è concluso con successo. Assicurandoci che questi processi vengano interrotti, ci assicuriamo che non ci saranno differenze tra i dati prima e dopo il crash. [EN] Steps for reconstructing HQ database (in case of crashes): 1. Restore the last backup from the HQ database (HQR). 2. Restore a latest possible backup from any store (HQR-Store) on the same machine where the HQ db has been restored. 3. Create a Linked Server from HQR to HQR-Store (HQR -> HQR-Store). 4. Convert the HQ database (HQR) to a store database, using the procedure SysConvertDbToStoreDb. 5. Use the procedure SysRecreateHQDatabaseFromStore in order to get the missing data (rebuild) (@StoreId, @CashRegister). 6. Disable the Linked Server from HQR to HQR-Store. 7. Convert the HQR database back to HQ database, using the procedure SysConvertDbToHQ. !! Important !! Once the rebuilding process has been started, all processes involving changes on products, styles, barcodes, contacts, price lists, layouts, prescribers and promotions MUST BE STOPPED until the process has successfully ended. By assuring these processes are stopped, we ensure that there will not be any differences between the data before and after the crash.