cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Translate the entire conversation x

Import from Spreadsheet to Update attributes forcing State to Released

avillanueva
23-Emerald I

Import from Spreadsheet to Update attributes forcing State to Released

I am using Import from Spreadsheet to update units of measure on parts. Seeing as I was only changing those attributes, I left State and Lifecycle blank. Odd thing though, it seemed to move all the parts to the Released state. Strange that it would do this since if I want to hold to previous state, I have to look it up for each part and put it in the update file. One would assume that if I did not proved a value, don't touch it.  Anyone else seen this? Does not appear to be documented.

ACCEPTED SOLUTION

Accepted Solutions

Both unfortunately

View solution in original post

5 REPLIES 5

Hi @avillanueva 

 

It works for me as long as the spreadsheet has a Lifecycle column as well as the State column. When I removed the Lifecycle column I get the same weirdness like you described.

 

parteditSpreadsheet.png

avillanueva
23-Emerald I
(To:rhart)

This is what I have

avillanueva_0-1628094274925.png

I can fill out the default Lifecycle Template but if I have to put the current State in there, it would require a lot more work. The columns exist, are you saying that just the Lifecycle needs a value? or both?

 

Both unfortunately

avillanueva
23-Emerald I
(To:rhart)

I tried it with just the Lifecycle template included and I "think" it worked and did not change the state. This brings me to my next point...

avillanueva_0-1628099114920.png

This grinds my gears. The import from spreadsheet is great for making mass updates. But why if I am not changing fields, do I need to include them? the only unique field is Part number. If other fields are blank, assume that they are to be left unchanged. I raised a similar issue with Cage Code which was an IBA, added column.  In a previous version, I left this blank. What appeared in PDMLink for that value? "Default", the word Default. It forces so much extra work to ensure that all these unnecessary fields are properly filled out to get validate to succeed.

Little late now, but I think it's a valuable comment and you helped me in another thread.

 

Maybe change your way of working, to not have extra-work researching the lifecycle-state "State".
When you have a set of WTPart or sub-WTPart-numbers, search for them in the Advanced Search in the number-field, divided with semicolons. 
You get all your WTParts and can download them into an exportable spreadsheet.

Here, your "State" is filled. (Didn't test so far what happens when you're not changing it. Maybe one Iteration goes up?)

Now, only change the desired cells, save and import again.

 

Getting a list of numbers, divided with a semicolon is easily done with the help of notepad++ and its replace-function. Here, you can replace tabs with semicolons. (CTRL-C CTRL-V a tab in the txt-file to get it into the replace-field.) In Excel, you can use "paste special" and the check the "transpose"-option to go from horizontal to vertical.

 

Announcements

Top Tags