Topic Options
#70331 - 11/09/23 07:22 PM Concatenate multiple UPC-numbers to a single cell.
AGatewood Offline
Adagio Groupie

Registered: 01/22/19
Posts: 17
Loc: Canada
In Gridview Is it possible to create a calculated column with concatenated upc numbers for each of my SKU numbers?

I would like them to be separated in a cell with ", " if possible.

Right now I have 17000 sku's that output to 34000 rows and then have to run a script with the exported .csv in google sheets to concatenate and bring it back down to 17000 rows.

eg.
SKU----------Description------Barcodes
123456------Item123-----------65547899, 65541233, 54432166, 15895475
321654------Item321-----------78945556, 45667789, 14785248, 98778845, 45777456

Thank you in Advance
Adrian

Top
#70333 - 11/10/23 08:11 AM Re: Concatenate multiple UPC-numbers to a single cell. [Re: AGatewood]
Douglas Dickie Offline
Adagio God

Registered: 06/02/99
Posts: 4372
Loc: Vancouver, BC
Adrain:

Are you creating the GridView off of the CounterSales UPC code table?

Is your GridView outputting a separate record for each UPC code?

With some better details I could provide a more informed answer.
_________________________
Douglas Dickie
AccSys Solutions Inc
Phone: 1.888.534.4344
ddickie@accsyssolutions.com

Top
#70334 - 11/10/23 03:19 PM Re: Concatenate multiple UPC-numbers to a single cell. [Re: Douglas Dickie]
AGatewood Offline
Adagio Groupie

Registered: 01/22/19
Posts: 17
Loc: Canada
That's correct Doug. (CounterSales UPC code table)

At the moment I'm outputting 1 row for each UPC which spits out around 34000 rows.
Some of the Item numbers have up to 15 UPC's attached to them, (so they are displayed on 15 rows)
I figure if i could create a new Calculated column that conatenated all of the related UPS for each Item.
Then I could tie each row into my other .CSV export that has 1 row per Item number. (exporting a single CSV instead of two which i combine together in Google Sheets.)

Adrian

Top
#70344 - 11/14/23 11:10 AM Re: Concatenate multiple UPC-numbers to a single cell. [Re: AGatewood]
Douglas Dickie Offline
Adagio God

Registered: 06/02/99
Posts: 4372
Loc: Vancouver, BC
Adrian:

Thanks for clarifying how you are using GridView.

What you are currently doing, running GridView to output the data to Google Sheets and then using a script to manipulate the data into what you need, is how I would do this (as an off the top of my head answer).

If I come up with a better answer, I'll let you know.
_________________________
Douglas Dickie
AccSys Solutions Inc
Phone: 1.888.534.4344
ddickie@accsyssolutions.com

Top


Moderator:  Softrak Support 
Who's Online
1 registered (1 invisible), 11 Guests and 0 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
1861 Members
5 Forums
14372 Topics
70285 Posts

Max Online: 359 @ 11/18/19 09:08 PM
December
Su M Tu W Th F Sa
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31