My client recently upgraded to SL2018. They've been on 2018 since the beginning of July. They recently found a vendor code that has an apostrophe. As such it gives them a text control error anytime they try to use the vendor. I've tried updating it using the PSTL tool, however the utility is not allowing the selection of the vendor code again due to the invalid character.
Is there a way to work around this selection error. Is there a list of tables where we can update via SQL? I know the list would include
Vendor
APDoc
APTran
APAdjust
APHist
AP_Balances
Are there other tables we need to consider? Please advise. Look forward to a response.
JG
I would run this script against your App DB:
select obj.name as 'Table', col.name as 'FieldName', type.name as 'Column Type', col.length as 'Length' from syscolumns col join sysobjects obj on col.id = obj.id
join systypes type on col.xtype = type.xtype
where col.name like '%vendid%' and obj.type = 'u' and type.name = 'char' and col.length = 15 order by obj.name, col.name
If you just run on the '%vendid%' wildcard, you will get columns that may have vendid as part of the name, but will include types and lengths that do not match the VendID column structure.
Hello JG
You can run this, but it will return views as well. (appdb)
SELECT COLUMN_NAME, TABLE_NAME
FROM INFORMATION_SCHEMA.COLUMNS
WHERE COLUMN_NAME LIKE '%vendid%'
Hi JG,
I just ran Nexvue Keychange on my test system and this is the output report of table / column combos that it hits. Good luck (take a backup first!)
Marc
[View:/cfs-file/__key/communityserver-discussions-components-files/35/KCALLBGG.LOG:320:240]
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156