@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,658 @@
1
+ import { type MaybeRefOrGetter } from 'vue';
2
+ export interface ProductionRunIngredientContribution {
3
+ skuId: string;
4
+ name: string;
5
+ unit: string | null;
6
+ issued: number;
7
+ }
8
+ /** Issued quantities and attribution from the persisted stock movement. */
9
+ export declare function useProductionRunIngredients(run: MaybeRefOrGetter<FdoProductionRun | null | undefined>): {
10
+ refresh: () => void;
11
+ adjustment: import("vue").Ref<{
12
+ ref?: string | null | undefined;
13
+ reason?: string | null | undefined;
14
+ remark?: string | null | undefined;
15
+ effectiveAt?: string | null | undefined;
16
+ createdBy?: {
17
+ name: string;
18
+ id: string;
19
+ } | null | undefined;
20
+ skus?: {
21
+ fromCostBalances?: {
22
+ adjustmentId?: string | null | undefined;
23
+ cost?: {
24
+ 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";
25
+ amount: number;
26
+ precision: number;
27
+ } | null | undefined;
28
+ costPending?: boolean | null | undefined;
29
+ amount: {
30
+ amount: number;
31
+ precision: number;
32
+ };
33
+ }[] | null | undefined;
34
+ history?: {
35
+ remark: string;
36
+ amounts: {
37
+ measurement?: {
38
+ name: string;
39
+ id: string;
40
+ abbrev: string;
41
+ conversion: {
42
+ amount: number;
43
+ precision: number;
44
+ };
45
+ } | null | undefined;
46
+ _id?: string | null | undefined;
47
+ cost?: {
48
+ 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";
49
+ amount: number;
50
+ precision: number;
51
+ } | null | undefined;
52
+ costPending?: boolean | null | undefined;
53
+ ref?: string | null | undefined;
54
+ remark?: string | null | undefined;
55
+ physicalAmounts?: {
56
+ measurement?: {
57
+ name: string;
58
+ id: string;
59
+ abbrev: string;
60
+ conversion: {
61
+ amount: number;
62
+ precision: number;
63
+ };
64
+ } | null | undefined;
65
+ amount: {
66
+ amount: number;
67
+ precision: number;
68
+ };
69
+ }[] | null | undefined;
70
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
71
+ amount: {
72
+ amount: number;
73
+ precision: number;
74
+ };
75
+ }[];
76
+ }[] | null | undefined;
77
+ toCostBalances?: {
78
+ adjustmentId?: string | null | undefined;
79
+ cost?: {
80
+ 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";
81
+ amount: number;
82
+ precision: number;
83
+ } | null | undefined;
84
+ costPending?: boolean | null | undefined;
85
+ amount: {
86
+ amount: number;
87
+ precision: number;
88
+ };
89
+ }[] | null | undefined;
90
+ sku: {
91
+ trackingMeasurement?: string | null | undefined;
92
+ isInactive?: boolean | null | undefined;
93
+ convert?: {
94
+ measurement?: string | null | undefined;
95
+ inventoryBindings?: {
96
+ measurement?: {
97
+ name: string;
98
+ id: string;
99
+ abbrev: string;
100
+ conversion: {
101
+ amount: number;
102
+ precision: number;
103
+ };
104
+ } | null | undefined;
105
+ rules?: Record<string, any> | null | undefined;
106
+ alternatives?: {
107
+ default?: boolean | null | undefined;
108
+ trackingMeasurement?: string | null | undefined;
109
+ priority?: number | null | undefined;
110
+ _id: string;
111
+ }[] | null | undefined;
112
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
113
+ amount: {
114
+ amount: number;
115
+ precision: number;
116
+ };
117
+ id: string;
118
+ }[] | null | undefined;
119
+ } | null | undefined;
120
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
121
+ defaultCost?: {
122
+ measurement?: {
123
+ name: string;
124
+ id: string;
125
+ abbrev: string;
126
+ conversion: {
127
+ amount: number;
128
+ precision: number;
129
+ };
130
+ } | null | undefined;
131
+ costPerUnit: {
132
+ 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";
133
+ amount: number;
134
+ precision: number;
135
+ };
136
+ } | null | undefined;
137
+ operationalGroup?: string | null | undefined;
138
+ thresholds?: {
139
+ low: number;
140
+ mid: number;
141
+ } | null | undefined;
142
+ customAttributes?: Record<string, any> | null | undefined;
143
+ unit: {
144
+ _id: string;
145
+ name: string;
146
+ abbrev: string;
147
+ precision: number;
148
+ measurements: {
149
+ name: string;
150
+ id: string;
151
+ abbrev: string;
152
+ conversion: {
153
+ amount: number;
154
+ precision: number;
155
+ };
156
+ }[];
157
+ };
158
+ code: string;
159
+ _id: string;
160
+ name: string;
161
+ };
162
+ amounts: {
163
+ measurement?: {
164
+ name: string;
165
+ id: string;
166
+ abbrev: string;
167
+ conversion: {
168
+ amount: number;
169
+ precision: number;
170
+ };
171
+ } | null | undefined;
172
+ _id?: string | null | undefined;
173
+ cost?: {
174
+ 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";
175
+ amount: number;
176
+ precision: number;
177
+ } | null | undefined;
178
+ costPending?: boolean | null | undefined;
179
+ ref?: string | null | undefined;
180
+ remark?: string | null | undefined;
181
+ physicalAmounts?: {
182
+ measurement?: {
183
+ name: string;
184
+ id: string;
185
+ abbrev: string;
186
+ conversion: {
187
+ amount: number;
188
+ precision: number;
189
+ };
190
+ } | null | undefined;
191
+ amount: {
192
+ amount: number;
193
+ precision: number;
194
+ };
195
+ }[] | null | undefined;
196
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
197
+ amount: {
198
+ amount: number;
199
+ precision: number;
200
+ };
201
+ }[];
202
+ fromBalance: {
203
+ amount: number;
204
+ precision: number;
205
+ };
206
+ toBalance: {
207
+ amount: number;
208
+ precision: number;
209
+ };
210
+ }[] | null | undefined;
211
+ salesAdjustmentId?: string | null | undefined;
212
+ productionRunBatchId?: string | null | undefined;
213
+ productionRunIssuanceAdjustmentId?: string | null | undefined;
214
+ _id: string;
215
+ } | null, {
216
+ ref?: string | null | undefined;
217
+ reason?: string | null | undefined;
218
+ remark?: string | null | undefined;
219
+ effectiveAt?: string | null | undefined;
220
+ createdBy?: {
221
+ name: string;
222
+ id: string;
223
+ } | null | undefined;
224
+ skus?: {
225
+ fromCostBalances?: {
226
+ adjustmentId?: string | null | undefined;
227
+ cost?: {
228
+ 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";
229
+ amount: number;
230
+ precision: number;
231
+ } | null | undefined;
232
+ costPending?: boolean | null | undefined;
233
+ amount: {
234
+ amount: number;
235
+ precision: number;
236
+ };
237
+ }[] | null | undefined;
238
+ history?: {
239
+ remark: string;
240
+ amounts: {
241
+ measurement?: {
242
+ name: string;
243
+ id: string;
244
+ abbrev: string;
245
+ conversion: {
246
+ amount: number;
247
+ precision: number;
248
+ };
249
+ } | null | undefined;
250
+ _id?: string | null | undefined;
251
+ cost?: {
252
+ 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";
253
+ amount: number;
254
+ precision: number;
255
+ } | null | undefined;
256
+ costPending?: boolean | null | undefined;
257
+ ref?: string | null | undefined;
258
+ remark?: string | null | undefined;
259
+ physicalAmounts?: {
260
+ measurement?: {
261
+ name: string;
262
+ id: string;
263
+ abbrev: string;
264
+ conversion: {
265
+ amount: number;
266
+ precision: number;
267
+ };
268
+ } | null | undefined;
269
+ amount: {
270
+ amount: number;
271
+ precision: number;
272
+ };
273
+ }[] | null | undefined;
274
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
275
+ amount: {
276
+ amount: number;
277
+ precision: number;
278
+ };
279
+ }[];
280
+ }[] | null | undefined;
281
+ toCostBalances?: {
282
+ adjustmentId?: string | null | undefined;
283
+ cost?: {
284
+ 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";
285
+ amount: number;
286
+ precision: number;
287
+ } | null | undefined;
288
+ costPending?: boolean | null | undefined;
289
+ amount: {
290
+ amount: number;
291
+ precision: number;
292
+ };
293
+ }[] | null | undefined;
294
+ sku: {
295
+ trackingMeasurement?: string | null | undefined;
296
+ isInactive?: boolean | null | undefined;
297
+ convert?: {
298
+ measurement?: string | null | undefined;
299
+ inventoryBindings?: {
300
+ measurement?: {
301
+ name: string;
302
+ id: string;
303
+ abbrev: string;
304
+ conversion: {
305
+ amount: number;
306
+ precision: number;
307
+ };
308
+ } | null | undefined;
309
+ rules?: Record<string, any> | null | undefined;
310
+ alternatives?: {
311
+ default?: boolean | null | undefined;
312
+ trackingMeasurement?: string | null | undefined;
313
+ priority?: number | null | undefined;
314
+ _id: string;
315
+ }[] | null | undefined;
316
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
317
+ amount: {
318
+ amount: number;
319
+ precision: number;
320
+ };
321
+ id: string;
322
+ }[] | null | undefined;
323
+ } | null | undefined;
324
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
325
+ defaultCost?: {
326
+ measurement?: {
327
+ name: string;
328
+ id: string;
329
+ abbrev: string;
330
+ conversion: {
331
+ amount: number;
332
+ precision: number;
333
+ };
334
+ } | null | undefined;
335
+ costPerUnit: {
336
+ 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";
337
+ amount: number;
338
+ precision: number;
339
+ };
340
+ } | null | undefined;
341
+ operationalGroup?: string | null | undefined;
342
+ thresholds?: {
343
+ low: number;
344
+ mid: number;
345
+ } | null | undefined;
346
+ customAttributes?: Record<string, any> | null | undefined;
347
+ unit: {
348
+ _id: string;
349
+ name: string;
350
+ abbrev: string;
351
+ precision: number;
352
+ measurements: {
353
+ name: string;
354
+ id: string;
355
+ abbrev: string;
356
+ conversion: {
357
+ amount: number;
358
+ precision: number;
359
+ };
360
+ }[];
361
+ };
362
+ code: string;
363
+ _id: string;
364
+ name: string;
365
+ };
366
+ amounts: {
367
+ measurement?: {
368
+ name: string;
369
+ id: string;
370
+ abbrev: string;
371
+ conversion: {
372
+ amount: number;
373
+ precision: number;
374
+ };
375
+ } | null | undefined;
376
+ _id?: string | null | undefined;
377
+ cost?: {
378
+ 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";
379
+ amount: number;
380
+ precision: number;
381
+ } | null | undefined;
382
+ costPending?: boolean | null | undefined;
383
+ ref?: string | null | undefined;
384
+ remark?: string | null | undefined;
385
+ physicalAmounts?: {
386
+ measurement?: {
387
+ name: string;
388
+ id: string;
389
+ abbrev: string;
390
+ conversion: {
391
+ amount: number;
392
+ precision: number;
393
+ };
394
+ } | null | undefined;
395
+ amount: {
396
+ amount: number;
397
+ precision: number;
398
+ };
399
+ }[] | null | undefined;
400
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
401
+ amount: {
402
+ amount: number;
403
+ precision: number;
404
+ };
405
+ }[];
406
+ fromBalance: {
407
+ amount: number;
408
+ precision: number;
409
+ };
410
+ toBalance: {
411
+ amount: number;
412
+ precision: number;
413
+ };
414
+ }[] | null | undefined;
415
+ salesAdjustmentId?: string | null | undefined;
416
+ productionRunBatchId?: string | null | undefined;
417
+ productionRunIssuanceAdjustmentId?: string | null | undefined;
418
+ _id: string;
419
+ } | {
420
+ ref?: string | null | undefined;
421
+ reason?: string | null | undefined;
422
+ remark?: string | null | undefined;
423
+ effectiveAt?: string | null | undefined;
424
+ createdBy?: {
425
+ name: string;
426
+ id: string;
427
+ } | null | undefined;
428
+ skus?: {
429
+ fromCostBalances?: {
430
+ adjustmentId?: string | null | undefined;
431
+ cost?: {
432
+ 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";
433
+ amount: number;
434
+ precision: number;
435
+ } | null | undefined;
436
+ costPending?: boolean | null | undefined;
437
+ amount: {
438
+ amount: number;
439
+ precision: number;
440
+ };
441
+ }[] | null | undefined;
442
+ history?: {
443
+ remark: string;
444
+ amounts: {
445
+ measurement?: {
446
+ name: string;
447
+ id: string;
448
+ abbrev: string;
449
+ conversion: {
450
+ amount: number;
451
+ precision: number;
452
+ };
453
+ } | null | undefined;
454
+ _id?: string | null | undefined;
455
+ cost?: {
456
+ 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";
457
+ amount: number;
458
+ precision: number;
459
+ } | null | undefined;
460
+ costPending?: boolean | null | undefined;
461
+ ref?: string | null | undefined;
462
+ remark?: string | null | undefined;
463
+ physicalAmounts?: {
464
+ measurement?: {
465
+ name: string;
466
+ id: string;
467
+ abbrev: string;
468
+ conversion: {
469
+ amount: number;
470
+ precision: number;
471
+ };
472
+ } | null | undefined;
473
+ amount: {
474
+ amount: number;
475
+ precision: number;
476
+ };
477
+ }[] | null | undefined;
478
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
479
+ amount: {
480
+ amount: number;
481
+ precision: number;
482
+ };
483
+ }[];
484
+ }[] | null | undefined;
485
+ toCostBalances?: {
486
+ adjustmentId?: string | null | undefined;
487
+ cost?: {
488
+ 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";
489
+ amount: number;
490
+ precision: number;
491
+ } | null | undefined;
492
+ costPending?: boolean | null | undefined;
493
+ amount: {
494
+ amount: number;
495
+ precision: number;
496
+ };
497
+ }[] | null | undefined;
498
+ sku: {
499
+ trackingMeasurement?: string | null | undefined;
500
+ isInactive?: boolean | null | undefined;
501
+ convert?: {
502
+ measurement?: string | null | undefined;
503
+ inventoryBindings?: {
504
+ measurement?: {
505
+ name: string;
506
+ id: string;
507
+ abbrev: string;
508
+ conversion: {
509
+ amount: number;
510
+ precision: number;
511
+ };
512
+ } | null | undefined;
513
+ rules?: Record<string, any> | null | undefined;
514
+ alternatives?: {
515
+ default?: boolean | null | undefined;
516
+ trackingMeasurement?: string | null | undefined;
517
+ priority?: number | null | undefined;
518
+ _id: string;
519
+ }[] | null | undefined;
520
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
521
+ amount: {
522
+ amount: number;
523
+ precision: number;
524
+ };
525
+ id: string;
526
+ }[] | null | undefined;
527
+ } | null | undefined;
528
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
529
+ defaultCost?: {
530
+ measurement?: {
531
+ name: string;
532
+ id: string;
533
+ abbrev: string;
534
+ conversion: {
535
+ amount: number;
536
+ precision: number;
537
+ };
538
+ } | null | undefined;
539
+ costPerUnit: {
540
+ 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";
541
+ amount: number;
542
+ precision: number;
543
+ };
544
+ } | null | undefined;
545
+ operationalGroup?: string | null | undefined;
546
+ thresholds?: {
547
+ low: number;
548
+ mid: number;
549
+ } | null | undefined;
550
+ customAttributes?: Record<string, any> | null | undefined;
551
+ unit: {
552
+ _id: string;
553
+ name: string;
554
+ abbrev: string;
555
+ precision: number;
556
+ measurements: {
557
+ name: string;
558
+ id: string;
559
+ abbrev: string;
560
+ conversion: {
561
+ amount: number;
562
+ precision: number;
563
+ };
564
+ }[];
565
+ };
566
+ code: string;
567
+ _id: string;
568
+ name: string;
569
+ };
570
+ amounts: {
571
+ measurement?: {
572
+ name: string;
573
+ id: string;
574
+ abbrev: string;
575
+ conversion: {
576
+ amount: number;
577
+ precision: number;
578
+ };
579
+ } | null | undefined;
580
+ _id?: string | null | undefined;
581
+ cost?: {
582
+ 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";
583
+ amount: number;
584
+ precision: number;
585
+ } | null | undefined;
586
+ costPending?: boolean | null | undefined;
587
+ ref?: string | null | undefined;
588
+ remark?: string | null | undefined;
589
+ physicalAmounts?: {
590
+ measurement?: {
591
+ name: string;
592
+ id: string;
593
+ abbrev: string;
594
+ conversion: {
595
+ amount: number;
596
+ precision: number;
597
+ };
598
+ } | null | undefined;
599
+ amount: {
600
+ amount: number;
601
+ precision: number;
602
+ };
603
+ }[] | null | undefined;
604
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
605
+ amount: {
606
+ amount: number;
607
+ precision: number;
608
+ };
609
+ }[];
610
+ fromBalance: {
611
+ amount: number;
612
+ precision: number;
613
+ };
614
+ toBalance: {
615
+ amount: number;
616
+ precision: number;
617
+ };
618
+ }[] | null | undefined;
619
+ salesAdjustmentId?: string | null | undefined;
620
+ productionRunBatchId?: string | null | undefined;
621
+ productionRunIssuanceAdjustmentId?: string | null | undefined;
622
+ _id: string;
623
+ } | null>;
624
+ loading: import("vue").Ref<boolean, boolean>;
625
+ ingredientLines: import("vue").ComputedRef<{
626
+ skuId: string;
627
+ name: string;
628
+ unit: string;
629
+ unitRef: {
630
+ _id: string;
631
+ name: string;
632
+ abbrev: string;
633
+ precision: number;
634
+ measurements: {
635
+ name: string;
636
+ id: string;
637
+ abbrev: string;
638
+ conversion: {
639
+ amount: number;
640
+ precision: number;
641
+ };
642
+ }[];
643
+ };
644
+ outputSkuIds: string[];
645
+ issued: number;
646
+ /** Frozen at Request; never rebuilt from today's recipe bindings. */
647
+ requested: number | null;
648
+ /** The adjustment's own before/after stock evidence. */
649
+ stockBefore: number | null;
650
+ stockAfter: number | null;
651
+ }[]>;
652
+ ingredientContributions: import("vue").ComputedRef<Record<string, ProductionRunIngredientContribution[]>>;
653
+ unattributedIngredientLines: import("vue").ComputedRef<ProductionRunIngredientContribution[]>;
654
+ unissuedOutputs: import("vue").ComputedRef<{
655
+ skuId: string;
656
+ name: string;
657
+ }[]>;
658
+ };