@things-factory/operato-wms 4.0.27 → 4.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/client/fetch-setting-value.js +10 -2
  2. package/client/pages/bulk-operation/bulk-operation.js +44 -10
  3. package/client/pages/bulk-operation/validate-gan-popup.js +5 -4
  4. package/client/pages/bulk-operation/validate-ro-popup.js +7 -39
  5. package/client/pages/components/popup-reusable-pallet.js +145 -0
  6. package/client/pages/components/vas-templates/vas-pallet-add-popup.js +12 -11
  7. package/client/pages/components/vas-templates/vas-relabel.js +57 -34
  8. package/client/pages/components/vas-templates/vas-repack-relabel.js +56 -36
  9. package/client/pages/components/vas-templates/vas-repack.js +45 -31
  10. package/client/pages/components/vas-templates/vas-repalletizing.js +58 -39
  11. package/client/pages/components/vas-templates/vas-unpack.js +38 -24
  12. package/client/pages/components/worksheet-information-popup.js +4 -1
  13. package/client/pages/inbound/unload-product.js +116 -91
  14. package/client/pages/inventory/onhand-inventory.js +1 -0
  15. package/client/pages/master/location-list.js +1 -0
  16. package/client/pages/master/print-location-label.js +131 -146
  17. package/client/pages/order/arrival-notice/arrival-notice-detail.js +52 -44
  18. package/client/pages/order/arrival-notice/arrival-notice-list.js +2 -5
  19. package/client/pages/order/goods-received-note/received-note-detail.js +7 -6
  20. package/client/pages/order/release-order/b2b/b2b-order-list.js +1 -5
  21. package/client/pages/order/release-order/batch-generate-single-picking-worksheet-popup.js +1 -1
  22. package/client/pages/order/release-order/batch-picking-popup.js +4 -3
  23. package/client/pages/order/release-order/create-release-order.js +1 -1
  24. package/client/pages/order/release-order/release-extra-product-popup.js +10 -5
  25. package/client/pages/order/release-order/release-order-detail.js +29 -12
  26. package/client/pages/order/return-order/create-return-order.js +41 -52
  27. package/client/pages/order/reverse-kitting-order/reverse-kitting-order-detail.js +2 -2
  28. package/client/pages/order/transport-order/create-delivery-order.js +4 -2
  29. package/client/pages/order/transport-order/delivery-note-popup.js +2 -2
  30. package/client/pages/outbound/packing-product.js +6 -0
  31. package/client/pages/outbound/packing-worksheet-list.js +64 -4
  32. package/client/pages/outbound/picking-product.js +12 -7
  33. package/client/pages/outbound/worksheet-batch-picking.js +1 -1
  34. package/client/pages/outbound/worksheet-loading.js +16 -14
  35. package/client/pages/outbound/worksheet-packing.js +15 -13
  36. package/client/pages/outbound/worksheet-picking.js +2 -2
  37. package/client/pages/report/custom-elccl/elccl-daily-collection-report.js +8 -9
  38. package/client/pages/report/custom-elccl/elccl-daily-order-inventory-report.js +26 -25
  39. package/client/pages/report/custom-elccl/elccl-delivery-order-summary.js +10 -9
  40. package/client/pages/report/custom-elccl/elccl-inventory-pallet-detail-report.js +13 -8
  41. package/client/pages/report/custom-elccl/elccl-inventory-report.js +11 -10
  42. package/client/pages/report/custom-elccl/elccl-inventory-summary-report.js +5 -1
  43. package/client/pages/report/inbound-order-details-report.js +3 -5
  44. package/client/pages/report/inventory-pallet-report.js +13 -12
  45. package/client/pages/report/job-sheet-popup.js +9 -9
  46. package/client/pages/report/job-sheet-report.js +6 -6
  47. package/client/pages/system/location-sorting-rule.js +53 -46
  48. package/client/pages/vas/abstract-execute-vas.js +51 -35
  49. package/client/pages/vas/execute-pure-vas.js +63 -64
  50. package/client/pages/vas/execute-ref-vas.js +39 -41
  51. package/client/pages/vas/related-vas-list.js +7 -6
  52. package/client/pages/vas/reverse-kitting/execute-reverse-kitting.js +3 -3
  53. package/client/pages/vas/reverse-kitting/popup-combination-sets.js +3 -3
  54. package/client/pages/vas/reverse-kitting/popup-reverse-kitting-template.js +1 -1
  55. package/client/pages/vas/target-inventory-assignment-popup.js +16 -14
  56. package/client/pages/vas/vas-pallet-label-popup.js +1 -1
  57. package/client/pages/vas/vas-worksheet-list.js +9 -8
  58. package/client/pages/vas/worksheet-ref-vas.js +7 -6
  59. package/client/pages/vas/worksheet-vas.js +16 -14
  60. package/dist-server/graphql/resolvers/reports/inbound-order-details-report.js +2 -4
  61. package/dist-server/graphql/resolvers/reports/inbound-order-details-report.js.map +1 -1
  62. package/dist-server/graphql/types/reports/inbound-order-details-report.js +2 -1
  63. package/dist-server/graphql/types/reports/inbound-order-details-report.js.map +1 -1
  64. package/package.json +65 -65
  65. package/server/graphql/resolvers/reports/inbound-order-details-report.ts +2 -4
  66. package/server/graphql/types/reports/inbound-order-details-report.ts +2 -1
  67. package/translations/en.json +15 -1
  68. package/translations/ko.json +20 -7
  69. package/translations/ms.json +21 -8
  70. package/translations/zh.json +21 -8
  71. package/client/pages/components/popup-unloading.js +0 -610
