@things-factory/operato-wms 4.3.272 → 4.3.276

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 (441) hide show
  1. package/client/constants/vas.js +4 -0
  2. package/client/pages/bulk-operation/bulk-operation.js +18 -5
  3. package/client/pages/constants/order.js +2 -1
  4. package/client/pages/inventory/non-loaded-inventory.js +2 -1
  5. package/client/pages/inventory-check/inspecting-product.js +27 -8
  6. package/client/pages/master/tote-list.js +2 -1
  7. package/client/pages/order/draft-release-good/draft-release-good-list.js +22 -8
  8. package/client/pages/order/release-order/b2c/b2c-order-requests.js +1 -0
  9. package/client/pages/order/release-order/release-order-detail.js +5 -12
  10. package/client/pages/outbound/sorting-product.js +2 -1
  11. package/client/pages/outbound/worksheet-picking.js +3 -2
  12. package/client/pages/report/order-vas-report.js +577 -0
  13. package/client/pages/report/vas-report.js +52 -182
  14. package/client/pages/vas/print-product-label.js +19 -4
  15. package/client/pages/vas/vas-execution-page.js +3 -3
  16. package/client/route.js +4 -0
  17. package/dist-server/graphql/resolvers/reports/index.js +1 -1
  18. package/dist-server/graphql/resolvers/reports/index.js.map +1 -1
  19. package/dist-server/graphql/resolvers/reports/vas-report.js +166 -24
  20. package/dist-server/graphql/resolvers/reports/vas-report.js.map +1 -1
  21. package/dist-server/graphql/types/reports/index.js +4 -1
  22. package/dist-server/graphql/types/reports/index.js.map +1 -1
  23. package/dist-server/graphql/types/reports/vas-report-list.js +9 -3
  24. package/dist-server/graphql/types/reports/vas-report-list.js.map +1 -1
  25. package/dist-server/graphql/types/reports/vas-report.js +12 -2
  26. package/dist-server/graphql/types/reports/vas-report.js.map +1 -1
  27. package/helps/operato-wms/adjustment/transfer-inventory.en.md +20 -8
  28. package/helps/operato-wms/arrival-notice/create-arrival-notice.en.md +42 -13
  29. package/helps/operato-wms/arrival-notice/gan-detail.en.md +78 -18
  30. package/helps/operato-wms/arrival-notice/gan-list.md +6 -9
  31. package/helps/operato-wms/bulk-operation/bulk-operation.en.md +33 -0
  32. package/helps/operato-wms/goods-received-note/customer-grn-list.en.md +7 -6
  33. package/helps/operato-wms/goods-received-note/received-note-list.en.md +8 -6
  34. package/helps/operato-wms/images/arrival-notice-detail-add.png +0 -0
  35. package/helps/operato-wms/images/arrival-notice-detail-approval.png +0 -0
  36. package/helps/operato-wms/images/arrival-notice-detail-assign.png +0 -0
  37. package/helps/operato-wms/images/arrival-notice-detail-changes.png +0 -0
  38. package/helps/operato-wms/images/arrival-notice-detail-edit.png +0 -0
  39. package/helps/operato-wms/images/arrival-notice-detail-order.png +0 -0
  40. package/helps/operato-wms/images/arrival-notice-detail-page.png +0 -0
  41. package/helps/operato-wms/images/arrival-notice-detail-popup.png +0 -0
  42. package/helps/operato-wms/images/arrival-notice-detail-receive.png +0 -0
  43. package/helps/operato-wms/images/arrival-notice-detail-reject.png +0 -0
  44. package/helps/operato-wms/images/arrival-notice-detail-save.png +0 -0
  45. package/helps/operato-wms/images/arrival-notice-list-export.png +0 -0
  46. package/helps/operato-wms/images/arrival-notice-list-page.png +0 -0
  47. package/helps/operato-wms/images/arrival-notice-list-type.png +0 -0
  48. package/helps/operato-wms/images/assign-warehouse-popup.png +0 -0
  49. package/helps/operato-wms/images/assign-warehouse-section.png +0 -0
  50. package/helps/operato-wms/images/b2c-ro-export.png +0 -0
  51. package/helps/operato-wms/images/b2c-ro-page.png +0 -0
  52. package/helps/operato-wms/images/b2c-ro-type.png +0 -0
  53. package/helps/operato-wms/images/bulk-operation-click.png +0 -0
  54. package/helps/operato-wms/images/bulk-operation-excel.png +0 -0
  55. package/helps/operato-wms/images/bulk-operation-ganbutton.png +0 -0
  56. package/helps/operato-wms/images/bulk-operation-gancreate.png +0 -0
  57. package/helps/operato-wms/images/bulk-operation-openbutton.jpg +0 -0
  58. package/helps/operato-wms/images/bulk-operation-ro.png +0 -0
  59. package/helps/operato-wms/images/bulk-operation-robutton.png +0 -0
  60. package/helps/operato-wms/images/bulk-operation-select.png +0 -0
  61. package/helps/operato-wms/images/bulk-operation-upload.png +0 -0
  62. package/helps/operato-wms/images/bulk-operation-uploadbutton.png +0 -0
  63. package/helps/operato-wms/images/check-rto-click.png +0 -0
  64. package/helps/operato-wms/images/create-arrival-notice-page.png +0 -0
  65. package/helps/operato-wms/images/create-delivery-page.png +0 -0
  66. package/helps/operato-wms/images/create-gan-import.png +0 -0
  67. package/helps/operato-wms/images/create-gan-inventories.png +0 -0
  68. package/helps/operato-wms/images/create-gan-pic2.png +0 -0
  69. package/helps/operato-wms/images/create-gan-pic3.png +0 -0
  70. package/helps/operato-wms/images/create-rto-click.png +0 -0
  71. package/helps/operato-wms/images/create-rto-column.png +0 -0
  72. package/helps/operato-wms/images/createcc-caseexplain.png +0 -0
  73. package/helps/operato-wms/images/createcc-casepic.png +0 -0
  74. package/helps/operato-wms/images/createcc-column.png +0 -0
  75. package/helps/operato-wms/images/createcc-createbutton.png +0 -0
  76. package/helps/operato-wms/images/createcc-created.png +0 -0
  77. package/helps/operato-wms/images/createcc-detail.png +0 -0
  78. package/helps/operato-wms/images/createcc-fieldlable.png +0 -0
  79. package/helps/operato-wms/images/createcc-random.png +0 -0
  80. package/helps/operato-wms/images/customer-grn-page.png +0 -0
  81. package/helps/operato-wms/images/cyclecount-detail.png +0 -0
  82. package/helps/operato-wms/images/cyclecount-export.png +0 -0
  83. package/helps/operato-wms/images/cyclecount-exsucc.png +0 -0
  84. package/helps/operato-wms/images/cyclecount-inventory-inspec-check.png +0 -0
  85. package/helps/operato-wms/images/cyclecount-inventory-inspec-choose.png +0 -0
  86. package/helps/operato-wms/images/cyclecount-inventory-inspec-click.png +0 -0
  87. package/helps/operato-wms/images/cyclecount-inventory-inspec-completebutton.png +0 -0
  88. package/helps/operato-wms/images/cyclecount-inventory-inspec-completed.png +0 -0
  89. package/helps/operato-wms/images/cyclecount-inventory-inspec-label.png +0 -0
  90. package/helps/operato-wms/images/cyclecount-inventory-inspec-location.png +0 -0
  91. package/helps/operato-wms/images/cyclecount-inventory-inspec-page.png +0 -0
  92. package/helps/operato-wms/images/cyclecount-status.png +0 -0
  93. package/helps/operato-wms/images/cyclecount-type.png +0 -0
  94. package/helps/operato-wms/images/cyclecountreport-export.png +0 -0
  95. package/helps/operato-wms/images/cyclecountreport-page.png +0 -0
  96. package/helps/operato-wms/images/cyclecountreport-status.png +0 -0
  97. package/helps/operato-wms/images/cyclecountreport-type.png +0 -0
  98. package/helps/operato-wms/images/delivery-order-export.png +0 -0
  99. package/helps/operato-wms/images/delivery-order-page.png +0 -0
  100. package/helps/operato-wms/images/delivery-order-type.png +0 -0
  101. package/helps/operato-wms/images/do-list-export-icon.png +0 -0
  102. package/helps/operato-wms/images/do-list-type.png +0 -0
  103. package/helps/operato-wms/images/draft-order-export.png +0 -0
  104. package/helps/operato-wms/images/draft-order-page.png +0 -0
  105. package/helps/operato-wms/images/draft-order-type.png +0 -0
  106. package/helps/operato-wms/images/driver-case.png +0 -0
  107. package/helps/operato-wms/images/driver-column.png +0 -0
  108. package/helps/operato-wms/images/driver-create.png +0 -0
  109. package/helps/operato-wms/images/driver-delbutton.png +0 -0
  110. package/helps/operato-wms/images/driver-delete.png +0 -0
  111. package/helps/operato-wms/images/driver-delsucc.png +0 -0
  112. package/helps/operato-wms/images/driver-empty.png +0 -0
  113. package/helps/operato-wms/images/driver-excel.png +0 -0
  114. package/helps/operato-wms/images/driver-export.png +0 -0
  115. package/helps/operato-wms/images/driver-expsucc.png +0 -0
  116. package/helps/operato-wms/images/driver-importbutton.png +0 -0
  117. package/helps/operato-wms/images/driver-required.png +0 -0
  118. package/helps/operato-wms/images/driver-sabutton.png +0 -0
  119. package/helps/operato-wms/images/driver-savebutton.png +0 -0
  120. package/helps/operato-wms/images/driver-type.png +0 -0
  121. package/helps/operato-wms/images/driver-upload.png +0 -0
  122. package/helps/operato-wms/images/driver-upsuccess.png +0 -0
  123. package/helps/operato-wms/images/driver-usucc.png +0 -0
  124. package/helps/operato-wms/images/external-return-export.png +0 -0
  125. package/helps/operato-wms/images/external-return-page.png +0 -0
  126. package/helps/operato-wms/images/external-return-type.png +0 -0
  127. package/helps/operato-wms/images/grn-export.png +0 -0
  128. package/helps/operato-wms/images/grn-page.png +0 -0
  129. package/helps/operato-wms/images/grn-type.png +0 -0
  130. package/helps/operato-wms/images/inbound-details.png +0 -0
  131. package/helps/operato-wms/images/inbound-export-page.png +0 -0
  132. package/helps/operato-wms/images/inbound-export.png +0 -0
  133. package/helps/operato-wms/images/inbound-sn-detail.png +0 -0
  134. package/helps/operato-wms/images/inbound-sn-export.png +0 -0
  135. package/helps/operato-wms/images/inbound-type.png +0 -0
  136. package/helps/operato-wms/images/inv-sum-details.png +0 -0
  137. package/helps/operato-wms/images/inv-sum-export.png +0 -0
  138. package/helps/operato-wms/images/inventory-adjustment-changed.png +0 -0
  139. package/helps/operato-wms/images/inventory-adjustment-changes.png +0 -0
  140. package/helps/operato-wms/images/inventory-adjustment-check.png +0 -0
  141. package/helps/operato-wms/images/inventory-adjustment-missing-confirm.png +0 -0
  142. package/helps/operato-wms/images/inventory-adjustment-missing-stock.png +0 -0
  143. package/helps/operato-wms/images/inventory-adjustment-new-type.png +0 -0
  144. package/helps/operato-wms/images/inventory-adjustment-new.png +0 -0
  145. package/helps/operato-wms/images/inventory-adjustment-print.png +0 -0
  146. package/helps/operato-wms/images/inventory-adjustment-save-button.png +0 -0
  147. package/helps/operato-wms/images/inventory-adjustment-search-page.png +0 -0
  148. package/helps/operato-wms/images/inventory-adjustment-search.png +0 -0
  149. package/helps/operato-wms/images/inventory-adjustment-upload.png +0 -0
  150. package/helps/operato-wms/images/inventory-by-prduct-export.png +0 -0
  151. package/helps/operato-wms/images/inventory-by-prduct-file-type.png +0 -0
  152. package/helps/operato-wms/images/inventory-by-prduct-icon.png +0 -0
  153. package/helps/operato-wms/images/inventory-history-case-1.png +0 -0
  154. package/helps/operato-wms/images/inventory-history-export-icon.png +0 -0
  155. package/helps/operato-wms/images/inventory-history-file.png +0 -0
  156. package/helps/operato-wms/images/inventory-history-search-icon.png +0 -0
  157. package/helps/operato-wms/images/inventoryreport-detail.png +0 -0
  158. package/helps/operato-wms/images/inventoryreport-print.png +0 -0
  159. package/helps/operato-wms/images/inventoryreport-search.png +0 -0
  160. package/helps/operato-wms/images/loading-list.png +0 -0
  161. package/helps/operato-wms/images/loading-page.png +0 -0
  162. package/helps/operato-wms/images/location-delbutton.png +0 -0
  163. package/helps/operato-wms/images/location-delete.png +0 -0
  164. package/helps/operato-wms/images/location-delsuccess.png +0 -0
  165. package/helps/operato-wms/images/location-empty.png +0 -0
  166. package/helps/operato-wms/images/location-excel.png +0 -0
  167. package/helps/operato-wms/images/location-import.png +0 -0
  168. package/helps/operato-wms/images/location-savebutton.png +0 -0
  169. package/helps/operato-wms/images/location-update.png +0 -0
  170. package/helps/operato-wms/images/location-updsuccess.png +0 -0
  171. package/helps/operato-wms/images/location-upload.png +0 -0
  172. package/helps/operato-wms/images/location-upsuccess.png +0 -0
  173. package/helps/operato-wms/images/merged-order-worksheet-batch.png +0 -0
  174. package/helps/operato-wms/images/merged-order-worksheet-exicon.png +0 -0
  175. package/helps/operato-wms/images/merged-order-worksheet-filetype.png +0 -0
  176. package/helps/operato-wms/images/merged-order-worksheet-page.png +0 -0
  177. package/helps/operato-wms/images/onhand-inventory-export-icon.png +0 -0
  178. package/helps/operato-wms/images/onhand-inventory-search-icon.png +0 -0
  179. package/helps/operato-wms/images/onhand-inventory-type.png +0 -0
  180. package/helps/operato-wms/images/outbound-details.png +0 -0
  181. package/helps/operato-wms/images/outbound-export.png +0 -0
  182. package/helps/operato-wms/images/outbound-sn-detail.png +0 -0
  183. package/helps/operato-wms/images/outbound-sn-export.png +0 -0
  184. package/helps/operato-wms/images/packing-list.png +0 -0
  185. package/helps/operato-wms/images/packing-page.png +0 -0
  186. package/helps/operato-wms/images/packing-worksheet-export.png +0 -0
  187. package/helps/operato-wms/images/packing-worksheet-search.png +0 -0
  188. package/helps/operato-wms/images/packing-worksheet-type.png +0 -0
  189. package/helps/operato-wms/images/pallet-case.png +0 -0
  190. package/helps/operato-wms/images/pallet-create.png +0 -0
  191. package/helps/operato-wms/images/pallet-delbutton.png +0 -0
  192. package/helps/operato-wms/images/pallet-delete.png +0 -0
  193. package/helps/operato-wms/images/pallet-delsuccess.png +0 -0
  194. package/helps/operato-wms/images/pallet-empty.png +0 -0
  195. package/helps/operato-wms/images/pallet-exprt.png +0 -0
  196. package/helps/operato-wms/images/pallet-exsuccess.png +0 -0
  197. package/helps/operato-wms/images/pallet-importbutton.png +0 -0
  198. package/helps/operato-wms/images/pallet-masdata.png +0 -0
  199. package/helps/operato-wms/images/pallet-openbutton.png +0 -0
  200. package/helps/operato-wms/images/pallet-printbutton.png +0 -0
  201. package/helps/operato-wms/images/pallet-savebutton.png +0 -0
  202. package/helps/operato-wms/images/pallet-svbutton.png +0 -0
  203. package/helps/operato-wms/images/pallet-updatepallet.png +0 -0
  204. package/helps/operato-wms/images/pallet-updatesuccess.png +0 -0
  205. package/helps/operato-wms/images/pallet-upload.png +0 -0
  206. package/helps/operato-wms/images/pallet-uploadsuccess.png +0 -0
  207. package/helps/operato-wms/images/picking-product-page.png +0 -0
  208. package/helps/operato-wms/images/picking-product-worksheet-case2.png +0 -0
  209. package/helps/operato-wms/images/picking-product-worksheet-case3.png +0 -0
  210. package/helps/operato-wms/images/picking-product-worksheet-case4.png +0 -0
  211. package/helps/operato-wms/images/picking-product-worksheet-case5.png +0 -0
  212. package/helps/operato-wms/images/picking-product-worksheet-case6.png +0 -0
  213. package/helps/operato-wms/images/picking-product-worksheet-case7.png +0 -0
  214. package/helps/operato-wms/images/picking-product-worksheet-case8.png +0 -0
  215. package/helps/operato-wms/images/picking-product-worksheet-casescan.png +0 -0
  216. package/helps/operato-wms/images/picking-product-worksheet-check.png +0 -0
  217. package/helps/operato-wms/images/picking-product-worksheet-choose.png +0 -0
  218. package/helps/operato-wms/images/picking-product-worksheet-list.png +0 -0
  219. package/helps/operato-wms/images/picking-product-worksheet-multiple.png +0 -0
  220. package/helps/operato-wms/images/picking-product-worksheet-ro.png +0 -0
  221. package/helps/operato-wms/images/picking-product-worksheet-scan.png +0 -0
  222. package/helps/operato-wms/images/picking-product-worksheet-show.png +0 -0
  223. package/helps/operato-wms/images/po-app-detail-page.png +0 -0
  224. package/helps/operato-wms/images/po-approval-page.png +0 -0
  225. package/helps/operato-wms/images/po-approval-search.png +0 -0
  226. package/helps/operato-wms/images/po-detail-export.png +0 -0
  227. package/helps/operato-wms/images/po-detail-own-confirm-button.png +0 -0
  228. package/helps/operato-wms/images/po-detail-own-currency-field.png +0 -0
  229. package/helps/operato-wms/images/po-detail-own-transport.png +0 -0
  230. package/helps/operato-wms/images/po-detail-page.png +0 -0
  231. package/helps/operato-wms/images/po-detail-type.png +0 -0
  232. package/helps/operato-wms/images/po-detail-upload-bulk.png +0 -0
  233. package/helps/operato-wms/images/po-page.png +0 -0
  234. package/helps/operato-wms/images/prepick-detail.png +0 -0
  235. package/helps/operato-wms/images/prepick-export.png +0 -0
  236. package/helps/operato-wms/images/print-product-label-page.png +0 -0
  237. package/helps/operato-wms/images/print-product-label-search.png +0 -0
  238. package/helps/operato-wms/images/putaway-page.png +0 -0
  239. package/helps/operato-wms/images/putaway-pic2.png +0 -0
  240. package/helps/operato-wms/images/putaway-pic3.png +0 -0
  241. package/helps/operato-wms/images/putaway-pic4.png +0 -0
  242. package/helps/operato-wms/images/receive-rto-click.png +0 -0
  243. package/helps/operato-wms/images/rel-order-export.png +0 -0
  244. package/helps/operato-wms/images/rel-order-page.png +0 -0
  245. package/helps/operato-wms/images/rel-order-type.png +0 -0
  246. package/helps/operato-wms/images/release-order-excel.png +0 -0
  247. package/helps/operato-wms/images/release-order-page.png +0 -0
  248. package/helps/operato-wms/images/release-report-detail.png +0 -0
  249. package/helps/operato-wms/images/release-report-export.png +0 -0
  250. package/helps/operato-wms/images/release-report-page.png +0 -0
  251. package/helps/operato-wms/images/release-report-select.png +0 -0
  252. package/helps/operato-wms/images/return-detail-confirm.png +0 -0
  253. package/helps/operato-wms/images/return-order-click.png +0 -0
  254. package/helps/operato-wms/images/rto-arrived.png +0 -0
  255. package/helps/operato-wms/images/rto-cancel-order-kiv.png +0 -0
  256. package/helps/operato-wms/images/rto-done.png +0 -0
  257. package/helps/operato-wms/images/rto-exportdata.png +0 -0
  258. package/helps/operato-wms/images/rto-intransit.png +0 -0
  259. package/helps/operato-wms/images/rto-pending.png +0 -0
  260. package/helps/operato-wms/images/rto-pendingreceive.png +0 -0
  261. package/helps/operato-wms/images/rto-processing.png +0 -0
  262. package/helps/operato-wms/images/rto-putting-away.png +0 -0
  263. package/helps/operato-wms/images/rto-ready-unload.png +0 -0
  264. package/helps/operato-wms/images/rto-rejected.png +0 -0
  265. package/helps/operato-wms/images/rto-search-field.png +0 -0
  266. package/helps/operato-wms/images/single-order-worksheet-export-icon.png +0 -0
  267. package/helps/operato-wms/images/single-order-worksheet-file.png +0 -0
  268. package/helps/operato-wms/images/single-order-worksheet-page.png +0 -0
  269. package/helps/operato-wms/images/sorting-case1.png +0 -0
  270. package/helps/operato-wms/images/sorting-case2.png +0 -0
  271. package/helps/operato-wms/images/sorting-case3.png +0 -0
  272. package/helps/operato-wms/images/sorting-case4.png +0 -0
  273. package/helps/operato-wms/images/sorting-page.png +0 -0
  274. package/helps/operato-wms/images/sorting-release-order.png +0 -0
  275. package/helps/operato-wms/images/tote-clickup.png +0 -0
  276. package/helps/operato-wms/images/tote-column.png +0 -0
  277. package/helps/operato-wms/images/tote-create.png +0 -0
  278. package/helps/operato-wms/images/tote-delbutton.png +0 -0
  279. package/helps/operato-wms/images/tote-delete.png +0 -0
  280. package/helps/operato-wms/images/tote-delsucc.png +0 -0
  281. package/helps/operato-wms/images/tote-empty.png +0 -0
  282. package/helps/operato-wms/images/tote-excel.png +0 -0
  283. package/helps/operato-wms/images/tote-export.png +0 -0
  284. package/helps/operato-wms/images/tote-exsucc.png +0 -0
  285. package/helps/operato-wms/images/tote-extype.png +0 -0
  286. package/helps/operato-wms/images/tote-import.png +0 -0
  287. package/helps/operato-wms/images/tote-print.png +0 -0
  288. package/helps/operato-wms/images/tote-savebutton.png +0 -0
  289. package/helps/operato-wms/images/tote-sbutton.png +0 -0
  290. package/helps/operato-wms/images/tote-statusbuttonv.png +0 -0
  291. package/helps/operato-wms/images/tote-upcol.png +0 -0
  292. package/helps/operato-wms/images/tote-updatesucc.png +0 -0
  293. package/helps/operato-wms/images/tote-upload.png +0 -0
  294. package/helps/operato-wms/images/tote-upstatus.png +0 -0
  295. package/helps/operato-wms/images/tote-upsucc.png +0 -0
  296. package/helps/operato-wms/images/tote-upsuccess.png +0 -0
  297. package/helps/operato-wms/images/transfer-inventory-scanner.jpg +0 -0
  298. package/helps/operato-wms/images/transfer-inventory-type.png +0 -0
  299. package/helps/operato-wms/images/transfer-location-type.png +0 -0
  300. package/helps/operato-wms/images/transport-clicksave.png +0 -0
  301. package/helps/operato-wms/images/transport-create.png +0 -0
  302. package/helps/operato-wms/images/transport-delbutton.png +0 -0
  303. package/helps/operato-wms/images/transport-delete.png +0 -0
  304. package/helps/operato-wms/images/transport-delsuccess.png +0 -0
  305. package/helps/operato-wms/images/transport-empty.png +0 -0
  306. package/helps/operato-wms/images/transport-excel.png +0 -0
  307. package/helps/operato-wms/images/transport-export.png +0 -0
  308. package/helps/operato-wms/images/transport-exporticon.png +0 -0
  309. package/helps/operato-wms/images/transport-exprtsuccess.png +0 -0
  310. package/helps/operato-wms/images/transport-import.png +0 -0
  311. package/helps/operato-wms/images/transport-required.png +0 -0
  312. package/helps/operato-wms/images/transport-savebutton.png +0 -0
  313. package/helps/operato-wms/images/transport-savesuccess.png +0 -0
  314. package/helps/operato-wms/images/transport-update.png +0 -0
  315. package/helps/operato-wms/images/transport-upload.png +0 -0
  316. package/helps/operato-wms/images/transport-uploaded.png +0 -0
  317. package/helps/operato-wms/images/unloading-page.png +0 -0
  318. package/helps/operato-wms/images/unloading-pic10.png +0 -0
  319. package/helps/operato-wms/images/unloading-pic11.png +0 -0
  320. package/helps/operato-wms/images/unloading-pic12.png +0 -0
  321. package/helps/operato-wms/images/unloading-pic13.png +0 -0
  322. package/helps/operato-wms/images/unloading-pic2.png +0 -0
  323. package/helps/operato-wms/images/unloading-pic3.png +0 -0
  324. package/helps/operato-wms/images/unloading-pic4.png +0 -0
  325. package/helps/operato-wms/images/unloading-pic5.png +0 -0
  326. package/helps/operato-wms/images/unloading-pic6.png +0 -0
  327. package/helps/operato-wms/images/unloading-pic7.png +0 -0
  328. package/helps/operato-wms/images/unloading-pic8.png +0 -0
  329. package/helps/operato-wms/images/unloading-pic9.png +0 -0
  330. package/helps/operato-wms/images/warehouse-column.png +0 -0
  331. package/helps/operato-wms/images/warehouse-delbutton.png +0 -0
  332. package/helps/operato-wms/images/warehouse-delete.png +0 -0
  333. package/helps/operato-wms/images/warehouse-deleted.png +0 -0
  334. package/helps/operato-wms/images/warehouse-edit.png +0 -0
  335. package/helps/operato-wms/images/warehouse-excel.png +0 -0
  336. package/helps/operato-wms/images/warehouse-exprt.png +0 -0
  337. package/helps/operato-wms/images/warehouse-exsuccess.png +0 -0
  338. package/helps/operato-wms/images/warehouse-extype.png +0 -0
  339. package/helps/operato-wms/images/warehouse-import-button.png +0 -0
  340. package/helps/operato-wms/images/warehouse-import.png +0 -0
  341. package/helps/operato-wms/images/warehouse-imuploaded.png +0 -0
  342. package/helps/operato-wms/images/warehouse-save.png +0 -0
  343. package/helps/operato-wms/images/warehouse-upload.png +0 -0
  344. package/helps/operato-wms/images/warehouse-upsave.png +0 -0
  345. package/helps/operato-wms/images/worker-create.png +0 -0
  346. package/helps/operato-wms/images/worker-delbutton.png +0 -0
  347. package/helps/operato-wms/images/worker-delete.png +0 -0
  348. package/helps/operato-wms/images/worker-delsuccess.png +0 -0
  349. package/helps/operato-wms/images/worker-empty.png +0 -0
  350. package/helps/operato-wms/images/worker-excel.png +0 -0
  351. package/helps/operato-wms/images/worker-exprt.png +0 -0
  352. package/helps/operato-wms/images/worker-exsucc.png +0 -0
  353. package/helps/operato-wms/images/worker-extype.png +0 -0
  354. package/helps/operato-wms/images/worker-importbutton.png +0 -0
  355. package/helps/operato-wms/images/worker-imsuccess.png +0 -0
  356. package/helps/operato-wms/images/worker-required.png +0 -0
  357. package/helps/operato-wms/images/worker-savebutton.png +0 -0
  358. package/helps/operato-wms/images/worker-update.png +0 -0
  359. package/helps/operato-wms/images/worker-upload.png +0 -0
  360. package/helps/operato-wms/images/worker-upsave.png +0 -0
  361. package/helps/operato-wms/images/worker-upsucc.png +0 -0
  362. package/helps/operato-wms/images/worksheet-putaway-page.png +0 -0
  363. package/helps/operato-wms/images/worksheet-putaway-return-execute.png +0 -0
  364. package/helps/operato-wms/images/worksheet-unloading-active.png +0 -0
  365. package/helps/operato-wms/images/worksheet-unloading-executing.png +0 -0
  366. package/helps/operato-wms/images/worksheet-unloading-pic4.png +0 -0
  367. package/helps/operato-wms/images/worksheet-unloading-pic6.png +0 -0
  368. package/helps/operato-wms/images/worksheet-unloading-popup.png +0 -0
  369. package/helps/operato-wms/images/worksheet-unloading-print.png +0 -0
  370. package/helps/operato-wms/images/wur-page.png +0 -0
  371. package/helps/operato-wms/images/wur-print-page.png +0 -0
  372. package/helps/operato-wms/inbound/external-return-worksheet.md +11 -12
  373. package/helps/operato-wms/inbound/inbound-worksheet.en.md +7 -9
  374. package/helps/operato-wms/inbound/putaway-product.en.md +25 -12
  375. package/helps/operato-wms/inbound/unload-product.en.md +71 -30
  376. package/helps/operato-wms/inbound/worksheet-putaway-return.en.md +7 -6
  377. package/helps/operato-wms/inbound/worksheet-putaway.en.md +3 -3
  378. package/helps/operato-wms/inbound/worksheet-unloading-return.en.md +17 -7
  379. package/helps/operato-wms/inbound/worksheet-unloading.en.md +29 -10
  380. package/helps/operato-wms/inventory/inventory-adjustment-approval.en.md +49 -20
  381. package/helps/operato-wms/inventory/inventory-adjustment.en.md +42 -29
  382. package/helps/operato-wms/inventory/inventory-by-product.en.md +7 -6
  383. package/helps/operato-wms/inventory/inventory-history.en.md +34 -38
  384. package/helps/operato-wms/inventory/non-loaded-inventory.en.md +9 -0
  385. package/helps/operato-wms/inventory/onhand-inventory.en.md +14 -11
  386. package/helps/operato-wms/inventory-check/create-cycle-count.en.md +24 -5
  387. package/helps/operato-wms/inventory-check/cycle-count-report.en.md +17 -11
  388. package/helps/operato-wms/inventory-check/inspecting-product.en.md +29 -17
  389. package/helps/operato-wms/inventory-check/inventory-check-list.en.md +8 -18
  390. package/helps/operato-wms/inventory-check/worksheet-cycle-count.en.md +9 -9
  391. package/helps/operato-wms/master-data/driver.en.md +53 -32
  392. package/helps/operato-wms/master-data/location-list.en.md +30 -24
  393. package/helps/operato-wms/master-data/pallet.en.md +46 -38
  394. package/helps/operato-wms/master-data/tote.en.md +107 -0
  395. package/helps/operato-wms/master-data/vehicle.en.md +52 -30
  396. package/helps/operato-wms/master-data/warehouse.en.md +47 -18
  397. package/helps/operato-wms/master-data/worker.en.md +39 -19
  398. package/helps/operato-wms/outbound/loading-product.en.md +14 -11
  399. package/helps/operato-wms/outbound/merged-outbound-worksheet.en.md +17 -16
  400. package/helps/operato-wms/outbound/packing-product.en.md +16 -6
  401. package/helps/operato-wms/outbound/packing-worksheet-list.en.md +16 -13
  402. package/helps/operato-wms/outbound/picking-product.en.md +226 -13
  403. package/helps/operato-wms/outbound/single-outbound-worksheet.en.md +31 -17
  404. package/helps/operato-wms/outbound/sorting-product.en.md +95 -0
  405. package/helps/operato-wms/product-label/print-product-label.en.md +13 -0
  406. package/helps/operato-wms/purchase-order/po-approval-detail.en.md +10 -0
  407. package/helps/operato-wms/purchase-order/po-detail.en.md +65 -0
  408. package/helps/operato-wms/purchase-order/purchase-order-approval-list.en.md +15 -0
  409. package/helps/operato-wms/purchase-order/purchase-order-list.en.md +9 -0
  410. package/helps/operato-wms/release-order/b2c-order-requests.en.md +34 -0
  411. package/helps/operato-wms/release-order/create-ro.en.md +25 -28
  412. package/helps/operato-wms/release-order/draft-release-good-list.en.md +23 -0
  413. package/helps/operato-wms/release-order/ro-list.en.md +36 -31
  414. package/helps/operato-wms/report/inbound-order-details-report.en.md +11 -0
  415. package/helps/operato-wms/report/inbound-serial-number-report.en.md +14 -0
  416. package/helps/operato-wms/report/inventory-report.en.md +12 -19
  417. package/helps/operato-wms/report/inventory-summary-report.en.md +5 -10
  418. package/helps/operato-wms/report/outbound-order-details-report.en.md +11 -0
  419. package/helps/operato-wms/report/outbound-serial-number-report.en.md +14 -0
  420. package/helps/operato-wms/report/release-inventory-report.en.md +14 -0
  421. package/helps/operato-wms/report/volume-summary-report.en.md +1 -0
  422. package/helps/operato-wms/return-order/check-return-order.en.md +3 -2
  423. package/helps/operato-wms/return-order/create-return-order.en.md +10 -14
  424. package/helps/operato-wms/return-order/receive-return-order-requests.en.md +2 -3
  425. package/helps/operato-wms/return-order/return-order-assign-buffer-location.en.md +14 -13
  426. package/helps/operato-wms/return-order/return-order-detail.en.md +8 -3
  427. package/helps/operato-wms/return-order/return-order-list.en.md +5 -7
  428. package/helps/operato-wms/return-order/return-order-requests.en.md +32 -18
  429. package/helps/operato-wms/transport-order/create-delivery-order.en.md +42 -33
  430. package/helps/operato-wms/transport-order/delivery-order-list.en.md +16 -11
  431. package/package.json +8 -8
  432. package/server/graphql/resolvers/reports/index.ts +2 -1
  433. package/server/graphql/resolvers/reports/vas-report.ts +186 -23
  434. package/server/graphql/types/reports/index.ts +6 -3
  435. package/server/graphql/types/reports/vas-report-list.ts +8 -2
  436. package/server/graphql/types/reports/vas-report.ts +13 -2
  437. package/things-factory.config.js +4 -0
  438. package/translations/en.json +12 -2
  439. package/translations/ko.json +14 -3
  440. package/translations/ms.json +13 -3
  441. package/translations/zh.json +13 -3
