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

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-B1h66sv9.js → App-DFSszWS2.js} +7 -7
  2. package/dist/{ApprovalView-DKlVcGah.js → ApprovalView-sHjUr1tA.js} +9 -9
  3. package/dist/{BindingsDialog-CxHlh0kQ.js → BindingsDialog-B-64TNTI.js} +2 -2
  4. package/dist/{BindingsPicker-BiF5OZEi.js → BindingsPicker-Czn-jEHe.js} +2 -2
  5. package/dist/{BindingsTable-CygkFbyE.js → BindingsTable-CmB0b3ov.js} +4 -4
  6. package/dist/{BulkReceiveRequestView-Cf4IHMVn.js → BulkReceiveRequestView-BjGCwQiH.js} +19 -19
  7. package/dist/{ClosingDraftView-DFnGCAHQ.js → ClosingDraftView-DJLqwVmZ.js} +19 -19
  8. package/dist/{ClosingHistoryView-c51cSbco.js → ClosingHistoryView-Dj170bDN.js} +5 -5
  9. package/dist/{ClosingTemplateView-tKdJEP6p.js → ClosingTemplateView-DsfJz31T.js} +16 -16
  10. package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-Br8lpoIh.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CitZIaJ7.js} +1 -1
  11. package/dist/{DefaultView-2PPCmcbd.js → DefaultView-CsI2C4Hr.js} +2 -2
  12. package/dist/{DeliveryOrderPrintPreview-BKSQLP79.js → DeliveryOrderPrintPreview-8EupGZmv.js} +12 -12
  13. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-DNbWlGwL.js → EmailDialog.vue_vue_type_script_setup_true_lang-DX_o7mMG.js} +23 -23
  14. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-D-EePpPI.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Vn94NCmp.js} +1 -1
  15. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BUrLcbIR.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-nq-MgcVV.js} +2 -2
  16. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DAFZz6rG.js +243 -0
  17. package/dist/{FmMultiselectDialog-4K4U13Fa.js → FmMultiselectDialog-B5gQRKE6.js} +1 -1
  18. package/dist/{FmMultiselectDialog-CMUU4YMv.js → FmMultiselectDialog-CZr-dX4K.js} +2 -2
  19. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-CWPYtvi-.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BtZOjqlQ.js} +66 -63
  20. package/dist/{ImportView-3BL5dbPC.js → ImportView-Htolj46U.js} +6 -6
  21. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-Gt9-RVuI.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CTlKy5y-.js} +1 -1
  22. package/dist/{IngredientGroupView-CrQr-Wcc.js → IngredientGroupView-zZgJ3F9O.js} +5 -5
  23. package/dist/{IngredientsView-Co_ULkb6.js → IngredientsView-BhIIUpq5.js} +15 -15
  24. package/dist/{IntegrationExplorerView-Byz0ZiN7.js → IntegrationExplorerView-a7EEa4a4.js} +4 -4
  25. package/dist/{IntegrationView-BZvXCtuu.js → IntegrationView-Dbr7gTAK.js} +14 -14
  26. package/dist/{InventoryBindingForm-D7at6ntj.js → InventoryBindingForm-DSAHtnBI.js} +1 -1
  27. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BfN7YCnp.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CQToFOhK.js} +5 -5
  28. package/dist/{InventoryBindingSummary-DIWHwJwb.js → InventoryBindingSummary-D_jEP9vJ.js} +1 -1
  29. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DLIYFBaL.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BNsoxRX6.js} +1 -1
  30. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BIjAFa7R.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BdqeMPWW.js} +1 -1
  31. package/dist/ProductionRunDetailView-DnIVaUbO.js +2284 -0
  32. package/dist/ProductionRunPreparePrintView-B7KsNPgV.js +34 -0
  33. package/dist/ProductionRunTabs.vue_vue_type_script_setup_true_lang-DkvVIKgN.js +7543 -0
  34. package/dist/ProductionRunView-9tC9ljDT.js +911 -0
  35. package/dist/{PublishView-qzVWXhU2.js → PublishView-tOyFyzkR.js} +3 -3
  36. package/dist/{PurchaseOrderPrintPreview-Dv107ZcE.js → PurchaseOrderPrintPreview-CKyZ5jco.js} +7 -7
  37. package/dist/{ReceiveRequestView-BoDIlSIR.js → ReceiveRequestView-Brjz7YtB.js} +14 -14
  38. package/dist/{RecipeView-CZExmd9h.js → RecipeView-DntISZwO.js} +17 -17
  39. package/dist/{SettingsView-JvHtBOeh.js → SettingsView-_uzG3DYW.js} +4 -4
  40. package/dist/{StockView-DtAlqzrF.js → StockView-D0ns42PP.js} +363 -363
  41. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DWxA3wuR.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-KlyTPTxq.js} +1 -1
  42. package/dist/{SupplierView-DIxYLwEk.js → SupplierView-Cg0BEv_J.js} +12 -12
  43. package/dist/{SurchargeView-BeMy7-Lu.js → SurchargeView-CtNt10E_.js} +6 -6
  44. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-DrOVu6wg.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Dm31p8O3.js} +2 -2
  45. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Chhxtkov.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-C4zoOWNW.js} +1 -1
  46. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-2LCcSzCa.js → TransferDetails.vue_vue_type_script_setup_true_lang-nWON2kfX.js} +120 -120
  47. package/dist/{TransferTemplateView-DK_UHrGt.js → TransferTemplateView-DA-0VP3h.js} +20 -20
  48. package/dist/{UnitCostHistoryView-CbX9hG9F.js → UnitCostHistoryView-BIcZSZeY.js} +4 -4
  49. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-CDQ7c1Gl.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-D2dmslg4.js} +4 -4
  50. package/dist/{UnitView-Cc_PTKs_.js → UnitView-B7hMqpmo.js} +7 -7
  51. package/dist/{WarehouseView-a-D3zs6h.js → WarehouseView-DQZhCobt.js} +334 -334
  52. package/dist/{WastageTemplateView-CFRi5Pvf.js → WastageTemplateView-Bg4oY2Vw.js} +14 -14
  53. package/dist/api/netsuite.d.ts +14 -8
  54. package/dist/api/production-run-error.d.ts +36 -0
  55. package/dist/api/production-run-error.spec.d.ts +1 -0
  56. package/dist/api/production-run.d.ts +80 -0
  57. package/dist/api/production-run.spec.d.ts +1 -0
  58. package/dist/{app-D8j93Oqu.js → app-CNKD3vjZ.js} +20007 -15586
  59. package/dist/app.d.ts +2998 -2
  60. package/dist/app.js +1 -1
  61. package/dist/{closing-template-C1b4O-N3.js → closing-template-BeegNS6p.js} +1 -1
  62. package/dist/components/FmUnitInput.spec.d.ts +1 -0
  63. package/dist/components/FmUnitInputProps.d.ts +2 -0
  64. package/dist/composable/useNavigationMenu.production.spec.d.ts +1 -0
  65. package/dist/{date2-uOSplHdf.js → date2-B00CYgio.js} +1 -1
  66. package/dist/{dayjs.min-jzzpE5jZ.js → dayjs.min-DPQzGVmJ.js} +1 -1
  67. package/dist/{decimal-8I4iIvBr.js → decimal-mk8IRyTq.js} +2 -2
  68. package/dist/{defineDeepModel-DBat73w6.js → defineDeepModel-DPmaWR48.js} +5 -5
  69. package/dist/{duplicate-template-hyvvKKZn.js → duplicate-template-CMddJ7le.js} +1 -1
  70. package/dist/{feature-BtW2IuYH.js → feature-fzePklTK.js} +28 -28
  71. package/dist/{format-time-from-id-TNzYsGd2.js → format-time-from-id-CX7mBtQD.js} +1 -1
  72. package/dist/{format-unit-display-Bv9J30wI.js → format-unit-display-C-WI6eC7.js} +12 -12
  73. package/dist/{import-export.helper-xpElLH-b.js → import-export.helper-BXXH9AYn.js} +6 -6
  74. package/dist/{index-CCpcCOf2.js → index-BGVJky7a.js} +1 -1
  75. package/dist/{index-BH22SMzP.js → index-D1nPGK7U.js} +3 -3
  76. package/dist/{index-CTQTVKeu.js → index-DJQBhZfo.js} +1 -1
  77. package/dist/{inventory-core-dart.default-BfVqWKxc.js → inventory-core-dart.default-CSFkzl91.js} +2928 -6981
  78. package/dist/{lz-string-BXcuXXWX.js → lz-string-CzFlgjO3.js} +1 -1
  79. package/dist/{netsuite-Bawdsy6u.js → netsuite-yzjEuV4c.js} +5 -3
  80. package/dist/{number-q25U2atb.js → number-LQ8tdP_1.js} +6 -6
  81. package/dist/{predefined-templates-DFETDxr0.js → predefined-templates-Db7qjPHc.js} +1 -1
  82. package/dist/production-run-prepare-sheet-BVAUvVqt.js +17411 -0
  83. package/dist/{purchase-order-template-BTSTgbF-.js → purchase-order-template-bBTN12Ij.js} +1 -1
  84. package/dist/{recalculationUtils-B-9ZEV5d.js → recalculationUtils-DN6oOoMX.js} +1 -1
  85. package/dist/router/name.d.ts +3 -1
  86. package/dist/router/shared.production.spec.d.ts +1 -0
  87. package/dist/{rules-_M2oshOW.js → rules-BdR1TB3v.js} +2 -2
  88. package/dist/{stock-CUsHHW7_.js → stock-AwNCy6xY.js} +1 -1
  89. package/dist/{stock-BdtZ5yDl.js → stock-BgGttjDF.js} +3 -3
  90. package/dist/stores/feature.d.ts +1 -1
  91. package/dist/stores/integration/codemax.d.ts +1 -1
  92. package/dist/stores/inventory.d.ts +10 -8
  93. package/dist/stores/stock.d.ts +10 -8
  94. package/dist/style.css +1 -1
  95. package/dist/{supplier-By-0Dy62.js → supplier-BNoSljLB.js} +2 -2
  96. package/dist/{surcharge-60G2Qke7.js → surcharge-pUc66ZZJ.js} +1 -1
  97. package/dist/tsconfig.app.tsbuildinfo +1 -1
  98. package/dist/{uom-rules-DeGuMW0s.js → uom-rules-BP8Vk8Rl.js} +1 -1
  99. package/dist/{use-ingredient-select-dialog-BVOtYoKp.js → use-ingredient-select-dialog-DTOzSrjt.js} +2 -2
  100. package/dist/{use-inventory-binding-dialog-CHm1Ezmr.js → use-inventory-binding-dialog-lHpBzqDy.js} +2 -2
  101. package/dist/{use-template-enabled-locations-C9vWaXj1.js → use-template-enabled-locations-DmCbj6aZ.js} +2 -2
  102. package/dist/{use-transfer-locations-VSzkSxBy.js → use-transfer-locations-BeARyv2s.js} +2 -2
  103. package/dist/{useHrmPermission-B48iHLre.js → useHrmPermission-DScCpS0P.js} +1 -1
  104. package/dist/{useNavigationMenu-DwRXSSh_.js → useNavigationMenu-B5pf21hS.js} +17 -17
  105. package/dist/{useSseClient-QeF0izVY.js → useSseClient-BPR5sQ_S.js} +1 -1
  106. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftApprovalDialog.vue.d.ts +20 -16
  107. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +40 -32
  108. package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupDetailSideSheet.vue.d.ts +20 -16
  109. package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +60 -48
  110. package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +10 -8
  111. package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +1 -1
  112. package/dist/views/integration/components/ApplyProductDialogCodemax.vue.d.ts +2 -2
  113. package/dist/views/integration/components/CodemaxDialog.vue.d.ts +2 -2
  114. package/dist/views/production-run/ProductionRunDetailView.spec.d.ts +1 -0
  115. package/dist/views/production-run/ProductionRunDetailView.vue.d.ts +15 -0
  116. package/dist/views/production-run/ProductionRunPreparePrintView.spec.d.ts +1 -0
  117. package/dist/views/production-run/ProductionRunView.spec.d.ts +1 -0
  118. package/dist/views/production-run/ProductionRunView.vue.d.ts +2 -0
  119. package/dist/views/production-run/features/detail/ProductionRunActivityTab.spec.d.ts +1 -0
  120. package/dist/views/production-run/features/detail/ProductionRunActivityTab.vue.d.ts +15 -0
  121. package/dist/views/production-run/features/detail/ProductionRunHeader.spec.d.ts +1 -0
  122. package/dist/views/production-run/features/detail/ProductionRunHeader.vue.d.ts +67 -0
  123. package/dist/views/production-run/features/detail/ProductionRunIngredientsTab.spec.d.ts +1 -0
  124. package/dist/views/production-run/features/detail/ProductionRunIngredientsTab.vue.d.ts +52 -0
  125. package/dist/views/production-run/features/detail/ProductionRunItemsTable.spec.d.ts +1 -0
  126. package/dist/views/production-run/features/detail/ProductionRunItemsTable.vue.d.ts +80 -0
  127. package/dist/views/production-run/features/detail/ProductionRunOverviewTab.spec.d.ts +1 -0
  128. package/dist/views/production-run/features/detail/ProductionRunOverviewTab.vue.d.ts +1066 -0
  129. package/dist/views/production-run/features/detail/ProductionRunResultTable.spec.d.ts +1 -0
  130. package/dist/views/{production/ProductionBindingsCell.vue.d.ts → production-run/features/detail/ProductionRunResultTable.vue.d.ts} +10 -14
  131. package/dist/views/production-run/features/detail/ProductionRunTabs.spec.d.ts +1 -0
  132. package/dist/views/production-run/features/detail/ProductionRunTabs.vue.d.ts +47 -0
  133. package/dist/views/production-run/features/detail/ProductionRunTerminalNotice.spec.d.ts +1 -0
  134. package/dist/views/production-run/features/detail/ProductionRunTerminalNotice.vue.d.ts +15 -0
  135. package/dist/views/production-run/features/detail/use-production-run-detail.d.ts +2098 -0
  136. package/dist/views/production-run/features/detail/use-production-run-detail.spec.d.ts +1 -0
  137. package/dist/views/production-run/features/lifecycle/CancelRunDialog.spec.d.ts +1 -0
  138. package/dist/views/production-run/features/lifecycle/CancelRunDialog.vue.d.ts +1020 -0
  139. package/dist/views/production-run/features/lifecycle/CancelRunDialogProps.d.ts +9 -0
  140. package/dist/views/production-run/features/lifecycle/CloseRunDialog.spec.d.ts +1 -0
  141. package/dist/views/production-run/features/lifecycle/CloseRunDialog.vue.d.ts +1020 -0
  142. package/dist/views/production-run/features/lifecycle/CloseRunDialogProps.d.ts +9 -0
  143. package/dist/views/production-run/features/lifecycle/ProductionRunLifecycleDialogs.spec.d.ts +1 -0
  144. package/dist/views/production-run/features/lifecycle/ProductionRunLifecycleDialogs.vue.d.ts +3573 -0
  145. package/dist/views/production-run/features/lifecycle/TargetReachedDialog.spec.d.ts +1 -0
  146. package/dist/views/production-run/features/lifecycle/TargetReachedDialog.vue.d.ts +1026 -0
  147. package/dist/views/production-run/features/list/ProductionRunActionMenu.vue.d.ts +56 -0
  148. package/dist/views/production-run/features/list/ProductionRunActionMenuItem.spec.d.ts +1 -0
  149. package/dist/views/{production/ProductionCompletionDialog.vue.d.ts → production-run/features/list/ProductionRunActionMenuItem.vue.d.ts} +8 -21
  150. package/dist/views/production-run/features/list/ProductionRunActionsCell.spec.d.ts +1 -0
  151. package/dist/views/production-run/features/list/ProductionRunActionsCell.vue.d.ts +20 -0
  152. package/dist/views/production-run/features/list/ProductionRunItemsCell.spec.d.ts +1 -0
  153. package/dist/views/production-run/features/list/ProductionRunItemsCell.vue.d.ts +40 -0
  154. package/dist/views/production-run/features/list/ProductionRunNameCell.spec.d.ts +1 -0
  155. package/dist/views/production-run/features/list/ProductionRunNameCell.vue.d.ts +43 -0
  156. package/dist/views/production-run/features/list/ProductionRunSortHeader.spec.d.ts +1 -0
  157. package/dist/views/production-run/features/list/ProductionRunSortHeader.vue.d.ts +25 -0
  158. package/dist/views/production-run/features/list/use-production-run-table.d.ts +18 -0
  159. package/dist/views/production-run/features/list/use-production-run-table.spec.d.ts +1 -0
  160. package/dist/views/production-run/features/output/ProductionRunBatchCard.spec.d.ts +1 -0
  161. package/dist/views/production-run/features/output/ProductionRunBatchCard.vue.d.ts +70 -0
  162. package/dist/views/production-run/features/output/ProductionRunBatchWastageDetails.spec.d.ts +1 -0
  163. package/dist/views/production-run/features/output/ProductionRunBatchWastageDetails.vue.d.ts +33 -0
  164. package/dist/views/production-run/features/output/ProductionRunOutputTab.spec.d.ts +1 -0
  165. package/dist/views/production-run/features/output/ProductionRunOutputTab.vue.d.ts +26 -0
  166. package/dist/views/production-run/features/output/ProductionRunRecordOutputDetails.spec.d.ts +1 -0
  167. package/dist/views/production-run/features/output/ProductionRunRecordOutputDetails.vue.d.ts +43 -0
  168. package/dist/views/production-run/features/output/ProductionRunRecordOutputWastageStatus.spec.d.ts +1 -0
  169. package/dist/views/production-run/features/output/ProductionRunRecordOutputWastageStatus.vue.d.ts +31 -0
  170. package/dist/views/production-run/features/output/ProductionRunWastageDisclosure.spec.d.ts +1 -0
  171. package/dist/views/production-run/features/output/ProductionRunWastageDisclosure.vue.d.ts +23 -0
  172. package/dist/views/production-run/features/output/ProductionRunWastageRemarkField.spec.d.ts +1 -0
  173. package/dist/views/production-run/features/output/ProductionRunWastageRemarkField.vue.d.ts +33 -0
  174. package/dist/views/production-run/features/output/RecordOutputDialog.spec.d.ts +1 -0
  175. package/dist/views/production-run/features/output/RecordOutputDialog.vue.d.ts +20 -0
  176. package/dist/views/production-run/features/output/RecordOutputDialogProps.d.ts +28 -0
  177. package/dist/views/production-run/features/output/use-production-run-record-output.d.ts +245 -0
  178. package/dist/views/production-run/features/output/use-production-run-record-output.spec.d.ts +1 -0
  179. package/dist/views/production-run/features/planning/ProductionRunContributorBranch.spec.d.ts +1 -0
  180. package/dist/views/production-run/features/planning/ProductionRunContributorBranch.vue.d.ts +25 -0
  181. package/dist/views/production-run/features/planning/ProductionRunDiscardDialog.spec.d.ts +1 -0
  182. package/dist/views/production-run/features/planning/ProductionRunDiscardDialog.vue.d.ts +21 -0
  183. package/dist/views/production-run/features/planning/ProductionRunDuplicateDialog.spec.d.ts +1 -0
  184. package/dist/views/production-run/features/planning/ProductionRunDuplicateDialog.vue.d.ts +61 -0
  185. package/dist/views/production-run/features/planning/ProductionRunFormDialog.spec.d.ts +1 -0
  186. package/dist/views/production-run/features/planning/ProductionRunFormDialog.vue.d.ts +1022 -0
  187. package/dist/views/production-run/features/planning/ProductionRunFormDialogProps.d.ts +25 -0
  188. package/dist/views/production-run/features/planning/ProductionRunIngredientTree.spec.d.ts +1 -0
  189. package/dist/views/production-run/features/planning/ProductionRunIngredientTree.vue.d.ts +65 -0
  190. package/dist/views/production-run/features/planning/ProductionRunInstructionsCard.spec.d.ts +1 -0
  191. package/dist/views/production-run/features/planning/ProductionRunInstructionsCard.vue.d.ts +15 -0
  192. package/dist/views/production-run/features/planning/ProductionRunItemPickerDialog.spec.d.ts +1 -0
  193. package/dist/views/production-run/features/planning/ProductionRunItemPickerDialog.vue.d.ts +30 -0
  194. package/dist/views/production-run/features/planning/ProductionRunPlanCard.spec.d.ts +1 -0
  195. package/dist/views/production-run/features/planning/ProductionRunPlanCard.vue.d.ts +67 -0
  196. package/dist/views/production-run/features/planning/ProductionRunPlanner.spec.d.ts +1 -0
  197. package/dist/views/production-run/features/planning/ProductionRunPlanner.vue.d.ts +85 -0
  198. package/dist/views/production-run/features/planning/ProductionRunRequestedOverview.spec.d.ts +1 -0
  199. package/dist/views/production-run/features/planning/ProductionRunRequestedOverview.vue.d.ts +78 -0
  200. package/dist/views/production-run/features/planning/production-run-frozen-ingredients.d.ts +49 -0
  201. package/dist/views/production-run/features/planning/production-run-frozen-ingredients.spec.d.ts +1 -0
  202. package/dist/views/production-run/features/planning/use-production-run-duplicate-sources.d.ts +1525 -0
  203. package/dist/views/production-run/features/planning/use-production-run-duplicate-sources.spec.d.ts +1 -0
  204. package/dist/views/production-run/features/planning/use-production-run-form.d.ts +275 -0
  205. package/dist/views/production-run/features/planning/use-production-run-form.spec.d.ts +1 -0
  206. package/dist/views/production-run/features/prepare/PrepareRunConfirmationDialog.spec.d.ts +1 -0
  207. package/dist/views/production-run/features/prepare/PrepareRunConfirmationDialog.vue.d.ts +32 -0
  208. package/dist/views/production-run/features/prepare/PrepareRunDialog.spec.d.ts +1 -0
  209. package/dist/views/production-run/features/prepare/PrepareRunDialog.vue.d.ts +18 -0
  210. package/dist/views/production-run/features/prepare/PrepareRunDialogProps.d.ts +29 -0
  211. package/dist/views/production-run/features/prepare/PrepareSheetDialog.spec.d.ts +1 -0
  212. package/dist/views/production-run/features/prepare/PrepareSheetDialog.vue.d.ts +26 -0
  213. package/dist/views/production-run/features/prepare/ProductionRunPrepareSheet.vue.d.ts +16 -0
  214. package/dist/views/production-run/features/prepare/production-run-prepare-sheet-cleanup.spec.d.ts +1 -0
  215. package/dist/views/production-run/features/prepare/production-run-prepare-sheet.d.ts +18 -0
  216. package/dist/views/production-run/shared/helpers/production-run-navigation.d.ts +6 -0
  217. package/dist/views/production-run/shared/helpers/production-run-navigation.spec.d.ts +1 -0
  218. package/dist/views/production-run/shared/helpers/production-run-precision.helper.d.ts +31 -0
  219. package/dist/views/production-run/shared/helpers/production-run-quantity.helper.d.ts +57 -0
  220. package/dist/views/production-run/shared/helpers/production-run-quantity.helper.spec.d.ts +1 -0
  221. package/dist/views/production-run/shared/model/production-run-display.d.ts +187 -0
  222. package/dist/views/production-run/shared/model/production-run-display.spec.d.ts +1 -0
  223. package/dist/views/production-run/shared/model/production-run-item-ingredients.d.ts +22 -0
  224. package/dist/views/production-run/shared/model/production-run-list.d.ts +46 -0
  225. package/dist/views/production-run/shared/model/production-run-list.spec.d.ts +1 -0
  226. package/dist/views/production-run/shared/model/production-run-request-confirmation.d.ts +20 -0
  227. package/dist/views/production-run/shared/model/production-run-text-limit.d.ts +22 -0
  228. package/dist/views/production-run/shared/model/production-run-text-limit.spec.d.ts +1 -0
  229. package/dist/views/production-run/shared/model/production-run-unit-snapshot.d.ts +39 -0
  230. package/dist/views/production-run/shared/model/use-production-run-actions.d.ts +39 -0
  231. package/dist/views/production-run/shared/model/use-production-run-actions.spec.d.ts +1 -0
  232. package/dist/views/production-run/shared/model/use-production-run-ingredients.d.ts +658 -0
  233. package/dist/views/production-run/shared/model/use-production-run-ingredients.spec.d.ts +1 -0
  234. package/dist/views/production-run/shared/ui/ProductionRunBanner.vue.d.ts +39 -0
  235. package/dist/views/production-run/shared/ui/ProductionRunBindingsDisclosure.spec.d.ts +1 -0
  236. package/dist/views/production-run/shared/ui/ProductionRunBindingsDisclosure.vue.d.ts +25 -0
  237. package/dist/views/production-run/shared/ui/ProductionRunBindingsList.vue.d.ts +51 -0
  238. package/dist/views/production-run/shared/ui/ProductionRunCompactBanner.spec.d.ts +1 -0
  239. package/dist/views/production-run/shared/ui/ProductionRunCompactBanner.vue.d.ts +23 -0
  240. package/dist/views/production-run/shared/ui/ProductionRunCompactDisclosure.vue.d.ts +25 -0
  241. package/dist/views/production-run/shared/ui/ProductionRunCostingUnavailable.vue.d.ts +2 -0
  242. package/dist/views/production-run/shared/ui/ProductionRunDialog.spec.d.ts +1 -0
  243. package/dist/views/production-run/shared/ui/ProductionRunDialog.vue.d.ts +24 -0
  244. package/dist/views/production-run/shared/ui/ProductionRunDialogProps.d.ts +15 -0
  245. package/dist/views/production-run/shared/ui/ProductionRunDialogSurface.vue.d.ts +33 -0
  246. package/dist/views/production-run/shared/ui/ProductionRunHelpPopover.spec.d.ts +1 -0
  247. package/dist/views/production-run/shared/ui/ProductionRunHelpPopover.vue.d.ts +67 -0
  248. package/dist/views/production-run/shared/ui/ProductionRunInfoBadge.spec.d.ts +1 -0
  249. package/dist/views/production-run/shared/ui/ProductionRunInfoBadge.vue.d.ts +70 -0
  250. package/dist/views/production-run/shared/ui/ProductionRunInfoText.spec.d.ts +1 -0
  251. package/dist/views/production-run/shared/ui/ProductionRunInfoText.vue.d.ts +71 -0
  252. package/dist/views/production-run/shared/ui/ProductionRunNoBindingsHelp.spec.d.ts +1 -0
  253. package/dist/views/production-run/shared/ui/ProductionRunNoBindingsHelp.vue.d.ts +15 -0
  254. package/dist/views/production-run/shared/ui/ProductionRunProjectionFeedback.spec.d.ts +1 -0
  255. package/dist/views/production-run/shared/ui/ProductionRunProjectionFeedback.vue.d.ts +46 -0
  256. package/dist/views/production-run/shared/ui/ProductionRunScrollHint.spec.d.ts +1 -0
  257. package/dist/views/production-run/shared/ui/ProductionRunScrollHint.vue.d.ts +31 -0
  258. package/dist/views/production-run/shared/ui/ProductionRunSelectionCheckbox.vue.d.ts +31 -0
  259. package/dist/views/production-run/shared/ui/ProductionRunSelectionControls.spec.d.ts +1 -0
  260. package/dist/views/production-run/shared/ui/ProductionRunSelectionRadio.spec.d.ts +1 -0
  261. package/dist/views/production-run/shared/ui/ProductionRunSelectionRadio.vue.d.ts +37 -0
  262. package/dist/views/production-run/shared/ui/ProductionRunSideSheet.spec.d.ts +1 -0
  263. package/dist/views/production-run/shared/ui/ProductionRunSideSheet.vue.d.ts +77 -0
  264. package/dist/views/production-run/shared/ui/ProductionRunSideSheetSurface.vue.d.ts +52 -0
  265. package/dist/views/production-run/shared/ui/ProductionRunStatusBadge.spec.d.ts +1 -0
  266. package/dist/views/production-run/shared/ui/ProductionRunStatusBadge.vue.d.ts +21 -0
  267. package/dist/views/production-run/shared/ui/ProductionRunTextLimitLabel.spec.d.ts +1 -0
  268. package/dist/views/production-run/shared/ui/ProductionRunTextLimitLabel.vue.d.ts +23 -0
  269. package/dist/views/production-run/shared/ui/ProductionRunTextarea.spec.d.ts +1 -0
  270. package/dist/views/production-run/shared/ui/ProductionRunTextarea.vue.d.ts +62 -0
  271. package/dist/views/production-run/shared/ui/ProductionRunUnitInput.spec.d.ts +1 -0
  272. package/dist/views/production-run/shared/ui/ProductionRunUnitInput.vue.d.ts +34 -0
  273. package/dist/views/production-run/shared/ui/production-run-info.types.d.ts +11 -0
  274. package/dist/views/production-run/shared/ui/use-production-run-disclosure.d.ts +15 -0
  275. package/dist/views/production-run/shared/ui/use-production-run-disclosure.spec.d.ts +1 -0
  276. package/dist/views/production-run/shared/ui/use-production-run-modal-a11y.d.ts +17 -0
  277. package/dist/views/production-run/shared/ui/use-production-run-modal-a11y.spec.d.ts +1 -0
  278. package/dist/views/production-run/shared/ui/use-production-run-scroll-hint.d.ts +9 -0
  279. package/dist/views/production-run/test-support/production-run.fixture.d.ts +88 -0
  280. package/dist/views/production-run/test-support/production-run.fixture.spec.d.ts +1 -0
  281. package/dist/views/production-run/tests/contracts/ProductionRunLoadBannerContract.spec.d.ts +1 -0
  282. package/dist/views/production-run/tests/contracts/production-run-deduction-parity.spec.d.ts +1 -0
  283. package/dist/views/production-run/tests/contracts/production-run-typography-contract.spec.d.ts +1 -0
  284. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +3 -3
  285. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +3 -3
  286. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +12 -8
  287. package/dist/views/stock/components/dialog/AmendAdjustmentForm.vue.d.ts +2 -0
  288. package/dist/{vue-i18n-DLckaDV3.js → vue-i18n-DLJI5tIS.js} +395 -395
  289. package/dist/{xlsx.util-BjqUaVU_.js → xlsx.util-CZOxuAL-.js} +2 -2
  290. package/package.json +5 -4
  291. package/dist/ChangeLocationComponent.vue_vue_type_script_setup_true_lang-D6ehNvzX.js +0 -130
  292. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BpACpi1j.js +0 -120
  293. package/dist/ProductionView-Cg8tXEj7.js +0 -1441
  294. package/dist/api/production.d.ts +0 -30
  295. package/dist/views/production/ProductionDetailSheet.vue.d.ts +0 -42
  296. package/dist/views/production/ProductionDuplicateDialog.vue.d.ts +0 -282
  297. package/dist/views/production/ProductionPrepareBuilder.vue.d.ts +0 -282
  298. /package/dist/views/{production/ProductionView.vue.d.ts → production-run/ProductionRunPreparePrintView.vue.d.ts} +0 -0
@@ -0,0 +1,1525 @@
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 {};