DataRelation constraint

I have a master detail relationship basically an Order to Line Item relationship. I have a business rule that must be enforced which is that an order must have at least on line item. I have looked at constraints and can not seem to figure out how to build a constraint that enforces this rule. This does not seem to be an unusual requirement but I can't find any way to do this. Any suggestions would be most appreciated.

Thanks in Advance



Answer this question

DataRelation constraint

  • DataRelation constraint