@feedmepos/mf-inventory-portal 1.7.0 → 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.
- package/dist/{App-mfv976r3.js → App-B_ja37tB.js} +5 -5
- package/dist/ApprovalView-_wG6KeZl.js +249 -0
- package/dist/{BindingsDialog-DnWLIslN.js → BindingsDialog-0IRWCLTc.js} +2 -2
- package/dist/{BindingsPicker-BOPzfVXq.js → BindingsPicker-DCISa6Fx.js} +2 -2
- package/dist/{BindingsTable-Cky7o_NG.js → BindingsTable-B3CmHp97.js} +3 -3
- package/dist/BulkReceiveRequestView-Dmqm65c9.js +2025 -0
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-dRYFLJVj.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-D4Nd89xp.js} +1 -1
- package/dist/{ClosingDraftView-BsREbRBA.js → ClosingDraftView-DDWU93p0.js} +21 -21
- package/dist/{ClosingHistoryView-J8XyfB2_.js → ClosingHistoryView-KdmhszIO.js} +7 -7
- package/dist/ClosingTemplateView-CQRujMB9.js +2346 -0
- package/dist/ConnectedBusinessView-Cu2QnRN9.js +533 -0
- package/dist/{DefaultView-BqtI-DBZ.js → DefaultView-QAEDG6pS.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-Bo4KtO5Q.js → DeliveryOrderPrintPreview-B08SSOCX.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-hBB0AHTL.js → EmailDialog.vue_vue_type_script_setup_true_lang-DdzV_fzq.js} +13245 -13063
- package/dist/{FmAdminBadge-DlplQOHb.js → FmAdminBadge-DH_2w13D.js} +8 -8
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BDni_x3F.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CmH3uhTZ.js} +1 -1
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Dzqh8pM9.js +84 -0
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Bu-ccw4K.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Df-yCfRe.js} +4 -4
- package/dist/{FmMultiselectDialog-DMB-1gqC.js → FmMultiselectDialog-DpPyNOpJ.js} +1 -1
- package/dist/{FmMultiselectDialog-B1vR5H5H.js → FmMultiselectDialog-QEs0yct_.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BsjlumX9.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D8-IQUtA.js} +121 -119
- package/dist/{ImportView-xLqTJPKm.js → ImportView-8qlgZSTO.js} +8 -8
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DuxQPayd.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CGWRbAF2.js} +1 -1
- package/dist/{IngredientGroupView-DQjBoKhR.js → IngredientGroupView-BI9SlKfz.js} +6 -6
- package/dist/{IngredientsView-Be4k9xvZ.js → IngredientsView-1naUkKAi.js} +17 -17
- package/dist/{IntegrationExplorerView-Dbcybdvj.js → IntegrationExplorerView-C6kyLz3y.js} +5 -5
- package/dist/{IntegrationView-C5t2Rsq1.js → IntegrationView-DrmxLdlk.js} +15 -15
- package/dist/{InventoryBindingForm-B7RefQSJ.js → InventoryBindingForm-CPNAgZkD.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-lYl5CWxn.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-sz_VtHRr.js} +5 -5
- package/dist/{InventoryBindingSummary-BKF-B5Kf.js → InventoryBindingSummary-Cu98L10w.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DhpB51X8.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-g2PDNQx-.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Dhf-ROKc.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BZEa61go.js} +1 -1
- package/dist/{ProductionView-BAkzsaXt.js → ProductionView-D8dxypqA.js} +8 -8
- package/dist/{PublishView-u1DSi_3y.js → PublishView-C82UwIoz.js} +4 -4
- package/dist/{PurchaseOrderPrintPreview-spvdjRxW.js → PurchaseOrderPrintPreview-CP40tEma.js} +2 -2
- package/dist/ReceiveRequestView-DDo0Pb0J.js +514 -0
- package/dist/{RecipeView-DB_zPDd6.js → RecipeView-DB1DJQp7.js} +18 -18
- package/dist/{SettingsView-DsFxSs0T.js → SettingsView-DsS62lxW.js} +6 -6
- package/dist/{SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js → SingleColumnLayout.vue_vue_type_script_setup_true_lang-DWsPvPE1.js} +1 -1
- package/dist/{StockView-DEkXxk4b.js → StockView-gcf7RCZz.js} +23 -23
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BLWES2jH.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-nXqFCKic.js} +1 -1
- package/dist/{SupplierView-Di8rBh-_.js → SupplierView-BIANlKLE.js} +13 -13
- package/dist/{SurchargeView-s7i5_7XF.js → SurchargeView-kRzaixM5.js} +7 -7
- package/dist/SystemTrailDialog.vue_vue_type_script_setup_true_lang-QMUVuthC.js +211 -0
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-aSnsm9Sw.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BceIOuBq.js} +2 -2
- package/dist/TransferDetailsV3.vue_vue_type_script_setup_true_lang-DYAzxoHE.js +5991 -0
- package/dist/{TransferTemplateView-C94eigII.js → TransferTemplateView-Bq68Vh7t.js} +21 -21
- package/dist/{UnitCostHistoryView-DTPzSJrM.js → UnitCostHistoryView-d0oLssyZ.js} +6 -6
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-B3NPv8Eb.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CLOotG6K.js} +4 -4
- package/dist/{UnitView-DdGUw_tx.js → UnitView-BHfm2IE4.js} +8 -8
- package/dist/{WarehouseView-BQxSYVvF.js → WarehouseView-CorSYwm6.js} +6 -6
- package/dist/{WastageTemplateView-Bjc1PUko.js → WastageTemplateView-CtYZwiRW.js} +15 -15
- package/dist/api/connected-business-mapping.d.ts +25 -0
- package/dist/api/purchase-order.d.ts +35 -1
- package/dist/{app-Ci7Aaea6.js → app-37NZKFUI.js} +5557 -5192
- package/dist/app.d.ts +88 -0
- package/dist/app.js +1 -1
- package/dist/{closing-template-Chy8WrlR.js → closing-template-C0dl45x2.js} +1 -1
- package/dist/components/FmFilterableMenuOptions.vue.d.ts +11 -2
- package/dist/connected-business-mapping-ywgqqyMr.js +37 -0
- package/dist/{date2-Bidui0P3.js → date2-r4KgBCs9.js} +1 -1
- package/dist/{dayjs.min-CFgtzCV7.js → dayjs.min-BKUldDi9.js} +1 -1
- package/dist/{decimal-C9gpKKZI.js → decimal-Cgmw6HIY.js} +2 -2
- package/dist/{defineDeepModel-jLHm8HR1.js → defineDeepModel-DXLwZWst.js} +1 -1
- package/dist/{duplicate-template-D9TiIFbd.js → duplicate-template-DDA4QWPl.js} +1 -1
- package/dist/feature-B4BoCy_k.js +1548 -0
- package/dist/{format-time-from-id-Dw-n4jjX.js → format-time-from-id-Dhjn5QgH.js} +1 -1
- package/dist/{format-unit-display-C8RuVRS1.js → format-unit-display-g95-VuYJ.js} +12 -12
- package/dist/{import-export.helper-CuhpmMlh.js → import-export.helper-DsZFPPqj.js} +6 -6
- package/dist/{index-CsDKvy88.js → index-B9WjF3Ox.js} +1 -1
- package/dist/{index-BvJJtxfs.js → index-C207KsUh.js} +3 -3
- package/dist/{index-BbLw-k2u.js → index-D3Bmmx66.js} +1 -1
- package/dist/{inventory-core-dart.default-l09rPSab.js → inventory-core-dart.default-NpD15h63.js} +7104 -5555
- package/dist/{jszip.min-Q-x0ALLG.js → jszip.min-B52cHzHI.js} +129 -129
- package/dist/{lz-string-BeXPK_xO.js → lz-string-CItFpr5-.js} +1 -1
- package/dist/{netsuite-BTb2NFU5.js → netsuite-R_NkLn5t.js} +2 -2
- package/dist/{number-Zlh6TxmH.js → number-BkC_lelq.js} +3 -3
- package/dist/{predefined-templates-CXh7OWR3.js → predefined-templates-CVT54o4V.js} +1 -1
- package/dist/{purchase-order-template-Dvr65U29.js → purchase-order-template-DvqAncB2.js} +1 -1
- package/dist/{recalculationUtils-BkF7XUdf.js → recalculationUtils-Cak1mo4o.js} +1 -1
- package/dist/router/name.d.ts +1 -0
- package/dist/{rules-FAZ-EkdF.js → rules--cnFg-PI.js} +2 -2
- package/dist/{stock-BEJdUeLP.js → stock-BLYAJxMj.js} +1 -1
- package/dist/{stock-CGowMSCF.js → stock-DvquSog3.js} +3 -3
- package/dist/stores/feature.d.ts +2 -0
- package/dist/style.css +1 -1
- package/dist/{supplier-JOAqqBkF.js → supplier-C5X8p_vd.js} +2 -2
- package/dist/{surcharge-gdAEvtj9.js → surcharge-CLkpleoW.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-By1vxOaF.js → uom-rules-CykFo_pB.js} +1 -1
- package/dist/{use-ingredient-select-dialog-B-bFjj3N.js → use-ingredient-select-dialog-DlxWMkAI.js} +2 -2
- package/dist/{use-inventory-binding-dialog-o-pedZ68.js → use-inventory-binding-dialog-DnWDyziu.js} +2 -2
- package/dist/{use-template-enabled-locations-5H3RhSuH.js → use-template-enabled-locations-SRgcWLO4.js} +2 -2
- package/dist/{use-transfer-locations-o51Ss7cr.js → use-transfer-locations-D4f4Ib1r.js} +2 -2
- package/dist/{useHrmPermission-DzihMP-i.js → useHrmPermission-lAc6ZHVZ.js} +1 -1
- package/dist/{useNavigationMenu-B_d4hWSX.js → useNavigationMenu-CeN7TEwe.js} +59 -49
- package/dist/{useSseClient-Cd0it8zJ.js → useSseClient-C6ndlLpA.js} +1 -1
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-search.d.ts +6 -0
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-search.spec.d.ts +1 -0
- package/dist/views/connected-business/ConnectedBusinessMappingPanel.vue.d.ts +25 -0
- package/dist/views/connected-business/ConnectedBusinessView.vue.d.ts +2 -0
- package/dist/views/receive-request/components/CreateTransferChoice.vue.d.ts +27 -0
- package/dist/views/receive-request/components/transfer-details/TransferDetailsV3.vue.d.ts +18 -0
- package/dist/views/receive-request/components/transfer-dialog/TransferDialogProps.d.ts +1 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +102 -2
- package/dist/views/receive-request/composables/fn.d.ts +2 -1
- package/dist/views/receive-request/composables/fn.spec.d.ts +1 -0
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +119 -3
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +642 -13
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +720 -14
- package/dist/views/receive-request/helper/po-version.d.ts +6 -0
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +524 -10
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +102 -2
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +4 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +8 -0
- package/dist/views/transfer-template/composables/use-template-item-bulk-editor.d.ts +12 -0
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +24 -0
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +24 -0
- package/dist/{vue-i18n-CsIY6eJ6.js → vue-i18n-DDqVG60p.js} +479 -479
- package/dist/{xlsx.util-CuxvUzGN.js → xlsx.util-BzQcPwvM.js} +2 -2
- package/package.json +4 -4
- package/dist/ApprovalView-B3nQokUv.js +0 -242
- package/dist/BulkReceiveRequestView-CyFXAM_t.js +0 -2011
- package/dist/ClosingTemplateView-CkiPhzJ8.js +0 -2270
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BkEFIDXV.js +0 -76
- package/dist/ReceiveRequestView-TfjSKJ7q.js +0 -345
- package/dist/SystemTrailDialog.vue_vue_type_script_setup_true_lang-18j2ZpX-.js +0 -178
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CpUyhO4Q.js +0 -4660
- package/dist/feature-HqzShic7.js +0 -1136
|
@@ -19,7 +19,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
19
19
|
selectedLocationDbNames: import("vue").Ref<string[], string[]>;
|
|
20
20
|
purchaseOrders: import("vue").Ref<{
|
|
21
21
|
_rev: string;
|
|
22
|
-
version?: "1" | "2" | null | undefined;
|
|
22
|
+
version?: "1" | "2" | "3" | null | undefined;
|
|
23
23
|
ref?: string | null | undefined;
|
|
24
24
|
template?: string | null | undefined;
|
|
25
25
|
remark?: string | null | undefined;
|
|
@@ -125,6 +125,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
125
125
|
ref?: string | null | undefined;
|
|
126
126
|
remark?: string | null | undefined;
|
|
127
127
|
supplier: {
|
|
128
|
+
businessId?: string | null | undefined;
|
|
128
129
|
_rev?: string | null | undefined;
|
|
129
130
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
130
131
|
contactName?: string | null | undefined;
|
|
@@ -154,6 +155,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
154
155
|
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
155
156
|
value: number;
|
|
156
157
|
} | null | undefined;
|
|
158
|
+
businessName?: string | null | undefined;
|
|
157
159
|
_id: string;
|
|
158
160
|
name: string;
|
|
159
161
|
address: {
|
|
@@ -419,6 +421,14 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
419
421
|
recordType?: string | null | undefined;
|
|
420
422
|
id: string | null;
|
|
421
423
|
} | null | undefined;
|
|
424
|
+
connectedBusinessItems?: {
|
|
425
|
+
skuId: string;
|
|
426
|
+
quantity: {
|
|
427
|
+
amount: number;
|
|
428
|
+
precision: number;
|
|
429
|
+
};
|
|
430
|
+
uomId: string;
|
|
431
|
+
}[] | null | undefined;
|
|
422
432
|
shipmentId?: string[] | null | undefined;
|
|
423
433
|
id: string;
|
|
424
434
|
createdAt: string;
|
|
@@ -517,9 +527,97 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
517
527
|
};
|
|
518
528
|
}[];
|
|
519
529
|
}[] | null | undefined;
|
|
530
|
+
connectedBusinessRef?: {
|
|
531
|
+
businessName?: string | null | undefined;
|
|
532
|
+
targetBusinessName?: string | null | undefined;
|
|
533
|
+
skus: {
|
|
534
|
+
trackingMeasurement?: string | null | undefined;
|
|
535
|
+
isInactive?: boolean | null | undefined;
|
|
536
|
+
convert?: {
|
|
537
|
+
measurement?: string | null | undefined;
|
|
538
|
+
inventoryBindings?: {
|
|
539
|
+
measurement?: {
|
|
540
|
+
name: string;
|
|
541
|
+
id: string;
|
|
542
|
+
abbrev: string;
|
|
543
|
+
conversion: {
|
|
544
|
+
amount: number;
|
|
545
|
+
precision: number;
|
|
546
|
+
};
|
|
547
|
+
} | null | undefined;
|
|
548
|
+
rules?: Record<string, any> | null | undefined;
|
|
549
|
+
alternatives?: {
|
|
550
|
+
default?: boolean | null | undefined;
|
|
551
|
+
trackingMeasurement?: string | null | undefined;
|
|
552
|
+
priority?: number | null | undefined;
|
|
553
|
+
_id: string;
|
|
554
|
+
}[] | null | undefined;
|
|
555
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
556
|
+
amount: {
|
|
557
|
+
amount: number;
|
|
558
|
+
precision: number;
|
|
559
|
+
};
|
|
560
|
+
id: string;
|
|
561
|
+
}[] | null | undefined;
|
|
562
|
+
} | null | undefined;
|
|
563
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
564
|
+
defaultCost?: {
|
|
565
|
+
measurement?: {
|
|
566
|
+
name: string;
|
|
567
|
+
id: string;
|
|
568
|
+
abbrev: string;
|
|
569
|
+
conversion: {
|
|
570
|
+
amount: number;
|
|
571
|
+
precision: number;
|
|
572
|
+
};
|
|
573
|
+
} | null | undefined;
|
|
574
|
+
costPerUnit: {
|
|
575
|
+
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";
|
|
576
|
+
amount: number;
|
|
577
|
+
precision: number;
|
|
578
|
+
};
|
|
579
|
+
} | null | undefined;
|
|
580
|
+
operationalGroup?: string | null | undefined;
|
|
581
|
+
thresholds?: {
|
|
582
|
+
low: number;
|
|
583
|
+
mid: number;
|
|
584
|
+
} | null | undefined;
|
|
585
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
586
|
+
unit: {
|
|
587
|
+
_id: string;
|
|
588
|
+
name: string;
|
|
589
|
+
abbrev: string;
|
|
590
|
+
precision: number;
|
|
591
|
+
measurements: {
|
|
592
|
+
name: string;
|
|
593
|
+
id: string;
|
|
594
|
+
abbrev: string;
|
|
595
|
+
conversion: {
|
|
596
|
+
amount: number;
|
|
597
|
+
precision: number;
|
|
598
|
+
};
|
|
599
|
+
}[];
|
|
600
|
+
};
|
|
601
|
+
code: string;
|
|
602
|
+
_id: string;
|
|
603
|
+
name: string;
|
|
604
|
+
}[];
|
|
605
|
+
pairs: {
|
|
606
|
+
skuId: string;
|
|
607
|
+
quantity: {
|
|
608
|
+
amount: number;
|
|
609
|
+
precision: number;
|
|
610
|
+
};
|
|
611
|
+
externalSkuId: string;
|
|
612
|
+
externalQuantity: {
|
|
613
|
+
amount: number;
|
|
614
|
+
precision: number;
|
|
615
|
+
};
|
|
616
|
+
}[];
|
|
617
|
+
} | null | undefined;
|
|
520
618
|
actionChangelogs?: {
|
|
521
619
|
remarks?: string | null | undefined;
|
|
522
|
-
action: "
|
|
620
|
+
action: "submitRequest" | "confirmDraft" | "cancelDraft" | "approveDraft" | "rejectDraft" | "approveRequest" | "rejectRequest" | "processRequest" | "receiveStock" | "returnStock" | "completeReceive" | "closeRequest";
|
|
523
621
|
changedBy: {
|
|
524
622
|
name: string;
|
|
525
623
|
id: string;
|
|
@@ -528,6 +626,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
528
626
|
}[] | null | undefined;
|
|
529
627
|
shipmentIds?: string[] | null | undefined;
|
|
530
628
|
supplier: {
|
|
629
|
+
businessId?: string | null | undefined;
|
|
531
630
|
_rev?: string | null | undefined;
|
|
532
631
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
533
632
|
contactName?: string | null | undefined;
|
|
@@ -557,6 +656,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
557
656
|
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
558
657
|
value: number;
|
|
559
658
|
} | null | undefined;
|
|
659
|
+
businessName?: string | null | undefined;
|
|
560
660
|
_id: string;
|
|
561
661
|
name: string;
|
|
562
662
|
address: {
|
|
@@ -793,7 +893,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
793
893
|
_locationDbName: string;
|
|
794
894
|
}[], BulkPoWithLocation[] | {
|
|
795
895
|
_rev: string;
|
|
796
|
-
version?: "1" | "2" | null | undefined;
|
|
896
|
+
version?: "1" | "2" | "3" | null | undefined;
|
|
797
897
|
ref?: string | null | undefined;
|
|
798
898
|
template?: string | null | undefined;
|
|
799
899
|
remark?: string | null | undefined;
|
|
@@ -899,6 +999,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
899
999
|
ref?: string | null | undefined;
|
|
900
1000
|
remark?: string | null | undefined;
|
|
901
1001
|
supplier: {
|
|
1002
|
+
businessId?: string | null | undefined;
|
|
902
1003
|
_rev?: string | null | undefined;
|
|
903
1004
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
904
1005
|
contactName?: string | null | undefined;
|
|
@@ -928,6 +1029,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
928
1029
|
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
929
1030
|
value: number;
|
|
930
1031
|
} | null | undefined;
|
|
1032
|
+
businessName?: string | null | undefined;
|
|
931
1033
|
_id: string;
|
|
932
1034
|
name: string;
|
|
933
1035
|
address: {
|
|
@@ -1193,6 +1295,14 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
1193
1295
|
recordType?: string | null | undefined;
|
|
1194
1296
|
id: string | null;
|
|
1195
1297
|
} | null | undefined;
|
|
1298
|
+
connectedBusinessItems?: {
|
|
1299
|
+
skuId: string;
|
|
1300
|
+
quantity: {
|
|
1301
|
+
amount: number;
|
|
1302
|
+
precision: number;
|
|
1303
|
+
};
|
|
1304
|
+
uomId: string;
|
|
1305
|
+
}[] | null | undefined;
|
|
1196
1306
|
shipmentId?: string[] | null | undefined;
|
|
1197
1307
|
id: string;
|
|
1198
1308
|
createdAt: string;
|
|
@@ -1291,9 +1401,97 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
1291
1401
|
};
|
|
1292
1402
|
}[];
|
|
1293
1403
|
}[] | null | undefined;
|
|
1404
|
+
connectedBusinessRef?: {
|
|
1405
|
+
businessName?: string | null | undefined;
|
|
1406
|
+
targetBusinessName?: string | null | undefined;
|
|
1407
|
+
skus: {
|
|
1408
|
+
trackingMeasurement?: string | null | undefined;
|
|
1409
|
+
isInactive?: boolean | null | undefined;
|
|
1410
|
+
convert?: {
|
|
1411
|
+
measurement?: string | null | undefined;
|
|
1412
|
+
inventoryBindings?: {
|
|
1413
|
+
measurement?: {
|
|
1414
|
+
name: string;
|
|
1415
|
+
id: string;
|
|
1416
|
+
abbrev: string;
|
|
1417
|
+
conversion: {
|
|
1418
|
+
amount: number;
|
|
1419
|
+
precision: number;
|
|
1420
|
+
};
|
|
1421
|
+
} | null | undefined;
|
|
1422
|
+
rules?: Record<string, any> | null | undefined;
|
|
1423
|
+
alternatives?: {
|
|
1424
|
+
default?: boolean | null | undefined;
|
|
1425
|
+
trackingMeasurement?: string | null | undefined;
|
|
1426
|
+
priority?: number | null | undefined;
|
|
1427
|
+
_id: string;
|
|
1428
|
+
}[] | null | undefined;
|
|
1429
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1430
|
+
amount: {
|
|
1431
|
+
amount: number;
|
|
1432
|
+
precision: number;
|
|
1433
|
+
};
|
|
1434
|
+
id: string;
|
|
1435
|
+
}[] | null | undefined;
|
|
1436
|
+
} | null | undefined;
|
|
1437
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1438
|
+
defaultCost?: {
|
|
1439
|
+
measurement?: {
|
|
1440
|
+
name: string;
|
|
1441
|
+
id: string;
|
|
1442
|
+
abbrev: string;
|
|
1443
|
+
conversion: {
|
|
1444
|
+
amount: number;
|
|
1445
|
+
precision: number;
|
|
1446
|
+
};
|
|
1447
|
+
} | null | undefined;
|
|
1448
|
+
costPerUnit: {
|
|
1449
|
+
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";
|
|
1450
|
+
amount: number;
|
|
1451
|
+
precision: number;
|
|
1452
|
+
};
|
|
1453
|
+
} | null | undefined;
|
|
1454
|
+
operationalGroup?: string | null | undefined;
|
|
1455
|
+
thresholds?: {
|
|
1456
|
+
low: number;
|
|
1457
|
+
mid: number;
|
|
1458
|
+
} | null | undefined;
|
|
1459
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
1460
|
+
unit: {
|
|
1461
|
+
_id: string;
|
|
1462
|
+
name: string;
|
|
1463
|
+
abbrev: string;
|
|
1464
|
+
precision: number;
|
|
1465
|
+
measurements: {
|
|
1466
|
+
name: string;
|
|
1467
|
+
id: string;
|
|
1468
|
+
abbrev: string;
|
|
1469
|
+
conversion: {
|
|
1470
|
+
amount: number;
|
|
1471
|
+
precision: number;
|
|
1472
|
+
};
|
|
1473
|
+
}[];
|
|
1474
|
+
};
|
|
1475
|
+
code: string;
|
|
1476
|
+
_id: string;
|
|
1477
|
+
name: string;
|
|
1478
|
+
}[];
|
|
1479
|
+
pairs: {
|
|
1480
|
+
skuId: string;
|
|
1481
|
+
quantity: {
|
|
1482
|
+
amount: number;
|
|
1483
|
+
precision: number;
|
|
1484
|
+
};
|
|
1485
|
+
externalSkuId: string;
|
|
1486
|
+
externalQuantity: {
|
|
1487
|
+
amount: number;
|
|
1488
|
+
precision: number;
|
|
1489
|
+
};
|
|
1490
|
+
}[];
|
|
1491
|
+
} | null | undefined;
|
|
1294
1492
|
actionChangelogs?: {
|
|
1295
1493
|
remarks?: string | null | undefined;
|
|
1296
|
-
action: "
|
|
1494
|
+
action: "submitRequest" | "confirmDraft" | "cancelDraft" | "approveDraft" | "rejectDraft" | "approveRequest" | "rejectRequest" | "processRequest" | "receiveStock" | "returnStock" | "completeReceive" | "closeRequest";
|
|
1297
1495
|
changedBy: {
|
|
1298
1496
|
name: string;
|
|
1299
1497
|
id: string;
|
|
@@ -1302,6 +1500,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
1302
1500
|
}[] | null | undefined;
|
|
1303
1501
|
shipmentIds?: string[] | null | undefined;
|
|
1304
1502
|
supplier: {
|
|
1503
|
+
businessId?: string | null | undefined;
|
|
1305
1504
|
_rev?: string | null | undefined;
|
|
1306
1505
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
1307
1506
|
contactName?: string | null | undefined;
|
|
@@ -1331,6 +1530,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
1331
1530
|
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
1332
1531
|
value: number;
|
|
1333
1532
|
} | null | undefined;
|
|
1533
|
+
businessName?: string | null | undefined;
|
|
1334
1534
|
_id: string;
|
|
1335
1535
|
name: string;
|
|
1336
1536
|
address: {
|
|
@@ -1603,7 +1803,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
1603
1803
|
purchaseRequests: import("vue").Ref<{
|
|
1604
1804
|
purchaseOrder?: {
|
|
1605
1805
|
_rev?: string | null | undefined;
|
|
1606
|
-
version?: "1" | "2" | null | undefined;
|
|
1806
|
+
version?: "1" | "2" | "3" | null | undefined;
|
|
1607
1807
|
ref?: string | null | undefined;
|
|
1608
1808
|
template?: string | null | undefined;
|
|
1609
1809
|
remark?: string | null | undefined;
|
|
@@ -1709,6 +1909,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
1709
1909
|
ref?: string | null | undefined;
|
|
1710
1910
|
remark?: string | null | undefined;
|
|
1711
1911
|
supplier: {
|
|
1912
|
+
businessId?: string | null | undefined;
|
|
1712
1913
|
_rev?: string | null | undefined;
|
|
1713
1914
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
1714
1915
|
contactName?: string | null | undefined;
|
|
@@ -1738,6 +1939,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
1738
1939
|
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
1739
1940
|
value: number;
|
|
1740
1941
|
} | null | undefined;
|
|
1942
|
+
businessName?: string | null | undefined;
|
|
1741
1943
|
_id: string;
|
|
1742
1944
|
name: string;
|
|
1743
1945
|
address: {
|
|
@@ -2003,6 +2205,14 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
2003
2205
|
recordType?: string | null | undefined;
|
|
2004
2206
|
id: string | null;
|
|
2005
2207
|
} | null | undefined;
|
|
2208
|
+
connectedBusinessItems?: {
|
|
2209
|
+
skuId: string;
|
|
2210
|
+
quantity: {
|
|
2211
|
+
amount: number;
|
|
2212
|
+
precision: number;
|
|
2213
|
+
};
|
|
2214
|
+
uomId: string;
|
|
2215
|
+
}[] | null | undefined;
|
|
2006
2216
|
shipmentId?: string[] | null | undefined;
|
|
2007
2217
|
id: string;
|
|
2008
2218
|
createdAt: string;
|
|
@@ -2101,9 +2311,97 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
2101
2311
|
};
|
|
2102
2312
|
}[];
|
|
2103
2313
|
}[] | null | undefined;
|
|
2314
|
+
connectedBusinessRef?: {
|
|
2315
|
+
businessName?: string | null | undefined;
|
|
2316
|
+
targetBusinessName?: string | null | undefined;
|
|
2317
|
+
skus: {
|
|
2318
|
+
trackingMeasurement?: string | null | undefined;
|
|
2319
|
+
isInactive?: boolean | null | undefined;
|
|
2320
|
+
convert?: {
|
|
2321
|
+
measurement?: string | null | undefined;
|
|
2322
|
+
inventoryBindings?: {
|
|
2323
|
+
measurement?: {
|
|
2324
|
+
name: string;
|
|
2325
|
+
id: string;
|
|
2326
|
+
abbrev: string;
|
|
2327
|
+
conversion: {
|
|
2328
|
+
amount: number;
|
|
2329
|
+
precision: number;
|
|
2330
|
+
};
|
|
2331
|
+
} | null | undefined;
|
|
2332
|
+
rules?: Record<string, any> | null | undefined;
|
|
2333
|
+
alternatives?: {
|
|
2334
|
+
default?: boolean | null | undefined;
|
|
2335
|
+
trackingMeasurement?: string | null | undefined;
|
|
2336
|
+
priority?: number | null | undefined;
|
|
2337
|
+
_id: string;
|
|
2338
|
+
}[] | null | undefined;
|
|
2339
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2340
|
+
amount: {
|
|
2341
|
+
amount: number;
|
|
2342
|
+
precision: number;
|
|
2343
|
+
};
|
|
2344
|
+
id: string;
|
|
2345
|
+
}[] | null | undefined;
|
|
2346
|
+
} | null | undefined;
|
|
2347
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
2348
|
+
defaultCost?: {
|
|
2349
|
+
measurement?: {
|
|
2350
|
+
name: string;
|
|
2351
|
+
id: string;
|
|
2352
|
+
abbrev: string;
|
|
2353
|
+
conversion: {
|
|
2354
|
+
amount: number;
|
|
2355
|
+
precision: number;
|
|
2356
|
+
};
|
|
2357
|
+
} | null | undefined;
|
|
2358
|
+
costPerUnit: {
|
|
2359
|
+
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";
|
|
2360
|
+
amount: number;
|
|
2361
|
+
precision: number;
|
|
2362
|
+
};
|
|
2363
|
+
} | null | undefined;
|
|
2364
|
+
operationalGroup?: string | null | undefined;
|
|
2365
|
+
thresholds?: {
|
|
2366
|
+
low: number;
|
|
2367
|
+
mid: number;
|
|
2368
|
+
} | null | undefined;
|
|
2369
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2370
|
+
unit: {
|
|
2371
|
+
_id: string;
|
|
2372
|
+
name: string;
|
|
2373
|
+
abbrev: string;
|
|
2374
|
+
precision: number;
|
|
2375
|
+
measurements: {
|
|
2376
|
+
name: string;
|
|
2377
|
+
id: string;
|
|
2378
|
+
abbrev: string;
|
|
2379
|
+
conversion: {
|
|
2380
|
+
amount: number;
|
|
2381
|
+
precision: number;
|
|
2382
|
+
};
|
|
2383
|
+
}[];
|
|
2384
|
+
};
|
|
2385
|
+
code: string;
|
|
2386
|
+
_id: string;
|
|
2387
|
+
name: string;
|
|
2388
|
+
}[];
|
|
2389
|
+
pairs: {
|
|
2390
|
+
skuId: string;
|
|
2391
|
+
quantity: {
|
|
2392
|
+
amount: number;
|
|
2393
|
+
precision: number;
|
|
2394
|
+
};
|
|
2395
|
+
externalSkuId: string;
|
|
2396
|
+
externalQuantity: {
|
|
2397
|
+
amount: number;
|
|
2398
|
+
precision: number;
|
|
2399
|
+
};
|
|
2400
|
+
}[];
|
|
2401
|
+
} | null | undefined;
|
|
2104
2402
|
actionChangelogs?: {
|
|
2105
2403
|
remarks?: string | null | undefined;
|
|
2106
|
-
action: "
|
|
2404
|
+
action: "submitRequest" | "confirmDraft" | "cancelDraft" | "approveDraft" | "rejectDraft" | "approveRequest" | "rejectRequest" | "processRequest" | "receiveStock" | "returnStock" | "completeReceive" | "closeRequest";
|
|
2107
2405
|
changedBy: {
|
|
2108
2406
|
name: string;
|
|
2109
2407
|
id: string;
|
|
@@ -2112,6 +2410,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
2112
2410
|
}[] | null | undefined;
|
|
2113
2411
|
shipmentIds?: string[] | null | undefined;
|
|
2114
2412
|
supplier: {
|
|
2413
|
+
businessId?: string | null | undefined;
|
|
2115
2414
|
_rev?: string | null | undefined;
|
|
2116
2415
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
2117
2416
|
contactName?: string | null | undefined;
|
|
@@ -2141,6 +2440,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
2141
2440
|
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
2142
2441
|
value: number;
|
|
2143
2442
|
} | null | undefined;
|
|
2443
|
+
businessName?: string | null | undefined;
|
|
2144
2444
|
_id: string;
|
|
2145
2445
|
name: string;
|
|
2146
2446
|
address: {
|
|
@@ -2399,10 +2699,12 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
2399
2699
|
adjusmentIds?: string[] | null | undefined;
|
|
2400
2700
|
_id: string;
|
|
2401
2701
|
from: {
|
|
2702
|
+
businessId?: string | null | undefined;
|
|
2402
2703
|
name: string;
|
|
2403
2704
|
dbName: string;
|
|
2404
2705
|
};
|
|
2405
2706
|
to: {
|
|
2707
|
+
businessId?: string | null | undefined;
|
|
2406
2708
|
name: string;
|
|
2407
2709
|
dbName: string;
|
|
2408
2710
|
};
|
|
@@ -2500,10 +2802,14 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
2500
2802
|
};
|
|
2501
2803
|
};
|
|
2502
2804
|
};
|
|
2805
|
+
receiveStatus?: {
|
|
2806
|
+
partial: boolean;
|
|
2807
|
+
over: boolean;
|
|
2808
|
+
} | undefined;
|
|
2503
2809
|
}[], ({
|
|
2504
2810
|
purchaseOrder?: {
|
|
2505
2811
|
_rev?: string | null | undefined;
|
|
2506
|
-
version?: "1" | "2" | null | undefined;
|
|
2812
|
+
version?: "1" | "2" | "3" | null | undefined;
|
|
2507
2813
|
ref?: string | null | undefined;
|
|
2508
2814
|
template?: string | null | undefined;
|
|
2509
2815
|
remark?: string | null | undefined;
|
|
@@ -2609,6 +2915,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
2609
2915
|
ref?: string | null | undefined;
|
|
2610
2916
|
remark?: string | null | undefined;
|
|
2611
2917
|
supplier: {
|
|
2918
|
+
businessId?: string | null | undefined;
|
|
2612
2919
|
_rev?: string | null | undefined;
|
|
2613
2920
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
2614
2921
|
contactName?: string | null | undefined;
|
|
@@ -2638,6 +2945,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
2638
2945
|
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
2639
2946
|
value: number;
|
|
2640
2947
|
} | null | undefined;
|
|
2948
|
+
businessName?: string | null | undefined;
|
|
2641
2949
|
_id: string;
|
|
2642
2950
|
name: string;
|
|
2643
2951
|
address: {
|
|
@@ -2903,6 +3211,14 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
2903
3211
|
recordType?: string | null | undefined;
|
|
2904
3212
|
id: string | null;
|
|
2905
3213
|
} | null | undefined;
|
|
3214
|
+
connectedBusinessItems?: {
|
|
3215
|
+
skuId: string;
|
|
3216
|
+
quantity: {
|
|
3217
|
+
amount: number;
|
|
3218
|
+
precision: number;
|
|
3219
|
+
};
|
|
3220
|
+
uomId: string;
|
|
3221
|
+
}[] | null | undefined;
|
|
2906
3222
|
shipmentId?: string[] | null | undefined;
|
|
2907
3223
|
id: string;
|
|
2908
3224
|
createdAt: string;
|
|
@@ -3001,9 +3317,97 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
3001
3317
|
};
|
|
3002
3318
|
}[];
|
|
3003
3319
|
}[] | null | undefined;
|
|
3320
|
+
connectedBusinessRef?: {
|
|
3321
|
+
businessName?: string | null | undefined;
|
|
3322
|
+
targetBusinessName?: string | null | undefined;
|
|
3323
|
+
skus: {
|
|
3324
|
+
trackingMeasurement?: string | null | undefined;
|
|
3325
|
+
isInactive?: boolean | null | undefined;
|
|
3326
|
+
convert?: {
|
|
3327
|
+
measurement?: string | null | undefined;
|
|
3328
|
+
inventoryBindings?: {
|
|
3329
|
+
measurement?: {
|
|
3330
|
+
name: string;
|
|
3331
|
+
id: string;
|
|
3332
|
+
abbrev: string;
|
|
3333
|
+
conversion: {
|
|
3334
|
+
amount: number;
|
|
3335
|
+
precision: number;
|
|
3336
|
+
};
|
|
3337
|
+
} | null | undefined;
|
|
3338
|
+
rules?: Record<string, any> | null | undefined;
|
|
3339
|
+
alternatives?: {
|
|
3340
|
+
default?: boolean | null | undefined;
|
|
3341
|
+
trackingMeasurement?: string | null | undefined;
|
|
3342
|
+
priority?: number | null | undefined;
|
|
3343
|
+
_id: string;
|
|
3344
|
+
}[] | null | undefined;
|
|
3345
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3346
|
+
amount: {
|
|
3347
|
+
amount: number;
|
|
3348
|
+
precision: number;
|
|
3349
|
+
};
|
|
3350
|
+
id: string;
|
|
3351
|
+
}[] | null | undefined;
|
|
3352
|
+
} | null | undefined;
|
|
3353
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
3354
|
+
defaultCost?: {
|
|
3355
|
+
measurement?: {
|
|
3356
|
+
name: string;
|
|
3357
|
+
id: string;
|
|
3358
|
+
abbrev: string;
|
|
3359
|
+
conversion: {
|
|
3360
|
+
amount: number;
|
|
3361
|
+
precision: number;
|
|
3362
|
+
};
|
|
3363
|
+
} | null | undefined;
|
|
3364
|
+
costPerUnit: {
|
|
3365
|
+
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";
|
|
3366
|
+
amount: number;
|
|
3367
|
+
precision: number;
|
|
3368
|
+
};
|
|
3369
|
+
} | null | undefined;
|
|
3370
|
+
operationalGroup?: string | null | undefined;
|
|
3371
|
+
thresholds?: {
|
|
3372
|
+
low: number;
|
|
3373
|
+
mid: number;
|
|
3374
|
+
} | null | undefined;
|
|
3375
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
3376
|
+
unit: {
|
|
3377
|
+
_id: string;
|
|
3378
|
+
name: string;
|
|
3379
|
+
abbrev: string;
|
|
3380
|
+
precision: number;
|
|
3381
|
+
measurements: {
|
|
3382
|
+
name: string;
|
|
3383
|
+
id: string;
|
|
3384
|
+
abbrev: string;
|
|
3385
|
+
conversion: {
|
|
3386
|
+
amount: number;
|
|
3387
|
+
precision: number;
|
|
3388
|
+
};
|
|
3389
|
+
}[];
|
|
3390
|
+
};
|
|
3391
|
+
code: string;
|
|
3392
|
+
_id: string;
|
|
3393
|
+
name: string;
|
|
3394
|
+
}[];
|
|
3395
|
+
pairs: {
|
|
3396
|
+
skuId: string;
|
|
3397
|
+
quantity: {
|
|
3398
|
+
amount: number;
|
|
3399
|
+
precision: number;
|
|
3400
|
+
};
|
|
3401
|
+
externalSkuId: string;
|
|
3402
|
+
externalQuantity: {
|
|
3403
|
+
amount: number;
|
|
3404
|
+
precision: number;
|
|
3405
|
+
};
|
|
3406
|
+
}[];
|
|
3407
|
+
} | null | undefined;
|
|
3004
3408
|
actionChangelogs?: {
|
|
3005
3409
|
remarks?: string | null | undefined;
|
|
3006
|
-
action: "
|
|
3410
|
+
action: "submitRequest" | "confirmDraft" | "cancelDraft" | "approveDraft" | "rejectDraft" | "approveRequest" | "rejectRequest" | "processRequest" | "receiveStock" | "returnStock" | "completeReceive" | "closeRequest";
|
|
3007
3411
|
changedBy: {
|
|
3008
3412
|
name: string;
|
|
3009
3413
|
id: string;
|
|
@@ -3012,6 +3416,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
3012
3416
|
}[] | null | undefined;
|
|
3013
3417
|
shipmentIds?: string[] | null | undefined;
|
|
3014
3418
|
supplier: {
|
|
3419
|
+
businessId?: string | null | undefined;
|
|
3015
3420
|
_rev?: string | null | undefined;
|
|
3016
3421
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
3017
3422
|
contactName?: string | null | undefined;
|
|
@@ -3041,6 +3446,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
3041
3446
|
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
3042
3447
|
value: number;
|
|
3043
3448
|
} | null | undefined;
|
|
3449
|
+
businessName?: string | null | undefined;
|
|
3044
3450
|
_id: string;
|
|
3045
3451
|
name: string;
|
|
3046
3452
|
address: {
|
|
@@ -3299,10 +3705,12 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
3299
3705
|
adjusmentIds?: string[] | null | undefined;
|
|
3300
3706
|
_id: string;
|
|
3301
3707
|
from: {
|
|
3708
|
+
businessId?: string | null | undefined;
|
|
3302
3709
|
name: string;
|
|
3303
3710
|
dbName: string;
|
|
3304
3711
|
};
|
|
3305
3712
|
to: {
|
|
3713
|
+
businessId?: string | null | undefined;
|
|
3306
3714
|
name: string;
|
|
3307
3715
|
dbName: string;
|
|
3308
3716
|
};
|
|
@@ -3312,7 +3720,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
3312
3720
|
} & WithToInventoryLocation)[] | {
|
|
3313
3721
|
purchaseOrder?: {
|
|
3314
3722
|
_rev?: string | null | undefined;
|
|
3315
|
-
version?: "1" | "2" | null | undefined;
|
|
3723
|
+
version?: "1" | "2" | "3" | null | undefined;
|
|
3316
3724
|
ref?: string | null | undefined;
|
|
3317
3725
|
template?: string | null | undefined;
|
|
3318
3726
|
remark?: string | null | undefined;
|
|
@@ -3418,6 +3826,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
3418
3826
|
ref?: string | null | undefined;
|
|
3419
3827
|
remark?: string | null | undefined;
|
|
3420
3828
|
supplier: {
|
|
3829
|
+
businessId?: string | null | undefined;
|
|
3421
3830
|
_rev?: string | null | undefined;
|
|
3422
3831
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
3423
3832
|
contactName?: string | null | undefined;
|
|
@@ -3447,6 +3856,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
3447
3856
|
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
3448
3857
|
value: number;
|
|
3449
3858
|
} | null | undefined;
|
|
3859
|
+
businessName?: string | null | undefined;
|
|
3450
3860
|
_id: string;
|
|
3451
3861
|
name: string;
|
|
3452
3862
|
address: {
|
|
@@ -3712,6 +4122,14 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
3712
4122
|
recordType?: string | null | undefined;
|
|
3713
4123
|
id: string | null;
|
|
3714
4124
|
} | null | undefined;
|
|
4125
|
+
connectedBusinessItems?: {
|
|
4126
|
+
skuId: string;
|
|
4127
|
+
quantity: {
|
|
4128
|
+
amount: number;
|
|
4129
|
+
precision: number;
|
|
4130
|
+
};
|
|
4131
|
+
uomId: string;
|
|
4132
|
+
}[] | null | undefined;
|
|
3715
4133
|
shipmentId?: string[] | null | undefined;
|
|
3716
4134
|
id: string;
|
|
3717
4135
|
createdAt: string;
|
|
@@ -3810,9 +4228,97 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
3810
4228
|
};
|
|
3811
4229
|
}[];
|
|
3812
4230
|
}[] | null | undefined;
|
|
4231
|
+
connectedBusinessRef?: {
|
|
4232
|
+
businessName?: string | null | undefined;
|
|
4233
|
+
targetBusinessName?: string | null | undefined;
|
|
4234
|
+
skus: {
|
|
4235
|
+
trackingMeasurement?: string | null | undefined;
|
|
4236
|
+
isInactive?: boolean | null | undefined;
|
|
4237
|
+
convert?: {
|
|
4238
|
+
measurement?: string | null | undefined;
|
|
4239
|
+
inventoryBindings?: {
|
|
4240
|
+
measurement?: {
|
|
4241
|
+
name: string;
|
|
4242
|
+
id: string;
|
|
4243
|
+
abbrev: string;
|
|
4244
|
+
conversion: {
|
|
4245
|
+
amount: number;
|
|
4246
|
+
precision: number;
|
|
4247
|
+
};
|
|
4248
|
+
} | null | undefined;
|
|
4249
|
+
rules?: Record<string, any> | null | undefined;
|
|
4250
|
+
alternatives?: {
|
|
4251
|
+
default?: boolean | null | undefined;
|
|
4252
|
+
trackingMeasurement?: string | null | undefined;
|
|
4253
|
+
priority?: number | null | undefined;
|
|
4254
|
+
_id: string;
|
|
4255
|
+
}[] | null | undefined;
|
|
4256
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
4257
|
+
amount: {
|
|
4258
|
+
amount: number;
|
|
4259
|
+
precision: number;
|
|
4260
|
+
};
|
|
4261
|
+
id: string;
|
|
4262
|
+
}[] | null | undefined;
|
|
4263
|
+
} | null | undefined;
|
|
4264
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
4265
|
+
defaultCost?: {
|
|
4266
|
+
measurement?: {
|
|
4267
|
+
name: string;
|
|
4268
|
+
id: string;
|
|
4269
|
+
abbrev: string;
|
|
4270
|
+
conversion: {
|
|
4271
|
+
amount: number;
|
|
4272
|
+
precision: number;
|
|
4273
|
+
};
|
|
4274
|
+
} | null | undefined;
|
|
4275
|
+
costPerUnit: {
|
|
4276
|
+
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";
|
|
4277
|
+
amount: number;
|
|
4278
|
+
precision: number;
|
|
4279
|
+
};
|
|
4280
|
+
} | null | undefined;
|
|
4281
|
+
operationalGroup?: string | null | undefined;
|
|
4282
|
+
thresholds?: {
|
|
4283
|
+
low: number;
|
|
4284
|
+
mid: number;
|
|
4285
|
+
} | null | undefined;
|
|
4286
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
4287
|
+
unit: {
|
|
4288
|
+
_id: string;
|
|
4289
|
+
name: string;
|
|
4290
|
+
abbrev: string;
|
|
4291
|
+
precision: number;
|
|
4292
|
+
measurements: {
|
|
4293
|
+
name: string;
|
|
4294
|
+
id: string;
|
|
4295
|
+
abbrev: string;
|
|
4296
|
+
conversion: {
|
|
4297
|
+
amount: number;
|
|
4298
|
+
precision: number;
|
|
4299
|
+
};
|
|
4300
|
+
}[];
|
|
4301
|
+
};
|
|
4302
|
+
code: string;
|
|
4303
|
+
_id: string;
|
|
4304
|
+
name: string;
|
|
4305
|
+
}[];
|
|
4306
|
+
pairs: {
|
|
4307
|
+
skuId: string;
|
|
4308
|
+
quantity: {
|
|
4309
|
+
amount: number;
|
|
4310
|
+
precision: number;
|
|
4311
|
+
};
|
|
4312
|
+
externalSkuId: string;
|
|
4313
|
+
externalQuantity: {
|
|
4314
|
+
amount: number;
|
|
4315
|
+
precision: number;
|
|
4316
|
+
};
|
|
4317
|
+
}[];
|
|
4318
|
+
} | null | undefined;
|
|
3813
4319
|
actionChangelogs?: {
|
|
3814
4320
|
remarks?: string | null | undefined;
|
|
3815
|
-
action: "
|
|
4321
|
+
action: "submitRequest" | "confirmDraft" | "cancelDraft" | "approveDraft" | "rejectDraft" | "approveRequest" | "rejectRequest" | "processRequest" | "receiveStock" | "returnStock" | "completeReceive" | "closeRequest";
|
|
3816
4322
|
changedBy: {
|
|
3817
4323
|
name: string;
|
|
3818
4324
|
id: string;
|
|
@@ -3821,6 +4327,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
3821
4327
|
}[] | null | undefined;
|
|
3822
4328
|
shipmentIds?: string[] | null | undefined;
|
|
3823
4329
|
supplier: {
|
|
4330
|
+
businessId?: string | null | undefined;
|
|
3824
4331
|
_rev?: string | null | undefined;
|
|
3825
4332
|
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
3826
4333
|
contactName?: string | null | undefined;
|
|
@@ -3850,6 +4357,7 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
3850
4357
|
unit: "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond";
|
|
3851
4358
|
value: number;
|
|
3852
4359
|
} | null | undefined;
|
|
4360
|
+
businessName?: string | null | undefined;
|
|
3853
4361
|
_id: string;
|
|
3854
4362
|
name: string;
|
|
3855
4363
|
address: {
|
|
@@ -4108,10 +4616,12 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
4108
4616
|
adjusmentIds?: string[] | null | undefined;
|
|
4109
4617
|
_id: string;
|
|
4110
4618
|
from: {
|
|
4619
|
+
businessId?: string | null | undefined;
|
|
4111
4620
|
name: string;
|
|
4112
4621
|
dbName: string;
|
|
4113
4622
|
};
|
|
4114
4623
|
to: {
|
|
4624
|
+
businessId?: string | null | undefined;
|
|
4115
4625
|
name: string;
|
|
4116
4626
|
dbName: string;
|
|
4117
4627
|
};
|
|
@@ -4209,6 +4719,10 @@ export declare function useBulkReceiveRequestForm(initialDateRange?: Partial<Dat
|
|
|
4209
4719
|
};
|
|
4210
4720
|
};
|
|
4211
4721
|
};
|
|
4722
|
+
receiveStatus?: {
|
|
4723
|
+
partial: boolean;
|
|
4724
|
+
over: boolean;
|
|
4725
|
+
} | undefined;
|
|
4212
4726
|
}[]>;
|
|
4213
4727
|
updateDateRange: (startDate: string, endDate: string) => void;
|
|
4214
4728
|
fetchData: () => Promise<void>;
|