Does anyone have experience will automatic population of the Line Number automatically or what should be updated or customized to reach this?
By line numbers, do you mean the BOM index?
These are added when you have a column in your BOM table that calls out the Index- &rpt.index.
It can be locked in that BOM.
It is automatically generated when the BOM is populated.
See this PTC article: https://www.ptc.com/en/support/article?n=CS133915
I looked through some Support articles before.. I couldn't find any automated way to do this. The closest I found is you go to the WTPart structure and click on each line item. It will "auto" number the lines you click. I want to use line items, but it's basically unusable as-is.
Below is the Line Number field in a WTPart Structure. We could do more logic for tracking BOM changes if we consistently used them. Example: PN 1 in line number 10 is removed and PN 2 is added in line number 10. Downstream systems could interpret that as a Replace instead of an add/remove. The trouble is, there's no automated way to enter even the default line numbers.
We are currently checking for the autofill even with the default line numbers. One of our developer might have found a solution. I will keep you posted if its works completely.
LINENUMBER and FINDNUMBER can be added to Windchill by the site admin and then added to the assembly as a COMPONENT PARAMETER to get transferred to Windchill Structure automatically. Duplicates can be eliminated with the merge uses in Windchill
While this is a good article, it doesn't suit our solution.
Line Number is present OOTB in the Uses Tab of a Part Structure. This Attribute is filled when you click on the field. Our goal is that the user doesn't have to click in the field and gets this automatically. In cases where the user has a BOM with 300 parts it would be rather cumbersome to click every needed box to have the line number filed.
Doesn't sound like you read the article. LINENUMBER gets assigned in Creo and transferred automatically to Windchill. OOTB does not have LINENUMBER assigned in Windchill as an attribute. Uses tab get's filled in by Creo if the attribute is created. You need to have the Site Admin create LINENUMBER at the Site level.
Ok sorry, didn't know you were going backwards. We always start with CAD then send that to Windchill and Windchill sends that to ERP
Still working on it but we encountered some difficulties at the moment. The idea is that the auto complete is done with a Data Utility when the structure is expanded in Structure Tab.
We will let you now once its finished.
We ended up extending the LineNumberDataUtility.
Each time the user expands the structure the missing line numbers are filled.
New line number will have have a value of the the latest line number added with the line number increment.
At the moment we do not use the Line Number in the ERP system, we just need it to be able to create uniqueness in the structure.
Guys, I created an action in the WTPart action menu that will do it.
I wrote the tool such that it runs only if the WTPart is checked out by the user and it is run from the Working Copy's page. If the tool is run from a non-working copy a window tells the user they need to run it from the working copy.
So, let's say you start of with no line numbers or there are some missing line numbers or whatever.
First checkout the WTPart.
Then select the *Auto Line Number Structure option.
Then refresh the page.
As this is just an example, I incremented the Line Numbers by 1 but that could be whatever you want.
In this example I entered one line number just to do the checkout.
After running utility and refreshing page.
Seems to work well and can certainly do multi-level structures as well.