We hope you'll join us for our 4/23 webinar on using data tables to apply reference ranges and AE codes in OC4. For more information and to register, visit https://register.gotowebinar.com/register/2882170018956684555

Rules and Different Item Groups

I am having a hard time writing a rule where the target is in a different group from a field in the expression. The other field in the expression is also in a Grid. I am able to get the check to fire if I target the field in the Grid but not the field outside the grid. I thought the following would work but it doesn’t. Thoughts.


Target: ITEM_OID
Expression: ITEM_OID ne “” and GROUP_OID. ITEM_OID eq “”

The following works
Target: GROUP_OID[ALL]. ITEM_OID
Expression: ITEM_OID ne “” and GROUP_OID. ITEM_OID eq “”

Comments

  • willilx9willilx9 Posts: 40
    I am having a hard time writing a rule where the target is in a different group from a field in the expression. The other field in the expression is also in a Grid. I am able to get the check to fire if I target the field in the Grid but not the field outside the grid. I thought the following would work but it doesn’t. Thoughts.


    Target: ITEM_OID
    Expression: ITEM_OID ne “” and GROUP_OID. ITEM_OID eq “”

    The following works
    Target: GROUP_OID[ALL]. ITEM_OID
    Expression: ITEM_OID ne “” and GROUP_OID. ITEM_OID eq “”
This discussion has been closed.