@feedmepos/mf-inventory-portal 1.7.0-dev.9 → 1.7.1-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 (130) hide show
  1. package/dist/{App-DqkccxFd.js → App-B_ja37tB.js} +5 -5
  2. package/dist/ApprovalView-_wG6KeZl.js +249 -0
  3. package/dist/{BindingsDialog-CXBQwYIz.js → BindingsDialog-0IRWCLTc.js} +2 -2
  4. package/dist/{BindingsPicker-BfHSReUF.js → BindingsPicker-DCISa6Fx.js} +2 -2
  5. package/dist/{BindingsTable-CHxIsdzV.js → BindingsTable-B3CmHp97.js} +3 -3
  6. package/dist/BulkReceiveRequestView-Dmqm65c9.js +2025 -0
  7. package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-BfN7GDOL.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-D4Nd89xp.js} +1 -1
  8. package/dist/{ClosingDraftView-BJQgyPTs.js → ClosingDraftView-DDWU93p0.js} +21 -21
  9. package/dist/{ClosingHistoryView-CLhL3Xfc.js → ClosingHistoryView-KdmhszIO.js} +7 -7
  10. package/dist/ClosingTemplateView-CQRujMB9.js +2346 -0
  11. package/dist/ConnectedBusinessView-Cu2QnRN9.js +533 -0
  12. package/dist/{DefaultView-BQ0Y_nGt.js → DefaultView-QAEDG6pS.js} +2 -2
  13. package/dist/{DeliveryOrderPrintPreview-DHDu2E0L.js → DeliveryOrderPrintPreview-B08SSOCX.js} +2 -2
  14. package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-Dqy7-a53.js → EmailDialog.vue_vue_type_script_setup_true_lang-DdzV_fzq.js} +13245 -13063
  15. package/dist/{FmAdminBadge-DlplQOHb.js → FmAdminBadge-DH_2w13D.js} +8 -8
  16. package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BeoDswK2.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CmH3uhTZ.js} +1 -1
  17. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Dzqh8pM9.js +84 -0
  18. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Bq1UiREV.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Df-yCfRe.js} +4 -4
  19. package/dist/{FmMultiselectDialog-BhDa1RwT.js → FmMultiselectDialog-DpPyNOpJ.js} +1 -1
  20. package/dist/{FmMultiselectDialog-CorNT8gl.js → FmMultiselectDialog-QEs0yct_.js} +2 -2
  21. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DYIDe_N1.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D8-IQUtA.js} +121 -119
  22. package/dist/{ImportView-C57uYZRr.js → ImportView-8qlgZSTO.js} +8 -8
  23. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-B96kvgzW.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CGWRbAF2.js} +1 -1
  24. package/dist/{IngredientGroupView-CwhJuG3d.js → IngredientGroupView-BI9SlKfz.js} +6 -6
  25. package/dist/{IngredientsView-oC9fFDvT.js → IngredientsView-1naUkKAi.js} +17 -17
  26. package/dist/{IntegrationExplorerView-4QvHjDRJ.js → IntegrationExplorerView-C6kyLz3y.js} +5 -5
  27. package/dist/{IntegrationView-D-DT3YJs.js → IntegrationView-DrmxLdlk.js} +15 -15
  28. package/dist/{InventoryBindingForm-CYw_09Za.js → InventoryBindingForm-CPNAgZkD.js} +1 -1
  29. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-urLsGkKG.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-sz_VtHRr.js} +5 -5
  30. package/dist/{InventoryBindingSummary-CgqWRDNo.js → InventoryBindingSummary-Cu98L10w.js} +1 -1
  31. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DLUlL05A.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-g2PDNQx-.js} +1 -1
  32. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-3m70pVwB.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BZEa61go.js} +1 -1
  33. package/dist/{ProductionView--WPitDlY.js → ProductionView-D8dxypqA.js} +8 -8
  34. package/dist/{PublishView-D0kB5NQ2.js → PublishView-C82UwIoz.js} +4 -4
  35. package/dist/{PurchaseOrderPrintPreview-B1M-Moro.js → PurchaseOrderPrintPreview-CP40tEma.js} +2 -2
  36. package/dist/ReceiveRequestView-DDo0Pb0J.js +514 -0
  37. package/dist/{RecipeView-C49tT8Cr.js → RecipeView-DB1DJQp7.js} +18 -18
  38. package/dist/{SettingsView-Dt7a_Nkx.js → SettingsView-DsS62lxW.js} +6 -6
  39. package/dist/{SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js → SingleColumnLayout.vue_vue_type_script_setup_true_lang-DWsPvPE1.js} +1 -1
  40. package/dist/{StockView-CNzq9TSj.js → StockView-gcf7RCZz.js} +23 -23
  41. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Cx-XCR_k.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-nXqFCKic.js} +1 -1
  42. package/dist/{SupplierView-7EbI5cfk.js → SupplierView-BIANlKLE.js} +13 -13
  43. package/dist/{SurchargeView-BbfzwuAB.js → SurchargeView-kRzaixM5.js} +7 -7
  44. package/dist/SystemTrailDialog.vue_vue_type_script_setup_true_lang-QMUVuthC.js +211 -0
  45. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-nO9sybW-.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BceIOuBq.js} +2 -2
  46. package/dist/TransferDetailsV3.vue_vue_type_script_setup_true_lang-DYAzxoHE.js +5991 -0
  47. package/dist/{TransferTemplateView-Bz5W7dh5.js → TransferTemplateView-Bq68Vh7t.js} +21 -21
  48. package/dist/{UnitCostHistoryView-5wAtW09L.js → UnitCostHistoryView-d0oLssyZ.js} +6 -6
  49. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-Ze6egaj8.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CLOotG6K.js} +4 -4
  50. package/dist/{UnitView-Mp8CL-lp.js → UnitView-BHfm2IE4.js} +8 -8
  51. package/dist/{WarehouseView-DRkIDq76.js → WarehouseView-CorSYwm6.js} +6 -6
  52. package/dist/{WastageTemplateView-CRLaJJnu.js → WastageTemplateView-CtYZwiRW.js} +15 -15
  53. package/dist/api/connected-business-mapping.d.ts +25 -0
  54. package/dist/api/purchase-order.d.ts +35 -1
  55. package/dist/{app-VqA3hs6t.js → app-37NZKFUI.js} +5557 -5192
  56. package/dist/app.d.ts +88 -0
  57. package/dist/app.js +1 -1
  58. package/dist/{closing-template-CdSV_waS.js → closing-template-C0dl45x2.js} +1 -1
  59. package/dist/components/FmFilterableMenuOptions.vue.d.ts +11 -2
  60. package/dist/connected-business-mapping-ywgqqyMr.js +37 -0
  61. package/dist/{date2-ybHWeys0.js → date2-r4KgBCs9.js} +1 -1
  62. package/dist/{dayjs.min-vhlHpfOd.js → dayjs.min-BKUldDi9.js} +1 -1
  63. package/dist/{decimal-BWaV7aqI.js → decimal-Cgmw6HIY.js} +2 -2
  64. package/dist/{defineDeepModel-Dh55Rpy6.js → defineDeepModel-DXLwZWst.js} +1 -1
  65. package/dist/{duplicate-template-BX4CtnXP.js → duplicate-template-DDA4QWPl.js} +1 -1
  66. package/dist/feature-B4BoCy_k.js +1548 -0
  67. package/dist/{format-time-from-id-CcnUAvw3.js → format-time-from-id-Dhjn5QgH.js} +1 -1
  68. package/dist/{format-unit-display-CpfisOsO.js → format-unit-display-g95-VuYJ.js} +12 -12
  69. package/dist/{import-export.helper-DkxUoI70.js → import-export.helper-DsZFPPqj.js} +6 -6
  70. package/dist/{index-CDTURjdV.js → index-B9WjF3Ox.js} +1 -1
  71. package/dist/{index-BWP_Oz85.js → index-C207KsUh.js} +3 -3
  72. package/dist/{index-C2-NacLA.js → index-D3Bmmx66.js} +1 -1
  73. package/dist/{inventory-core-dart.default-CCuIh47-.js → inventory-core-dart.default-NpD15h63.js} +7104 -5555
  74. package/dist/{jszip.min-CGd5HPaQ.js → jszip.min-B52cHzHI.js} +2 -2
  75. package/dist/{lz-string-DaTOnDE7.js → lz-string-CItFpr5-.js} +1 -1
  76. package/dist/{netsuite-Bv8m4JOq.js → netsuite-R_NkLn5t.js} +2 -2
  77. package/dist/{number-Blpf0ylx.js → number-BkC_lelq.js} +3 -3
  78. package/dist/{predefined-templates-CH1yqXrS.js → predefined-templates-CVT54o4V.js} +1 -1
  79. package/dist/{purchase-order-template-Hzi2jg5i.js → purchase-order-template-DvqAncB2.js} +1 -1
  80. package/dist/{recalculationUtils-Bg_M-poT.js → recalculationUtils-Cak1mo4o.js} +1 -1
  81. package/dist/router/name.d.ts +1 -0
  82. package/dist/{rules-CyLofMuT.js → rules--cnFg-PI.js} +2 -2
  83. package/dist/{stock-DfNx3w-V.js → stock-BLYAJxMj.js} +1 -1
  84. package/dist/{stock-vaSdMe5e.js → stock-DvquSog3.js} +3 -3
  85. package/dist/stores/feature.d.ts +2 -0
  86. package/dist/style.css +1 -1
  87. package/dist/{supplier-DPLDqUXZ.js → supplier-C5X8p_vd.js} +2 -2
  88. package/dist/{surcharge-0-XdT9aW.js → surcharge-CLkpleoW.js} +1 -1
  89. package/dist/tsconfig.app.tsbuildinfo +1 -1
  90. package/dist/{uom-rules-CbYmI74H.js → uom-rules-CykFo_pB.js} +1 -1
  91. package/dist/{use-ingredient-select-dialog-g1T1s6nQ.js → use-ingredient-select-dialog-DlxWMkAI.js} +2 -2
  92. package/dist/{use-inventory-binding-dialog-B0AniKhu.js → use-inventory-binding-dialog-DnWDyziu.js} +2 -2
  93. package/dist/{use-template-enabled-locations-DRkN8eSx.js → use-template-enabled-locations-SRgcWLO4.js} +2 -2
  94. package/dist/{use-transfer-locations-BG1GERbt.js → use-transfer-locations-D4f4Ib1r.js} +2 -2
  95. package/dist/{useHrmPermission-CUPAhcDP.js → useHrmPermission-lAc6ZHVZ.js} +1 -1
  96. package/dist/{useNavigationMenu-D2onvhoK.js → useNavigationMenu-CeN7TEwe.js} +59 -49
  97. package/dist/{useSseClient-DvQsSC57.js → useSseClient-C6ndlLpA.js} +1 -1
  98. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-search.d.ts +6 -0
  99. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-search.spec.d.ts +1 -0
  100. package/dist/views/connected-business/ConnectedBusinessMappingPanel.vue.d.ts +25 -0
  101. package/dist/views/connected-business/ConnectedBusinessView.vue.d.ts +2 -0
  102. package/dist/views/receive-request/components/CreateTransferChoice.vue.d.ts +27 -0
  103. package/dist/views/receive-request/components/transfer-details/TransferDetailsV3.vue.d.ts +18 -0
  104. package/dist/views/receive-request/components/transfer-dialog/TransferDialogProps.d.ts +1 -0
  105. package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
  106. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +102 -2
  107. package/dist/views/receive-request/composables/fn.d.ts +2 -1
  108. package/dist/views/receive-request/composables/fn.spec.d.ts +1 -0
  109. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +119 -3
  110. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +642 -13
  111. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +720 -14
  112. package/dist/views/receive-request/helper/po-version.d.ts +6 -0
  113. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +524 -10
  114. package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +102 -2
  115. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +4 -0
  116. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +8 -0
  117. package/dist/views/transfer-template/composables/use-template-item-bulk-editor.d.ts +12 -0
  118. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +24 -0
  119. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +24 -0
  120. package/dist/{vue-i18n-CwNxhUsM.js → vue-i18n-DDqVG60p.js} +291 -291
  121. package/dist/{xlsx.util-dMHkd6XK.js → xlsx.util-BzQcPwvM.js} +2 -2
  122. package/package.json +3 -3
  123. package/dist/ApprovalView-CpeNbbnJ.js +0 -242
  124. package/dist/BulkReceiveRequestView-BFFeVxQF.js +0 -2011
  125. package/dist/ClosingTemplateView-DikY2_9d.js +0 -2270
  126. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B9CWp_AG.js +0 -76
  127. package/dist/ReceiveRequestView-B1NWO9ih.js +0 -345
  128. package/dist/SystemTrailDialog.vue_vue_type_script_setup_true_lang-CT0KDVR4.js +0 -178
  129. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DxSXLCtP.js +0 -4660
  130. package/dist/feature-_v_0Btg8.js +0 -1136