@@ -2,27 +2,23 @@
2
2
 
3
3
  1. Check the option of either own transport or warehouse transport.
4
4
 
5
- 2. Enter all relevant information. Company and ETA Date are required fields.
6
-
5
+ 2. Enter the details needed. Company and ETA Date are required fields.</br>
6
+ ## Details
7
7
  | DETAILS | MEANING |
8
8
  | :-------- | :----------------------------------------------------- |
9
9
  | Ref No. | Reference number |
10
10
  | ETA Date | Estimate time arrival |
11
- | DO No. | Delivery order number (reference for order and driver) |
11
+ | DO No. | Delivery Order number (reference for order and driver) |
12
12
  | Truck No. | Plate number |
13
13
 
14
- 3. Enter return product list.
15
-
16
- ![create return order](../images/create-rto.png)
17
-
18
- ### Select Item
19
-
20
- 4. Enter the RO number that you want to return and it will be displayed all the products with that RO number.
14
+ 3. Enter the return product list. Click on the inventory list column.
15
+ ![create rto column](../images/create-rto-column.png)
21
16
 
22
- 5. Select the checkbox to the left of the RO you want to return.
17
+ 4. Click the checkbox on the left of the RO you want to return.
18
+ ![create rto click](../images/create-rto-click.png)
23
19
 
