Skip to content

Commit 6cf614c

Browse files
committed
Add cloneOnStatusId field to ProductWorkEffort entity and clarify some comments, based on discussion and feedback on community call
1 parent e595cbe commit 6cf614c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

entity/ProductDefinitionEntities.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,10 +715,15 @@ along with this software (see the LICENSE.md file). If not, see
715715
<field name="thruDate" type="date-time"/>
716716
<field name="requiredWork" type="text-indicator">
717717
<description>If Y require WorkEffort Status of Complete, Closed, or Cancelled to consider OrderItem fulfilled</description></field>
718+
<field name="cloneOnStatusId" type="id">
719+
<description>OrderPart or OrderHeader status when the WorkEffort should be cloned and associated with the
720+
corresponding OrderItem with an OrderItemWorkEffort record</description></field>
718721
<field name="forStatusId" type="id">
719-
<description>Task must be Complete or Closed before change to this status (soft rule, depending on code in place)</description></field>
722+
<description>Task must be Complete or Closed before change to this order status (soft rule, depending on code in place)</description></field>
720723
<relationship type="one" related="mantle.product.Product" short-alias="product"/>
721724
<relationship type="one" related="mantle.work.effort.WorkEffort" short-alias="workEffort"/>
725+
<relationship type="one" title="CloneOnOrderHeader" related="moqui.basic.StatusItem" short-alias="cloneOnStatus">
726+
<key-map field-name="forStatusId"/></relationship>
722727
<relationship type="one" title="OrderHeader" related="moqui.basic.StatusItem" short-alias="forStatus">
723728
<key-map field-name="forStatusId"/></relationship>
724729
</entity>

0 commit comments

Comments
 (0)