Cancel
Showing results for 
Search instead for 
Did you mean: 

Locking Relationships when Revision is Released

Siemens Experimenter Siemens Experimenter
Siemens Experimenter

Release Status is not applied to Relationships. Several Relationships, such as Mat1UsesMaterial, contain attributes (mass on the Mat1UsesMaterial relationship) that should be locked when the Revision is Released. Obviously the mass of the material used on a part should not be modified without a Change Order.

 

Relationships do not appear to have any "hooks" in BMIDE where I could attach a condition. 

 

Any ideas on how I can "lock" the relationship attributes based on Revision Status?

1 REPLY

Re: Locking Relationships when Revision is Released

Siemens Genius Siemens Genius
Siemens Genius

Hi,

 

To restrict editing of the properties on relation BLABLABA user needs to create a

new custom AM rule that evaluates the status of Primary object through a compound property

on BLABLABA.

Evaluation of status of Primary object is necessary and sufficient

condition. It should be noted that it is not an OOTB solution but the customer has to

incorporate at their end.

 

Add compound property, for example: “###release_status” to BLABLABA class in BMIDE

BLABLABA.primary_object

    ItemRevision.release_status_list

         ReleaseStatus.name

 

Deploy it.

After than, go to Access Manager, and:

 

Has Class(BLABLABA )

           Has Property(BLABLABA : ###release_status=TCM Released or somthening your status)

 

Set Restrict Change/Write/delete to the World, for Has Property....

Restart business logic.

Enjoy it.

 

  

All the best, Alexey.