Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

Invalid Character in VendId

Posted on by 1,599

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

  • Mark E Profile Picture
    Mark E 6,405 on at
    RE: Invalid Character in VendId

    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.

  • CFROTON Profile Picture
    CFROTON 4,710 on at
    RE: Invalid Character in VendId

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

  • MARC_ Profile Picture
    MARC_ 620 on at
    RE: Invalid Character in 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]

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans