RULE restrict_person_and_organization_assignment FOR (applied_person_and_organization_assignment); WHERE wr1: SIZEOF(QUERY(aoa <* applied_person_and_organization_assignment | (aoa.role.name = 'signing for contract') AND (NOT item_correlation (aoa.items, ['APPLIED_ORGANIZATION_ASSIGNMENT'])) ))= 0; END_RULE; -- restrict_person_and_organization_assignment |
public class RRestrict_person_and_organization_assignment public int rWr1(SdaiContext _context) public int run(SdaiContext _context, A_string violations) |