web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Invalid Character in VendId

(0) ShareShare
ReportReport
Posted on by 1,006

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 have the same question (0)
  • MARC_ Profile Picture
    626 on at

    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]

  • CFROTON Profile Picture
    4,710 on at

    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%'

  • Mark E Profile Picture
    6,451 on at

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 449 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 422 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans