Alias Creation on a Grand Scale

Can I create file with Item Lookup Codes in one column and Aliases in another and associate the two somehow?

I have looked at the Alias table and it's fairly straightforward--only three columns of data: ID, ItemID, Alias. I tried to see if EMS MS SQL Data Import would open the Alias table, but it won't. So if this is going to happen, it's going to have to be a series of queries. Can I append a text file to my Alias table with a Query? Could use something like this: INSERT into Alias (ID,ItemID,Alias) VALUES (from file)--where the 'from file' data is simply copied and pasted into the query?

I'm trying to get 2B-Inventory working with RMS for PO receiving and physical inventory. The 2B software seems to work fairly well--it's my suppliers that aren't cooperating...

My three primary appliance suppliers are Frigidaire, Maytag and Whirlpool. Appliances come in big boxes with big barcode labels that provide both model and serial numbers.

Frigidaire, most pleasantly, uses a barcode model number that is exactly the same as the model number in the catalog. Hooray!

Whirlpool adds a suffix to their model numbers, usually one or two digits. These extra characters probably indicate the factory or production run. I could, without too much trouble, change my Item Lookup Codes to reflect the barcodes, since the beginning of the number is more important for looking up items.

Maytag, OTOH, adds a single character prefix to their model numbers. A prefix is bad. My sales reps will never find that washer in the database if the model number starts with an X instead of a W.

Thanks, Tom

Reply to
Terrible Tom
Loading thread data ...

Do you have the QSImport tool, it will easily do this for you just by adding ItemLookupCode and Alias from a CSV file.

Rob

"Terrible Tom" wrote:

Reply to
Rob

Hi Tom -

Do you have Microsoft Office? If so, why not create a two-column list in Microsoft Excel of your Aliases and the associated item ID's, in columns A and B

Then in column C you could use the formula:

="INSERT INTO Alias (ItemID, Alias) VALUES ("&A1&", '"&B1&"')"

you can then copy the formula down as many rows as needed, and then copy the contents of column C (your queries) into administrator or query analyzer or whatever program you use to run queries.

hth kevin

"Terrible Tom" wrote:

Reply to
kskinne

Tom, as Rob suggested the QSimport tool would be the easiest way to handle this if you have it - let me know if you don't

"Rob" wrote:

Reply to
kskinne

I do have QSImport. I was under the impression that QSimport would overwrite an existing table, not append.

I could definitely use Excel to create a series of INSERT INTO statements that included the appropriate ItemIDs and Aliases.

Thanks for the tips, Tom

"ksk> Tom, as Rob suggested the QSimport tool would be the easiest way to handle

Reply to
Terrible Tom

It will only overwrite if you uncheck 'Treat duplicate records as errors' and it will only update those Aliases that match if you unchecked the setting. Otherwise it checks if the Alias exists then if it doesn't it does an insert into statement.

Rob

"Terrible Tom" wrote:

Reply to
Rob

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.