RULE substance_version_constraint FOR (product_definition_formation); WHERE wr1: SIZEOF ( QUERY ( pv <* Product_definition_formation | ( NOT ( 'CHEMICAL_SUBSTANCE_XIM.' + 'SUBSTANCE_VERSION' IN TYPEOF ( pv) ) ) AND ( 'CHEMICAL_SUBSTANCE_XIM.' + 'SUBSTANCE' IN TYPEOF ( pv.of_product) ) ) ) =0; END_RULE; -- substance_version_constraint |
public class RSubstance_version_constraint public int rWr1(SdaiContext _context) public int run(SdaiContext _context, A_string violations) |