Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Basically I'm trying to figure out where 'AttributeDefinition attributeId' is defined for the ExplorerForTablesAndPanels.xml file. I'm trying to make an update to the PSE, by only allowing a group of UOM family values for BOM parts, based off of what the default UOM value is (ie, default=m, then the part can have mm, cm, m, or km as a value in the BOM). I've found where the unit value is being called from in the ExplorerForTablesAndPanels.xml (ln 1344), but I cannot correlate it's id (quantityUnit) to anything. I've checked the attribute/type manager and do not see it in there, and I searched the actions files but did not find it there either.
Any help would be appreciated...
I just realized my first explanation might not be entirely clear...
What I’m trying to do is something like this:
1. Part (123A456) is created with a default UOM of ‘meter’.
2. The user wants to add this part to an existing BOM.
3. They open up the PSE, and select ‘Add Existing…’
4. Select 123A456 as the part to add.
5. When they get to the 3rd(?) screen, where they can select the UOM, I want to limit those options, in this case, to anything meter related (mm, cm, m, km, etc). I do not want them to have the option of selecting something like ‘liter’, because that UOM does not relate to meter.
Basically, what I’m setting up is a UOM “family”. Once the parent member (m, in, each, etc) of a certain family is selected as the default unit, anytime that part is added/edited on a BOM, they can only select from the parent’s family.
This work was done, using AJAX, for the ‘Edit BOM’ jsp, and I am now just trying to transition that over to the PSE.
Basically I'm trying to figure out where 'AttributeDefinition attributeId' is defined for the ExplorerForTablesAndPanels.xml file. I'm trying to make an update to the PSE, by only allowing a group of UOM family values for BOM parts, based off of what the default UOM value is (ie, default=m, then the part can have mm, cm, m, or km as a value in the BOM). I've found where the unit value is being called from in the ExplorerForTablesAndPanels.xml (ln 1344), but I cannot correlate it's id (quantityUnit) to anything. I've checked the attribute/type manager and do not see it in there, and I searched the actions files but did not find it there either.
Any help would be appreciated...