Imagine a Sales Order model, like this:
create table sales_orders( id int primary key, order_date date, customer_party_id int not null references partie