What is the reference name in the item.grid object for the system assigned grid RowID?
I do not see it shown in the Scripting Reference. Can it be accessed through script.
I intend to use it in my validation script to tell the user which row in a grid contains a bad value during workflow transition.
The grid is array based so line one is item.grid, line two would be item.grid.
so to chech a value in row four column X. it would be:
Yes but that doesn't give me the row id assigned by PLM that is displayed in the grid. I realize that the Row Id is just the master grid row in the designated workspace and is system generated.
This came up because my users were using the row id in discussions to identify which "Line item of their RFQ" they were discussing.
So I wanted to capture that info in reports etc and cannot retrieve that value?
My work around is going to be to add a column that is Line Number that Auto increments as rows are added but this seems like extra script processing time I don't want to do.
Sorry it took a little bit to get back to you on this but you are correct Row ID labeling is something we need access to in scripting or the ability to use auto numbering, but row id would be best as not to cause confusion.
Basic break down would be:
“Item.grid.rowID” as a read only field. This would allow you to look up and find the equal item with in the grid but you would need to do a loop to find this as the “master row ID” would not be equal.
If one was to create row 1,2,3,4. Then delete row 3, you will be left with row 1,2,4.
(Same example by scripting) You created row 0,1,2,3. Then deleted row 3, you are left with row 0,1,2.
I will talk to the developers and see if we can get this working right.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.