@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.
- package/client/constants/vas.js +4 -0
- package/client/pages/bulk-operation/bulk-operation.js +18 -5
- package/client/pages/constants/order.js +2 -1
- package/client/pages/inventory/non-loaded-inventory.js +2 -1
- package/client/pages/inventory-check/inspecting-product.js +27 -8
- package/client/pages/master/tote-list.js +2 -1
- package/client/pages/order/draft-release-good/draft-release-good-list.js +22 -8
- package/client/pages/order/release-order/b2c/b2c-order-requests.js +1 -0
- package/client/pages/order/release-order/release-order-detail.js +5 -12
- package/client/pages/outbound/sorting-product.js +2 -1
- package/client/pages/outbound/worksheet-picking.js +3 -2
- package/client/pages/report/order-vas-report.js +577 -0
- package/client/pages/report/vas-report.js +52 -182
- package/client/pages/vas/print-product-label.js +19 -4
- package/client/pages/vas/vas-execution-page.js +3 -3
- package/client/route.js +4 -0
- package/dist-server/graphql/resolvers/reports/index.js +1 -1
- package/dist-server/graphql/resolvers/reports/index.js.map +1 -1
- package/dist-server/graphql/resolvers/reports/vas-report.js +166 -24
- package/dist-server/graphql/resolvers/reports/vas-report.js.map +1 -1
- package/dist-server/graphql/types/reports/index.js +4 -1
- package/dist-server/graphql/types/reports/index.js.map +1 -1
- package/dist-server/graphql/types/reports/vas-report-list.js +9 -3
- package/dist-server/graphql/types/reports/vas-report-list.js.map +1 -1
- package/dist-server/graphql/types/reports/vas-report.js +12 -2
- package/dist-server/graphql/types/reports/vas-report.js.map +1 -1
- package/helps/operato-wms/adjustment/transfer-inventory.en.md +20 -8
- package/helps/operato-wms/arrival-notice/create-arrival-notice.en.md +42 -13
- package/helps/operato-wms/arrival-notice/gan-detail.en.md +78 -18
- package/helps/operato-wms/arrival-notice/gan-list.md +6 -9
- package/helps/operato-wms/bulk-operation/bulk-operation.en.md +33 -0
- package/helps/operato-wms/goods-received-note/customer-grn-list.en.md +7 -6
- package/helps/operato-wms/goods-received-note/received-note-list.en.md +8 -6
- package/helps/operato-wms/images/arrival-notice-detail-add.png +0 -0
- package/helps/operato-wms/images/arrival-notice-detail-approval.png +0 -0
- package/helps/operato-wms/images/arrival-notice-detail-assign.png +0 -0
- package/helps/operato-wms/images/arrival-notice-detail-changes.png +0 -0
- package/helps/operato-wms/images/arrival-notice-detail-edit.png +0 -0
- package/helps/operato-wms/images/arrival-notice-detail-order.png +0 -0
- package/helps/operato-wms/images/arrival-notice-detail-page.png +0 -0
- package/helps/operato-wms/images/arrival-notice-detail-popup.png +0 -0
- package/helps/operato-wms/images/arrival-notice-detail-receive.png +0 -0
- package/helps/operato-wms/images/arrival-notice-detail-reject.png +0 -0
- package/helps/operato-wms/images/arrival-notice-detail-save.png +0 -0
- package/helps/operato-wms/images/arrival-notice-list-export.png +0 -0
- package/helps/operato-wms/images/arrival-notice-list-page.png +0 -0
- package/helps/operato-wms/images/arrival-notice-list-type.png +0 -0
- package/helps/operato-wms/images/assign-warehouse-popup.png +0 -0
- package/helps/operato-wms/images/assign-warehouse-section.png +0 -0
- package/helps/operato-wms/images/b2c-ro-export.png +0 -0
- package/helps/operato-wms/images/b2c-ro-page.png +0 -0
- package/helps/operato-wms/images/b2c-ro-type.png +0 -0
- package/helps/operato-wms/images/bulk-operation-click.png +0 -0
- package/helps/operato-wms/images/bulk-operation-excel.png +0 -0
- package/helps/operato-wms/images/bulk-operation-ganbutton.png +0 -0
- package/helps/operato-wms/images/bulk-operation-gancreate.png +0 -0
- package/helps/operato-wms/images/bulk-operation-openbutton.jpg +0 -0
- package/helps/operato-wms/images/bulk-operation-ro.png +0 -0
- package/helps/operato-wms/images/bulk-operation-robutton.png +0 -0
- package/helps/operato-wms/images/bulk-operation-select.png +0 -0
- package/helps/operato-wms/images/bulk-operation-upload.png +0 -0
- package/helps/operato-wms/images/bulk-operation-uploadbutton.png +0 -0
- package/helps/operato-wms/images/check-rto-click.png +0 -0
- package/helps/operato-wms/images/create-arrival-notice-page.png +0 -0
- package/helps/operato-wms/images/create-delivery-page.png +0 -0
- package/helps/operato-wms/images/create-gan-import.png +0 -0
- package/helps/operato-wms/images/create-gan-inventories.png +0 -0
- package/helps/operato-wms/images/create-gan-pic2.png +0 -0
- package/helps/operato-wms/images/create-gan-pic3.png +0 -0
- package/helps/operato-wms/images/create-rto-click.png +0 -0
- package/helps/operato-wms/images/create-rto-column.png +0 -0
- package/helps/operato-wms/images/createcc-caseexplain.png +0 -0
- package/helps/operato-wms/images/createcc-casepic.png +0 -0
- package/helps/operato-wms/images/createcc-column.png +0 -0
- package/helps/operato-wms/images/createcc-createbutton.png +0 -0
- package/helps/operato-wms/images/createcc-created.png +0 -0
- package/helps/operato-wms/images/createcc-detail.png +0 -0
- package/helps/operato-wms/images/createcc-fieldlable.png +0 -0
- package/helps/operato-wms/images/createcc-random.png +0 -0
- package/helps/operato-wms/images/customer-grn-page.png +0 -0
- package/helps/operato-wms/images/cyclecount-detail.png +0 -0
- package/helps/operato-wms/images/cyclecount-export.png +0 -0
- package/helps/operato-wms/images/cyclecount-exsucc.png +0 -0
- package/helps/operato-wms/images/cyclecount-inventory-inspec-check.png +0 -0
- package/helps/operato-wms/images/cyclecount-inventory-inspec-choose.png +0 -0
- package/helps/operato-wms/images/cyclecount-inventory-inspec-click.png +0 -0
- package/helps/operato-wms/images/cyclecount-inventory-inspec-completebutton.png +0 -0
- package/helps/operato-wms/images/cyclecount-inventory-inspec-completed.png +0 -0
- package/helps/operato-wms/images/cyclecount-inventory-inspec-label.png +0 -0
- package/helps/operato-wms/images/cyclecount-inventory-inspec-location.png +0 -0
- package/helps/operato-wms/images/cyclecount-inventory-inspec-page.png +0 -0
- package/helps/operato-wms/images/cyclecount-status.png +0 -0
- package/helps/operato-wms/images/cyclecount-type.png +0 -0
- package/helps/operato-wms/images/cyclecountreport-export.png +0 -0
- package/helps/operato-wms/images/cyclecountreport-page.png +0 -0
- package/helps/operato-wms/images/cyclecountreport-status.png +0 -0
- package/helps/operato-wms/images/cyclecountreport-type.png +0 -0
- package/helps/operato-wms/images/delivery-order-export.png +0 -0
- package/helps/operato-wms/images/delivery-order-page.png +0 -0
- package/helps/operato-wms/images/delivery-order-type.png +0 -0
- package/helps/operato-wms/images/do-list-export-icon.png +0 -0
- package/helps/operato-wms/images/do-list-type.png +0 -0
- package/helps/operato-wms/images/draft-order-export.png +0 -0
- package/helps/operato-wms/images/draft-order-page.png +0 -0
- package/helps/operato-wms/images/draft-order-type.png +0 -0
- package/helps/operato-wms/images/driver-case.png +0 -0
- package/helps/operato-wms/images/driver-column.png +0 -0
- package/helps/operato-wms/images/driver-create.png +0 -0
- package/helps/operato-wms/images/driver-delbutton.png +0 -0
- package/helps/operato-wms/images/driver-delete.png +0 -0
- package/helps/operato-wms/images/driver-delsucc.png +0 -0
- package/helps/operato-wms/images/driver-empty.png +0 -0
- package/helps/operato-wms/images/driver-excel.png +0 -0
- package/helps/operato-wms/images/driver-export.png +0 -0
- package/helps/operato-wms/images/driver-expsucc.png +0 -0
- package/helps/operato-wms/images/driver-importbutton.png +0 -0
- package/helps/operato-wms/images/driver-required.png +0 -0
- package/helps/operato-wms/images/driver-sabutton.png +0 -0
- package/helps/operato-wms/images/driver-savebutton.png +0 -0
- package/helps/operato-wms/images/driver-type.png +0 -0
- package/helps/operato-wms/images/driver-upload.png +0 -0
- package/helps/operato-wms/images/driver-upsuccess.png +0 -0
- package/helps/operato-wms/images/driver-usucc.png +0 -0
- package/helps/operato-wms/images/external-return-export.png +0 -0
- package/helps/operato-wms/images/external-return-page.png +0 -0
- package/helps/operato-wms/images/external-return-type.png +0 -0
- package/helps/operato-wms/images/grn-export.png +0 -0
- package/helps/operato-wms/images/grn-page.png +0 -0
- package/helps/operato-wms/images/grn-type.png +0 -0
- package/helps/operato-wms/images/inbound-details.png +0 -0
- package/helps/operato-wms/images/inbound-export-page.png +0 -0
- package/helps/operato-wms/images/inbound-export.png +0 -0
- package/helps/operato-wms/images/inbound-sn-detail.png +0 -0
- package/helps/operato-wms/images/inbound-sn-export.png +0 -0
- package/helps/operato-wms/images/inbound-type.png +0 -0
- package/helps/operato-wms/images/inv-sum-details.png +0 -0
- package/helps/operato-wms/images/inv-sum-export.png +0 -0
- package/helps/operato-wms/images/inventory-adjustment-changed.png +0 -0
- package/helps/operato-wms/images/inventory-adjustment-changes.png +0 -0
- package/helps/operato-wms/images/inventory-adjustment-check.png +0 -0
- package/helps/operato-wms/images/inventory-adjustment-missing-confirm.png +0 -0
- package/helps/operato-wms/images/inventory-adjustment-missing-stock.png +0 -0
- package/helps/operato-wms/images/inventory-adjustment-new-type.png +0 -0
- package/helps/operato-wms/images/inventory-adjustment-new.png +0 -0
- package/helps/operato-wms/images/inventory-adjustment-print.png +0 -0
- package/helps/operato-wms/images/inventory-adjustment-save-button.png +0 -0
- package/helps/operato-wms/images/inventory-adjustment-search-page.png +0 -0
- package/helps/operato-wms/images/inventory-adjustment-search.png +0 -0
- package/helps/operato-wms/images/inventory-adjustment-upload.png +0 -0
- package/helps/operato-wms/images/inventory-by-prduct-export.png +0 -0
- package/helps/operato-wms/images/inventory-by-prduct-file-type.png +0 -0
- package/helps/operato-wms/images/inventory-by-prduct-icon.png +0 -0
- package/helps/operato-wms/images/inventory-history-case-1.png +0 -0
- package/helps/operato-wms/images/inventory-history-export-icon.png +0 -0
- package/helps/operato-wms/images/inventory-history-file.png +0 -0
- package/helps/operato-wms/images/inventory-history-search-icon.png +0 -0
- package/helps/operato-wms/images/inventoryreport-detail.png +0 -0
- package/helps/operato-wms/images/inventoryreport-print.png +0 -0
- package/helps/operato-wms/images/inventoryreport-search.png +0 -0
- package/helps/operato-wms/images/loading-list.png +0 -0
- package/helps/operato-wms/images/loading-page.png +0 -0
- package/helps/operato-wms/images/location-delbutton.png +0 -0
- package/helps/operato-wms/images/location-delete.png +0 -0
- package/helps/operato-wms/images/location-delsuccess.png +0 -0
- package/helps/operato-wms/images/location-empty.png +0 -0
- package/helps/operato-wms/images/location-excel.png +0 -0
- package/helps/operato-wms/images/location-import.png +0 -0
- package/helps/operato-wms/images/location-savebutton.png +0 -0
- package/helps/operato-wms/images/location-update.png +0 -0
- package/helps/operato-wms/images/location-updsuccess.png +0 -0
- package/helps/operato-wms/images/location-upload.png +0 -0
- package/helps/operato-wms/images/location-upsuccess.png +0 -0
- package/helps/operato-wms/images/merged-order-worksheet-batch.png +0 -0
- package/helps/operato-wms/images/merged-order-worksheet-exicon.png +0 -0
- package/helps/operato-wms/images/merged-order-worksheet-filetype.png +0 -0
- package/helps/operato-wms/images/merged-order-worksheet-page.png +0 -0
- package/helps/operato-wms/images/onhand-inventory-export-icon.png +0 -0
- package/helps/operato-wms/images/onhand-inventory-search-icon.png +0 -0
- package/helps/operato-wms/images/onhand-inventory-type.png +0 -0
- package/helps/operato-wms/images/outbound-details.png +0 -0
- package/helps/operato-wms/images/outbound-export.png +0 -0
- package/helps/operato-wms/images/outbound-sn-detail.png +0 -0
- package/helps/operato-wms/images/outbound-sn-export.png +0 -0
- package/helps/operato-wms/images/packing-list.png +0 -0
- package/helps/operato-wms/images/packing-page.png +0 -0
- package/helps/operato-wms/images/packing-worksheet-export.png +0 -0
- package/helps/operato-wms/images/packing-worksheet-search.png +0 -0
- package/helps/operato-wms/images/packing-worksheet-type.png +0 -0
- package/helps/operato-wms/images/pallet-case.png +0 -0
- package/helps/operato-wms/images/pallet-create.png +0 -0
- package/helps/operato-wms/images/pallet-delbutton.png +0 -0
- package/helps/operato-wms/images/pallet-delete.png +0 -0
- package/helps/operato-wms/images/pallet-delsuccess.png +0 -0
- package/helps/operato-wms/images/pallet-empty.png +0 -0
- package/helps/operato-wms/images/pallet-exprt.png +0 -0
- package/helps/operato-wms/images/pallet-exsuccess.png +0 -0
- package/helps/operato-wms/images/pallet-importbutton.png +0 -0
- package/helps/operato-wms/images/pallet-masdata.png +0 -0
- package/helps/operato-wms/images/pallet-openbutton.png +0 -0
- package/helps/operato-wms/images/pallet-printbutton.png +0 -0
- package/helps/operato-wms/images/pallet-savebutton.png +0 -0
- package/helps/operato-wms/images/pallet-svbutton.png +0 -0
- package/helps/operato-wms/images/pallet-updatepallet.png +0 -0
- package/helps/operato-wms/images/pallet-updatesuccess.png +0 -0
- package/helps/operato-wms/images/pallet-upload.png +0 -0
- package/helps/operato-wms/images/pallet-uploadsuccess.png +0 -0
- package/helps/operato-wms/images/picking-product-page.png +0 -0
- package/helps/operato-wms/images/picking-product-worksheet-case2.png +0 -0
- package/helps/operato-wms/images/picking-product-worksheet-case3.png +0 -0
- package/helps/operato-wms/images/picking-product-worksheet-case4.png +0 -0
- package/helps/operato-wms/images/picking-product-worksheet-case5.png +0 -0
- package/helps/operato-wms/images/picking-product-worksheet-case6.png +0 -0
- package/helps/operato-wms/images/picking-product-worksheet-case7.png +0 -0
- package/helps/operato-wms/images/picking-product-worksheet-case8.png +0 -0
- package/helps/operato-wms/images/picking-product-worksheet-casescan.png +0 -0
- package/helps/operato-wms/images/picking-product-worksheet-check.png +0 -0
- package/helps/operato-wms/images/picking-product-worksheet-choose.png +0 -0
- package/helps/operato-wms/images/picking-product-worksheet-list.png +0 -0
- package/helps/operato-wms/images/picking-product-worksheet-multiple.png +0 -0
- package/helps/operato-wms/images/picking-product-worksheet-ro.png +0 -0
- package/helps/operato-wms/images/picking-product-worksheet-scan.png +0 -0
- package/helps/operato-wms/images/picking-product-worksheet-show.png +0 -0
- package/helps/operato-wms/images/po-app-detail-page.png +0 -0
- package/helps/operato-wms/images/po-approval-page.png +0 -0
- package/helps/operato-wms/images/po-approval-search.png +0 -0
- package/helps/operato-wms/images/po-detail-export.png +0 -0
- package/helps/operato-wms/images/po-detail-own-confirm-button.png +0 -0
- package/helps/operato-wms/images/po-detail-own-currency-field.png +0 -0
- package/helps/operato-wms/images/po-detail-own-transport.png +0 -0
- package/helps/operato-wms/images/po-detail-page.png +0 -0
- package/helps/operato-wms/images/po-detail-type.png +0 -0
- package/helps/operato-wms/images/po-detail-upload-bulk.png +0 -0
- package/helps/operato-wms/images/po-page.png +0 -0
- package/helps/operato-wms/images/prepick-detail.png +0 -0
- package/helps/operato-wms/images/prepick-export.png +0 -0
- package/helps/operato-wms/images/print-product-label-page.png +0 -0
- package/helps/operato-wms/images/print-product-label-search.png +0 -0
- package/helps/operato-wms/images/putaway-page.png +0 -0
- package/helps/operato-wms/images/putaway-pic2.png +0 -0
- package/helps/operato-wms/images/putaway-pic3.png +0 -0
- package/helps/operato-wms/images/putaway-pic4.png +0 -0
- package/helps/operato-wms/images/receive-rto-click.png +0 -0
- package/helps/operato-wms/images/rel-order-export.png +0 -0
- package/helps/operato-wms/images/rel-order-page.png +0 -0
- package/helps/operato-wms/images/rel-order-type.png +0 -0
- package/helps/operato-wms/images/release-order-excel.png +0 -0
- package/helps/operato-wms/images/release-order-page.png +0 -0
- package/helps/operato-wms/images/release-report-detail.png +0 -0
- package/helps/operato-wms/images/release-report-export.png +0 -0
- package/helps/operato-wms/images/release-report-page.png +0 -0
- package/helps/operato-wms/images/release-report-select.png +0 -0
- package/helps/operato-wms/images/return-detail-confirm.png +0 -0
- package/helps/operato-wms/images/return-order-click.png +0 -0
- package/helps/operato-wms/images/rto-arrived.png +0 -0
- package/helps/operato-wms/images/rto-cancel-order-kiv.png +0 -0
- package/helps/operato-wms/images/rto-done.png +0 -0
- package/helps/operato-wms/images/rto-exportdata.png +0 -0
- package/helps/operato-wms/images/rto-intransit.png +0 -0
- package/helps/operato-wms/images/rto-pending.png +0 -0
- package/helps/operato-wms/images/rto-pendingreceive.png +0 -0
- package/helps/operato-wms/images/rto-processing.png +0 -0
- package/helps/operato-wms/images/rto-putting-away.png +0 -0
- package/helps/operato-wms/images/rto-ready-unload.png +0 -0
- package/helps/operato-wms/images/rto-rejected.png +0 -0
- package/helps/operato-wms/images/rto-search-field.png +0 -0
- package/helps/operato-wms/images/single-order-worksheet-export-icon.png +0 -0
- package/helps/operato-wms/images/single-order-worksheet-file.png +0 -0
- package/helps/operato-wms/images/single-order-worksheet-page.png +0 -0
- package/helps/operato-wms/images/sorting-case1.png +0 -0
- package/helps/operato-wms/images/sorting-case2.png +0 -0
- package/helps/operato-wms/images/sorting-case3.png +0 -0
- package/helps/operato-wms/images/sorting-case4.png +0 -0
- package/helps/operato-wms/images/sorting-page.png +0 -0
- package/helps/operato-wms/images/sorting-release-order.png +0 -0
- package/helps/operato-wms/images/tote-clickup.png +0 -0
- package/helps/operato-wms/images/tote-column.png +0 -0
- package/helps/operato-wms/images/tote-create.png +0 -0
- package/helps/operato-wms/images/tote-delbutton.png +0 -0
- package/helps/operato-wms/images/tote-delete.png +0 -0
- package/helps/operato-wms/images/tote-delsucc.png +0 -0
- package/helps/operato-wms/images/tote-empty.png +0 -0
- package/helps/operato-wms/images/tote-excel.png +0 -0
- package/helps/operato-wms/images/tote-export.png +0 -0
- package/helps/operato-wms/images/tote-exsucc.png +0 -0
- package/helps/operato-wms/images/tote-extype.png +0 -0
- package/helps/operato-wms/images/tote-import.png +0 -0
- package/helps/operato-wms/images/tote-print.png +0 -0
- package/helps/operato-wms/images/tote-savebutton.png +0 -0
- package/helps/operato-wms/images/tote-sbutton.png +0 -0
- package/helps/operato-wms/images/tote-statusbuttonv.png +0 -0
- package/helps/operato-wms/images/tote-upcol.png +0 -0
- package/helps/operato-wms/images/tote-updatesucc.png +0 -0
- package/helps/operato-wms/images/tote-upload.png +0 -0
- package/helps/operato-wms/images/tote-upstatus.png +0 -0
- package/helps/operato-wms/images/tote-upsucc.png +0 -0
- package/helps/operato-wms/images/tote-upsuccess.png +0 -0
- package/helps/operato-wms/images/transfer-inventory-scanner.jpg +0 -0
- package/helps/operato-wms/images/transfer-inventory-type.png +0 -0
- package/helps/operato-wms/images/transfer-location-type.png +0 -0
- package/helps/operato-wms/images/transport-clicksave.png +0 -0
- package/helps/operato-wms/images/transport-create.png +0 -0
- package/helps/operato-wms/images/transport-delbutton.png +0 -0
- package/helps/operato-wms/images/transport-delete.png +0 -0
- package/helps/operato-wms/images/transport-delsuccess.png +0 -0
- package/helps/operato-wms/images/transport-empty.png +0 -0
- package/helps/operato-wms/images/transport-excel.png +0 -0
- package/helps/operato-wms/images/transport-export.png +0 -0
- package/helps/operato-wms/images/transport-exporticon.png +0 -0
- package/helps/operato-wms/images/transport-exprtsuccess.png +0 -0
- package/helps/operato-wms/images/transport-import.png +0 -0
- package/helps/operato-wms/images/transport-required.png +0 -0
- package/helps/operato-wms/images/transport-savebutton.png +0 -0
- package/helps/operato-wms/images/transport-savesuccess.png +0 -0
- package/helps/operato-wms/images/transport-update.png +0 -0
- package/helps/operato-wms/images/transport-upload.png +0 -0
- package/helps/operato-wms/images/transport-uploaded.png +0 -0
- package/helps/operato-wms/images/unloading-page.png +0 -0
- package/helps/operato-wms/images/unloading-pic10.png +0 -0
- package/helps/operato-wms/images/unloading-pic11.png +0 -0
- package/helps/operato-wms/images/unloading-pic12.png +0 -0
- package/helps/operato-wms/images/unloading-pic13.png +0 -0
- package/helps/operato-wms/images/unloading-pic2.png +0 -0
- package/helps/operato-wms/images/unloading-pic3.png +0 -0
- package/helps/operato-wms/images/unloading-pic4.png +0 -0
- package/helps/operato-wms/images/unloading-pic5.png +0 -0
- package/helps/operato-wms/images/unloading-pic6.png +0 -0
- package/helps/operato-wms/images/unloading-pic7.png +0 -0
- package/helps/operato-wms/images/unloading-pic8.png +0 -0
- package/helps/operato-wms/images/unloading-pic9.png +0 -0
- package/helps/operato-wms/images/warehouse-column.png +0 -0
- package/helps/operato-wms/images/warehouse-delbutton.png +0 -0
- package/helps/operato-wms/images/warehouse-delete.png +0 -0
- package/helps/operato-wms/images/warehouse-deleted.png +0 -0
- package/helps/operato-wms/images/warehouse-edit.png +0 -0
- package/helps/operato-wms/images/warehouse-excel.png +0 -0
- package/helps/operato-wms/images/warehouse-exprt.png +0 -0
- package/helps/operato-wms/images/warehouse-exsuccess.png +0 -0
- package/helps/operato-wms/images/warehouse-extype.png +0 -0
- package/helps/operato-wms/images/warehouse-import-button.png +0 -0
- package/helps/operato-wms/images/warehouse-import.png +0 -0
- package/helps/operato-wms/images/warehouse-imuploaded.png +0 -0
- package/helps/operato-wms/images/warehouse-save.png +0 -0
- package/helps/operato-wms/images/warehouse-upload.png +0 -0
- package/helps/operato-wms/images/warehouse-upsave.png +0 -0
- package/helps/operato-wms/images/worker-create.png +0 -0
- package/helps/operato-wms/images/worker-delbutton.png +0 -0
- package/helps/operato-wms/images/worker-delete.png +0 -0
- package/helps/operato-wms/images/worker-delsuccess.png +0 -0
- package/helps/operato-wms/images/worker-empty.png +0 -0
- package/helps/operato-wms/images/worker-excel.png +0 -0
- package/helps/operato-wms/images/worker-exprt.png +0 -0
- package/helps/operato-wms/images/worker-exsucc.png +0 -0
- package/helps/operato-wms/images/worker-extype.png +0 -0
- package/helps/operato-wms/images/worker-importbutton.png +0 -0
- package/helps/operato-wms/images/worker-imsuccess.png +0 -0
- package/helps/operato-wms/images/worker-required.png +0 -0
- package/helps/operato-wms/images/worker-savebutton.png +0 -0
- package/helps/operato-wms/images/worker-update.png +0 -0
- package/helps/operato-wms/images/worker-upload.png +0 -0
- package/helps/operato-wms/images/worker-upsave.png +0 -0
- package/helps/operato-wms/images/worker-upsucc.png +0 -0
- package/helps/operato-wms/images/worksheet-putaway-page.png +0 -0
- package/helps/operato-wms/images/worksheet-putaway-return-execute.png +0 -0
- package/helps/operato-wms/images/worksheet-unloading-active.png +0 -0
- package/helps/operato-wms/images/worksheet-unloading-executing.png +0 -0
- package/helps/operato-wms/images/worksheet-unloading-pic4.png +0 -0
- package/helps/operato-wms/images/worksheet-unloading-pic6.png +0 -0
- package/helps/operato-wms/images/worksheet-unloading-popup.png +0 -0
- package/helps/operato-wms/images/worksheet-unloading-print.png +0 -0
- package/helps/operato-wms/images/wur-page.png +0 -0
- package/helps/operato-wms/images/wur-print-page.png +0 -0
- package/helps/operato-wms/inbound/external-return-worksheet.md +11 -12
- package/helps/operato-wms/inbound/inbound-worksheet.en.md +7 -9
- package/helps/operato-wms/inbound/putaway-product.en.md +25 -12
- package/helps/operato-wms/inbound/unload-product.en.md +71 -30
- package/helps/operato-wms/inbound/worksheet-putaway-return.en.md +7 -6
- package/helps/operato-wms/inbound/worksheet-putaway.en.md +3 -3
- package/helps/operato-wms/inbound/worksheet-unloading-return.en.md +17 -7
- package/helps/operato-wms/inbound/worksheet-unloading.en.md +29 -10
- package/helps/operato-wms/inventory/inventory-adjustment-approval.en.md +49 -20
- package/helps/operato-wms/inventory/inventory-adjustment.en.md +42 -29
- package/helps/operato-wms/inventory/inventory-by-product.en.md +7 -6
- package/helps/operato-wms/inventory/inventory-history.en.md +34 -38
- package/helps/operato-wms/inventory/non-loaded-inventory.en.md +9 -0
- package/helps/operato-wms/inventory/onhand-inventory.en.md +14 -11
- package/helps/operato-wms/inventory-check/create-cycle-count.en.md +24 -5
- package/helps/operato-wms/inventory-check/cycle-count-report.en.md +17 -11
- package/helps/operato-wms/inventory-check/inspecting-product.en.md +29 -17
- package/helps/operato-wms/inventory-check/inventory-check-list.en.md +8 -18
- package/helps/operato-wms/inventory-check/worksheet-cycle-count.en.md +9 -9
- package/helps/operato-wms/master-data/driver.en.md +53 -32
- package/helps/operato-wms/master-data/location-list.en.md +30 -24
- package/helps/operato-wms/master-data/pallet.en.md +46 -38
- package/helps/operato-wms/master-data/tote.en.md +107 -0
- package/helps/operato-wms/master-data/vehicle.en.md +52 -30
- package/helps/operato-wms/master-data/warehouse.en.md +47 -18
- package/helps/operato-wms/master-data/worker.en.md +39 -19
- package/helps/operato-wms/outbound/loading-product.en.md +14 -11
- package/helps/operato-wms/outbound/merged-outbound-worksheet.en.md +17 -16
- package/helps/operato-wms/outbound/packing-product.en.md +16 -6
- package/helps/operato-wms/outbound/packing-worksheet-list.en.md +16 -13
- package/helps/operato-wms/outbound/picking-product.en.md +226 -13
- package/helps/operato-wms/outbound/single-outbound-worksheet.en.md +31 -17
- package/helps/operato-wms/outbound/sorting-product.en.md +95 -0
- package/helps/operato-wms/product-label/print-product-label.en.md +13 -0
- package/helps/operato-wms/purchase-order/po-approval-detail.en.md +10 -0
- package/helps/operato-wms/purchase-order/po-detail.en.md +65 -0
- package/helps/operato-wms/purchase-order/purchase-order-approval-list.en.md +15 -0
- package/helps/operato-wms/purchase-order/purchase-order-list.en.md +9 -0
- package/helps/operato-wms/release-order/b2c-order-requests.en.md +34 -0
- package/helps/operato-wms/release-order/create-ro.en.md +25 -28
- package/helps/operato-wms/release-order/draft-release-good-list.en.md +23 -0
- package/helps/operato-wms/release-order/ro-list.en.md +36 -31
- package/helps/operato-wms/report/inbound-order-details-report.en.md +11 -0
- package/helps/operato-wms/report/inbound-serial-number-report.en.md +14 -0
- package/helps/operato-wms/report/inventory-report.en.md +12 -19
- package/helps/operato-wms/report/inventory-summary-report.en.md +5 -10
- package/helps/operato-wms/report/outbound-order-details-report.en.md +11 -0
- package/helps/operato-wms/report/outbound-serial-number-report.en.md +14 -0
- package/helps/operato-wms/report/release-inventory-report.en.md +14 -0
- package/helps/operato-wms/report/volume-summary-report.en.md +1 -0
- package/helps/operato-wms/return-order/check-return-order.en.md +3 -2
- package/helps/operato-wms/return-order/create-return-order.en.md +10 -14
- package/helps/operato-wms/return-order/receive-return-order-requests.en.md +2 -3
- package/helps/operato-wms/return-order/return-order-assign-buffer-location.en.md +14 -13
- package/helps/operato-wms/return-order/return-order-detail.en.md +8 -3
- package/helps/operato-wms/return-order/return-order-list.en.md +5 -7
- package/helps/operato-wms/return-order/return-order-requests.en.md +32 -18
- package/helps/operato-wms/transport-order/create-delivery-order.en.md +42 -33
- package/helps/operato-wms/transport-order/delivery-order-list.en.md +16 -11
- package/package.json +8 -8
- package/server/graphql/resolvers/reports/index.ts +2 -1
- package/server/graphql/resolvers/reports/vas-report.ts +186 -23
- package/server/graphql/types/reports/index.ts +6 -3
- package/server/graphql/types/reports/vas-report-list.ts +8 -2
- package/server/graphql/types/reports/vas-report.ts +13 -2
- package/things-factory.config.js +4 -0
- package/translations/en.json +12 -2
- package/translations/ko.json +14 -3
- package/translations/ms.json +13 -3
- 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
|
|
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
|
|
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
|
-