@@ -1,6 +1,6 @@
1
1
  import '@things-factory/grist-ui'
2
2
  import { i18next, localize } from '@things-factory/i18n-base'
3
- import { gqlBuilder, isMobileDevice } from '@things-factory/utils'
3
+ import { isMobileDevice } from '@things-factory/utils'
4
4
  import { html } from 'lit-element'
5
5
  import { AbstractExecuteVas } from './abstract-execute-vas'
6
6
 
@@ -83,76 +83,75 @@ class ExecutePureVas extends localize(i18next)(AbstractExecuteVas) {
83
83
  }
84
84
 
85
85
  get fetchVasQuery() {
86
- return /* GraphQL */ `query {
87
- vasWorksheet(${gqlBuilder.buildArgs({
88
- orderNo: this.orderNo,
89
- orderType: this.orderType
90
- })}) {
91
- worksheetInfo {
92
- bizplaceName
93
- startedAt
94
- }
95
- worksheetDetailInfos {
96
- batchId
97
- name
98
- targetName
99
- status
100
- issue
101
- set
102
- targetType
103
- targetBatchId
104
- targetProduct {
105
- id
106
- name
107
- description
108
- }
109
- otherTarget
110
- qty
111
- actualQty
112
- uomValue
113
- actualUomValue
114
- operationGuide
115
- vas {
116
- id
117
- name
118
- description
119
- operationGuide
120
- operationGuideType
86
+ return `
87
+ query vasWorksheet($orderNo: String!, $orderType: String!) {
88
+ vasWorksheet(orderNo: $orderNo, orderType: $orderType) {
89
+ worksheetInfo {
90
+ bizplaceName
91
+ startedAt
92
+ }
93
+ worksheetDetailInfos {
94
+ batchId
95
+ name
96
+ targetName
97
+ status
98
+ issue
99
+ set
100
+ targetType
101
+ targetBatchId
102
+ targetProduct {
103
+ id
104
+ name
105
+ description
106
+ }
107
+ otherTarget
108
+ qty
109
+ actualQty
110
+ uomValue
111
+ actualUomValue
112
+ operationGuide
113
+ vas {
114
+ id
115
+ name
116
+ description
117
+ operationGuide
118
+ operationGuideType
119
+ }
120
+ inventory {
121
+ batchId
122
+ palletId
123
+ qty
124
+ uomValue
125
+ }
126
+ description
127
+ remark
128
+ }
121
129
  }
122
- inventory {
130
+ }
131
+ `
132
+ }
133
+
134
+ get fetchInventoriesQuery() {
135
+ return `
136
+ query vasInventories($worksheetDetailName: String!) {
137
+ vasInventories(worksheetDetailName: $worksheetDetailName) {
123
138
  batchId
124
139
  palletId
125
140
  qty
126
141
  uomValue
142
+ product {
143
+ id
144
+ name
145
+ description
146
+ }
147
+ location {
148
+ id
149
+ name
150
+ description
151
+ }
127
152
  }
128
- description
129
- remark
130
- }
131
- }
132
- }`
133
- }
134
-
135
- get fetchInventoriesQuery() {
136
- return /* GraphQL */ `query {
137
- vasInventories(${gqlBuilder.buildArgs({
138
- worksheetDetailName: this._selectedVas.name
139
- })}) {
140
- batchId
141
- palletId
142
- qty
143
- uomValue
144
- product {
145
- id
146
- name
147
- description
148
- }
149
- location {
150
- id
151
- name
152
- description
153
153
  }
154
- }
155
- }`
154
+ `
156
155
  }
