RE: Manually updated one of GP table mistakenly
Hi,
The effect of this is as follows:
You have customers in RM00101 (Customer master) that have a class id recorded against them. These Class IDs are 1,2,3,4 etc.
However these Class ID's do not exist in the RM00201 table (RM Class Master). The only ones that exist are 01,02,03,04 etc.
This basically means that your Class ID functionality is corrupt.
So, if you opened a customer in GP cards, and clicked on the Class ID blue underlined text, GP would think you are creating a new Class ID since it doesn't exist.
This shouldn't affect any processing functionality. It would however affect reports that use the Class ID as a filter etc.
To fix, I think all you would need to do is run queries in SQL.
Update RM00101 set CUSTCLAS = '01' where CUSTCLAS = '1'
Update RM00101 set CUSTCLAS = '01' where CUSTCLAS = '2' etc.
This updates the class ID's attached to Customers to be valid Class ID's from the RM00201 table.
This will not change any of the fields that are rolled down by class ID.
Or you could revert the RM00201 table changes?
Update RM00201 set CLASSID = '1' where classid = '01' etc.
Ian.