@@ -17,7 +17,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
17
17
  header: () => string;
18
18
  cell(props: import("@tanstack/vue-table").CellContext<{
19
19
  _rev?: string | null | undefined;
20
- version?: "1" | "2" | null | undefined;
20
+ version?: "1" | "2" | "3" | null | undefined;
21
21
  ref?: string | null | undefined;
22
22
  template?: string | null | undefined;
23
23
  remark?: string | null | undefined;
@@ -123,6 +123,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
123
123
  ref?: string | null | undefined;
124
124
  remark?: string | null | undefined;
125
125
  supplier: {
126
+ businessId?: string | null | undefined;
126
127
  _rev?: string | null | undefined;
127
128
  internal?: "restaurant" | "warehouse" | null | undefined;
128
129
  contactName?: string | null | undefined;
@@ -152,6 +153,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
152
153
  unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
153
154
  value: number;
154
155
  } | null | undefined;
156
+ businessName?: string | null | undefined;
155
157
  _id: string;
156
158
  name: string;
157
159
  address: {
@@ -417,6 +419,14 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
417
419
  recordType?: string | null | undefined;
418
420
  id: string | null;
419
421
  } | null | undefined;
422
+ connectedBusinessItems?: {
423
+ skuId: string;
424
+ quantity: {
425
+ amount: number;
426
+ precision: number;
427
+ };
428
+ uomId: string;
429
+ }[] | null | undefined;
420
430
  shipmentId?: string[] | null | undefined;
421
431
  id: string;
422
432
  createdAt: string;
@@ -515,9 +525,97 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
515
525
  };
516
526
  }[];
