Data Repair Techniques for Microsoft Dynamics GP Great Plains - Alba Spectrum
Released on = May 12, 2007, 2:30 pm
Press Release Author = Alba Spectrum Group
Industry = Computers
Press Release Summary = If you have large number of transactions in your ERP, it is natural to expect data inconsistency to occur from time to time. If this happens, you need SQL DBA skills and some understanding of GP tables structure and effect of records changing.
Press Release Body = Alba Spectrum Group, http://www.albaspectrum.com help@albaspectrum.com 1-866-528-0577, 1-630-961-5918
If you have large number of transactions in your ERP, it is natural to expect data inconsistency to occur from time to time. If this happens, you need SQL DBA skills and some understanding of GP tables structure and effect of records changing. Before you do SQL data repair, please think about end-user options, such as check links, plus research tools available in routines and utilities sections. If you got to do data repair, read the following introduction level article . Dexterity table backup. As Microsoft Great Plains is successor of Great Plains Software Dynamics - it has the features of Great Plains Dexterity. On the features is this - each table is required to have identity column - DEX_ROW_ID. When you need to backup just one table you use the following script:
Select * into IV00101_Backup from IV00101. In this script you need to replace IV00101 with the table that you intend to backup. In order to know table name, go to tools->resource descriptions->tables . Table restore. If you would like to restore your GP tables from backup, described above, you need to run these scripts:
Alter table IV00101_Backup drop column DEX_ROW_ID Delete table IV00101 (this script is very dangerous - it will delete all your inventory item master records, so please, be sure what you are doing, meaning that you really need to restore from backup and no new items were created since the time of backup) Insert into IV00101 select * from IV00101_Backup
. Table Update. Now you are facing the situation, when you manager asks you to update specific fields in your live table from your backup table. Here are the directions:
Update IV00101 set CURRCOST
Web Site = http://www.albaspectrum.com
Contact Details = Alba Spectrum Group, http://www.albaspectrum.com help@albaspectrum.com 1-866-528-0577, 1-630-961-5918