|
|
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
|
+

|
|
21
16
|
|
|
22
|
-
|
|
17
|
+
4. Click the checkbox on the left of the RO you want to return.
|
|
18
|
+

|
|
23
19
|
|
|
24
|
-
|
|
20
|
+
5. Click **CONFIRM** button.
|
|
25
21
|
|
|
26
|
-
6.
|
|
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
|
|
4
|
-
|
|
5
|
-

|
|
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
|
+

|
|
6
5
|
|
|
7
6
|
### Type of Buttons
|
|
8
7
|
|
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
# Assign Warehouse
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Assign Buffer Location
|
|
4
4
|
|
|
5
|
-
When the status
|
|
5
|
+
When the status changed to **ARRIVED**, office admin must assign the product to a warehouse.
|
|
6
6
|
|
|
7
|
-
1. Click on the warehouse
|
|
7
|
+
1. Click on the warehouse field under the Assign Warehouse section.
|
|
8
|
+

|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
2. A "Select Warehouse" popup window will appear. Click on the warehouse (A) and choose the buffer location (B).
|
|
11
|
+

|
|
10
12
|
|
|
11
|
-
|
|
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
|
-
|
|
19
|
+
3. Click **CONFIRM** button.
|
|
14
20
|
|
|
15
|
-
|
|
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
|
-
|
|
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
|
-
##
|
|
3
|
+
## Confirm Return Order
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
1. Click *CONFIRM* button to proceed with creating a return order.
|
|
6
|
+