24
- ![select item return order](../images/select-rto.png)
20
+ 5. Click **CONFIRM** button.
25
21
 
26
- 6. Click **CONFIRM**.
22
+ 6. Enter the amount of return quantity.
27
23
 
28
- 7. Click **SUBMIT**.
24
+ 7. Click **SUBMIT** button.
@@ -1,8 +1,7 @@
1
1
  # Receive Return Order
2
2
 
3
- All the information entered by the customer when creating a return order will be displayed on this page. Here office admin need to either receive or reject the request.
4
-
5
- ![receive return order](../images/rto-receive.png)
3
+ All the information entered by the customer when creating a return order will be displayed on this page. Here, the office admin can either receive or reject the request.
4
+ ![receive rto](../images/receive-rto-click.png)
6
5
 
7
6
  ### Type of Buttons
8
7
 
@@ -1,22 +1,23 @@
1
1
  # Assign Warehouse
2
2
 
3
- ## <ins>Assign buffer location</ins>
3
+ Assign Buffer Location
4
4
 
5
- When the status of a batch is Arrived, office admin must then assign the product to the warehouse.
5
+ When the status changed to **ARRIVED**, office admin must assign the product to a warehouse.
6
6
 
7
- 1. Click on the warehouse in the Assign Warehouse section as shown in the picture below.
7
+ 1. Click on the warehouse field under the Assign Warehouse section.
8
+ ![assign warehouse section](../images/assign-warehouse-section.png)
8
9
 