157
156
 
158
157
  _fillUpInfoForm(data) {
@@ -76,51 +76,50 @@ class ExecuteRefVas extends localize(i18next)(AbstractExecuteVas) {
76
76
  }
77
77
 
78
78
  get fetchVasQuery() {
79
- return /* GraphQL */ `query {
80
- vasWorksheet(${gqlBuilder.buildArgs({
81
- orderNo: this.orderNo,
82
- orderType: this.orderType
83
- })}) {
84
- worksheetInfo {
85
- bizplaceName
86
- startedAt
87
- containerNo
88
- }
89
- worksheetDetailInfos {
90
- batchId
91
- name
92
- targetName
93
- status
94
- issue
95
- set
96
- targetType
97
- targetBatchId
98
- targetProduct {
99
- id
100
- name
101
- description
79
+ return /* GraphQL */ `
80
+ query vasWorksheet($orderNo: String!, $orderType: String!) {
81
+ vasWorksheet(orderNo: $orderNo, orderType: $orderType) {
82
+ worksheetInfo {
83
+ bizplaceName
84
+ startedAt
85
+ containerNo
102
86
  }
103
- otherTarget
104
- qty
105
- uomValue
106
- operationGuide
107
- vas {
108
- id
87
+ worksheetDetailInfos {
88
+ batchId
109
89
  name
110
- description
111
- operationGuide
112
- operationGuideType
113
- }
114
- inventory {
115
- palletId
90
+ targetName
91
+ status
92
+ issue
93
+ set
94
+ targetType
95
+ targetBatchId
96
+ targetProduct {
97
+ id
98
+ name
99
+ description
100
+ }
101
+ otherTarget
116
102
  qty
117
103
  uomValue
104
+ operationGuide
105
+ vas {
106
+ id
107
+ name
108
+ description
109
+ operationGuide
110
+ operationGuideType
111
+ }
112
+ inventory {
113
+ palletId
114
+ qty
115
+ uomValue
116
+ }
117
+ description
118
+ remark
118
119
  }
119
- description
120
- remark
121
120
  }
122
121
  }
123
- }`
122
+ `
124
123
  }
125
124
 
126
125
  _fillUpInfoForm(data) {
@@ -191,9 +190,8 @@ class ExecuteRefVas extends localize(i18next)(AbstractExecuteVas) {
191
190
  const worksheetDetail = this.taskGrist.dirtyData.records.filter(record => record.name === this._selectedVas.name)[0]
192
191
  let vasWorkseetDetail = { name: worksheetDetail.name }
193
192
  if (worksheetDetail.issue) vasWorkseetDetail.issue = worksheetDetail.issue
194
- const args = {
195
- worksheetDetail: vasWorkseetDetail
196
- }
193
+ const args = vasWorkseetDetail
194
+
197
195
  const palletId = this.palletIdInput?.value
198
196
  if (palletId) {
199
197
  args.palletId = palletId
@@ -3,7 +3,7 @@ import '@things-factory/grist-ui'
3
3
  import { getRenderer } from '@things-factory/grist-ui'
4
4
  import { i18next, localize } from '@things-factory/i18n-base'
5
5
  import { client } from '@things-factory/shell'
6
- import { gqlBuilder, isMobileDevice } from '@things-factory/utils'
6
+ import { isMobileDevice } from '@things-factory/utils'
7
7
  import gql from 'graphql-tag'
8
8
  import { css, html, LitElement } from 'lit-element'
9
9
  import '../components/popup-note'
@@ -206,10 +206,8 @@ class RelatedVasList extends localize(i18next)(LitElement) {
206
206
 
207
207
  const response = await client.query({
208
208
  query: gql`
209
- query {
210
- worksheet(${gqlBuilder.buildArgs({
211
- name: this.worksheetNo
212
- })}) {
209
+ query worksheet($name: String!) {
210
+ worksheet(name: $name) {
213
211
  worksheetDetails {
214
212
  description
215
213
  issue
@@ -240,7 +238,10 @@ class RelatedVasList extends localize(i18next)(LitElement) {
240
238
  }
241
239
  }
242
240
  }
243
- `
241
+ `,
242
+ variables: {
243
+ name: this.worksheetNo
244
+ }
244
245
  })
245
246
 
246
247
  if (!response.errors) {
@@ -193,9 +193,9 @@ class ExecuteReverseKitting extends connect(store)(localize(i18next)(PageView))
193
193
 
194
194
  async fetchReverseKittingOrder() {
195
195
  if (!this._orderNo) return
196
- const response = await client.query({
197
- query: gql`
198
- query executingReverseKittingOrder($name: String!) {
196
+ const response = await client.mutate({
197
+ mutation: gql`
198
+ mutation executingReverseKittingOrder($name: String!) {
199
199
  executingReverseKittingOrder(name: $name) {
200
200
  id
201
201
  name
@@ -152,9 +152,9 @@ class PopupCombinationSets extends localize(i18next)(LitElement) {
152
152
 
153
153
  async fetchReverseKittingOrder() {
154
154
  if (!this.orderNo) return
155
- const response = await client.query({
156
- query: gql`
157
- query executingReverseKittingOrder($name: String!) {
155
+ const response = await client.mutate({
156
+ mutation: gql`
157
+ mutation executingReverseKittingOrder($name: String!) {
158
158
  executingReverseKittingOrder(name: $name) {
159
159
  id
160
160
  name
@@ -235,7 +235,7 @@ class PopupReverseKittingTemplate extends localize(i18next)(LitElement) {
235
235
  async _fetchInventories() {
236
236
  const response = await client.query({
237
237
  query: gql`
238
- query reverseKittingInventories($reverseKittingOIName: String!, $productDetailId: String) {
238
+ query reverseKittingInventories($reverseKittingOIName: String!, $productDetailId: String!) {
239
239
  reverseKittingInventories(reverseKittingOIName: $reverseKittingOIName, productDetailId: $productDetailId) {
240
240
  batchId
241
241
  packingType
@@ -3,7 +3,7 @@ import { MultiColumnFormStyles } from '@things-factory/form-ui'
3
3
  import '@things-factory/grist-ui'
4
4
  import { i18next, localize } from '@things-factory/i18n-base'
5
5
  import { client, CustomAlert } from '@things-factory/shell'
6
- import { gqlBuilder, isMobileDevice } from '@things-factory/utils'
6
+ import { isMobileDevice } from '@things-factory/utils'
7
7
  import gql from 'graphql-tag'
8
8
  import { css, html, LitElement } from 'lit-element'
9
9
  import {
@@ -376,10 +376,8 @@ class TargetInventoryAssignmentPopup extends localize(i18next)(LitElement) {
376
376
  async _fetchCandidates() {
377
377
  const response = await client.query({
378
378
  query: gql`
379
- query {
380
- vasCandidates(${gqlBuilder.buildArgs({
381
- worksheetDetailId: this.tasks[0].id
382
- })}) {
379
+ query vasCandidates($worksheetDetailId: String!) {
380
+ vasCandidates(worksheetDetailId: $worksheetDetailId) {
383
381
  id
384
382
  palletId
385
383
  batchId
@@ -396,7 +394,10 @@ class TargetInventoryAssignmentPopup extends localize(i18next)(LitElement) {
396
394
  createdAt
397
395
  }
398
396
  }
399
- `
397
+ `,
398
+ variables: {
399
+ worksheetDetailId: this.tasks[0].id
400
+ }
400
401
  })
401
402
 
402
403
  if (!response.errors) {
@@ -512,15 +513,16 @@ class TargetInventoryAssignmentPopup extends localize(i18next)(LitElement) {
512
513
  return
513
514
  }
514
515
 
515
- const response = await client.query({
516
- query: gql`
517
- mutation {
518
- assignVasInventories(${gqlBuilder.buildArgs({
519
- worksheetDetailIds: this.tasks.map(task => task.id),
520
- inventories: this.getInventories()
521
- })})
516
+ const response = await client.mutate({
517
+ mutation: gql`
518
+ mutation assignVasInventories($worksheetDetailIds: [String]!, $inventories: [InventoryPatch]!) {
519
+ assignVasInventories(worksheetDetailIds: $worksheetDetailIds, inventories: $inventories)
522
520
  }
523
- `
521
+ `,
522
+ variables: {
523
+ worksheetDetailIds: this.tasks.map(task => task.id),
524
+ inventories: this.getInventories()
525
+ }
524
526
  })
525
527
 
526
528
  if (!response.errors) {
@@ -2,7 +2,7 @@ import { DirectPrinter } from '@things-factory/barcode-base'
2
2
  import '@things-factory/grist-ui'
3
3
  import { i18next, localize } from '@things-factory/i18n-base'
4
4
  import { client, store } from '@things-factory/shell'
5
- import { gqlBuilder, isMobileDevice } from '@things-factory/utils'
5
+ import { isMobileDevice } from '@things-factory/utils'
6
6
  import gql from 'graphql-tag'
7
7
  import { css, html, LitElement } from 'lit-element'
8
8
  import { connect } from 'pwa-helpers/connect-mixin'
@@ -8,7 +8,7 @@ import { getCodeByName } from '@things-factory/code-base'
8
8
  import { i18next, localize } from '@things-factory/i18n-base'
9
9
  import { client, navigate, PageView } from '@things-factory/shell'
10
10
  import { ScrollbarStyles } from '@things-factory/styles'
11
- import { gqlBuilder, isMobileDevice } from '@things-factory/utils'
11
+ import { isMobileDevice } from '@things-factory/utils'
12
12
 
13
13
  import { ORDER_TYPES, WORKSHEET_TYPE } from '../constants'
14
14
 
@@ -229,12 +229,8 @@ class VasWorksheetList extends localize(i18next)(PageView) {
229
229
  })
230
230
  const response = await client.query({
231
231
  query: gql`
232
- query {
233
- worksheets(${gqlBuilder.buildArgs({
234
- filters,
235
- pagination: { page, limit },
236
- sortings: sorters
237
- })}) {
232
+ query worksheets($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
233
+ worksheets(filters: $filters, pagination: $pagination, sortings: $sortings) {
238
234
  items {
239
235
  id
240
236
  name
@@ -267,7 +263,12 @@ class VasWorksheetList extends localize(i18next)(PageView) {
267
263
  total
268
264
  }
269
265
  }
270
- `
266
+ `,
267
+ variables: {
268
+ filters,
269
+ pagination: { page, limit },
270
+ sortings: sorters
271
+ }
271
272
  })
272
273
 
273
274
  if (!response.errors) {
@@ -4,7 +4,7 @@ import '@things-factory/grist-ui'
4
4
  import { i18next, localize } from '@things-factory/i18n-base'
5
5
  import { openPopup } from '@things-factory/layout-base'
6
6
  import { client, PageView } from '@things-factory/shell'
7
- import { gqlBuilder, isMobileDevice } from '@things-factory/utils'
7
+ import { isMobileDevice } from '@things-factory/utils'
8
8
  import { CommonButtonStyles } from '@things-factory/styles'
9
9
  import gql from 'graphql-tag'
10
10
  import { css, html } from 'lit-element'
@@ -257,10 +257,8 @@ class WorksheetRefVas extends localize(i18next)(PageView) {
257
257
 
258
258
  const response = await client.query({
259
259
  query: gql`
260
- query {
261
- worksheet(${gqlBuilder.buildArgs({
262
- name: this._worksheetNo
263
- })}) {
260
+ query worksheet($name: String!) {
261
+ worksheet(name: $name) {
264
262
  bizplace {
265
263
  name
266
264
  }
@@ -298,7 +296,10 @@ class WorksheetRefVas extends localize(i18next)(PageView) {
298
296
  }
299
297
  }
300
298
  }
301
- `
299
+ `,
300
+ variables: {
301
+ name: this._worksheetNo
302
+ }
302
303
  })
303
304
 
304
305
  if (!response.errors) {
@@ -6,7 +6,7 @@ import { getRenderer } from '@things-factory/grist-ui'
6
6
  import { i18next, localize } from '@things-factory/i18n-base'
7
7
  import { openPopup } from '@things-factory/layout-base'
8
8
  import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
9
- import { gqlBuilder, isMobileDevice } from '@things-factory/utils'
9
+ import { isMobileDevice } from '@things-factory/utils'
10
10
  import { CommonButtonStyles } from '@things-factory/styles'
11
11
  import gql from 'graphql-tag'
12
12
  import { css, html } from 'lit-element'
@@ -414,10 +414,8 @@ class WorksheetVas extends localize(i18next)(PageView) {
414
414
  if (!this._worksheetNo) return
415
415
  const response = await client.query({
416
416
  query: gql`
417
- query {
418
- worksheet(${gqlBuilder.buildArgs({
419
- name: this._worksheetNo
420
- })}) {
417
+ query worksheet($name: String!) {
418
+ worksheet(name: $name) {
421
419
  id
422
420
  name
423
421
  status
@@ -473,7 +471,10 @@ class WorksheetVas extends localize(i18next)(PageView) {
473
471
  }
474
472
  }
475
473
  }
476
- `
474
+ `,
475
+ variables: {
476
+ name: this._worksheetNo
477
+ }
477
478
  })
478
479
 
479
480
  if (!response.errors) {
@@ -697,17 +698,18 @@ class WorksheetVas extends localize(i18next)(PageView) {
697
698
  }
698
699
  }
699
700
 
700
- const response = await client.query({
701
- query: gql`
702
- mutation {
703
- activateVas(${gqlBuilder.buildArgs({
704
- worksheetNo: this._worksheetNo,
705
- vasWorksheetDetails: this._getVasWorksheetDetails()
706
- })}) {
701
+ const response = await client.mutate({
702
+ mutation: gql`
703
+ mutation activateVas($worksheetNo: String!, $vasWorksheetDetails: [WorksheetDetailPatch]) {
704
+ activateVas(worksheetNo: $worksheetNo, vasWorksheetDetails: $vasWorksheetDetails) {
707
705
  name
708
706
  }
709
707
  }
710
- `
708
+ `,
709
+ variables: {
710
+ worksheetNo: this._worksheetNo,
711
+ vasWorksheetDetails: this._getVasWorksheetDetails()
712
+ }
711
713
  })
712
714
  if (!response.errors) {
713
715
  this._showToast({ message: i18next.t('text.worksheet_activated') })
@@ -152,10 +152,8 @@ exports.inboundOrderDetailsReport = {
152
152
  description: itm.product_description,
153
153
  type: itm.product_type
154
154
  },
155
- purchaseOrder: {
156
- id: itm.purchase_order_id,
157
- name: itm.purchase_order_name
158
- },
155
+ purchaseOrderId: itm.purchase_order_id,
156
+ purchaseOrderNo: itm.purchase_order_name,
159
157
  packType: itm.pack_type,
160
158
  packSize: itm.pack_size,
161
159
  qty: itm.qty,
@@ -1 +1 @@
1
- {"version":3,"file":"inbound-order-details-report.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/reports/inbound-order-details-report.ts"],"names":[],"mappings":";;;AAEA,yDAAgD;AAChD,uDAAmD;AAGnD,0CAAiD;AAEpC,QAAA,yBAAyB,GAAG;IACvC,KAAK,CAAC,yBAAyB,CAAC,CAAM,EAAE,MAAiB,EAAE,OAAY;QACrE,IAAI;YACF,MAAM,EAAE,EAAE,EAAE,GAA0B,OAAO,CAAC,KAAK,CAAA;YACnD,IAAI,cAAc,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAA;YAC1D,IAAI,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI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UAAU,CAAC,GAAG;wBACjB,EAAE,EAAE,GAAG,CAAC,WAAW;wBACnB,IAAI,EAAE,GAAG,CAAC,aAAa;qBACxB,CAAA;iBACF;gBAED,OAAO,IAAI,CAAA;YACb,CAAC,CAAC,CAAA;YAEF,OAAO;gBACL,KAAK;gBACL,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK;aACtB,CAAA;SACF;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CACF,CAAA"}
1
+ {"version":3,"file":"inbound-order-details-report.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/reports/inbound-order-details-report.ts"],"names":[],"mappings":";;;AAEA,yDAAgD;AAChD,uDAAmD;AAGnD,0CAAiD;AAEpC,QAAA,yBAAyB,GAAG;IACvC,KAAK,CAAC,yBAAyB,CAAC,CAAM,EAAE,MAAiB,EAAE,OAAY;QACrE,IAAI;YACF,MAAM,EAAE,EAAE,EAAE,GAA0B,OAAO,CAAC,KAAK,CAAA;YACnD,IAAI,cAAc,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAA;YAC1D,IAAI,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC,CAAA;YAClE,IAAI,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,CAAA;YACpE,IAAI,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAA;YAChE,IAAI,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAA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E,GAAG,CAAC,SAAS;oBACvB,GAAG,EAAE,GAAG,CAAC,GAAG;oBACZ,UAAU,EAAE,GAAG,CAAC,WAAW;oBAC3B,WAAW,EAAE,GAAG,CAAC,YAAY;oBAC7B,cAAc,EAAE,GAAG,CAAC,gBAAgB;oBACpC,mBAAmB,EAAE,GAAG,CAAC,sBAAsB;oBAC/C,eAAe,EAAE,GAAG,CAAC,iBAAiB;oBACtC,oBAAoB,EAAE,GAAG,CAAC,uBAAuB;oBACjD,UAAU,EAAE,GAAG,CAAC,WAAW;oBAC3B,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,QAAQ,EAAE,GAAG,CAAC,SAAS;oBACvB,OAAO,EAAE,GAAG,CAAC,QAAQ;oBACrB,UAAU,EAAE,GAAG,CAAC,YAAY;oBAC5B,cAAc,EAAE,GAAG,CAAC,eAAe;oBACnC,eAAe,EAAE,GAAG,CAAC,gBAAgB;oBACrC,UAAU,EAAE,GAAG,CAAC,WAAW;oBAC3B,UAAU,EAAE,GAAG,CAAC,WAAW;oBAC3B,SAAS,EAAE,GAAG,CAAC,UAAU;oBACzB,SAAS,EAAE,GAAG,CAAC,UAAU;iBAC1B,CAAA;gBAED,IAAI,GAAG,CAAC,WAAW,EAAE;oBACnB,IAAI,CAAC,UAAU,CAAC,GAAG;wBACjB,EAAE,EAAE,GAAG,CAAC,WAAW;wBACnB,IAAI,EAAE,GAAG,CAAC,aAAa;qBACxB,CAAA;iBACF;gBAED,OAAO,IAAI,CAAA;YACb,CAAC,CAAC,CAAA;YAEF,OAAO;gBACL,KAAK;gBACL,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK;aACtB,CAAA;SACF;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CACF,CAAA"}
@@ -28,7 +28,8 @@ exports.InboundOrderDetailsReport = (0, graphql_tag_1.default) `
28
28
  putawayComplete: String
29
29
  orderLineItem: Int
30
30
  product: Product
31
- purchaseOrder: PurchaseOrder
31
+ purchaseOrderId: String
32
+ purchaseOrderNo: String
32
33
  contactPoint: ContactPoint
33
34
  packType: String
34
35
  packSize: Int
@@ -1 +1 @@
1
- {"version":3,"file":"inbound-order-details-report.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/inbound-order-details-report.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,yBAAyB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgD3C,CAAA"}
1
+ {"version":3,"file":"inbound-order-details-report.js","sourceRoot":"","sources":["../../../../server/graphql/types/reports/inbound-order-details-report.ts"],"names":[],"mappings":";;;;;;AAAA,8DAA6B;AAEhB,QAAA,yBAAyB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiD3C,CAAA"}