Skip to content

Commit

Permalink
Add partyId and roleTypeId to OrderEmailMessage entity
Browse files Browse the repository at this point in the history
  • Loading branch information
jonesde committed Sep 29, 2021
1 parent 8344384 commit 5652826
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions entity/OrderEntities.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,12 @@ along with this software (see the LICENSE.md file). If not, see
<field name="orderId" type="id" is-pk="true"/>
<field name="emailMessageId" type="id" is-pk="true"/>
<field name="orderRevision" type="number-integer"/>
<field name="partyId" type="id"><description>The Party the email was sent to, for different emails sent to different parties associated with an order</description></field>
<field name="roleTypeId" type="id"/>
<relationship type="one" related="mantle.order.OrderHeader" short-alias="orderHeader"/>
<relationship type="one" related="moqui.basic.email.EmailMessage" short-alias="emailMessage"/>
<relationship type="one" related="mantle.party.Party" short-alias="party"/>
<relationship type="one" related="mantle.party.RoleType" short-alias="roleType"/>
</entity>
<entity entity-name="OrderHeader" package="mantle.order" short-alias="orders" cache="never">
<field name="orderId" type="id" is-pk="true"/>
Expand Down

0 comments on commit 5652826

Please sign in to comment.