9
- ![assign buffer location](../images/rto-assign-warehouse.png)
10
+ 2. A "Select Warehouse" popup window will appear. Click on the warehouse (A) and choose the buffer location (B).
11
+ ![assign popup](../images/assign-warehouse-popup.png)
10
12
 
11
- 2. Click on the warehouse. Click on the warehouse (A) and choose the buffer location (B).
13
+ ## Details
14
+ | LABELS | EXPLANATIONS |
15
+ | :---- | :---------------------------------------------------------------------------------------------------------------------- |
16
+ | A | Warehouse |
17
+ | B | Buffer location in warehouse. Create a buffer in the Master Data warehouse if there is no buffer assigned in a warehouse |
12
18
 
13
- ![assign buffer location](../images/rto-assign-buffer-location.png)
19
+ 3. Click **CONFIRM** button.
14
20
 
15
- | DETAILS | |
16
- | :------ | :-------------------------------------------------------------------------------------------------------------------------------------- |
17
- | A | Warehouse |
18
- | B | Buffer location in warehouse<br/>\* If there is no buffer assign in a warehouse, you can create the buffer at the Master Data Warehouse |
21
+ 4. Click **ASSIGN WAREHOUSE** button.
19
22
 
20
- 3. Click on the **CONFIRM**.
21
-
22
- 4. Click on the **ASSIGN WAREHOUSE**.
23
+ 5. Click **CONFIRM** button.
@@ -1,7 +1,12 @@
1
1
  # Return Order Detail
