Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added: is-aggregate on the shipmentItemSeqId field in TransferOrderItemAndShipment view #214

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions entity/OmsOrderViewEntities.xml
Original file line number Diff line number Diff line change
Expand Up @@ -888,9 +888,13 @@ under the License.
<alias entity-alias="OS" name="statusDatetime" function="max"/>
<alias entity-alias="PP" name="productId"/>
<alias entity-alias="PP" name="internalName"/>
<alias entity-alias="OSH" field="quantity" name="shippedQuantity"/>
<!-- Selecting the shippedQuantity from OrderItem instead of OrderShipment
this is because the Orders will always be exploded in HC and hence for each orderItem
a shipmentItem will be created and will be fulfilled so we can take the quantity of OrderItem
as the shipped quantity. -->
<alias entity-alias="OI" field="quantity" name="shippedQuantity"/>
<alias entity-alias="SHI" name="shipmentId"/>
<alias entity-alias="SHI" name="shipmentItemSeqId"/>
<alias entity-alias="SHI" name="shipmentItemSeqId" is-aggregate="true"/>
<alias entity-alias="SH" field="statusId" name="shipmentStatusId"/>
<alias entity-alias="SH" field="destinationContactMechId" name="shipToContactMechId"/>
<alias entity-alias="SH" field="destinationTelecomNumberId" name="shipToTelecomContactMechId"/>
Expand Down