Skip to content

Commit

Permalink
Merge pull request #265 from hotwax/incoming_shipment_search/#263
Browse files Browse the repository at this point in the history
Fixed: Incoming shipment search (#263).
  • Loading branch information
ravilodhi authored Oct 4, 2023
2 parents e0e76e1 + 58c57dd commit 72d1f6a
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions src/views/Shipments.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,14 @@ export default defineComponent({
"inputFields": {
"destinationFacilityId": this.user.facilityId,
"statusId": "PURCH_SHIP_SHIPPED",
"shipmentTypeId_fld0_value": "INCOMING_SHIPMENT",
"shipmentTypeId_fld0_op": "equals",
"shipmentTypeId_fld0_grp": "1",
"parentTypeId_fld0_value": "INCOMING_SHIPMENT",
"parentTypeId_fld0_op": "equals",
"parentTypeId_fld0_grp": "2",
"grp_op": "AND",
"shipmentTypeId_value": "INCOMING_SHIPMENT",
"shipmentTypeId_op": "equals",
"shipmentTypeId_grp": "1",
"parentTypeId_value": "INCOMING_SHIPMENT",
"parentTypeId_op": "equals",
"parentTypeId_grp": "1",
"grp_op_1": "OR"
},
"entityName": "ShipmentAndTypeAndItemCount",
"fieldList" : [ "shipmentId","primaryShipGroupSeqId","partyIdFrom","partyIdTo","estimatedArrivalDate","destinationFacilityId","statusId", "shipmentItemCount", "externalId", "externalOrderId", "shipmentTypeId" ],
Expand All @@ -121,11 +123,12 @@ export default defineComponent({
payload.inputFields["shipmentId_value"] = this.queryString
payload.inputFields["shipmentId_op"] = 'contains'
payload.inputFields["shipmentId_ic"] = 'Y'
payload.inputFields["shipmentId_grp"] = '1'
payload.inputFields["shipmentId_grp"] = '2'
payload.inputFields["externalOrderId_value"] = this.queryString
payload.inputFields["externalOrderId_op"] = 'contains'
payload.inputFields["externalOrderId_ic"] = 'Y'
payload.inputFields["externalOrderId_grp"] = '2'
payload.inputFields["grp_op_2"] = 'OR'
}
await this.store.dispatch("shipment/findShipment", payload);
this.fetchingShipments = false;
Expand Down

0 comments on commit 72d1f6a

Please sign in to comment.