Sage 100

 View Only
  • 1.  Extract Item Serials with invalid characters

    Posted 04-14-2020 16:43
    Hi
    Customer v2017 Adv has a habit of copy/paste item serial numbers and the result is item serials with a squiggly B at the end of them.  ie: SFCH215123ZUßß      I thought at 1 point I knew how to pull these into an external source (excel, notepad, etc) but fighting with it today. 
    Anybody have a solution as to how to pull this information?
    Thanks
    N

    ------------------------------
    Nancy Hanson
    Blytheco LLC
    Eagan MN
    ------------------------------


  • 2.  RE: Extract Item Serials with invalid characters

    Posted 04-14-2020 16:54
    @Nancy Hanson -@David Speck II helped me with that issue a couple of weeks ago.​

    ------------------------------
    Beth Bowers
    Mom to Samson, Peanut, ChiChi, Canton, Cagney and Daisy (NO Oxford comma - shriek!)
    Beth Bowers
    269-445-1625
    ------------------------------



  • 3.  RE: Extract Item Serials with invalid characters

    Posted 04-14-2020 17:34
    On 90minds or privately?  In other words, can I search for it in 90minds?

    ------------------------------
    Nancy Hanson
    Blytheco LLC
    Eagan MN
    ------------------------------



  • 4.  RE: Extract Item Serials with invalid characters

    Posted 04-14-2020 18:10
    Both.  :-)  I'm pretty sure he has a posting on here, which he reminded me of, but gave me an extra little boost.  If I could remember the darned client, I could do look up my emails on it.  Let me ponder while I cook dinner.

    ------------------------------
    Beth Bowers
    Mom to Samson, Peanut, ChiChi, Canton, Cagney and Daisy (NO Oxford comma - shriek!)
    Beth Bowers
    269-445-1625
    ------------------------------



  • 5.  RE: Extract Item Serials with invalid characters

    Posted 04-15-2020 00:27
    Edited by David Speck II 04-15-2020 09:20
    Tell the users to stop copying and pasting from excel by single clicking a cell to select it. Excel appends a carriage return and line feed to the pasted value when you select a cell and copy the value. You can however double click a cell and then select the value to be copied from within the cell or formula bar and copy that value without the carriage return and line feed being included.

    To locate the records that have the a carriage return and/or line feed, use crystal reports with a record selection on the field, such as item code or lot/serial number. Should look something like this.
    {CI_Item.ItemCode} Like "*" + Chr(13) + "*"​
    Or
    {CI_Item.ItemCode} Like "*" + Chr(10) + "*"


    You can also add a formula to the report to replace the characters with something else. IIRC, the exact value should be stored in sage 100 as a carriage return followed by a line feed even though DFDM displays it as the squiggly B (beta symbol I think), so use Chr(13) + Chr(10) in a replace function or in the odd case where only one of the two exists, use two nested replace functions, one for each character. As for the replacement character, use either a single character that you are sure doesn't occur within their data or a combination of characters that you are positive would never occur in their data. 



    ------------------------------
    David Speck II
    Tennessee Software Solutions
    ------------------------------



  • 6.  RE: Extract Item Serials with invalid characters

    Posted 04-15-2020 09:58
    Thank you so much David.  Stupid is as Stupid does for these people.  Can't get them to log off at night and can't get them to stop the copy/paste!  Their system is such a mess. 
    I'll give this a try.
    Thanks again
    Nancy​

    ------------------------------
    Nancy Hanson
    Blytheco LLC
    Eagan MN
    ------------------------------



  • 7.  RE: Extract Item Serials with invalid characters

    Posted 04-15-2020 10:16
    Sage really needs to filter the data entry fields better for this kind of thing.

    ------------------------------
    Kevin Moyes
    Technical Systems Analyst
    Munjal White Consulting Co.
    Toronto ON
    ------------------------------



  • 8.  RE: Extract Item Serials with invalid characters

    Posted 04-15-2020 10:48
    If it is a really big deal, you can always use a script on the fields that get these values entered in and strip it out. I personally haven't had severe enough case to have to create said script but it should be possible.

    ------------------------------
    David Speck II
    Tennessee Software Solutions
    ------------------------------



  • 9.  RE: Extract Item Serials with invalid characters

    Posted 04-15-2020 10:50
    I had that thought too... but you'd have to do the fix on multiple data entry screens, and clean up existing values first, otherwise you'd never be able to consume existing inventory with the bad characters.

    ------------------------------
    Kevin Moyes
    Technical Systems Analyst
    Munjal White Consulting Co.
    Toronto ON
    ------------------------------



  • 10.  RE: Extract Item Serials with invalid characters

    Posted 04-15-2020 14:33
    Well if for the lotserialno field, i believe a pre-write on the distribution tables and IM_ItemCost tables should work for future lots/serials. Fixing what is out there would be quite a task and probably best to make them live with it until they are phased out or bill an appropriate amount to correct it all.

    ------------------------------
    David Speck II
    Tennessee Software Solutions
    ------------------------------