|
|
6
7
|
|
|
7
|
-
|
|
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
|
|
1
|
+
# Return Orders
|
|
2
2
|
|
|
3
|
-
## <ins>Export
|
|
3
|
+
## <ins>Export Return Order Data</ins>
|
|
4
4
|
|
|
5
|
-
1. Click on the export data icon button
|
|
5
|
+
1. Click on the export data icon button at the bottom left corner of the page.
|
|
6
6
|
|
|
7
|
-

|
|
8
8
|
|
|
9
|
-
2.
|
|
10
|
-
|
|
11
|
-

|
|
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
|
|
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
|
+

|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
## <ins>Export Return Order Data</ins>
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
1. Click on the export data icon button at the bottom left corner of the page.
|
|
9
|
+

|
|
8
10
|
|
|
9
|
-
|
|
11
|
+
## Type of Status
|
|
10
12
|
|
|
11
|
-
|
|
13
|
+
**1. PENDING -** This status will be displayed as soon as the order is created. A confirmation from the office administrator is awaited.
|
|
14
|
+

|
|
12
15
|
|
|
13
|
-
|
|
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
|
+

|
|
14
18
|
|
|
15
|
-
|
|
19
|
+
**3. IN TRANSIT -** This status displayed after the office admin received the order. Awaiting the order to arrive.
|
|
20
|
+

