@feedmepos/mf-inventory-portal 1.7.16-dev.0 → 1.7.17

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 (298) hide show
  1. package/dist/{App-DFSszWS2.js → App-CDMo2ZuC.js} +7 -7
  2. package/dist/{ApprovalView-sHjUr1tA.js → ApprovalView-CksFPjMG.js} +9 -9
  3. package/dist/{BindingsDialog-B-64TNTI.js → BindingsDialog-DAawZX4x.js} +2 -2
  4. package/dist/{BindingsPicker-Czn-jEHe.js → BindingsPicker-CtXkaJPJ.js} +2 -2
  5. package/dist/{BindingsTable-CmB0b3ov.js → BindingsTable-C6IoZUm-.js} +4 -4
  6. package/dist/{BulkReceiveRequestView-BjGCwQiH.js → BulkReceiveRequestView-bnRPk255.js} +19 -19
  7. package/dist/ChangeLocationComponent.vue_vue_type_script_setup_true_lang-C9UPQ0zS.js +130 -0
  8. package/dist/{ClosingDraftView-DJLqwVmZ.js → ClosingDraftView-CENxwBWR.js} +19 -19
  9. package/dist/{ClosingHistoryView-Dj170bDN.js → ClosingHistoryView-DbKXEHeX.js} +5 -5
  10. package/dist/{ClosingTemplateView-DsfJz31T.js → ClosingTemplateView-Cvbt6fzS.js} +16 -16
  11. package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CitZIaJ7.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-g6XVWALK.js} +1 -1
  12. package/dist/{DefaultView-CsI2C4Hr.js → DefaultView-BXc9kZ4T.js} +2 -2
  13. package/dist/{DeliveryOrderPrintPreview-8EupGZmv.js → DeliveryOrderPrintPreview-CnvpF0E0.js} +12 -12
  14. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-DX_o7mMG.js → EmailDialog.vue_vue_type_script_setup_true_lang-DkhawQNe.js} +7093 -6988
  15. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Vn94NCmp.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-B2zi921K.js} +1 -1
  16. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-nq-MgcVV.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C2XGgyo2.js} +2 -2
  17. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-lxuRet8r.js +120 -0
  18. package/dist/{FmMultiselectDialog-CZr-dX4K.js → FmMultiselectDialog-Cq_sKKG7.js} +2 -2
  19. package/dist/{FmMultiselectDialog-B5gQRKE6.js → FmMultiselectDialog-DehATOte.js} +1 -1
  20. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BtZOjqlQ.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DlucWzNP.js} +136 -132
  21. package/dist/{ImportView-Htolj46U.js → ImportView-C5xg4oy1.js} +6 -6
  22. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CTlKy5y-.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-vGJpOsZy.js} +1 -1
  23. package/dist/{IngredientGroupView-zZgJ3F9O.js → IngredientGroupView-pmtSRhNV.js} +5 -5
  24. package/dist/{IngredientsView-BhIIUpq5.js → IngredientsView-C8c-KOaH.js} +15 -15
  25. package/dist/{IntegrationExplorerView-a7EEa4a4.js → IntegrationExplorerView-2kY3NYRv.js} +4 -4
  26. package/dist/{IntegrationView-Dbr7gTAK.js → IntegrationView-DjPn5KTT.js} +14 -14
  27. package/dist/{InventoryBindingForm-DSAHtnBI.js → InventoryBindingForm-B1NfqzF2.js} +1 -1
  28. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CQToFOhK.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-jMOg3yzw.js} +5 -5
  29. package/dist/{InventoryBindingSummary-D_jEP9vJ.js → InventoryBindingSummary-CWcvhTqq.js} +1 -1
  30. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BNsoxRX6.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Da8hIOqJ.js} +1 -1
  31. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BdqeMPWW.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CgbV085U.js} +1 -1
  32. package/dist/ProductionView-CYW5SlqH.js +1441 -0
  33. package/dist/{PublishView-tOyFyzkR.js → PublishView-BIKhFG_F.js} +3 -3
  34. package/dist/{PurchaseOrderPrintPreview-CKyZ5jco.js → PurchaseOrderPrintPreview-CdcTwvAv.js} +7 -7
  35. package/dist/{ReceiveRequestView-Brjz7YtB.js → ReceiveRequestView-DGP1-LKO.js} +14 -14
  36. package/dist/{RecipeView-DntISZwO.js → RecipeView-DgoAEpLx.js} +17 -17
  37. package/dist/{SettingsView-_uzG3DYW.js → SettingsView--yhMacS4.js} +4 -4
  38. package/dist/{StockView-D0ns42PP.js → StockView-BJOe3lp_.js} +363 -363
  39. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-KlyTPTxq.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DtFVQGcw.js} +1 -1
  40. package/dist/{SupplierView-Cg0BEv_J.js → SupplierView-4X4XeHpl.js} +14 -13
  41. package/dist/{SurchargeView-CtNt10E_.js → SurchargeView-BFEZSmPr.js} +6 -6
  42. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-Dm31p8O3.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-DJsJDk7-.js} +2 -2
  43. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-C4zoOWNW.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BJhSMbM4.js} +1 -1
  44. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-nWON2kfX.js → TransferDetails.vue_vue_type_script_setup_true_lang-DxoWXbAk.js} +120 -120
  45. package/dist/{TransferTemplateView-DA-0VP3h.js → TransferTemplateView-B8cYDi8n.js} +919 -915
  46. package/dist/{UnitCostHistoryView-BIcZSZeY.js → UnitCostHistoryView--7qgXaB7.js} +4 -4
  47. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-D2dmslg4.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-B1bASkIu.js} +4 -4
  48. package/dist/{UnitView-B7hMqpmo.js → UnitView-V6NYGeBR.js} +7 -7
  49. package/dist/{WarehouseView-DQZhCobt.js → WarehouseView-CqFHm5Gj.js} +6 -6
  50. package/dist/{WastageTemplateView-Bg4oY2Vw.js → WastageTemplateView-IM1uapEf.js} +14 -14
  51. package/dist/api/netsuite.d.ts +8 -14
  52. package/dist/api/production.d.ts +30 -0
  53. package/dist/{app-CNKD3vjZ.js → app-BYXLBTAp.js} +30633 -33788
  54. package/dist/app.d.ts +54 -3002
  55. package/dist/app.js +1 -1
  56. package/dist/{closing-template-BeegNS6p.js → closing-template-CESaKvtR.js} +1 -1
  57. package/dist/components/FmUnitInputProps.d.ts +1 -2
  58. package/dist/{date2-B00CYgio.js → date2-Bakt163M.js} +1 -1
  59. package/dist/{dayjs.min-DPQzGVmJ.js → dayjs.min-Ds-7QYZn.js} +1 -1
  60. package/dist/{decimal-mk8IRyTq.js → decimal-CqUQox7v.js} +2 -2
  61. package/dist/{defineDeepModel-DPmaWR48.js → defineDeepModel-DH6TPPcs.js} +5 -5
  62. package/dist/{duplicate-template-CMddJ7le.js → duplicate-template-DKwa3kcE.js} +1 -1
  63. package/dist/{feature-fzePklTK.js → feature-DDZ2q9CF.js} +28 -28
  64. package/dist/{format-time-from-id-CX7mBtQD.js → format-time-from-id-R9Chodov.js} +1 -1
  65. package/dist/{format-unit-display-C-WI6eC7.js → format-unit-display-FBOASGnz.js} +115 -113
  66. package/dist/{import-export.helper-BXXH9AYn.js → import-export.helper-Fu7QFnJS.js} +6 -6
  67. package/dist/{index-D1nPGK7U.js → index-CSOG5osB.js} +3 -3
  68. package/dist/{index-BGVJky7a.js → index-CsU1IUWH.js} +1768 -1741
  69. package/dist/{index-DJQBhZfo.js → index-DHlZPhuP.js} +1 -1
  70. package/dist/{inventory-core-dart.default-CSFkzl91.js → inventory-core-dart.default-BOIZGOJM.js} +6946 -2893
  71. package/dist/{lz-string-CzFlgjO3.js → lz-string-DTZn_aem.js} +1 -1
  72. package/dist/{netsuite-yzjEuV4c.js → netsuite-Dfo9PwZB.js} +3 -5
  73. package/dist/{number-LQ8tdP_1.js → number-3lF6zpQn.js} +7 -6
  74. package/dist/{predefined-templates-Db7qjPHc.js → predefined-templates-KXopFzgA.js} +1 -1
  75. package/dist/{purchase-order-template-bBTN12Ij.js → purchase-order-template-c0YljACm.js} +1 -1
  76. package/dist/{recalculationUtils-DN6oOoMX.js → recalculationUtils-6mITlu-c.js} +1 -1
  77. package/dist/router/name.d.ts +1 -3
  78. package/dist/{rules-BdR1TB3v.js → rules-Bd7-xhpl.js} +2 -2
  79. package/dist/{stock-AwNCy6xY.js → stock-CDb2pTqg.js} +1 -1
  80. package/dist/{stock-BgGttjDF.js → stock-CLjOWX57.js} +3 -3
  81. package/dist/stores/feature.d.ts +1 -1
  82. package/dist/stores/integration/codemax.d.ts +1 -1
  83. package/dist/stores/inventory.d.ts +8 -10
  84. package/dist/stores/stock.d.ts +8 -10
  85. package/dist/style.css +1 -1
  86. package/dist/{supplier-BNoSljLB.js → supplier-CV24jgpS.js} +2 -2
  87. package/dist/{surcharge-pUc66ZZJ.js → surcharge-CSltyzb4.js} +1 -1
  88. package/dist/tsconfig.app.tsbuildinfo +1 -1
  89. package/dist/{uom-rules-BP8Vk8Rl.js → uom-rules-Rl-tWEBP.js} +1 -1
  90. package/dist/{use-ingredient-select-dialog-DTOzSrjt.js → use-ingredient-select-dialog-PUDgBtcH.js} +2 -2
  91. package/dist/{use-inventory-binding-dialog-lHpBzqDy.js → use-inventory-binding-dialog-on6MYG8g.js} +2 -2
  92. package/dist/{use-template-enabled-locations-DmCbj6aZ.js → use-template-enabled-locations-DHDOLlvG.js} +2 -2
  93. package/dist/{use-transfer-locations-BeARyv2s.js → use-transfer-locations-DCdCbsj0.js} +2 -2
  94. package/dist/{useHrmPermission-DScCpS0P.js → useHrmPermission-CkPzKYHS.js} +1 -1
  95. package/dist/{useNavigationMenu-B5pf21hS.js → useNavigationMenu-Ccl7e4Qo.js} +17 -17
  96. package/dist/{useSseClient-BPR5sQ_S.js → useSseClient-Dwtiag10.js} +1 -1
  97. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftApprovalDialog.vue.d.ts +16 -20
  98. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +32 -40
  99. package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupDetailSideSheet.vue.d.ts +16 -20
  100. package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +48 -60
  101. package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +8 -10
  102. package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +1 -1
  103. package/dist/views/integration/components/ApplyProductDialogCodemax.vue.d.ts +2 -2
  104. package/dist/views/integration/components/CodemaxDialog.vue.d.ts +2 -2
  105. package/dist/views/{production-run/features/detail/ProductionRunResultTable.vue.d.ts → production/ProductionBindingsCell.vue.d.ts} +14 -10
  106. package/dist/views/{production-run/features/list/ProductionRunActionMenuItem.vue.d.ts → production/ProductionCompletionDialog.vue.d.ts} +21 -8
  107. package/dist/views/production/ProductionDetailSheet.vue.d.ts +42 -0
  108. package/dist/views/production/ProductionDuplicateDialog.vue.d.ts +282 -0
  109. package/dist/views/production/ProductionPrepareBuilder.vue.d.ts +282 -0
  110. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +3 -3
  111. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +3 -3
  112. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +8 -12
  113. package/dist/views/stock/components/dialog/AmendAdjustmentForm.vue.d.ts +0 -2
  114. package/dist/{vue-i18n-DLJI5tIS.js → vue-i18n-BUqwBCDs.js} +270 -270
  115. package/dist/{xlsx.util-CZOxuAL-.js → xlsx.util-B4YBSPGX.js} +2 -2
  116. package/package.json +6 -7
  117. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DAFZz6rG.js +0 -243
  118. package/dist/ProductionRunDetailView-DnIVaUbO.js +0 -2284
  119. package/dist/ProductionRunPreparePrintView-B7KsNPgV.js +0 -34
  120. package/dist/ProductionRunTabs.vue_vue_type_script_setup_true_lang-DkvVIKgN.js +0 -7543
  121. package/dist/ProductionRunView-9tC9ljDT.js +0 -911
  122. package/dist/api/production-run-error.d.ts +0 -36
  123. package/dist/api/production-run.d.ts +0 -80
  124. package/dist/components/FmUnitInput.spec.d.ts +0 -1
  125. package/dist/composable/useNavigationMenu.production.spec.d.ts +0 -1
  126. package/dist/production-run-prepare-sheet-BVAUvVqt.js +0 -17411
  127. package/dist/router/shared.production.spec.d.ts +0 -1
  128. package/dist/views/production-run/ProductionRunDetailView.spec.d.ts +0 -1
  129. package/dist/views/production-run/ProductionRunDetailView.vue.d.ts +0 -15
  130. package/dist/views/production-run/ProductionRunPreparePrintView.spec.d.ts +0 -1
  131. package/dist/views/production-run/ProductionRunView.spec.d.ts +0 -1
  132. package/dist/views/production-run/ProductionRunView.vue.d.ts +0 -2
  133. package/dist/views/production-run/features/detail/ProductionRunActivityTab.spec.d.ts +0 -1
  134. package/dist/views/production-run/features/detail/ProductionRunActivityTab.vue.d.ts +0 -15
  135. package/dist/views/production-run/features/detail/ProductionRunHeader.spec.d.ts +0 -1
  136. package/dist/views/production-run/features/detail/ProductionRunHeader.vue.d.ts +0 -67
  137. package/dist/views/production-run/features/detail/ProductionRunIngredientsTab.spec.d.ts +0 -1
  138. package/dist/views/production-run/features/detail/ProductionRunIngredientsTab.vue.d.ts +0 -52
  139. package/dist/views/production-run/features/detail/ProductionRunItemsTable.spec.d.ts +0 -1
  140. package/dist/views/production-run/features/detail/ProductionRunItemsTable.vue.d.ts +0 -80
  141. package/dist/views/production-run/features/detail/ProductionRunOverviewTab.spec.d.ts +0 -1
  142. package/dist/views/production-run/features/detail/ProductionRunOverviewTab.vue.d.ts +0 -1066
  143. package/dist/views/production-run/features/detail/ProductionRunResultTable.spec.d.ts +0 -1
  144. package/dist/views/production-run/features/detail/ProductionRunTabs.spec.d.ts +0 -1
  145. package/dist/views/production-run/features/detail/ProductionRunTabs.vue.d.ts +0 -47
  146. package/dist/views/production-run/features/detail/ProductionRunTerminalNotice.spec.d.ts +0 -1
  147. package/dist/views/production-run/features/detail/ProductionRunTerminalNotice.vue.d.ts +0 -15
  148. package/dist/views/production-run/features/detail/use-production-run-detail.d.ts +0 -2098
  149. package/dist/views/production-run/features/detail/use-production-run-detail.spec.d.ts +0 -1
  150. package/dist/views/production-run/features/lifecycle/CancelRunDialog.spec.d.ts +0 -1
  151. package/dist/views/production-run/features/lifecycle/CancelRunDialog.vue.d.ts +0 -1020
  152. package/dist/views/production-run/features/lifecycle/CancelRunDialogProps.d.ts +0 -9
  153. package/dist/views/production-run/features/lifecycle/CloseRunDialog.spec.d.ts +0 -1
  154. package/dist/views/production-run/features/lifecycle/CloseRunDialog.vue.d.ts +0 -1020
  155. package/dist/views/production-run/features/lifecycle/CloseRunDialogProps.d.ts +0 -9
  156. package/dist/views/production-run/features/lifecycle/ProductionRunLifecycleDialogs.spec.d.ts +0 -1
  157. package/dist/views/production-run/features/lifecycle/ProductionRunLifecycleDialogs.vue.d.ts +0 -3573
  158. package/dist/views/production-run/features/lifecycle/TargetReachedDialog.spec.d.ts +0 -1
  159. package/dist/views/production-run/features/lifecycle/TargetReachedDialog.vue.d.ts +0 -1026
  160. package/dist/views/production-run/features/list/ProductionRunActionMenu.vue.d.ts +0 -56
  161. package/dist/views/production-run/features/list/ProductionRunActionMenuItem.spec.d.ts +0 -1
  162. package/dist/views/production-run/features/list/ProductionRunActionsCell.spec.d.ts +0 -1
  163. package/dist/views/production-run/features/list/ProductionRunActionsCell.vue.d.ts +0 -20
  164. package/dist/views/production-run/features/list/ProductionRunItemsCell.spec.d.ts +0 -1
  165. package/dist/views/production-run/features/list/ProductionRunItemsCell.vue.d.ts +0 -40
  166. package/dist/views/production-run/features/list/ProductionRunNameCell.spec.d.ts +0 -1
  167. package/dist/views/production-run/features/list/ProductionRunNameCell.vue.d.ts +0 -43
  168. package/dist/views/production-run/features/list/ProductionRunSortHeader.spec.d.ts +0 -1
  169. package/dist/views/production-run/features/list/ProductionRunSortHeader.vue.d.ts +0 -25
  170. package/dist/views/production-run/features/list/use-production-run-table.d.ts +0 -18
  171. package/dist/views/production-run/features/list/use-production-run-table.spec.d.ts +0 -1
  172. package/dist/views/production-run/features/output/ProductionRunBatchCard.spec.d.ts +0 -1
  173. package/dist/views/production-run/features/output/ProductionRunBatchCard.vue.d.ts +0 -70
  174. package/dist/views/production-run/features/output/ProductionRunBatchWastageDetails.spec.d.ts +0 -1
  175. package/dist/views/production-run/features/output/ProductionRunBatchWastageDetails.vue.d.ts +0 -33
  176. package/dist/views/production-run/features/output/ProductionRunOutputTab.spec.d.ts +0 -1
  177. package/dist/views/production-run/features/output/ProductionRunOutputTab.vue.d.ts +0 -26
  178. package/dist/views/production-run/features/output/ProductionRunRecordOutputDetails.spec.d.ts +0 -1
  179. package/dist/views/production-run/features/output/ProductionRunRecordOutputDetails.vue.d.ts +0 -43
  180. package/dist/views/production-run/features/output/ProductionRunRecordOutputWastageStatus.spec.d.ts +0 -1
  181. package/dist/views/production-run/features/output/ProductionRunRecordOutputWastageStatus.vue.d.ts +0 -31
  182. package/dist/views/production-run/features/output/ProductionRunWastageDisclosure.spec.d.ts +0 -1
  183. package/dist/views/production-run/features/output/ProductionRunWastageDisclosure.vue.d.ts +0 -23
  184. package/dist/views/production-run/features/output/ProductionRunWastageRemarkField.spec.d.ts +0 -1
  185. package/dist/views/production-run/features/output/ProductionRunWastageRemarkField.vue.d.ts +0 -33
  186. package/dist/views/production-run/features/output/RecordOutputDialog.spec.d.ts +0 -1
  187. package/dist/views/production-run/features/output/RecordOutputDialog.vue.d.ts +0 -20
  188. package/dist/views/production-run/features/output/RecordOutputDialogProps.d.ts +0 -28
  189. package/dist/views/production-run/features/output/use-production-run-record-output.d.ts +0 -245
  190. package/dist/views/production-run/features/output/use-production-run-record-output.spec.d.ts +0 -1
  191. package/dist/views/production-run/features/planning/ProductionRunContributorBranch.spec.d.ts +0 -1
  192. package/dist/views/production-run/features/planning/ProductionRunContributorBranch.vue.d.ts +0 -25
  193. package/dist/views/production-run/features/planning/ProductionRunDiscardDialog.spec.d.ts +0 -1
  194. package/dist/views/production-run/features/planning/ProductionRunDiscardDialog.vue.d.ts +0 -21
  195. package/dist/views/production-run/features/planning/ProductionRunDuplicateDialog.spec.d.ts +0 -1
  196. package/dist/views/production-run/features/planning/ProductionRunDuplicateDialog.vue.d.ts +0 -61
  197. package/dist/views/production-run/features/planning/ProductionRunFormDialog.spec.d.ts +0 -1
  198. package/dist/views/production-run/features/planning/ProductionRunFormDialog.vue.d.ts +0 -1022
  199. package/dist/views/production-run/features/planning/ProductionRunFormDialogProps.d.ts +0 -25
  200. package/dist/views/production-run/features/planning/ProductionRunIngredientTree.spec.d.ts +0 -1
  201. package/dist/views/production-run/features/planning/ProductionRunIngredientTree.vue.d.ts +0 -65
  202. package/dist/views/production-run/features/planning/ProductionRunInstructionsCard.spec.d.ts +0 -1
  203. package/dist/views/production-run/features/planning/ProductionRunInstructionsCard.vue.d.ts +0 -15
  204. package/dist/views/production-run/features/planning/ProductionRunItemPickerDialog.spec.d.ts +0 -1
  205. package/dist/views/production-run/features/planning/ProductionRunItemPickerDialog.vue.d.ts +0 -30
  206. package/dist/views/production-run/features/planning/ProductionRunPlanCard.spec.d.ts +0 -1
  207. package/dist/views/production-run/features/planning/ProductionRunPlanCard.vue.d.ts +0 -67
  208. package/dist/views/production-run/features/planning/ProductionRunPlanner.spec.d.ts +0 -1
  209. package/dist/views/production-run/features/planning/ProductionRunPlanner.vue.d.ts +0 -85
  210. package/dist/views/production-run/features/planning/ProductionRunRequestedOverview.spec.d.ts +0 -1
  211. package/dist/views/production-run/features/planning/ProductionRunRequestedOverview.vue.d.ts +0 -78
  212. package/dist/views/production-run/features/planning/production-run-frozen-ingredients.d.ts +0 -49
  213. package/dist/views/production-run/features/planning/production-run-frozen-ingredients.spec.d.ts +0 -1
  214. package/dist/views/production-run/features/planning/use-production-run-duplicate-sources.d.ts +0 -1525
  215. package/dist/views/production-run/features/planning/use-production-run-duplicate-sources.spec.d.ts +0 -1
  216. package/dist/views/production-run/features/planning/use-production-run-form.d.ts +0 -275
  217. package/dist/views/production-run/features/planning/use-production-run-form.spec.d.ts +0 -1
  218. package/dist/views/production-run/features/prepare/PrepareRunConfirmationDialog.spec.d.ts +0 -1
  219. package/dist/views/production-run/features/prepare/PrepareRunConfirmationDialog.vue.d.ts +0 -32
  220. package/dist/views/production-run/features/prepare/PrepareRunDialog.spec.d.ts +0 -1
  221. package/dist/views/production-run/features/prepare/PrepareRunDialog.vue.d.ts +0 -18
  222. package/dist/views/production-run/features/prepare/PrepareRunDialogProps.d.ts +0 -29
  223. package/dist/views/production-run/features/prepare/PrepareSheetDialog.spec.d.ts +0 -1
  224. package/dist/views/production-run/features/prepare/PrepareSheetDialog.vue.d.ts +0 -26
  225. package/dist/views/production-run/features/prepare/ProductionRunPrepareSheet.vue.d.ts +0 -16
  226. package/dist/views/production-run/features/prepare/production-run-prepare-sheet-cleanup.spec.d.ts +0 -1
  227. package/dist/views/production-run/features/prepare/production-run-prepare-sheet.d.ts +0 -18
  228. package/dist/views/production-run/shared/helpers/production-run-navigation.d.ts +0 -6
  229. package/dist/views/production-run/shared/helpers/production-run-navigation.spec.d.ts +0 -1
  230. package/dist/views/production-run/shared/helpers/production-run-precision.helper.d.ts +0 -31
  231. package/dist/views/production-run/shared/helpers/production-run-quantity.helper.d.ts +0 -57
  232. package/dist/views/production-run/shared/helpers/production-run-quantity.helper.spec.d.ts +0 -1
  233. package/dist/views/production-run/shared/model/production-run-display.d.ts +0 -187
  234. package/dist/views/production-run/shared/model/production-run-display.spec.d.ts +0 -1
  235. package/dist/views/production-run/shared/model/production-run-item-ingredients.d.ts +0 -22
  236. package/dist/views/production-run/shared/model/production-run-list.d.ts +0 -46
  237. package/dist/views/production-run/shared/model/production-run-list.spec.d.ts +0 -1
  238. package/dist/views/production-run/shared/model/production-run-request-confirmation.d.ts +0 -20
  239. package/dist/views/production-run/shared/model/production-run-text-limit.d.ts +0 -22
  240. package/dist/views/production-run/shared/model/production-run-text-limit.spec.d.ts +0 -1
  241. package/dist/views/production-run/shared/model/production-run-unit-snapshot.d.ts +0 -39
  242. package/dist/views/production-run/shared/model/use-production-run-actions.d.ts +0 -39
  243. package/dist/views/production-run/shared/model/use-production-run-actions.spec.d.ts +0 -1
  244. package/dist/views/production-run/shared/model/use-production-run-ingredients.d.ts +0 -658
  245. package/dist/views/production-run/shared/model/use-production-run-ingredients.spec.d.ts +0 -1
  246. package/dist/views/production-run/shared/ui/ProductionRunBanner.vue.d.ts +0 -39
  247. package/dist/views/production-run/shared/ui/ProductionRunBindingsDisclosure.spec.d.ts +0 -1
  248. package/dist/views/production-run/shared/ui/ProductionRunBindingsDisclosure.vue.d.ts +0 -25
  249. package/dist/views/production-run/shared/ui/ProductionRunBindingsList.vue.d.ts +0 -51
  250. package/dist/views/production-run/shared/ui/ProductionRunCompactBanner.spec.d.ts +0 -1
  251. package/dist/views/production-run/shared/ui/ProductionRunCompactBanner.vue.d.ts +0 -23
  252. package/dist/views/production-run/shared/ui/ProductionRunCompactDisclosure.vue.d.ts +0 -25
  253. package/dist/views/production-run/shared/ui/ProductionRunCostingUnavailable.vue.d.ts +0 -2
  254. package/dist/views/production-run/shared/ui/ProductionRunDialog.spec.d.ts +0 -1
  255. package/dist/views/production-run/shared/ui/ProductionRunDialog.vue.d.ts +0 -24
  256. package/dist/views/production-run/shared/ui/ProductionRunDialogProps.d.ts +0 -15
  257. package/dist/views/production-run/shared/ui/ProductionRunDialogSurface.vue.d.ts +0 -33
  258. package/dist/views/production-run/shared/ui/ProductionRunHelpPopover.spec.d.ts +0 -1
  259. package/dist/views/production-run/shared/ui/ProductionRunHelpPopover.vue.d.ts +0 -67
  260. package/dist/views/production-run/shared/ui/ProductionRunInfoBadge.spec.d.ts +0 -1
  261. package/dist/views/production-run/shared/ui/ProductionRunInfoBadge.vue.d.ts +0 -70
  262. package/dist/views/production-run/shared/ui/ProductionRunInfoText.spec.d.ts +0 -1
  263. package/dist/views/production-run/shared/ui/ProductionRunInfoText.vue.d.ts +0 -71
  264. package/dist/views/production-run/shared/ui/ProductionRunNoBindingsHelp.spec.d.ts +0 -1
  265. package/dist/views/production-run/shared/ui/ProductionRunNoBindingsHelp.vue.d.ts +0 -15
  266. package/dist/views/production-run/shared/ui/ProductionRunProjectionFeedback.spec.d.ts +0 -1
  267. package/dist/views/production-run/shared/ui/ProductionRunProjectionFeedback.vue.d.ts +0 -46
  268. package/dist/views/production-run/shared/ui/ProductionRunScrollHint.spec.d.ts +0 -1
  269. package/dist/views/production-run/shared/ui/ProductionRunScrollHint.vue.d.ts +0 -31
  270. package/dist/views/production-run/shared/ui/ProductionRunSelectionCheckbox.vue.d.ts +0 -31
  271. package/dist/views/production-run/shared/ui/ProductionRunSelectionControls.spec.d.ts +0 -1
  272. package/dist/views/production-run/shared/ui/ProductionRunSelectionRadio.spec.d.ts +0 -1
  273. package/dist/views/production-run/shared/ui/ProductionRunSelectionRadio.vue.d.ts +0 -37
  274. package/dist/views/production-run/shared/ui/ProductionRunSideSheet.spec.d.ts +0 -1
  275. package/dist/views/production-run/shared/ui/ProductionRunSideSheet.vue.d.ts +0 -77
  276. package/dist/views/production-run/shared/ui/ProductionRunSideSheetSurface.vue.d.ts +0 -52
  277. package/dist/views/production-run/shared/ui/ProductionRunStatusBadge.spec.d.ts +0 -1
  278. package/dist/views/production-run/shared/ui/ProductionRunStatusBadge.vue.d.ts +0 -21
  279. package/dist/views/production-run/shared/ui/ProductionRunTextLimitLabel.spec.d.ts +0 -1
  280. package/dist/views/production-run/shared/ui/ProductionRunTextLimitLabel.vue.d.ts +0 -23
  281. package/dist/views/production-run/shared/ui/ProductionRunTextarea.spec.d.ts +0 -1
  282. package/dist/views/production-run/shared/ui/ProductionRunTextarea.vue.d.ts +0 -62
  283. package/dist/views/production-run/shared/ui/ProductionRunUnitInput.spec.d.ts +0 -1
  284. package/dist/views/production-run/shared/ui/ProductionRunUnitInput.vue.d.ts +0 -34
  285. package/dist/views/production-run/shared/ui/production-run-info.types.d.ts +0 -11
  286. package/dist/views/production-run/shared/ui/use-production-run-disclosure.d.ts +0 -15
  287. package/dist/views/production-run/shared/ui/use-production-run-disclosure.spec.d.ts +0 -1
  288. package/dist/views/production-run/shared/ui/use-production-run-modal-a11y.d.ts +0 -17
  289. package/dist/views/production-run/shared/ui/use-production-run-modal-a11y.spec.d.ts +0 -1
  290. package/dist/views/production-run/shared/ui/use-production-run-scroll-hint.d.ts +0 -9
  291. package/dist/views/production-run/test-support/production-run.fixture.d.ts +0 -88
  292. package/dist/views/production-run/test-support/production-run.fixture.spec.d.ts +0 -1
  293. package/dist/views/production-run/tests/contracts/ProductionRunLoadBannerContract.spec.d.ts +0 -1
  294. package/dist/views/production-run/tests/contracts/production-run-deduction-parity.spec.d.ts +0 -1
  295. package/dist/views/production-run/tests/contracts/production-run-typography-contract.spec.d.ts +0 -1
  296. /package/dist/views/{production-run/ProductionRunPreparePrintView.vue.d.ts → production/ProductionView.vue.d.ts} +0 -0
  297. /package/dist/{api/production-run-error.spec.d.ts → views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.spec.d.ts} +0 -0
  298. /package/dist/{api/production-run.spec.d.ts → views/transfer-template/helpers/template-item.error.helper.spec.d.ts} +0 -0