2
2
 
3
- ## <ins>Confirm or Delete Return Order</ins>
3
+ ## Confirm Return Order
4
4
 
5
- On the Return Order Detail page, select the item you wish to delete and then click **DELETE**.
5
+ 1. Click *CONFIRM* button to proceed with creating a return order.
6
+ ![return order confirm](../images/return-detail-confirm.png)
6
7
 
7
- ![confirm/delete order](../images/rto-detail.png)
8
+ | **Button** | **Status** |
9
+ | :----------------------- | :------------------------------------------------------------------ |
10
+ | CONFIRM | 1. PENDING<br> |
11
+ | CANCEL ORDER <br>**KIV** | 1. READY_TO_UNLOAD<br>2. PUTTING_AWAY<br>3. PROCESSING<br>4. ARRIVED|
12
+ | BACK | 1. DONE<br>2. PENDING RECEIVE |
@@ -1,11 +1,9 @@
1
- # Return Order List
1
+ # Return Orders
2
2
 
3
- ## <ins>Export return order data</ins>
3
+ ## <ins>Export Return Order Data</ins>
4
4
 
5
- 1. Click on the export data icon button ![export](../images/export-button.png) in the bottom left corner of the page.
5
+ 1. Click on the export data icon button at the bottom left corner of the page.
6
6
 
7
- ![export rto](../images/rto-list-export.png)
7
+ ![rto export icon](../images/return-order-click.png)
8
8
 
