Fix Asset ID’s Creation GP 2015

  • Fix Asset ID’s Creation GP 2015

    Posted by Jeff-Ralph on December 11, 2019 at 9:53 am
    • Jeff Ralph

      Member

      December 11, 2019 at 9:53 AM

      ??Hi all,

      We are having trouble creating Asset ID’s with hyphens “-“. This is strange as we have many previous created?

      Please see screen shot.

      Any ideas?

      Thanks,

      Jeff

      ——————————
      Jeff Ralph
      Financial Accountant II
      City of St. John’s
      St. John’s
      ——————————

    • Gerald Buenafe

      Member

      December 11, 2019 at 12:58 PM

      Hi Jeff,

      This ‘change’ was already in place since GP2013 R2… it might have something to do with theĀ Auto Generate Next Asset IDĀ feature.

      At any rate, here are a couple of workarounds (i.e.the error stays…):

      1. use a different character (instead of a hyphen)
      2. useĀ PSTL (Asset Modifier) to rename the asset
      3. update the ASSETID value across the different Fixed Assets tables via SQL

      ——————————
      Gerald Buenafe
      Owner/Consultant
      BTP Technologies LLC
      CHANTILLY VA
      ——————————
      ——————————————-

    • Blair Christensen

      Member

      December 12, 2019 at 10:29 AM

      In general, it’s a good idea to treat ID’s very carefully and avoid non alphanumeric characters because of the ways those get handled on the database end.Ā  Remember, to a computer, there is no difference between a hyphen and a minus sign, which can cause problems depending on the situation.Ā  Best policy is to use only numbers and letters in ID fields.Ā  Other characters specifically to avoid in ID fields: *, &, %, #, @,Ā !, ‘, “, and the comma itself.Ā  If you want to use a separator character, use the underscore “_” instead, as it has no alternative use and is always treated as a printable character.??

      ——————————
      Blair Christensen
      Database Administrator
      Oppenheimer Companies, Inc.
      Boise ID
      ——————————
      ——————————————-

    Jeff-Ralph replied 6 years, 4 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘Fix Asset ID’s Creation GP 2015’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!