|
|
16
21
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
**4. REJECTED -** This status will be displayed if office admin rejected the order.
|
|
23
|
+

|
|
24
|
+
|
|
25
|
+
**5. ARRIVED -** Order arrived, assignment of warehouse needed.
|
|
26
|
+

|
|
27
|
+
|
|
28
|
+
**6. READY TO UNLOAD -** Warehouse assignment completed. Order ready to be unload.
|
|
29
|
+

|
|
30
|
+
|
|
31
|
+
**7. PROCESSING -** The status displayed immediately after Worksheet Unloading Return is activated.
|
|
32
|
+

|
|
33
|
+
|
|
34
|
+
**8. PUTTING AWAY -** This status displayed when unloading has been completed.
|
|
35
|
+

|
|
36
|
+
|
|
37
|
+
**9. DONE -** All processes have been completed. Order has successfully returned.
|
|
38
|
+

|
|
39
|
+
|
|
40
|
+
**CANCEL ORDER - KIV**
|
|
41
|
+

|
|
@@ -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
|
+

|
|
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
|
-

|
|
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
|
|
3
|
+
This page displays all the delivery orders.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Delivery order can be filtered by any of the search fields below:
|
|
6
|
+

|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
## <ins>Export Delivery Order Data</ins>
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
1. Click the export icon at the bottom left corner of the page.
|
|
11
|
+

|
|
10
12
|
|
|
11
|
-
|
|
13
|
+
2. Select your preferred file type:
|
|
14
|
+

|
|
12
15
|
|
|
13
16
|
### Type of Status
|
|
14
17
|
|
|
15
|
-
| STATUS
|
|
16
|
-
| :---------------- |
|
|
17
|
-
|
|
|
18
|
-
|
|
|
19
|
-
|
|
|
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.
|
|
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.
|
|
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.
|
|
92
|
+
"@things-factory/product-base": "^4.3.276",
|
|
93
93
|
"@things-factory/resource-ui": "^4.3.270",
|
|
94
|
-
"@things-factory/sales-ui": "^4.3.
|
|
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.
|
|
108
|
+
"@things-factory/transport-base": "^4.3.276",
|
|
109
109
|
"@things-factory/tutorial-ui": "^4.3.270",
|
|
110
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
111
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
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": "
|
|
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
|
|
9
|
-
async
|
|
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
|
|
49
|
+
extraQueryFilter = `${extraQueryFilter} and executed_at >= '%${fromDate.value}%' `
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
if (toDate) {
|
|
53
|
-
extraQueryFilter = `${extraQueryFilter} and
|
|
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
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
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
|
+
}
|