9
- 2. Select your preferred file type: json, csv, xlsx or xls.lick on the file type you want. There will be four types of files which are json, csv, xlsx and xls.
10
-
11
- ![export rto](../images/rto-list-file-type.png)
9
+ 2. Choose your preferred file type: json, csv, xlsx or xls. There will be four types of files which are json, csv, xlsx and xls.
@@ -1,27 +1,41 @@
1
1
  # Return Order Request
2
2
 
3
- This page displays all the return order requests that have already been created by customers. Here office admin can filter return orders by any of the search fields as shown in the picture below.
3
+ This page displays all the return order requests that have been already made by customers. Here, the office admin can filter return orders by any of the search fields as shown in the picture below.
4
+ ![rto request](../images/rto-search-field.png)
4
5
 
5
- ![rto request](../images/rto-request-search.png)
6
+ ## <ins>Export Return Order Data</ins>
6
7
 
7
- ## <ins>Export return order data</ins>
8
+ 1. Click on the export data icon button at the bottom left corner of the page.
9
+ ![rto export](../images/rto-exportdata.png)
8
10
 
9
- 1. Click the export data icon ![export](../images/export-button.png) in the bottom left corner of the page. Select the preferred file type: json, csv, xlsx or xls.
11
+ ## Type of Status
10
12
 
11
- ![export return order request](../images/rto-export.png)
13
+ **1. PENDING -** This status will be displayed as soon as the order is created. A confirmation from the office administrator is awaited.
14
+ ![rto pending](../images/rto-pending.png)
12
15
 
13
- ![export return order request](../images/rto-file-type.png)
16
+ **2. PENDING RECEIVE -** After the order has been confirmed by the office admin, this status will be displayed. Awaiting the order to be received or rejected by the office admin.
17
+ ![rto pending receive](../images/rto-pendingreceive.png)
14
18
 
15
- ### Type of Status
19
+ **3. IN TRANSIT -** This status displayed after the office admin received the order. Awaiting the order to arrive.
20
+ ![rto in transit](../images/rto-intransit.png)
16
21
 
17
- | STATUS | MEANING |
18
- | :-------------- | :---------------------------------------------------------- |
19
- | Pending | Waiting for confirmation from office admin |
20
- | Pending receive | Waiting for confirmation from office admin |
21
- | In transit | Product in transit |
22
- | Arrived | Product has arrived and needs to be assigned to a warehouse |
23
- | Processing | Being processed |
24
- | Ready to unload | ‘In transit’ stage is finished |
25
- | Putting away | Goods ready to be assigned a location |
26
- | Done | All processes have been completed by the warehouse |
27
- | Rejected | Rejected by office admin |
22
+ **4. REJECTED -** This status will be displayed if office admin rejected the order.
23
+ ![rto rejected](../images/rto-rejected.png)
24
+
25
+ **5. ARRIVED -** Order arrived, assignment of warehouse needed.
26
+ ![rto arrived](../images/rto-arrived.png)
27
+
28
+ **6. READY TO UNLOAD -** Warehouse assignment completed. Order ready to be unload.
29
+ ![rto ready unload](../images/rto-ready-unload.png)
30
+
31
+ **7. PROCESSING -** The status displayed immediately after Worksheet Unloading Return is activated.
32
+ ![rto processing](../images/rto-processing.png)
33
+
34
+ **8. PUTTING AWAY -** This status displayed when unloading has been completed.
35
+ ![rto putting away](../images/rto-putting-away.png)
36
+
37
+ **9. DONE -** All processes have been completed. Order has successfully returned.
38
+ ![rto done](../images/rto-done.png)
39
+
40
+ **CANCEL ORDER - KIV**
41
+ ![rto cancel order](../images/rto-cancel-order-kiv.png)
@@ -1,34 +1,43 @@
1
- # Create Delivery Order
1
+ # <ins> Create Delivery Order </ins>
2
+
3
+ 1. Select transportation option (own transport or warehouse transport)<br>
4
+ *New section will appear as shown below if Other Destination is checked
5
+
6
+ 2. Enter all information.
7
+
8
+ 3. Reference file can be uploaded in the Upload Documents section is there is any.
9
+ ![create do](../images/create-delivery-page.png)
10
+
11
+ 4. Click SUBMIT
12
+
13
+ | **DETAIL** | **MEANING** |
14
+ | :---------------- | :------------------------------------------- |
15
+ | Company | - |
16
+ | Ref No. | Reference number |
17
+ | Delivery Date | Goods estimate delivery date |
18
+ | Driver Name | - |
19
+ | Truck No. | Truck plate number |
20
+ | Overall Remark | Goods note |
21
+ | Plastic Pallet | Bind pallet with reusable pallet |
22
+ | Upload Documents | - |
23
+ | Contact Name | Customer name |
24
+ | Contact Phone No. | Customer phone number |
25
+ | Contact Email | Customer email |
26
+ | Company Name | Customer company |
27
+ | Contact Type | Type: <br/>Customer <br/> Supplier |
28
+ | Delivery Address | Address to deliver goods |
29
+ | Billing Address | Customer's address |
30
+
31
+ <br>
32
+
33
+ | **PRODUCT DETAIL** | **MEANING** |
34
+ | :------------------ | :------------------------------- |
35
+ | Batch No | Reference No |
36
+ | Product | List of goods |
37
+ | Packing Type | Packing type of the goods |
38
+ | Uom | Unit of measurement of the goods |
39
+ | Uom Value | UoM value for the goods |
40
+ | Pack Qty | Number of items in a pack |
41
+ | Pallet Qty | Number of packs in a pallet |
42
+ | Remark | Goods note |
2
43
 
3
- 1. Check the option of either own transport or warehouse transport.
4
-
5
- 2. Enter all the information. If you choose Other Destination, a new section will appear as in the picture below.
6
-
7
- ![create do](../images/create-do.png)
8
-
9
- | DETAILS | MEANING |
10
- | :---------------- | :--------------------------------------------- |
11
- | Ref No. | Reference number |
12
- | Delivery Date | Estimate date of delivery of goods to customer |
13
- | Truck No. | Plate number of truck |
14
- | Overall Remark | Notes for specific goods |
15
- | Contact Name | Customer's name |
16
- | Contact Phone No. | Customer's phone number |
17
- | Contact Email | Customer’s email address |
18
- | Company Name | Customer’s company |
19
- | Contact Type | - Customer<br/>- Supplier |
20
- | Delivery Address | Customer’s address |
21
-
22
- 3. Enter product detail.
23
-
24
- | DETAILS | MEANING |
25
- | :--------- | :-------------------------- |
26
- | Batch No. | Reference number |
27
- | Product | List of goods |
28
- | Pack Qty | Number of items in a pack |
29
- | Pallet Qty | Number of packs on a pallet |
30
- | Remark | Notes for specific goods |
31
-
32
- 4. Click SUBMIT.
33
-
34
- - If you already have a reference file, you can upload the document in the Upload Documents section.
@@ -1,19 +1,24 @@
1
- # Delivery Order List
1
+ # <ins>Delivery Order List</ins>
2
2
 
3
- This page displays all the delivery orders created by customers. Search for delivery orders by filling in the details at the top of the page and then clicking the Search ![search](../images/search-button.png) icon.
3
+ This page displays all the delivery orders.
4
4
 
5
- ## <ins>Export delivery order data</ins>
5
+ Delivery order can be filtered by any of the search fields below:
6
+ ![delivery page](../images/delivery-order-page.png)
6
7
 
7
- Click the export data icon ![export](../images/export-button.png) in the bottom left corner of the page. Select your preferred file type: json, csv, xlsx or xls.
8
+ ## <ins>Export Delivery Order Data</ins>
8
9
 
9
- ![export DO](../images/export-do.png)
10
+ 1. Click the export icon at the bottom left corner of the page.
11
+ ![export](../images/do-list-export-icon.png)
10
12
 
11
- ![export DO](../images/export-do-file-type.png)
13
+ 2. Select your preferred file type:
14
+ ![file type](../images/do-list-type.png)
12
15
 
13
16
  ### Type of Status
14
17
 
