You are a superstar @Alnoor Cassim !!! Works beautifully. It didn't occur to me that the SUB PVX command would even work. It must have something to do with modifying the character while the formula is in memory instead of trying to read/write it from a file on the hard drive. It's interesting that the item can be created but can't be imported to without Cirque du Soleil style programming.
------------------------------
Doug Higgs
Midwest Commerce Solutions, Inc
(312) 315-0960
Assistant to the Traveling Secretary
------------------------------
Original Message:
Sent: 12-24-2020 13:10
From: Alnoor Cassim
Subject: VI Import - Quote at the End of the Item Number
Hi Doug - VI treats the Quote char as a delimiter. Either your msg will appear or the Quote will signal the beginning of the next field thus treating your item code as a new one instead of an existing one. Assuming it's a CSV file and you're an Excel wizard (everybody is but me), I suggest substituting the " (dbl quote) for say the # (pound sign / hashtag) character right in the CSV then in the import job use a combination of Temp fields and SUB() functions to replace the # with a " if the last digit ends with a # symbol
To demo it I've attached an example you can import with Job Import on your side. In Item Maint I created an item called AF CORE PLUG 3" while in the source file I specified that item and another existing one that did not end with "
In the end it updates the Retail Price and works for me. Hope this is applicable for you. It may need more complexity for your particular import.
------------------------------
Alnoor Cassim
Email: alnoor@asifocus.com
Ph: 949-689-9887
Orange County, CA
------------------------------
Original Message:
Sent: 12-24-2020 10:41
From: Doug Higgs
Subject: VI Import - Quote at the End of the Item Number
These are existing item numbers that I am trying to update the retail price for. There are hundreds of them.
------------------------------
Doug Higgs
Midwest Commerce Solutions, Inc
(312) 315-0960
Assistant to the Traveling Secretary
Original Message:
Sent: 12-24-2020 10:37
From: Michael Davis
Subject: VI Import - Quote at the End of the Item Number
I usually strip out the quotes prior to importing. Either in the CSV file or with a calc field in VI using the STP command.
------------------------------
Michael Davis
Warren Averett Technology Group
Birmingham, AL