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

Modifying the PSE

Highlighted
Newbie

Modifying 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...


3 REPLIES 3
Highlighted

RE: Modifying the PSE

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.


Highlighted

Modifying the PSE

We actually have a requirement that the WTUsageLink must always use the
default UOM of the child part.

The way we enforce this rule with a minimum of cusomization is to create a
listener service that listens for the creation or modification of a
WTPartUsage link in which we enforce our business logic. In our case, we
just override any changes that a user makes to change the UOM and force it
to equal the child part's default UOM. However, you could enter any logic
you want, incuding throwing an exception that should stop whatever is
happening on a save and throw an error message.

Al Anderson
Solar Turbines Incorporated








Chris Rosato <->
11/19/2010 08:55 AM
Please respond to
Chris Rosato <->


To
-
cc

Subject
[solutions] - RE: Modifying the PSE




Caterpillar: Confidential Green Retain Until: 12/19/2010



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.



Site Links: View post online View mailing list online Send new post
via email Unsubscribe from this mailing list Manage your subscription
Use of this email content is governed by the terms of service at:
Highlighted

RE: Modifying the PSE

All primary logical attributes are defined in codebase\LogicalAttributes.xml




In Reply to Chris Rosato:

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...






e-mail: -
ICQ: 395141602
Phone: +79219232334
Announcements