|
RULE unique_assembly_component_relationship FOR (Assembly_component_relationship); LOCAL gee : SET OF Product_view_definition := []; gei : SET OF Product_view_definition := []; END_LOCAL; REPEAT i := 1 TO SIZEOF(Assembly_component_relationship) BY 1; gee := gee + Assembly_component_relationship[i]\Product_occurrence_definition_relationship.related_view; gei := gei + Assembly_component_relationship[i]\Product_occurrence_definition_relationship.relating_view; END_REPEAT; WHERE WR1: SIZEOF(gee) = SIZEOF(gei); END_RULE; -- unique_assembly_component_relationship |
|
public class RUnique_assembly_component_relationship public int rWr1(SdaiContext _context) public int run(SdaiContext _context, A_string violations) |