15
- | STATUS | MEANING |
16
- | :---------------- | :---------------------------------------- |
17
- | Ready to dispatch | Goods already put into vehicle |
18
- | Delivering | Goods are being delivered to the customer |
19
- | Done | The customer has received the goods |
18
+ | **STATUS** | **MEANING** |
19
+ | :---------------- | :---------------------------- |
20
+ | READY_TO_DISPATCH | Goods are ready deliver |
21
+ | DELIVERING | Goods are being delivered |
22
+ | DONE | Goods successfully delivered |
23
+ | CANCELLED | Order has been cancelled |
24
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.3.272",
3
+ "version": "4.3.276",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -66,7 +66,7 @@
66
66
  "@things-factory/attachment-ui": "^4.3.270",
67
67
  "@things-factory/auth-ui": "^4.3.270",
68
68
  "@things-factory/barcode-ui": "^4.3.270",
69
- "@things-factory/biz-ui": "^4.3.270",
69
+ "@things-factory/biz-ui": "^4.3.276",
70
70
  "@things-factory/board-service": "^4.3.270",
71
71
  "@things-factory/board-ui": "^4.3.270",
72
72
  "@things-factory/code-ui": "^4.3.270",
@@ -89,9 +89,9 @@
89
89
  "@things-factory/pdf": "^4.3.270",
90
90
  "@things-factory/print-proxy-service": "^4.3.270",
91
91
  "@things-factory/print-ui": "^4.3.270",
92
- "@things-factory/product-base": "^4.3.270",
92
+ "@things-factory/product-base": "^4.3.276",
93
93
  "@things-factory/resource-ui": "^4.3.270",
94
- "@things-factory/sales-ui": "^4.3.272",
94
+ "@things-factory/sales-ui": "^4.3.276",
95
95
  "@things-factory/scene-data-transform": "^4.3.270",
96
96
  "@things-factory/scene-excel": "^4.3.270",
97
97
  "@things-factory/scene-firebase": "^4.3.270",
@@ -105,10 +105,10 @@
105
105
  "@things-factory/scene-visualizer": "^4.3.270",
106
106
  "@things-factory/setting-ui": "^4.3.270",
107
107
  "@things-factory/system-ui": "^4.3.270",
108
- "@things-factory/transport-base": "^4.3.270",
108
+ "@things-factory/transport-base": "^4.3.276",
109
109
  "@things-factory/tutorial-ui": "^4.3.270",
110
- "@things-factory/warehouse-base": "^4.3.272",
111
- "@things-factory/worksheet-base": "^4.3.272"
110
+ "@things-factory/warehouse-base": "^4.3.276",
111
+ "@things-factory/worksheet-base": "^4.3.276"
112
112
  },
113
113
  "devDependencies": {
114
114
  "@things-factory/builder": "^4.3.270",
@@ -117,5 +117,5 @@
117
117
  "cypress-localstorage-commands": "^1.6.1",
118
118
  "eslint-plugin-cypress": "^2.12.1"
119
119
  },
120
- "gitHead": "56e14aec3da7630a782f448dd409037cbb2e982a"
120
+ "gitHead": "f63d125d28eb83ca82ff091bca9256f0b462ab9c"
121
121
  }
@@ -7,7 +7,7 @@ import { outboundOrderDetailsReport } from './outbound-order-details-report'
7
7
  import { productLabelReport } from './product-label-report'
8
8
  import { releaseInventoryReport } from './release-inventory-report'
9
9
  import { loadingQcReport } from './tote-loading-qc-report'
10
- import { vasReport } from './vas-report'
10
+ import { orderVasReport, vasReport } from './vas-report'
11
11
 