517
527
  }[] | null | undefined;
528
+ connectedBusinessRef?: {
529
+ businessName?: string | null | undefined;
530
+ targetBusinessName?: string | null | undefined;
531
+ skus: {
532
+ trackingMeasurement?: string | null | undefined;
533
+ isInactive?: boolean | null | undefined;
534
+ convert?: {
535
+ measurement?: string | null | undefined;
536
+ inventoryBindings?: {
537
+ measurement?: {
538
+ name: string;
539
+ id: string;
540
+ abbrev: string;
541
+ conversion: {
542
+ amount: number;
543
+ precision: number;
544
+ };
545
+ } | null | undefined;
546
+ rules?: Record<string, any> | null | undefined;
547
+ alternatives?: {
548
+ default?: boolean | null | undefined;
549
+ trackingMeasurement?: string | null | undefined;
550
+ priority?: number | null | undefined;
551
+ _id: string;
552
+ }[] | null | undefined;
553
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
554
+ amount: {
555
+ amount: number;
556
+ precision: number;
557
+ };
558
+ id: string;
559
+ }[] | null | undefined;
560
+ } | null | undefined;
561
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
562
+ defaultCost?: {
563
+ measurement?: {
564
+ name: string;
565
+ id: string;
566
+ abbrev: string;
567
+ conversion: {
568
+ amount: number;
569
+ precision: number;
570
+ };
571
+ } | null | undefined;
572
+ costPerUnit: {
573
+ 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";
574
+ amount: number;
575
+ precision: number;
576
+ };
577
+ } | null | undefined;
578
+ operationalGroup?: string | null | undefined;
579
+ thresholds?: {
580
+ low: number;
581
+ mid: number;
582
+ } | null | undefined;
583
+ customAttributes?: Record<string, any> | null | undefined;
584
+ unit: {
585
+ _id: string;
586
+ name: string;
587
+ abbrev: string;
588
+ precision: number;
589
+ measurements: {
590
+ name: string;
591
+ id: string;
592
+ abbrev: string;
593
+ conversion: {
594
+ amount: number;
595
+ precision: number;
596
+ };
597
+ }[];
598
+ };
599
+ code: string;
600
+ _id: string;
601
+ name: string;
602
+ }[];
603
+ pairs: {
604
+ skuId: string;
605
+ quantity: {
606
+ amount: number;
607
+ precision: number;
608
+ };
609
+ externalSkuId: string;
610
+ externalQuantity: {
611
+ amount: number;
612
+ precision: number;
613
+ };
614
+ }[];
615
+ } | null | undefined;
518
616
  actionChangelogs?: {
519
617
  remarks?: string | null | undefined;
520
- action: "approveDraft" | "rejectDraft" | "submitRequest" | "confirmDraft" | "cancelDraft" | "approveRequest" | "rejectRequest" | "processRequest" | "receiveStock" | "returnStock" | "completeReceive" | "closeRequest";
618
+ action: "submitRequest" | "confirmDraft" | "cancelDraft" | "approveDraft" | "rejectDraft" | "approveRequest" | "rejectRequest" | "processRequest" | "receiveStock" | "returnStock" | "completeReceive" | "closeRequest";
521
619
  changedBy: {
522
620
  name: string;
523
621
  id: string;
@@ -526,6 +624,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
526
624
  }[] | null | undefined;
527
625
  shipmentIds?: string[] | null | undefined;
528
626
  supplier: {
627
+ businessId?: string | null | undefined;
529
628
  _rev?: string | null | undefined;
530
629
  internal?: "restaurant" | "warehouse" | null | undefined;
531
630
  contactName?: string | null | undefined;
@@ -555,6 +654,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
555
654
  unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
556
655
  value: number;
557
656
  } | null | undefined;
657
+ businessName?: string | null | undefined;
558
658
  _id: string;
559
659
  name: string;
560
660
  address: {
@@ -808,7 +908,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
808
908
  header: () => string;
809
909
  cell: (props: import("@tanstack/vue-table").CellContext<{
810
910
  _rev?: string | null | undefined;
811
- version?: "1" | "2" | null | undefined;
911
+ version?: "1" | "2" | "3" | null | undefined;
812
912
  ref?: string | null | undefined;
813
913
  template?: string | null | undefined;
814
914
  remark?: string | null | undefined;
@@ -914,6 +1014,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
914
1014
  ref?: string | null | undefined;
915
1015
  remark?: string | null | undefined;
916
1016
  supplier: {
1017
+ businessId?: string | null | undefined;
917
1018
  _rev?: string | null | undefined;
918
1019
  internal?: "restaurant" | "warehouse" | null | undefined;
919
1020
  contactName?: string | null | undefined;
@@ -943,6 +1044,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
943
1044
  unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
944
1045
  value: number;
945
1046
  } | null | undefined;
1047
+ businessName?: string | null | undefined;
946
1048
  _id: string;
947
1049
  name: string;
948
1050
  address: {
@@ -1208,6 +1310,14 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
1208
1310
  recordType?: string | null | undefined;
1209
1311
  id: string | null;
1210
1312
  } | null | undefined;
1313
+ connectedBusinessItems?: {
1314
+ skuId: string;
1315
+ quantity: {
1316
+ amount: number;
1317
+ precision: number;
1318
+ };
1319
+ uomId: string;
1320
+ }[] | null | undefined;
1211
1321
  shipmentId?: string[] | null | undefined;
1212
1322
  id: string;
1213
1323
  createdAt: string;
@@ -1306,9 +1416,97 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
1306
1416
  };
1307
1417
  }[];
1308
1418
  }[] | null | undefined;
1419
+ connectedBusinessRef?: {
1420
+ businessName?: string | null | undefined;
1421
+ targetBusinessName?: string | null | undefined;
1422
+ skus: {
1423
+ trackingMeasurement?: string | null | undefined;
1424
+ isInactive?: boolean | null | undefined;
1425
+ convert?: {
1426
+ measurement?: string | null | undefined;
1427
+ inventoryBindings?: {
1428
+ measurement?: {
1429
+ name: string;
1430
+ id: string;
1431
+ abbrev: string;
1432
+ conversion: {
1433
+ amount: number;
1434
+ precision: number;
1435
+ };
1436
+ } | null | undefined;
1437
+ rules?: Record<string, any> | null | undefined;
1438
+ alternatives?: {
1439
+ default?: boolean | null | undefined;
1440
+ trackingMeasurement?: string | null | undefined;
1441
+ priority?: number | null | undefined;
1442
+ _id: string;
1443
+ }[] | null | undefined;
1444
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1445
+ amount: {
1446
+ amount: number;
1447
+ precision: number;
1448
+ };
1449
+ id: string;
1450
+ }[] | null | undefined;
1451
+ } | null | undefined;
1452
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1453
+ defaultCost?: {
1454
+ measurement?: {
1455
+ name: string;
1456
+ id: string;
1457
+ abbrev: string;
1458
+ conversion: {
1459
+ amount: number;
1460
+ precision: number;
1461
+ };
1462
+ } | null | undefined;
1463
+ costPerUnit: {
1464
+ 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";
1465
+ amount: number;
1466
+ precision: number;
1467
+ };
1468
+ } | null | undefined;
1469
+ operationalGroup?: string | null | undefined;
1470
+ thresholds?: {
1471
+ low: number;
1472
+ mid: number;
1473
+ } | null | undefined;
1474
+ customAttributes?: Record<string, any> | null | undefined;
1475
+ unit: {
1476
+ _id: string;
1477
+ name: string;
1478
+ abbrev: string;
1479
+ precision: number;
1480
+ measurements: {
1481
+ name: string;
1482
+ id: string;
1483
+ abbrev: string;
1484
+ conversion: {
1485
+ amount: number;
1486
+ precision: number;
1487
+ };
1488
+ }[];
1489
+ };
1490
+ code: string;
1491
+ _id: string;
1492
+ name: string;
1493
+ }[];
1494
+ pairs: {
1495
+ skuId: string;
1496
+ quantity: {
1497
+ amount: number;
1498
+ precision: number;
1499
+ };
1500
+ externalSkuId: string;
1501
+ externalQuantity: {
1502
+ amount: number;
1503
+ precision: number;
1504
+ };
1505
+ }[];
1506
+ } | null | undefined;
1309
1507
  actionChangelogs?: {
1310
1508
  remarks?: string | null | undefined;
1311
- action: "approveDraft" | "rejectDraft" | "submitRequest" | "confirmDraft" | "cancelDraft" | "approveRequest" | "rejectRequest" | "processRequest" | "receiveStock" | "returnStock" | "completeReceive" | "closeRequest";
1509
+ action: "submitRequest" | "confirmDraft" | "cancelDraft" | "approveDraft" | "rejectDraft" | "approveRequest" | "rejectRequest" | "processRequest" | "receiveStock" | "returnStock" | "completeReceive" | "closeRequest";
1312
1510
  changedBy: {
1313
1511
  name: string;
1314
1512
  id: string;
@@ -1317,6 +1515,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
1317
1515
  }[] | null | undefined;
1318
1516
  shipmentIds?: string[] | null | undefined;
1319
1517
  supplier: {
1518
+ businessId?: string | null | undefined;
1320
1519
  _rev?: string | null | undefined;
1321
1520
  internal?: "restaurant" | "warehouse" | null | undefined;
1322
1521
  contactName?: string | null | undefined;
@@ -1346,6 +1545,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
1346
1545
  unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
1347
1546
  value: number;
1348
1547
  } | null | undefined;
1548
+ businessName?: string | null | undefined;
1349
1549
  _id: string;
1350
1550
  name: string;
1351
1551
  address: {
@@ -1616,7 +1816,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
1616
1816
  header: () => string;
1617
1817
  cell(props: import("@tanstack/vue-table").CellContext<{
1618
1818
  _rev?: string | null | undefined;
1619
- version?: "1" | "2" | null | undefined;
1819
+ version?: "1" | "2" | "3" | null | undefined;
1620
1820
  ref?: string | null | undefined;
1621
1821
  template?: string | null | undefined;
1622
1822
  remark?: string | null | undefined;
@@ -1722,6 +1922,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
1722
1922
  ref?: string | null | undefined;
1723
1923
  remark?: string | null | undefined;
1724
1924
  supplier: {
1925
+ businessId?: string | null | undefined;
1725
1926
  _rev?: string | null | undefined;
1726
1927
  internal?: "restaurant" | "warehouse" | null | undefined;
1727
1928
  contactName?: string | null | undefined;
@@ -1751,6 +1952,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
1751
1952
  unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
1752
1953
  value: number;
1753
1954
  } | null | undefined;
1955
+ businessName?: string | null | undefined;
1754
1956
  _id: string;
1755
1957
  name: string;
1756
1958
  address: {
@@ -2016,6 +2218,14 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
2016
2218
  recordType?: string | null | undefined;
2017
2219
  id: string | null;
2018
2220
  } | null | undefined;
2221
+ connectedBusinessItems?: {
2222
+ skuId: string;
2223
+ quantity: {
2224
+ amount: number;
2225
+ precision: number;
2226
+ };
2227
+ uomId: string;
2228
+ }[] | null | undefined;
2019
2229
  shipmentId?: string[] | null | undefined;
2020
2230
  id: string;
2021
2231
  createdAt: string;
@@ -2114,9 +2324,97 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
2114
2324
  };
2115
2325
  }[];
2116
2326
  }[] | null | undefined;
2327
+ connectedBusinessRef?: {
2328
+ businessName?: string | null | undefined;
2329
+ targetBusinessName?: string | null | undefined;
2330
+ skus: {
2331
+ trackingMeasurement?: string | null | undefined;
2332
+ isInactive?: boolean | null | undefined;
2333
+ convert?: {
2334
+ measurement?: string | null | undefined;
2335
+ inventoryBindings?: {
2336
+ measurement?: {
2337
+ name: string;
2338
+ id: string;
2339
+ abbrev: string;
2340
+ conversion: {
2341
+ amount: number;
2342
+ precision: number;
2343
+ };
2344
+ } | null | undefined;
2345
+ rules?: Record<string, any> | null | undefined;
2346
+ alternatives?: {
2347
+ default?: boolean | null | undefined;
2348
+ trackingMeasurement?: string | null | undefined;
2349
+ priority?: number | null | undefined;
2350
+ _id: string;
2351
+ }[] | null | undefined;
2352
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
2353
+ amount: {
2354
+ amount: number;
2355
+ precision: number;
2356
+ };
2357
+ id: string;
2358
+ }[] | null | undefined;
2359
+ } | null | undefined;
2360
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
2361
+ defaultCost?: {
2362
+ measurement?: {
2363
+ name: string;
2364
+ id: string;
2365
+ abbrev: string;
2366
+ conversion: {
2367
+ amount: number;
2368
+ precision: number;
2369
+ };
2370
+ } | null | undefined;
2371
+ costPerUnit: {
2372
+ 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";
2373
+ amount: number;
2374
+ precision: number;
2375
+ };
2376
+ } | null | undefined;
2377
+ operationalGroup?: string | null | undefined;
2378
+ thresholds?: {
2379
+ low: number;
2380
+ mid: number;
2381
+ } | null | undefined;
2382
+ customAttributes?: Record<string, any> | null | undefined;
2383
+ unit: {
2384
+ _id: string;
2385
+ name: string;
2386
+ abbrev: string;
2387
+ precision: number;
2388
+ measurements: {
2389
+ name: string;
2390
+ id: string;
2391
+ abbrev: string;
2392
+ conversion: {
2393
+ amount: number;
2394
+ precision: number;
2395
+ };
2396
+ }[];
2397
+ };
2398
+ code: string;
2399
+ _id: string;
2400
+ name: string;
2401
+ }[];
2402
+ pairs: {
2403
+ skuId: string;
2404
+ quantity: {
2405
+ amount: number;
2406
+ precision: number;
2407
+ };
2408
+ externalSkuId: string;
2409
+ externalQuantity: {
2410
+ amount: number;
2411
+ precision: number;
2412
+ };
2413
+ }[];
2414
+ } | null | undefined;
2117
2415
  actionChangelogs?: {
2118
2416
  remarks?: string | null | undefined;
2119
- action: "approveDraft" | "rejectDraft" | "submitRequest" | "confirmDraft" | "cancelDraft" | "approveRequest" | "rejectRequest" | "processRequest" | "receiveStock" | "returnStock" | "completeReceive" | "closeRequest";
2417
+ action: "submitRequest" | "confirmDraft" | "cancelDraft" | "approveDraft" | "rejectDraft" | "approveRequest" | "rejectRequest" | "processRequest" | "receiveStock" | "returnStock" | "completeReceive" | "closeRequest";
2120
2418
  changedBy: {
2121
2419
  name: string;
2122
2420
  id: string;
@@ -2125,6 +2423,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
2125
2423
  }[] | null | undefined;
2126
2424
  shipmentIds?: string[] | null | undefined;
2127
2425
  supplier: {
2426
+ businessId?: string | null | undefined;
2128
2427
  _rev?: string | null | undefined;
2129
2428
  internal?: "restaurant" | "warehouse" | null | undefined;
2130
2429
  contactName?: string | null | undefined;
@@ -2154,6 +2453,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
2154
2453
  unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
2155
2454
  value: number;
2156
2455
  } | null | undefined;
2456
+ businessName?: string | null | undefined;
2157
2457
  _id: string;
2158
2458
  name: string;
2159
2459
  address: {
@@ -2399,7 +2699,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
2399
2699
  id: string;
2400
2700
  cell(props: import("@tanstack/vue-table").CellContext<{
2401
2701
  _rev?: string | null | undefined;
2402
- version?: "1" | "2" | null | undefined;
2702
+ version?: "1" | "2" | "3" | null | undefined;
2403
2703
  ref?: string | null | undefined;
2404
2704
  template?: string | null | undefined;
2405
2705
  remark?: string | null | undefined;
@@ -2505,6 +2805,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
2505
2805
  ref?: string | null | undefined;
2506
2806
  remark?: string | null | undefined;
2507
2807
  supplier: {
2808
+ businessId?: string | null | undefined;
2508
2809
  _rev?: string | null | undefined;
2509
2810
  internal?: "restaurant" | "warehouse" | null | undefined;
2510
2811
  contactName?: string | null | undefined;
@@ -2534,6 +2835,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
2534
2835
  unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
2535
2836
  value: number;
2536
2837
  } | null | undefined;
2838
+ businessName?: string | null | undefined;
2537
2839
  _id: string;
2538
2840
  name: string;
2539
2841
  address: {
@@ -2799,6 +3101,14 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
2799
3101
  recordType?: string | null | undefined;
2800
3102
  id: string | null;
2801
3103
  } | null | undefined;
3104
+ connectedBusinessItems?: {
3105
+ skuId: string;
3106
+ quantity: {
3107
+ amount: number;
3108
+ precision: number;
3109
+ };
3110
+ uomId: string;
3111
+ }[] | null | undefined;
2802
3112
  shipmentId?: string[] | null | undefined;
2803
3113
  id: string;
2804
3114
  createdAt: string;
@@ -2897,9 +3207,97 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
2897
3207
  };
2898
3208
  }[];
2899
3209
  }[] | null | undefined;
3210
+ connectedBusinessRef?: {
3211
+ businessName?: string | null | undefined;
3212
+ targetBusinessName?: string | null | undefined;
3213
+ skus: {
3214
+ trackingMeasurement?: string | null | undefined;
3215
+ isInactive?: boolean | null | undefined;
3216
+ convert?: {
3217
+ measurement?: string | null | undefined;
3218
+ inventoryBindings?: {
3219
+ measurement?: {
3220
+ name: string;
3221
+ id: string;
3222
+ abbrev: string;
3223
+ conversion: {
3224
+ amount: number;
3225
+ precision: number;
3226
+ };
3227
+ } | null | undefined;
3228
+ rules?: Record<string, any> | null | undefined;
3229
+ alternatives?: {
3230
+ default?: boolean | null | undefined;
3231
+ trackingMeasurement?: string | null | undefined;
3232
+ priority?: number | null | undefined;
3233
+ _id: string;
3234
+ }[] | null | undefined;
3235
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
3236
+ amount: {
3237
+ amount: number;
3238
+ precision: number;
3239
+ };
3240
+ id: string;
3241
+ }[] | null | undefined;
3242
+ } | null | undefined;
3243
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
3244
+ defaultCost?: {
3245
+ measurement?: {
3246
+ name: string;
3247
+ id: string;
3248
+ abbrev: string;
3249
+ conversion: {
3250
+ amount: number;
3251
+ precision: number;
3252
+ };
3253
+ } | null | undefined;
3254
+ costPerUnit: {
3255
+ 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";
3256
+ amount: number;
3257
+ precision: number;
3258
+ };
3259
+ } | null | undefined;
3260
+ operationalGroup?: string | null | undefined;
3261
+ thresholds?: {
3262
+ low: number;
3263
+ mid: number;
3264
+ } | null | undefined;
3265
+ customAttributes?: Record<string, any> | null | undefined;
3266
+ unit: {
3267
+ _id: string;
3268
+ name: string;
3269
+ abbrev: string;
3270
+ precision: number;
3271
+ measurements: {
3272
+ name: string;
3273
+ id: string;
3274
+ abbrev: string;
3275
+ conversion: {
3276
+ amount: number;
3277
+ precision: number;
3278
+ };
3279
+ }[];
3280
+ };
3281
+ code: string;
3282
+ _id: string;
3283
+ name: string;
3284
+ }[];
3285
+ pairs: {
3286
+ skuId: string;
3287
+ quantity: {
3288
+ amount: number;
3289
+ precision: number;
3290
+ };
3291
+ externalSkuId: string;
3292
+ externalQuantity: {
3293
+ amount: number;
3294
+ precision: number;
3295
+ };
3296
+ }[];
3297
+ } | null | undefined;
2900
3298
  actionChangelogs?: {
2901
3299
  remarks?: string | null | undefined;
2902
- action: "approveDraft" | "rejectDraft" | "submitRequest" | "confirmDraft" | "cancelDraft" | "approveRequest" | "rejectRequest" | "processRequest" | "receiveStock" | "returnStock" | "completeReceive" | "closeRequest";
3300
+ action: "submitRequest" | "confirmDraft" | "cancelDraft" | "approveDraft" | "rejectDraft" | "approveRequest" | "rejectRequest" | "processRequest" | "receiveStock" | "returnStock" | "completeReceive" | "closeRequest";
2903
3301
  changedBy: {
2904
3302
  name: string;
2905
3303
  id: string;
@@ -2908,6 +3306,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
2908
3306
  }[] | null | undefined;
2909
3307
  shipmentIds?: string[] | null | undefined;
2910
3308
  supplier: {
3309
+ businessId?: string | null | undefined;
2911
3310
  _rev?: string | null | undefined;
2912
3311
  internal?: "restaurant" | "warehouse" | null | undefined;
2913
3312
  contactName?: string | null | undefined;
@@ -2937,6 +3336,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
2937
3336
  unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
2938
3337
  value: number;
2939
3338
  } | null | undefined;
3339
+ businessName?: string | null | undefined;
2940
3340
  _id: string;
2941
3341
  name: string;
2942
3342
  address: {
@@ -3198,7 +3598,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
3198
3598
  cell(props: import("@tanstack/vue-table").CellContext<{
3199
3599
  purchaseOrder?: {
3200
3600
  _rev?: string | null | undefined;
3201
- version?: "1" | "2" | null | undefined;
3601
+ version?: "1" | "2" | "3" | null | undefined;
3202
3602
  ref?: string | null | undefined;
3203
3603
  template?: string | null | undefined;
3204
3604
  remark?: string | null | undefined;
@@ -3304,6 +3704,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
3304
3704
  ref?: string | null | undefined;
3305
3705
  remark?: string | null | undefined;
3306
3706
  supplier: {
3707
+ businessId?: string | null | undefined;
3307
3708
  _rev?: string | null | undefined;
3308
3709
  internal?: "restaurant" | "warehouse" | null | undefined;
3309
3710
  contactName?: string | null | undefined;
@@ -3333,6 +3734,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
3333
3734
  unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
3334
3735
  value: number;
3335
3736
  } | null | undefined;
3737
+ businessName?: string | null | undefined;
3336
3738
  _id: string;
3337
3739
  name: string;
3338
3740
  address: {
@@ -3598,6 +4000,14 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
3598
4000
  recordType?: string | null | undefined;
3599
4001
  id: string | null;
3600
4002
  } | null | undefined;
4003
+ connectedBusinessItems?: {
4004
+ skuId: string;
4005
+ quantity: {
4006
+ amount: number;
4007
+ precision: number;
4008
+ };
4009
+ uomId: string;
4010
+ }[] | null | undefined;
3601
4011
  shipmentId?: string[] | null | undefined;
3602
4012
  id: string;
3603
4013
  createdAt: string;
@@ -3696,9 +4106,97 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
3696
4106
  };
3697
4107
  }[];
3698
4108
  }[] | null | undefined;
4109
+ connectedBusinessRef?: {
4110
+ businessName?: string | null | undefined;
4111
+ targetBusinessName?: string | null | undefined;
4112
+ skus: {
4113
+ trackingMeasurement?: string | null | undefined;
4114
+ isInactive?: boolean | null | undefined;
4115
+ convert?: {
4116
+ measurement?: string | null | undefined;
4117
+ inventoryBindings?: {
4118
+ measurement?: {
4119
+ name: string;
4120
+ id: string;
4121
+ abbrev: string;
4122
+ conversion: {
4123
+ amount: number;
4124
+ precision: number;
4125
+ };
4126
+ } | null | undefined;
4127
+ rules?: Record<string, any> | null | undefined;
4128
+ alternatives?: {
4129
+ default?: boolean | null | undefined;
4130
+ trackingMeasurement?: string | null | undefined;
4131
+ priority?: number | null | undefined;
4132
+ _id: string;
4133
+ }[] | null | undefined;
4134
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
4135
+ amount: {
4136
+ amount: number;
4137
+ precision: number;
4138
+ };
4139
+ id: string;
4140
+ }[] | null | undefined;
4141
+ } | null | undefined;
4142
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
4143
+ defaultCost?: {
4144
+ measurement?: {
4145
+ name: string;
4146
+ id: string;
4147
+ abbrev: string;
4148
+ conversion: {
4149
+ amount: number;
4150
+ precision: number;
4151
+ };
4152
+ } | null | undefined;
4153
+ costPerUnit: {
4154
+ 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";
4155
+ amount: number;
4156
+ precision: number;
4157
+ };
4158
+ } | null | undefined;
4159
+ operationalGroup?: string | null | undefined;
4160
+ thresholds?: {
4161
+ low: number;
4162
+ mid: number;
4163
+ } | null | undefined;
4164
+ customAttributes?: Record<string, any> | null | undefined;
4165
+ unit: {
4166
+ _id: string;
4167
+ name: string;
4168
+ abbrev: string;
4169
+ precision: number;
4170
+ measurements: {
4171
+ name: string;
4172
+ id: string;
4173
+ abbrev: string;
4174
+ conversion: {
4175
+ amount: number;
4176
+ precision: number;
4177
+ };
4178
+ }[];
4179
+ };
4180
+ code: string;
4181
+ _id: string;
4182
+ name: string;
4183
+ }[];
4184
+ pairs: {
4185
+ skuId: string;
4186
+ quantity: {
4187
+ amount: number;
4188
+ precision: number;
4189
+ };
4190
+ externalSkuId: string;
4191
+ externalQuantity: {
4192
+ amount: number;
4193
+ precision: number;
4194
+ };
4195
+ }[];
4196
+ } | null | undefined;
3699
4197
  actionChangelogs?: {
3700
4198
  remarks?: string | null | undefined;
3701
- action: "approveDraft" | "rejectDraft" | "submitRequest" | "confirmDraft" | "cancelDraft" | "approveRequest" | "rejectRequest" | "processRequest" | "receiveStock" | "returnStock" | "completeReceive" | "closeRequest";
4199
+ action: "submitRequest" | "confirmDraft" | "cancelDraft" | "approveDraft" | "rejectDraft" | "approveRequest" | "rejectRequest" | "processRequest" | "receiveStock" | "returnStock" | "completeReceive" | "closeRequest";
3702
4200
  changedBy: {
3703
4201
  name: string;
3704
4202
  id: string;
@@ -3707,6 +4205,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
3707
4205
  }[] | null | undefined;
3708
4206
  shipmentIds?: string[] | null | undefined;
3709
4207
  supplier: {
4208
+ businessId?: string | null | undefined;
3710
4209
  _rev?: string | null | undefined;
3711
4210
  internal?: "restaurant" | "warehouse" | null | undefined;
3712
4211
  contactName?: string | null | undefined;
@@ -3736,6 +4235,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
3736
4235
  unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
3737
4236
  value: number;
3738
4237
  } | null | undefined;
4238
+ businessName?: string | null | undefined;
3739
4239
  _id: string;
3740
4240
  name: string;
3741
4241
  address: {
@@ -3994,10 +4494,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
3994
4494
  adjusmentIds?: string[] | null | undefined;
3995
4495
  _id: string;
3996
4496
  from: {
4497
+ businessId?: string | null | undefined;
3997
4498
  name: string;
3998
4499
  dbName: string;
3999
4500
  };
4000
4501
  to: {
4502
+ businessId?: string | null | undefined;
4001
4503
  name: string;
4002
4504
  dbName: string;
4003
4505
  };
@@ -4054,7 +4556,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
4054
4556
  cell(props: import("@tanstack/vue-table").CellContext<{
4055
4557
  purchaseOrder?: {
4056
4558
  _rev?: string | null | undefined;
4057
- version?: "1" | "2" | null | undefined;
4559
+ version?: "1" | "2" | "3" | null | undefined;
4058
4560
  ref?: string | null | undefined;
4059
4561
  template?: string | null | undefined;
4060
4562
  remark?: string | null | undefined;
@@ -4160,6 +4662,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
4160
4662
  ref?: string | null | undefined;
4161
4663
  remark?: string | null | undefined;
4162
4664
  supplier: {
4665
+ businessId?: string | null | undefined;
4163
4666
  _rev?: string | null | undefined;
4164
4667
  internal?: "restaurant" | "warehouse" | null | undefined;
4165
4668
  contactName?: string | null | undefined;
@@ -4189,6 +4692,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
4189
4692
  unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
4190
4693
  value: number;
4191
4694
  } | null | undefined;
4695
+ businessName?: string | null | undefined;
4192
4696
  _id: string;
4193
4697
  name: string;
4194
4698
  address: {
@@ -4454,6 +4958,14 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
4454
4958
  recordType?: string | null | undefined;
4455
4959
  id: string | null;
4456
4960
  } | null | undefined;
4961
+ connectedBusinessItems?: {
4962
+ skuId: string;
4963
+ quantity: {
4964
+ amount: number;
4965
+ precision: number;
4966
+ };
4967
+ uomId: string;
4968
+ }[] | null | undefined;
4457
4969
  shipmentId?: string[] | null | undefined;
4458
4970
  id: string;
4459
4971
  createdAt: string;
@@ -4552,9 +5064,97 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
4552
5064
  };
4553
5065
  }[];
4554
5066
  }[] | null | undefined;
5067
+ connectedBusinessRef?: {
5068
+ businessName?: string | null | undefined;
5069
+ targetBusinessName?: string | null | undefined;
5070
+ skus: {
5071
+ trackingMeasurement?: string | null | undefined;
5072
+ isInactive?: boolean | null | undefined;
5073
+ convert?: {
5074
+ measurement?: string | null | undefined;
5075
+ inventoryBindings?: {
5076
+ measurement?: {
5077
+ name: string;
5078
+ id: string;
5079
+ abbrev: string;
5080
+ conversion: {
5081
+ amount: number;
5082
+ precision: number;
5083
+ };
5084
+ } | null | undefined;
5085
+ rules?: Record<string, any> | null | undefined;
5086
+ alternatives?: {
5087
+ default?: boolean | null | undefined;
5088
+ trackingMeasurement?: string | null | undefined;
5089
+ priority?: number | null | undefined;
5090
+ _id: string;
5091
+ }[] | null | undefined;
5092
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
5093
+ amount: {
5094
+ amount: number;
5095
+ precision: number;
5096
+ };
5097
+ id: string;
5098
+ }[] | null | undefined;
5099
+ } | null | undefined;
5100
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
5101
+ defaultCost?: {
5102
+ measurement?: {
5103
+ name: string;
5104
+ id: string;
5105
+ abbrev: string;
5106
+ conversion: {
5107
+ amount: number;
5108
+ precision: number;
5109
+ };
5110
+ } | null | undefined;
5111
+ costPerUnit: {
5112
+ 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";
5113
+ amount: number;
5114
+ precision: number;
5115
+ };
5116
+ } | null | undefined;
5117
+ operationalGroup?: string | null | undefined;
5118
+ thresholds?: {
5119
+ low: number;
5120
+ mid: number;
5121
+ } | null | undefined;
5122
+ customAttributes?: Record<string, any> | null | undefined;
5123
+ unit: {
5124
+ _id: string;
5125
+ name: string;
5126
+ abbrev: string;
5127
+ precision: number;
5128
+ measurements: {
5129
+ name: string;
5130
+ id: string;
5131
+ abbrev: string;
5132
+ conversion: {
5133
+ amount: number;
5134
+ precision: number;
5135
+ };
5136
+ }[];
5137
+ };
5138
+ code: string;
5139
+ _id: string;
5140
+ name: string;
5141
+ }[];
5142
+ pairs: {
5143
+ skuId: string;
5144
+ quantity: {
5145
+ amount: number;
5146
+ precision: number;
5147
+ };
5148
+ externalSkuId: string;
5149
+ externalQuantity: {
5150
+ amount: number;
5151
+ precision: number;
5152
+ };
5153
+ }[];
5154
+ } | null | undefined;
4555
5155
  actionChangelogs?: {
4556
5156
  remarks?: string | null | undefined;
4557
- action: "approveDraft" | "rejectDraft" | "submitRequest" | "confirmDraft" | "cancelDraft" | "approveRequest" | "rejectRequest" | "processRequest" | "receiveStock" | "returnStock" | "completeReceive" | "closeRequest";
5157
+ action: "submitRequest" | "confirmDraft" | "cancelDraft" | "approveDraft" | "rejectDraft" | "approveRequest" | "rejectRequest" | "processRequest" | "receiveStock" | "returnStock" | "completeReceive" | "closeRequest";
4558
5158
  changedBy: {
4559
5159
  name: string;
4560
5160
  id: string;
@@ -4563,6 +5163,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
4563
5163
  }[] | null | undefined;
4564
5164
  shipmentIds?: string[] | null | undefined;
4565
5165
  supplier: {
5166
+ businessId?: string | null | undefined;
4566
5167
  _rev?: string | null | undefined;
4567
5168
  internal?: "restaurant" | "warehouse" | null | undefined;
4568
5169
  contactName?: string | null | undefined;
@@ -4592,6 +5193,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
4592
5193
  unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
4593
5194
  value: number;
4594
5195
  } | null | undefined;
5196
+ businessName?: string | null | undefined;
4595
5197
  _id: string;
4596
5198
  name: string;
4597
5199
  address: {
@@ -4850,10 +5452,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
4850
5452
  adjusmentIds?: string[] | null | undefined;
4851
5453
  _id: string;
4852
5454
  from: {
5455
+ businessId?: string | null | undefined;
4853
5456
  name: string;
4854
5457
  dbName: string;
4855
5458
  };
4856
5459
  to: {
5460
+ businessId?: string | null | undefined;
4857
5461
  name: string;
4858
5462
  dbName: string;
4859
5463
  };
@@ -4873,7 +5477,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
4873
5477
  cell(props: import("@tanstack/vue-table").CellContext<{
4874
5478
  purchaseOrder?: {
4875
5479
  _rev?: string | null | undefined;
4876
- version?: "1" | "2" | null | undefined;
5480
+ version?: "1" | "2" | "3" | null | undefined;
4877
5481
  ref?: string | null | undefined;
4878
5482
  template?: string | null | undefined;
4879
5483
  remark?: string | null | undefined;
@@ -4979,6 +5583,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
4979
5583
  ref?: string | null | undefined;
4980
5584
  remark?: string | null | undefined;
4981
5585
  supplier: {
5586
+ businessId?: string | null | undefined;
4982
5587
  _rev?: string | null | undefined;
4983
5588
  internal?: "restaurant" | "warehouse" | null | undefined;
4984
5589
  contactName?: string | null | undefined;
@@ -5008,6 +5613,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
5008
5613
  unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
5009
5614
  value: number;
5010
5615
  } | null | undefined;
5616
+ businessName?: string | null | undefined;
5011
5617
  _id: string;
5012
5618
  name: string;
5013
5619
  address: {
@@ -5273,6 +5879,14 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
5273
5879
  recordType?: string | null | undefined;
5274
5880
  id: string | null;
5275
5881
  } | null | undefined;
5882
+ connectedBusinessItems?: {
5883
+ skuId: string;
5884
+ quantity: {
5885
+ amount: number;
5886
+ precision: number;
5887
+ };
5888
+ uomId: string;
5889
+ }[] | null | undefined;
5276
5890
  shipmentId?: string[] | null | undefined;
5277
5891
  id: string;
5278
5892
  createdAt: string;
@@ -5371,9 +5985,97 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
5371
5985
  };
5372
5986
  }[];
5373
5987
  }[] | null | undefined;
5988
+ connectedBusinessRef?: {
5989
+ businessName?: string | null | undefined;
5990
+ targetBusinessName?: string | null | undefined;
5991
+ skus: {
5992
+ trackingMeasurement?: string | null | undefined;
5993
+ isInactive?: boolean | null | undefined;
5994
+ convert?: {
5995
+ measurement?: string | null | undefined;
5996
+ inventoryBindings?: {
5997
+ measurement?: {
5998
+ name: string;
5999
+ id: string;
6000
+ abbrev: string;
6001
+ conversion: {
6002
+ amount: number;
6003
+ precision: number;
6004
+ };
6005
+ } | null | undefined;
6006
+ rules?: Record<string, any> | null | undefined;
6007
+ alternatives?: {
6008
+ default?: boolean | null | undefined;
6009
+ trackingMeasurement?: string | null | undefined;
6010
+ priority?: number | null | undefined;
6011
+ _id: string;
6012
+ }[] | null | undefined;
6013
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
6014
+ amount: {
6015
+ amount: number;
6016
+ precision: number;
6017
+ };
6018
+ id: string;
6019
+ }[] | null | undefined;
6020
+ } | null | undefined;
6021
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
6022
+ defaultCost?: {
6023
+ measurement?: {
6024
+ name: string;
6025
+ id: string;
6026
+ abbrev: string;
6027
+ conversion: {
6028
+ amount: number;
6029
+ precision: number;
6030
+ };
6031
+ } | null | undefined;
6032
+ costPerUnit: {
6033
+ 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";
6034
+ amount: number;
6035
+ precision: number;
6036
+ };
6037
+ } | null | undefined;
6038
+ operationalGroup?: string | null | undefined;
6039
+ thresholds?: {
6040
+ low: number;
6041
+ mid: number;
6042
+ } | null | undefined;
6043
+ customAttributes?: Record<string, any> | null | undefined;
6044
+ unit: {
6045
+ _id: string;
6046
+ name: string;
6047
+ abbrev: string;
6048
+ precision: number;
6049
+ measurements: {
6050
+ name: string;
6051
+ id: string;
6052
+ abbrev: string;
6053
+ conversion: {
6054
+ amount: number;
6055
+ precision: number;
6056
+ };
6057
+ }[];
6058
+ };
6059
+ code: string;
6060
+ _id: string;
6061
+ name: string;
6062
+ }[];
6063
+ pairs: {
6064
+ skuId: string;
6065
+ quantity: {
6066
+ amount: number;
6067
+ precision: number;
6068
+ };
6069
+ externalSkuId: string;
6070
+ externalQuantity: {
6071
+ amount: number;
6072
+ precision: number;
6073
+ };
6074
+ }[];
6075
+ } | null | undefined;
5374
6076
  actionChangelogs?: {
5375
6077
  remarks?: string | null | undefined;
5376
- action: "approveDraft" | "rejectDraft" | "submitRequest" | "confirmDraft" | "cancelDraft" | "approveRequest" | "rejectRequest" | "processRequest" | "receiveStock" | "returnStock" | "completeReceive" | "closeRequest";
6078
+ action: "submitRequest" | "confirmDraft" | "cancelDraft" | "approveDraft" | "rejectDraft" | "approveRequest" | "rejectRequest" | "processRequest" | "receiveStock" | "returnStock" | "completeReceive" | "closeRequest";
5377
6079
  changedBy: {
5378
6080
  name: string;
5379
6081
  id: string;
@@ -5382,6 +6084,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
5382
6084
  }[] | null | undefined;
5383
6085
  shipmentIds?: string[] | null | undefined;
5384
6086
  supplier: {
6087
+ businessId?: string | null | undefined;
5385
6088
  _rev?: string | null | undefined;
5386
6089
  internal?: "restaurant" | "warehouse" | null | undefined;
5387
6090
  contactName?: string | null | undefined;
@@ -5411,6 +6114,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
5411
6114
  unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
5412
6115
  value: number;
5413
6116
  } | null | undefined;
6117
+ businessName?: string | null | undefined;
5414
6118
  _id: string;
5415
6119
  name: string;
5416
6120
  address: {
@@ -5669,10 +6373,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
5669
6373
  adjusmentIds?: string[] | null | undefined;
5670
6374
  _id: string;
5671
6375
  from: {
6376
+ businessId?: string | null | undefined;
5672
6377
  name: string;
5673
6378
  dbName: string;
5674
6379
  };
5675
6380
  to: {
6381
+ businessId?: string | null | undefined;
5676
6382
  name: string;
5677
6383
  dbName: string;
5678
6384
  };