@@ -1,1525 +0,0 @@
1
- import type { WithRev } from '@/api/type';
2
- import type { ProductionRunPage } from '@/api/production-run';
3
- export interface ProductionRunDuplicateSourceState {
4
- loading: boolean;
5
- loaded: boolean;
6
- hasMore: boolean;
7
- error: string | null;
8
- }
9
- interface ProductionRunDuplicateSourceOptions {
10
- list: (cursor?: string) => Promise<ProductionRunPage>;
11
- runId: () => string;
12
- locationId: () => string | null | undefined;
13
- }
14
- /** One bounded page per explicit load; an editor opening owns its own cursor. */
15
- export declare function useProductionRunDuplicateSources(options: ProductionRunDuplicateSourceOptions): {
16
- sources: import("vue").Ref<{
17
- _rev: string;
18
- closedAt?: string | null | undefined;
19
- cancelledAt?: string | null | undefined;
20
- cancelReason?: string | null | undefined;
21
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
22
- _id: string;
23
- createdAt: string;
24
- createdBy: {
25
- name: string;
26
- id: string;
27
- };
28
- activityLogs: {
29
- remark?: string | null | undefined;
30
- action: "cancel" | "close" | "create" | "update" | "request" | "complete" | "prepare";
31
- performedAt: string;
32
- performedBy: {
33
- name: string;
34
- id: string;
35
- };
36
- }[];
37
- runNo: number;
38
- runName: string | null;
39
- instructions: string | null;
40
- plan: {
41
- items: {
42
- measurement: {
43
- name: string;
44
- id: string;
45
- abbrev: string;
46
- conversion: {
47
- amount: number;
48
- precision: number;
49
- };
50
- baseUnitId: string;
51
- };
52
- skuId: string;
53
- requestedAmount: {
54
- amount: number;
55
- precision: number;
56
- };
57
- }[];
58
- requirements: {
59
- ingredients: {
60
- amounts: {
61
- measurement: {
62
- name: string;
63
- id: string;
64
- abbrev: string;
65
- conversion: {
66
- amount: number;
67
- precision: number;
68
- };
69
- baseUnitId: string;
70
- };
71
- amount: {
72
- amount: number;
73
- precision: number;
74
- };
75
- outputSkuId: string;
76
- rateBasis: {
77
- outputMeasurement: {
78
- name: string;
79
- id: string;
80
- abbrev: string;
81
- conversion: {
82
- amount: number;
83
- precision: number;
84
- };
85
- baseUnitId: string;
86
- };
87
- };
88
- }[];
89
- ingredient: {
90
- code: string;
91
- skuId: string;
92
- name: string;
93
- baseUnit: {
94
- name: string;
95
- id: string;
96
- abbrev: string;
97
- conversion: {
98
- amount: number;
99
- precision: number;
100
- };
101
- baseUnitId: string;
102
- };
103
- basePrecision: number;
104
- };
105
- }[];
106
- skippedSkuIds: string[];
107
- } | null;
108
- };
109
- preparation: {
110
- pendingIssuance?: {
111
- remark?: string | null | undefined;
112
- adjustmentId: string;
113
- items: {
114
- measurement: {
115
- name: string;
116
- id: string;
117
- abbrev: string;
118
- conversion: {
119
- amount: number;
120
- precision: number;
121
- };
122
- baseUnitId: string;
123
- };
124
- sku: {
125
- trackingMeasurement?: string | null | undefined;
126
- isInactive?: boolean | null | undefined;
127
- convert?: {
128
- measurement?: string | null | undefined;
129
- inventoryBindings?: {
130
- measurement?: {
131
- name: string;
132
- id: string;
133
- abbrev: string;
134
- conversion: {
135
- amount: number;
136
- precision: number;
137
- };
138
- } | null | undefined;
139
- rules?: Record<string, any> | null | undefined;
140
- alternatives?: {
141
- default?: boolean | null | undefined;
142
- trackingMeasurement?: string | null | undefined;
143
- priority?: number | null | undefined;
144
- _id: string;
145
- }[] | null | undefined;
146
- type: "RECIPE" | "SKU" | "SKU_GROUP";
147
- amount: {
148
- amount: number;
149
- precision: number;
150
- };
151
- id: string;
152
- }[] | null | undefined;
153
- } | null | undefined;
154
- valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
155
- defaultCost?: {
156
- measurement?: {
157
- name: string;
158
- id: string;
159
- abbrev: string;
160
- conversion: {
161
- amount: number;
162
- precision: number;
163
- };
164
- } | null | undefined;
165
- costPerUnit: {
166
- currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
167
- amount: number;
168
- precision: number;
169
- };
170
- } | null | undefined;
171
- operationalGroup?: string | null | undefined;
172
- thresholds?: {
173
- low: number;
174
- mid: number;
175
- } | null | undefined;
176
- customAttributes?: Record<string, any> | null | undefined;
177
- unit: {
178
- _id: string;
179
- name: string;
180
- abbrev: string;
181
- precision: number;
182
- measurements: {
183
- name: string;
184
- id: string;
185
- abbrev: string;
186
- conversion: {
187
- amount: number;
188
- precision: number;
189
- };
190
- }[];
191
- };
192
- code: string;
193
- _id: string;
194
- name: string;
195
- };
196
- committedAmount: {
197
- amount: number;
198
- precision: number;
199
- };
200
- }[];
201
- skippedSkuIds: string[];
202
- acknowledgedShortages: {
203
- skuId: string;
204
- baseUnit: {
205
- name: string;
206
- id: string;
207
- abbrev: string;
208
- conversion: {
209
- amount: number;
210
- precision: number;
211
- };
212
- baseUnitId: string;
213
- };
214
- projectedBalance: {
215
- amount: number;
216
- precision: number;
217
- };
218
- }[];
219
- movement: {
220
- sku: {
221
- trackingMeasurement?: string | null | undefined;
222
- isInactive?: boolean | null | undefined;
223
- convert?: {
224
- measurement?: string | null | undefined;
225
- inventoryBindings?: {
226
- measurement?: {
227
- name: string;
228
- id: string;
229
- abbrev: string;
230
- conversion: {
231
- amount: number;
232
- precision: number;
233
- };
234
- } | null | undefined;
235
- rules?: Record<string, any> | null | undefined;
236
- alternatives?: {
237
- default?: boolean | null | undefined;
238
- trackingMeasurement?: string | null | undefined;
239
- priority?: number | null | undefined;
240
- _id: string;
241
- }[] | null | undefined;
242
- type: "RECIPE" | "SKU" | "SKU_GROUP";
243
- amount: {
244
- amount: number;
245
- precision: number;
246
- };
247
- id: string;
248
- }[] | null | undefined;
249
- } | null | undefined;
250
- valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
251
- defaultCost?: {
252
- measurement?: {
253
- name: string;
254
- id: string;
255
- abbrev: string;
256
- conversion: {
257
- amount: number;
258
- precision: number;
259
- };
260
- } | null | undefined;
261
- costPerUnit: {
262
- currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
263
- amount: number;
264
- precision: number;
265
- };
266
- } | null | undefined;
267
- operationalGroup?: string | null | undefined;
268
- thresholds?: {
269
- low: number;
270
- mid: number;
271
- } | null | undefined;
272
- customAttributes?: Record<string, any> | null | undefined;
273
- unit: {
274
- _id: string;
275
- name: string;
276
- abbrev: string;
277
- precision: number;
278
- measurements: {
279
- name: string;
280
- id: string;
281
- abbrev: string;
282
- conversion: {
283
- amount: number;
284
- precision: number;
285
- };
286
- }[];
287
- };
288
- code: string;
289
- _id: string;
290
- name: string;
291
- };
292
- amounts: {
293
- measurement: {
294
- name: string;
295
- id: string;
296
- abbrev: string;
297
- conversion: {
298
- amount: number;
299
- precision: number;
300
- };
301
- baseUnitId: string;
302
- };
303
- amount: {
304
- amount: number;
305
- precision: number;
306
- };
307
- outputSkuId: string;
308
- }[];
309
- }[];
310
- claimedAt: string;
311
- claimedBy: {
312
- name: string;
313
- id: string;
314
- };
315
- } | null | undefined;
316
- issuances: {
317
- remark?: string | null | undefined;
318
- adjustmentId: string;
319
- items: {
320
- measurement: {
321
- name: string;
322
- id: string;
323
- abbrev: string;
324
- conversion: {
325
- amount: number;
326
- precision: number;
327
- };
328
- baseUnitId: string;
329
- };
330
- sku: {
331
- trackingMeasurement?: string | null | undefined;
332
- isInactive?: boolean | null | undefined;
333
- convert?: {
334
- measurement?: string | null | undefined;
335
- inventoryBindings?: {
336
- measurement?: {
337
- name: string;
338
- id: string;
339
- abbrev: string;
340
- conversion: {
341
- amount: number;
342
- precision: number;
343
- };
344
- } | null | undefined;
345
- rules?: Record<string, any> | null | undefined;
346
- alternatives?: {
347
- default?: boolean | null | undefined;
348
- trackingMeasurement?: string | null | undefined;
349
- priority?: number | null | undefined;
350
- _id: string;
351
- }[] | null | undefined;
352
- type: "RECIPE" | "SKU" | "SKU_GROUP";
353
- amount: {
354
- amount: number;
355
- precision: number;
356
- };
357
- id: string;
358
- }[] | null | undefined;
359
- } | null | undefined;
360
- valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
361
- defaultCost?: {
362
- measurement?: {
363
- name: string;
364
- id: string;
365
- abbrev: string;
366
- conversion: {
367
- amount: number;
368
- precision: number;
369
- };
370
- } | null | undefined;
371
- costPerUnit: {
372
- currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
373
- amount: number;
374
- precision: number;
375
- };
376
- } | null | undefined;
377
- operationalGroup?: string | null | undefined;
378
- thresholds?: {
379
- low: number;
380
- mid: number;
381
- } | null | undefined;
382
- customAttributes?: Record<string, any> | null | undefined;
383
- unit: {
384
- _id: string;
385
- name: string;
386
- abbrev: string;
387
- precision: number;
388
- measurements: {
389
- name: string;
390
- id: string;
391
- abbrev: string;
392
- conversion: {
393
- amount: number;
394
- precision: number;
395
- };
396
- }[];
397
- };
398
- code: string;
399
- _id: string;
400
- name: string;
401
- };
402
- committedAmount: {
403
- amount: number;
404
- precision: number;
405
- };
406
- }[];
407
- skippedSkuIds: string[];
408
- issuedAt: string;
409
- issuedBy: {
410
- name: string;
411
- id: string;
412
- };
413
- acknowledgedShortages: {
414
- skuId: string;
415
- baseUnit: {
416
- name: string;
417
- id: string;
418
- abbrev: string;
419
- conversion: {
420
- amount: number;
421
- precision: number;
422
- };
423
- baseUnitId: string;
424
- };
425
- projectedBalance: {
426
- amount: number;
427
- precision: number;
428
- };
429
- }[];
430
- movement: {
431
- amounts: {
432
- measurement: {
433
- name: string;
434
- id: string;
435
- abbrev: string;
436
- conversion: {
437
- amount: number;
438
- precision: number;
439
- };
440
- baseUnitId: string;
441
- };
442
- amount: {
443
- amount: number;
444
- precision: number;
445
- };
446
- outputSkuId: string;
447
- }[];
448
- ingredient: {
449
- code: string;
450
- skuId: string;
451
- name: string;
452
- baseUnit: {
453
- name: string;
454
- id: string;
455
- abbrev: string;
456
- conversion: {
457
- amount: number;
458
- precision: number;
459
- };
460
- baseUnitId: string;
461
- };
462
- basePrecision: number;
463
- };
464
- }[];
465
- }[];
466
- };
467
- batches: {
468
- adjustmentId: string;
469
- id: string;
470
- remark: string | null;
471
- items: {
472
- measurement: {
473
- name: string;
474
- id: string;
475
- abbrev: string;
476
- conversion: {
477
- amount: number;
478
- precision: number;
479
- };
480
- baseUnitId: string;
481
- };
482
- skuId: string;
483
- producedAmount: {
484
- amount: number;
485
- precision: number;
486
- };
487
- }[];
488
- operationKey: string;
489
- stockApplicationStatus: "PENDING" | "APPLIED";
490
- producedAt: string;
491
- recordedAt: string;
492
- recordedBy: {
493
- name: string;
494
- id: string;
495
- };
496
- wastages: {
497
- measurement: {
498
- name: string;
499
- id: string;
500
- abbrev: string;
501
- conversion: {
502
- amount: number;
503
- precision: number;
504
- };
505
- baseUnitId: string;
506
- };
507
- skuId: string;
508
- amount: {
509
- amount: number;
510
- precision: number;
511
- };
512
- reason: "OTHER" | "TRIM" | "COOKING" | "SPOILAGE" | "SPILLAGE";
513
- remark: string | null;
514
- itemSkuId: string;
515
- }[];
516
- }[];
517
- }[], WithRev<{
518
- _rev?: string | null | undefined;
519
- closedAt?: string | null | undefined;
520
- cancelledAt?: string | null | undefined;
521
- cancelReason?: string | null | undefined;
522
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
523
- _id: string;
524
- createdAt: string;
525
- createdBy: {
526
- name: string;
527
- id: string;
528
- };
529
- activityLogs: {
530
- remark?: string | null | undefined;
531
- action: "cancel" | "close" | "create" | "update" | "request" | "complete" | "prepare";
532
- performedAt: string;
533
- performedBy: {
534
- name: string;
535
- id: string;
536
- };
537
- }[];
538
- runNo: number;
539
- runName: string | null;
540
- instructions: string | null;
541
- plan: {
542
- items: {
543
- measurement: {
544
- name: string;
545
- id: string;
546
- abbrev: string;
547
- conversion: {
548
- amount: number;
549
- precision: number;
550
- };
551
- baseUnitId: string;
552
- };
553
- skuId: string;
554
- requestedAmount: {
555
- amount: number;
556
- precision: number;
557
- };
558
- }[];
559
- requirements: {
560
- ingredients: {
561
- amounts: {
562
- measurement: {
563
- name: string;
564
- id: string;
565
- abbrev: string;
566
- conversion: {
567
- amount: number;
568
- precision: number;
569
- };
570
- baseUnitId: string;
571
- };
572
- amount: {
573
- amount: number;
574
- precision: number;
575
- };
576
- outputSkuId: string;
577
- rateBasis: {
578
- outputMeasurement: {
579
- name: string;
580
- id: string;
581
- abbrev: string;
582
- conversion: {
583
- amount: number;
584
- precision: number;
585
- };
586
- baseUnitId: string;
587
- };
588
- };
589
- }[];
590
- ingredient: {
591
- code: string;
592
- skuId: string;
593
- name: string;
594
- baseUnit: {
595
- name: string;
596
- id: string;
597
- abbrev: string;
598
- conversion: {
599
- amount: number;
600
- precision: number;
601
- };
602
- baseUnitId: string;
603
- };
604
- basePrecision: number;
605
- };
606
- }[];
607
- skippedSkuIds: string[];
608
- } | null;
609
- };
610
- preparation: {
611
- pendingIssuance?: {
612
- remark?: string | null | undefined;
613
- adjustmentId: string;
614
- items: {
615
- measurement: {
616
- name: string;
617
- id: string;
618
- abbrev: string;
619
- conversion: {
620
- amount: number;
621
- precision: number;
622
- };
623
- baseUnitId: string;
624
- };
625
- sku: {
626
- trackingMeasurement?: string | null | undefined;
627
- isInactive?: boolean | null | undefined;
628
- convert?: {
629
- measurement?: string | null | undefined;
630
- inventoryBindings?: {
631
- measurement?: {
632
- name: string;
633
- id: string;
634
- abbrev: string;
635
- conversion: {
636
- amount: number;
637
- precision: number;
638
- };
639
- } | null | undefined;
640
- rules?: Record<string, any> | null | undefined;
641
- alternatives?: {
642
- default?: boolean | null | undefined;
643
- trackingMeasurement?: string | null | undefined;
644
- priority?: number | null | undefined;
645
- _id: string;
646
- }[] | null | undefined;
647
- type: "RECIPE" | "SKU" | "SKU_GROUP";
648
- amount: {
649
- amount: number;
650
- precision: number;
651
- };
652
- id: string;
653
- }[] | null | undefined;
654
- } | null | undefined;
655
- valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
656
- defaultCost?: {
657
- measurement?: {
658
- name: string;
659
- id: string;
660
- abbrev: string;
661
- conversion: {
662
- amount: number;
663
- precision: number;
664
- };
665
- } | null | undefined;
666
- costPerUnit: {
667
- currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
668
- amount: number;
669
- precision: number;
670
- };
671
- } | null | undefined;
672
- operationalGroup?: string | null | undefined;
673
- thresholds?: {
674
- low: number;
675
- mid: number;
676
- } | null | undefined;
677
- customAttributes?: Record<string, any> | null | undefined;
678
- unit: {
679
- _id: string;
680
- name: string;
681
- abbrev: string;
682
- precision: number;
683
- measurements: {
684
- name: string;
685
- id: string;
686
- abbrev: string;
687
- conversion: {
688
- amount: number;
689
- precision: number;
690
- };
691
- }[];
692
- };
693
- code: string;
694
- _id: string;
695
- name: string;
696
- };
697
- committedAmount: {
698
- amount: number;
699
- precision: number;
700
- };
701
- }[];
702
- skippedSkuIds: string[];
703
- acknowledgedShortages: {
704
- skuId: string;
705
- baseUnit: {
706
- name: string;
707
- id: string;
708
- abbrev: string;
709
- conversion: {
710
- amount: number;
711
- precision: number;
712
- };
713
- baseUnitId: string;
714
- };
715
- projectedBalance: {
716
- amount: number;
717
- precision: number;
718
- };
719
- }[];
720
- movement: {
721
- sku: {
722
- trackingMeasurement?: string | null | undefined;
723
- isInactive?: boolean | null | undefined;
724
- convert?: {
725
- measurement?: string | null | undefined;
726
- inventoryBindings?: {
727
- measurement?: {
728
- name: string;
729
- id: string;
730
- abbrev: string;
731
- conversion: {
732
- amount: number;
733
- precision: number;
734
- };
735
- } | null | undefined;
736
- rules?: Record<string, any> | null | undefined;
737
- alternatives?: {
738
- default?: boolean | null | undefined;
739
- trackingMeasurement?: string | null | undefined;
740
- priority?: number | null | undefined;
741
- _id: string;
742
- }[] | null | undefined;
743
- type: "RECIPE" | "SKU" | "SKU_GROUP";
744
- amount: {
745
- amount: number;
746
- precision: number;
747
- };
748
- id: string;
749
- }[] | null | undefined;
750
- } | null | undefined;
751
- valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
752
- defaultCost?: {
753
- measurement?: {
754
- name: string;
755
- id: string;
756
- abbrev: string;
757
- conversion: {
758
- amount: number;
759
- precision: number;
760
- };
761
- } | null | undefined;
762
- costPerUnit: {
763
- currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
764
- amount: number;
765
- precision: number;
766
- };
767
- } | null | undefined;
768
- operationalGroup?: string | null | undefined;
769
- thresholds?: {
770
- low: number;
771
- mid: number;
772
- } | null | undefined;
773
- customAttributes?: Record<string, any> | null | undefined;
774
- unit: {
775
- _id: string;
776
- name: string;
777
- abbrev: string;
778
- precision: number;
779
- measurements: {
780
- name: string;
781
- id: string;
782
- abbrev: string;
783
- conversion: {
784
- amount: number;
785
- precision: number;
786
- };
787
- }[];
788
- };
789
- code: string;
790
- _id: string;
791
- name: string;
792
- };
793
- amounts: {
794
- measurement: {
795
- name: string;
796
- id: string;
797
- abbrev: string;
798
- conversion: {
799
- amount: number;
800
- precision: number;
801
- };
802
- baseUnitId: string;
803
- };
804
- amount: {
805
- amount: number;
806
- precision: number;
807
- };
808
- outputSkuId: string;
809
- }[];
810
- }[];
811
- claimedAt: string;
812
- claimedBy: {
813
- name: string;
814
- id: string;
815
- };
816
- } | null | undefined;
817
- issuances: {
818
- remark?: string | null | undefined;
819
- adjustmentId: string;
820
- items: {
821
- measurement: {
822
- name: string;
823
- id: string;
824
- abbrev: string;
825
- conversion: {
826
- amount: number;
827
- precision: number;
828
- };
829
- baseUnitId: string;
830
- };
831
- sku: {
832
- trackingMeasurement?: string | null | undefined;
833
- isInactive?: boolean | null | undefined;
834
- convert?: {
835
- measurement?: string | null | undefined;
836
- inventoryBindings?: {
837
- measurement?: {
838
- name: string;
839
- id: string;
840
- abbrev: string;
841
- conversion: {
842
- amount: number;
843
- precision: number;
844
- };
845
- } | null | undefined;
846
- rules?: Record<string, any> | null | undefined;
847
- alternatives?: {
848
- default?: boolean | null | undefined;
849
- trackingMeasurement?: string | null | undefined;
850
- priority?: number | null | undefined;
851
- _id: string;
852
- }[] | null | undefined;
853
- type: "RECIPE" | "SKU" | "SKU_GROUP";
854
- amount: {
855
- amount: number;
856
- precision: number;
857
- };
858
- id: string;
859
- }[] | null | undefined;
860
- } | null | undefined;
861
- valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
862
- defaultCost?: {
863
- measurement?: {
864
- name: string;
865
- id: string;
866
- abbrev: string;
867
- conversion: {
868
- amount: number;
869
- precision: number;
870
- };
871
- } | null | undefined;
872
- costPerUnit: {
873
- currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
874
- amount: number;
875
- precision: number;
876
- };
877
- } | null | undefined;
878
- operationalGroup?: string | null | undefined;
879
- thresholds?: {
880
- low: number;
881
- mid: number;
882
- } | null | undefined;
883
- customAttributes?: Record<string, any> | null | undefined;
884
- unit: {
885
- _id: string;
886
- name: string;
887
- abbrev: string;
888
- precision: number;
889
- measurements: {
890
- name: string;
891
- id: string;
892
- abbrev: string;
893
- conversion: {
894
- amount: number;
895
- precision: number;
896
- };
897
- }[];
898
- };
899
- code: string;
900
- _id: string;
901
- name: string;
902
- };
903
- committedAmount: {
904
- amount: number;
905
- precision: number;
906
- };
907
- }[];
908
- skippedSkuIds: string[];
909
- issuedAt: string;
910
- issuedBy: {
911
- name: string;
912
- id: string;
913
- };
914
- acknowledgedShortages: {
915
- skuId: string;
916
- baseUnit: {
917
- name: string;
918
- id: string;
919
- abbrev: string;
920
- conversion: {
921
- amount: number;
922
- precision: number;
923
- };
924
- baseUnitId: string;
925
- };
926
- projectedBalance: {
927
- amount: number;
928
- precision: number;
929
- };
930
- }[];
931
- movement: {
932
- amounts: {
933
- measurement: {
934
- name: string;
935
- id: string;
936
- abbrev: string;
937
- conversion: {
938
- amount: number;
939
- precision: number;
940
- };
941
- baseUnitId: string;
942
- };
943
- amount: {
944
- amount: number;
945
- precision: number;
946
- };
947
- outputSkuId: string;
948
- }[];
949
- ingredient: {
950
- code: string;
951
- skuId: string;
952
- name: string;
953
- baseUnit: {
954
- name: string;
955
- id: string;
956
- abbrev: string;
957
- conversion: {
958
- amount: number;
959
- precision: number;
960
- };
961
- baseUnitId: string;
962
- };
963
- basePrecision: number;
964
- };
965
- }[];
966
- }[];
967
- };
968
- batches: {
969
- adjustmentId: string;
970
- id: string;
971
- remark: string | null;
972
- items: {
973
- measurement: {
974
- name: string;
975
- id: string;
976
- abbrev: string;
977
- conversion: {
978
- amount: number;
979
- precision: number;
980
- };
981
- baseUnitId: string;
982
- };
983
- skuId: string;
984
- producedAmount: {
985
- amount: number;
986
- precision: number;
987
- };
988
- }[];
989
- operationKey: string;
990
- stockApplicationStatus: "PENDING" | "APPLIED";
991
- producedAt: string;
992
- recordedAt: string;
993
- recordedBy: {
994
- name: string;
995
- id: string;
996
- };
997
- wastages: {
998
- measurement: {
999
- name: string;
1000
- id: string;
1001
- abbrev: string;
1002
- conversion: {
1003
- amount: number;
1004
- precision: number;
1005
- };
1006
- baseUnitId: string;
1007
- };
1008
- skuId: string;
1009
- amount: {
1010
- amount: number;
1011
- precision: number;
1012
- };
1013
- reason: "OTHER" | "TRIM" | "COOKING" | "SPOILAGE" | "SPILLAGE";
1014
- remark: string | null;
1015
- itemSkuId: string;
1016
- }[];
1017
- }[];
1018
- }>[] | {
1019
- _rev: string;
1020
- closedAt?: string | null | undefined;
1021
- cancelledAt?: string | null | undefined;
1022
- cancelReason?: string | null | undefined;
1023
- status: "DRAFT" | "REQUESTING" | "CANCEL" | "CLOSED" | "PREPARING";
1024
- _id: string;
1025
- createdAt: string;
1026
- createdBy: {
1027
- name: string;
1028
- id: string;
1029
- };
1030
- activityLogs: {
1031
- remark?: string | null | undefined;
1032
- action: "cancel" | "close" | "create" | "update" | "request" | "complete" | "prepare";
1033
- performedAt: string;
1034
- performedBy: {
1035
- name: string;
1036
- id: string;
1037
- };
1038
- }[];
1039
- runNo: number;
1040
- runName: string | null;
1041
- instructions: string | null;
1042
- plan: {
1043
- items: {
1044
- measurement: {
1045
- name: string;
1046
- id: string;
1047
- abbrev: string;
1048
- conversion: {
1049
- amount: number;
1050
- precision: number;
1051
- };
1052
- baseUnitId: string;
1053
- };
1054
- skuId: string;
1055
- requestedAmount: {
1056
- amount: number;
1057
- precision: number;
1058
- };
1059
- }[];
1060
- requirements: {
1061
- ingredients: {
1062
- amounts: {
1063
- measurement: {
1064
- name: string;
1065
- id: string;
1066
- abbrev: string;
1067
- conversion: {
1068
- amount: number;
1069
- precision: number;
1070
- };
1071
- baseUnitId: string;
1072
- };
1073
- amount: {
1074
- amount: number;
1075
- precision: number;
1076
- };
1077
- outputSkuId: string;
1078
- rateBasis: {
1079
- outputMeasurement: {
1080
- name: string;
1081
- id: string;
1082
- abbrev: string;
1083
- conversion: {
1084
- amount: number;
1085
- precision: number;
1086
- };
1087
- baseUnitId: string;
1088
- };
1089
- };
1090
- }[];
1091
- ingredient: {
1092
- code: string;
1093
- skuId: string;
1094
- name: string;
1095
- baseUnit: {
1096
- name: string;
1097
- id: string;
1098
- abbrev: string;
1099
- conversion: {
1100
- amount: number;
1101
- precision: number;
1102
- };
1103
- baseUnitId: string;
1104
- };
1105
- basePrecision: number;
1106
- };
1107
- }[];
1108
- skippedSkuIds: string[];
1109
- } | null;
1110
- };
1111
- preparation: {
1112
- pendingIssuance?: {
1113
- remark?: string | null | undefined;
1114
- adjustmentId: string;
1115
- items: {
1116
- measurement: {
1117
- name: string;
1118
- id: string;
1119
- abbrev: string;
1120
- conversion: {
1121
- amount: number;
1122
- precision: number;
1123
- };
1124
- baseUnitId: string;
1125
- };
1126
- sku: {
1127
- trackingMeasurement?: string | null | undefined;
1128
- isInactive?: boolean | null | undefined;
1129
- convert?: {
1130
- measurement?: string | null | undefined;
1131
- inventoryBindings?: {
1132
- measurement?: {
1133
- name: string;
1134
- id: string;
1135
- abbrev: string;
1136
- conversion: {
1137
- amount: number;
1138
- precision: number;
1139
- };
1140
- } | null | undefined;
1141
- rules?: Record<string, any> | null | undefined;
1142
- alternatives?: {
1143
- default?: boolean | null | undefined;
1144
- trackingMeasurement?: string | null | undefined;
1145
- priority?: number | null | undefined;
1146
- _id: string;
1147
- }[] | null | undefined;
1148
- type: "RECIPE" | "SKU" | "SKU_GROUP";
1149
- amount: {
1150
- amount: number;
1151
- precision: number;
1152
- };
1153
- id: string;
1154
- }[] | null | undefined;
1155
- } | null | undefined;
1156
- valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1157
- defaultCost?: {
1158
- measurement?: {
1159
- name: string;
1160
- id: string;
1161
- abbrev: string;
1162
- conversion: {
1163
- amount: number;
1164
- precision: number;
1165
- };
1166
- } | null | undefined;
1167
- costPerUnit: {
1168
- currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1169
- amount: number;
1170
- precision: number;
1171
- };
1172
- } | null | undefined;
1173
- operationalGroup?: string | null | undefined;
1174
- thresholds?: {
1175
- low: number;
1176
- mid: number;
1177
- } | null | undefined;
1178
- customAttributes?: Record<string, any> | null | undefined;
1179
- unit: {
1180
- _id: string;
1181
- name: string;
1182
- abbrev: string;
1183
- precision: number;
1184
- measurements: {
1185
- name: string;
1186
- id: string;
1187
- abbrev: string;
1188
- conversion: {
1189
- amount: number;
1190
- precision: number;
1191
- };
1192
- }[];
1193
- };
1194
- code: string;
1195
- _id: string;
1196
- name: string;
1197
- };
1198
- committedAmount: {
1199
- amount: number;
1200
- precision: number;
1201
- };
1202
- }[];
1203
- skippedSkuIds: string[];
1204
- acknowledgedShortages: {
1205
- skuId: string;
1206
- baseUnit: {
1207
- name: string;
1208
- id: string;
1209
- abbrev: string;
1210
- conversion: {
1211
- amount: number;
1212
- precision: number;
1213
- };
1214
- baseUnitId: string;
1215
- };
1216
- projectedBalance: {
1217
- amount: number;
1218
- precision: number;
1219
- };
1220
- }[];
1221
- movement: {
1222
- sku: {
1223
- trackingMeasurement?: string | null | undefined;
1224
- isInactive?: boolean | null | undefined;
1225
- convert?: {
1226
- measurement?: string | null | undefined;
1227
- inventoryBindings?: {
1228
- measurement?: {
1229
- name: string;
1230
- id: string;
1231
- abbrev: string;
1232
- conversion: {
1233
- amount: number;
1234
- precision: number;
1235
- };
1236
- } | null | undefined;
1237
- rules?: Record<string, any> | null | undefined;
1238
- alternatives?: {
1239
- default?: boolean | null | undefined;
1240
- trackingMeasurement?: string | null | undefined;
1241
- priority?: number | null | undefined;
1242
- _id: string;
1243
- }[] | null | undefined;
1244
- type: "RECIPE" | "SKU" | "SKU_GROUP";
1245
- amount: {
1246
- amount: number;
1247
- precision: number;
1248
- };
1249
- id: string;
1250
- }[] | null | undefined;
1251
- } | null | undefined;
1252
- valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1253
- defaultCost?: {
1254
- measurement?: {
1255
- name: string;
1256
- id: string;
1257
- abbrev: string;
1258
- conversion: {
1259
- amount: number;
1260
- precision: number;
1261
- };
1262
- } | null | undefined;
1263
- costPerUnit: {
1264
- currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1265
- amount: number;
1266
- precision: number;
1267
- };
1268
- } | null | undefined;
1269
- operationalGroup?: string | null | undefined;
1270
- thresholds?: {
1271
- low: number;
1272
- mid: number;
1273
- } | null | undefined;
1274
- customAttributes?: Record<string, any> | null | undefined;
1275
- unit: {
1276
- _id: string;
1277
- name: string;
1278
- abbrev: string;
1279
- precision: number;
1280
- measurements: {
1281
- name: string;
1282
- id: string;
1283
- abbrev: string;
1284
- conversion: {
1285
- amount: number;
1286
- precision: number;
1287
- };
1288
- }[];
1289
- };
1290
- code: string;
1291
- _id: string;
1292
- name: string;
1293
- };
1294
- amounts: {
1295
- measurement: {
1296
- name: string;
1297
- id: string;
1298
- abbrev: string;
1299
- conversion: {
1300
- amount: number;
1301
- precision: number;
1302
- };
1303
- baseUnitId: string;
1304
- };
1305
- amount: {
1306
- amount: number;
1307
- precision: number;
1308
- };
1309
- outputSkuId: string;
1310
- }[];
1311
- }[];
1312
- claimedAt: string;
1313
- claimedBy: {
1314
- name: string;
1315
- id: string;
1316
- };
1317
- } | null | undefined;
1318
- issuances: {
1319
- remark?: string | null | undefined;
1320
- adjustmentId: string;
1321
- items: {
1322
- measurement: {
1323
- name: string;
1324
- id: string;
1325
- abbrev: string;
1326
- conversion: {
1327
- amount: number;
1328
- precision: number;
1329
- };
1330
- baseUnitId: string;
1331
- };
1332
- sku: {
1333
- trackingMeasurement?: string | null | undefined;
1334
- isInactive?: boolean | null | undefined;
1335
- convert?: {
1336
- measurement?: string | null | undefined;
1337
- inventoryBindings?: {
1338
- measurement?: {
1339
- name: string;
1340
- id: string;
1341
- abbrev: string;
1342
- conversion: {
1343
- amount: number;
1344
- precision: number;
1345
- };
1346
- } | null | undefined;
1347
- rules?: Record<string, any> | null | undefined;
1348
- alternatives?: {
1349
- default?: boolean | null | undefined;
1350
- trackingMeasurement?: string | null | undefined;
1351
- priority?: number | null | undefined;
1352
- _id: string;
1353
- }[] | null | undefined;
1354
- type: "RECIPE" | "SKU" | "SKU_GROUP";
1355
- amount: {
1356
- amount: number;
1357
- precision: number;
1358
- };
1359
- id: string;
1360
- }[] | null | undefined;
1361
- } | null | undefined;
1362
- valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1363
- defaultCost?: {
1364
- measurement?: {
1365
- name: string;
1366
- id: string;
1367
- abbrev: string;
1368
- conversion: {
1369
- amount: number;
1370
- precision: number;
1371
- };
1372
- } | null | undefined;
1373
- costPerUnit: {
1374
- currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1375
- amount: number;
1376
- precision: number;
1377
- };
1378
- } | null | undefined;
1379
- operationalGroup?: string | null | undefined;
1380
- thresholds?: {
1381
- low: number;
1382
- mid: number;
1383
- } | null | undefined;
1384
- customAttributes?: Record<string, any> | null | undefined;
1385
- unit: {
1386
- _id: string;
1387
- name: string;
1388
- abbrev: string;
1389
- precision: number;
1390
- measurements: {
1391
- name: string;
1392
- id: string;
1393
- abbrev: string;
1394
- conversion: {
1395
- amount: number;
1396
- precision: number;
1397
- };
1398
- }[];
1399
- };
1400
- code: string;
1401
- _id: string;
1402
- name: string;
1403
- };
1404
- committedAmount: {
1405
- amount: number;
1406
- precision: number;
1407
- };
1408
- }[];
1409
- skippedSkuIds: string[];
1410
- issuedAt: string;
1411
- issuedBy: {
1412
- name: string;
1413
- id: string;
1414
- };
1415
- acknowledgedShortages: {
1416
- skuId: string;
1417
- baseUnit: {
1418
- name: string;
1419
- id: string;
1420
- abbrev: string;
1421
- conversion: {
1422
- amount: number;
1423
- precision: number;
1424
- };
1425
- baseUnitId: string;
1426
- };
1427
- projectedBalance: {
1428
- amount: number;
1429
- precision: number;
1430
- };
1431
- }[];
1432
- movement: {
1433
- amounts: {
1434
- measurement: {
1435
- name: string;
1436
- id: string;
1437
- abbrev: string;
1438
- conversion: {
1439
- amount: number;
1440
- precision: number;
1441
- };
1442
- baseUnitId: string;
1443
- };
1444
- amount: {
1445
- amount: number;
1446
- precision: number;
1447
- };
1448
- outputSkuId: string;
1449
- }[];
1450
- ingredient: {
1451
- code: string;
1452
- skuId: string;
1453
- name: string;
1454
- baseUnit: {
1455
- name: string;
1456
- id: string;
1457
- abbrev: string;
1458
- conversion: {
1459
- amount: number;
1460
- precision: number;
1461
- };
1462
- baseUnitId: string;
1463
- };
1464
- basePrecision: number;
1465
- };
1466
- }[];
1467
- }[];
1468
- };
1469
- batches: {
1470
- adjustmentId: string;
1471
- id: string;
1472
- remark: string | null;
1473
- items: {
1474
- measurement: {
1475
- name: string;
1476
- id: string;
1477
- abbrev: string;
1478
- conversion: {
1479
- amount: number;
1480
- precision: number;
1481
- };
1482
- baseUnitId: string;
1483
- };
1484
- skuId: string;
1485
- producedAmount: {
1486
- amount: number;
1487
- precision: number;
1488
- };
1489
- }[];
1490
- operationKey: string;
1491
- stockApplicationStatus: "PENDING" | "APPLIED";
1492
- producedAt: string;
1493
- recordedAt: string;
1494
- recordedBy: {
1495
- name: string;
1496
- id: string;
1497
- };
1498
- wastages: {
1499
- measurement: {
1500
- name: string;
1501
- id: string;
1502
- abbrev: string;
1503
- conversion: {
1504
- amount: number;
1505
- precision: number;
1506
- };
1507
- baseUnitId: string;
1508
- };
1509
- skuId: string;
1510
- amount: {
1511
- amount: number;
1512
- precision: number;
1513
- };
1514
- reason: "OTHER" | "TRIM" | "COOKING" | "SPOILAGE" | "SPILLAGE";
1515
- remark: string | null;
1516
- itemSkuId: string;
1517
- }[];
1518
- }[];
1519
- }[]>;
1520
- state: import("vue").ComputedRef<ProductionRunDuplicateSourceState>;
1521
- load: () => Promise<void>;
1522
- loadMore: () => Promise<void>;
1523
- invalidate: () => void;
1524
- };
1525
- export {};