12
12
  export const Query = {
13
13
  ...inboundSerialNumberReport,
@@ -18,5 +18,6 @@ export const Query = {
18
18
  ...productLabelReport,
19
19
  ...releaseInventoryReport,
20
20
  ...loadingQcReport,
21
+ ...orderVasReport,
21
22
  ...vasReport
22
23
  }
@@ -5,8 +5,8 @@ import { ListParam } from '@things-factory/shell'
5
5
 
6
6
  import { rawProductsQuery } from '../../../utils'
7
7
 
8
- export const vasReport = {
9
- async vasReport(_: any, params: ListParam, context: any) {
8
+ export const orderVasReport = {
9
+ async orderVasReport(_: any, params: ListParam, context: any) {
10
10
  try {
11
11
  const { tx }: { tx: EntityManager } = context.state
12
12
  let bizplaceFilter = params.filters.find(data => data.name === 'bizplace')
@@ -46,37 +46,75 @@ export const vasReport = {
46
46
  }
47
47
 
48
48
  if (fromDate) {
49
- extraQueryFilter = `${extraQueryFilter} and completion_date >= '%${fromDate.value}%' `
49
+ extraQueryFilter = `${extraQueryFilter} and executed_at >= '%${fromDate.value}%' `
50
50
  }
51
51
 
52
52
  if (toDate) {
53
- extraQueryFilter = `${extraQueryFilter} and completion_date <= '%${toDate.value}%' `
53
+ extraQueryFilter = `${extraQueryFilter} and executed_at <= '%${toDate.value}%' `
54
54
  }
55
55
 
56
56
  await tx.query(
57
57
  `
58
58
  create temp table temp_vas_order_report on commit drop as (
59
59
  select * from (
60
- select distinct b.name as "company", rg.name as "order_no", rg.ref_no as "ref_no", p1.sku as "sku", ov.batch_id as "batch_no", ov.packing_type as "packing_type", ov.uom as "uom", ov.uom_value as "uom_value", op.release_qty as "release_qty",
61
- v.id as "vas_id", v.name as "vas_name", v.description as "vas_description", ovi.vas_qty as "vas_qty", p2.sku as "new_sku", ov.new_packing_type as "new_packing_type", ov.new_uom as "new_uom", ov.output_qty as "output_qty", ov.new_uom_value as "new_uom_value", w.ended_at as "completion_date",
62
- p1.name as "old_product_name", p1.description as "old_p_description", p1.brand as "old_p_brand", p1.brand_sku as "old_p_brand_sku",
63
- p2.name as "new_product_name", p2.description as "new_p_description", p2.brand as "new_p_brand", p2.brand_sku as "new_p_brand_sku"
64
- from order_vass ov
65
- left join bizplaces b on ov.bizplace_id = b.id
66
- inner join release_goods rg on ov.release_good_id = rg.id
67
- inner join products p1 on ov.product_id = p1.id
68
- left join order_products op on ov.release_good_id = op.release_good_id and ov.product_id = op.product_id and ov.batch_id = op.batch_id
69
- inner join order_vas_items ovi on ov.id = ovi.order_vas_id
70
- inner join vass v on ovi.vas_id = v.id
71
- left join products p2 on ov.new_product_id = p2.id
72
- inner join worksheets w on ov.release_good_id = w.release_good_id
73
- where b.id = $1 and w.type = 'VAS'
74
- and w.status <> 'CANCELLED'
75
- and rg.status not in ('CANCELLED', 'PENDING_CANCEL')
60
+ select
61
+ ov.id as "order_vas_id",
62
+ ov.name as "order_vas_name",
63
+ b.name as "company",
64
+ rg.name as "order_no",
65
+ rg.ref_no as "ref_no",
66
+ p.sku as "sku",
67
+ ov.batch_id as "batch_no",
68
+ ov.packing_type as "packing_type",
69
+ ov.uom as "uom",
70
+ v.id as "vas_id",
71
+ v.name as "vas_name",
72
+ v.description as "vas_description",
73
+ ovi.vas_qty as "vas_qty",
74
+ p2.sku as "new_sku",
75
+ ov.new_packing_type as "new_packing_type",
76
+ ov.new_uom as "new_uom",
77
+ ov.new_uom_value as "new_uom_value",
78
+ w.ended_at as "completion_date",
79
+ p.name as "old_product_name",
80
+ p.description as "old_p_description",
81
+ p.brand as "old_p_brand",
82
+ p.brand_sku as "old_p_brand_sku",
83
+ p2.name as "new_product_name",
84
+ p2.description as "new_p_description",
85
+ p2.brand as "new_p_brand",
86
+ p2.brand_sku as "new_p_brand_sku",
87
+ ovi.executed_at as "executed_at",
88
+ ov.created_at as "created_at",
89
+ (SELECT coalesce(SUM(op.release_qty), 0)
90
+ FROM order_products op
91
+ WHERE op.release_good_id = rg.id and p.id = op.product_id and pd.id = op.product_detail_id and op.batch_id = ov.batch_id) as "release_qty",
92
+ (SELECT coalesce(SUM(ov2.qty), 0)
93
+ FROM order_vass ov2
94
+ WHERE ov2.id = ov.id) as "qty",
95
+ (SELECT coalesce(SUM(ov3.output_qty), 0)
96
+ FROM order_vass ov3
97
+ WHERE ov3.id = ov.id) as "output_qty"
98
+ from order_vas_items ovi
99
+ inner join order_vass ov on ovi.order_vas_id = ov.id
100
+ inner join products p on ov.product_id = p.id
101
+ inner join product_details pd on pd.id = ov.product_detail_id
102
+ left join products p2 on p2.id = ov.new_product_id
103
+ left join product_details pd2 on pd2.id = ov.new_product_detail_id
104
+ inner join vass v on v.id = ovi.vas_id
105
+ inner join worksheet_details wd on ov.id = wd.target_vas_id
106
+ inner join worksheets w on w.id = wd.worksheet_id
107
+ inner join release_goods rg on w.release_good_id = rg.id
108
+ inner join bizplaces b on b.id = rg.bizplace_id
109
+ where b.id = $1
110
+ and w.type = 'VAS'
111
+ and ((w.status <> 'CANCELLED'
112
+ and rg.status not in ('CANCELLED', 'PENDING_CANCEL'))
113
+ or (ovi.executed_at notnull and rg.status in ('CANCELLED', 'PENDING_CANCEL')))
76
114
  ) src
77
115
  where 1=1
78
116
  ${extraQueryFilter}
79
- )
117
+ )
80
118
  `,
81
119
  [bizplace.id]
82
120
  )
@@ -88,6 +126,7 @@ export const vasReport = {
88
126
  const result: any = await tx.query(
89
127
  `
90
128
  select * from temp_vas_order_report
129
+ order by "created_at" desc, "order_no", "sku", "batch_no", "order_vas_name"
91
130
  `
92
131
  )
93
132
 
@@ -102,6 +141,8 @@ export const vasReport = {
102
141
  refNo: item.ref_no
103
142
  },
104
143
  orderVas: {
144
+ id: item.order_vas_id,
145
+ name: item.order_vas_name,
105
146
  batchId: item.batch_no,
106
147
  packingType: item.packing_type,
107
148
  uom: item.uom,
@@ -111,11 +152,13 @@ export const vasReport = {
111
152
  newUomValue: item.new_uom_value,
112
153
  outputQty: item.output_qty,
113
154
  product: { sku: item.sku },
114
- newProduct: { sku: item.new_sku }
155
+ newProduct: { sku: item.new_sku },
156
+ qty: item.qty
115
157
  },
116
158
  orderVasItem: {
117
159
  vas: { id: item.vas_id, name: item.vas_name, description: item.vas_description },
118
- vasQty: item.vas_qty
160
+ vasQty: item.vas_qty,
161
+ executedAt: item.executed_at
119
162
  },
120
163
  orderInventory: {
121
164
  releaseQty: item.release_qty
@@ -137,3 +180,123 @@ export const vasReport = {
137
180
  }
138
181
  }
139
182
  }
183
+
184
+
185
+ export const vasReport = {
186
+ async vasReport(_: any, params: ListParam, context: any) {
187
+ try {
188
+ const { tx }: { tx: EntityManager } = context.state
189
+ let bizplaceFilter = params.filters.find(data => data.name === 'bizplace')
190
+ let fromDate = params.filters.find(data => data.name === 'fromDate')
191
+ let toDate = params.filters.find(data => data.name === 'toDate')
192
+ let vasFilter = params.filters.find(data =>data.name === 'vas')
193
+ let typeFilter = params.filters.find(data => data.name === 'type')
194
+ const domain = context.state.domain
195
+
196
+ if (!bizplaceFilter) {
197
+ throw 'Invalid input'
198
+ }
199
+
200
+ const bizplace: Bizplace = await tx.getRepository(Bizplace).findOne({
201
+ id: bizplaceFilter.value
202
+ })
203
+
204
+ await rawProductsQuery(tx, params, bizplace)
205
+
206
+ let extraQueryFilter = ''
207
+
208
+ if (fromDate) {
209
+ extraQueryFilter = `${extraQueryFilter} and executed_at >= '%${fromDate.value}%' `
210
+ }
211
+
212
+ if (toDate) {
213
+ extraQueryFilter = `${extraQueryFilter} and executed_at <= '%${toDate.value}%' `
214
+ }
215
+
216
+ if (vasFilter) {
217
+ extraQueryFilter = `${extraQueryFilter} and (
218
+ vas_name ilike '%${vasFilter.value}%'
219
+ or vas_description ilike '%${vasFilter.value}%') `
220
+ }
221
+
222
+ if (typeFilter) {
223
+ extraQueryFilter = `${extraQueryFilter} and vas_type = '${typeFilter.value}' `
224
+ }
225
+
226
+
227
+ await tx.query(
228
+ `
229
+ create temp table temp_vas_order_report on commit drop as (
230
+ select * from (
231
+ select v.id as "vas_id",
232
+ v."name" as "vas_name",
233
+ v.description as "vas_description",
234
+ v.type as "vas_type",
235
+ (SELECT coalesce(SUM(ovi.vas_qty), 0)
236
+ FROM order_vas_items ovi
237
+ inner join order_vass ov on ov.id = ovi.order_vas_id
238
+ inner join worksheet_details wd on ov.id = wd.target_vas_id
239
+ inner join worksheets w on wd.worksheet_id = w.id
240
+ inner join release_goods rg on w.release_good_id = rg.id
241
+ inner join bizplaces b on rg.bizplace_id = b.id
242
+ WHERE ovi.vas_id = v.id
243
+ and b.id = $1
244
+ and ((w.status <> 'CANCELLED'
245
+ and rg.status not in ('CANCELLED', 'PENDING_CANCEL'))
246
+ or (ovi.executed_at notnull and rg.status in ('CANCELLED', 'PENDING_CANCEL')))
247
+ ) as "vas_qty",
248
+ (SELECT max(ovi2.executed_at)
249
+ FROM order_vas_items ovi2
250
+ inner join order_vass ov2 on ov2.id = ovi2.order_vas_id
251
+ inner join worksheet_details wd2 on wd2.target_vas_id = ov2.id
252
+ inner join worksheets w2 on w2.id = wd2.worksheet_id
253
+ inner join release_goods rg2 on rg2.id = w2.release_good_id
254
+ inner join bizplaces b2 on b2.id = rg2.bizplace_id
255
+ WHERE ovi2.vas_id = v.id
256
+ and b2.id = $1
257
+ ) as "executed_at"
258
+ from vass v
259
+ where v.domain_id = $2
260
+ )src
261
+ where 1=1
262
+ ${extraQueryFilter}
263
+ )
264
+ `,
265
+ [bizplace.id, domain.id]
266
+ )
267
+
268
+ const total: any = await tx.query(`
269
+ select count(*) from temp_vas_order_report
270
+ `)
271
+
272
+ const result: any = await tx.query(
273
+ `
274
+ select * from temp_vas_order_report
275
+ order by "vas_name", "vas_description"
276
+ `
277
+ )
278
+
279
+ let items = result.map(item => {
280
+ let data = {
281
+ bizplace: {
282
+ name: bizplace.name
283
+ },
284
+ orderVasItem: {
285
+ vas: { id: item.vas_id, name: item.vas_name, description: item.vas_description, type: item.vas_type},
286
+ vasQty: item.vas_qty,
287
+ executedAt: item.executed_at
288
+ }
289
+ }
290
+
291
+ return data
292
+ })
293
+
294
+ return {
295
+ items,
296
+ total: total[0].count
297
+ }
298
+ } catch (error) {
299
+ throw error
300
+ }
301
+ }
302
+ }