Still Sorting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am still struggling figuring out how to match the sort that the Assembly BOM does.
Basically I am extracting all the data I need from the Structured bom, and putting it into a DataGrid. Now I need to sort it to match what you get inside the Structured bom when you sort using two columns, "Subject" and "Part Number".
I don't have any problem sorting by multiple columns, but I can't figure out how to integrate the Item Number into the sort. I have tried multiple things, including sorting it as is, as a string. Splitting it using the "." into muliple columns and sorting those in order first then the two properties. I have tried converting all the values to the right of the last "." to 0's, etc.
Anyone have any suggestions, or know how the structured BOM actually gets sorted.
I am working in R10 which doesn't expose the sort method, but even in R11 I haven't figured out a way to extract the info after sorting it any different than what you get in the earlier releases.