Updated entity relation constraints
Added missing sales order row fields