@feedmepos/mf-inventory-portal 1.0.8 → 1.0.9-dev.2
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-DeBNx7kq.js → App-DfxhucPn.js} +50 -49
- package/dist/{ApprovalView-CYgDG4X-.js → ApprovalView-BUYgTb8S.js} +24 -24
- package/dist/{BindingsDialog-Bojdsd9h.js → BindingsDialog-Cbs9aVch.js} +2 -2
- package/dist/{BindingsPicker-TkiARkrC.js → BindingsPicker-BH9bil6g.js} +3 -3
- package/dist/{BindingsTable-BWYaPoFt.js → BindingsTable-DBsS_9yb.js} +1 -1
- package/dist/ClosingDraftView-CcQssDLY.js +1415 -0
- package/dist/{ClosingTemplateView-CUjkAFjw.js → ClosingTemplateView-BHPqi-bL.js} +10 -10
- package/dist/{DeliveryOrderPrintPreview-BOEKl7zP.js → DeliveryOrderPrintPreview-DlTLtZ1f.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Bve5cng3.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CtJSPDCo.js} +32 -32
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-1-G4gmCj.js → FmUnitInput.vue_vue_type_script_setup_true_lang-B-erI7fq.js} +51 -51
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-Bl526zYj.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DT4nyE8i.js} +1 -1
- package/dist/{IngredientGroupView-stli1Xiv.js → IngredientGroupView-DE15kdqH.js} +11 -11
- package/dist/{IngredientsView-jmDSRSkr.js → IngredientsView-BCEznLxB.js} +15 -14
- package/dist/{IntegrationView-BQZtDqlR.js → IntegrationView-COSJuqnB.js} +146 -145
- package/dist/{InventoryBindingForm-hHgB20dI.js → InventoryBindingForm-B3C8gktf.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BK36mlQE.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bn2X1jxB.js} +20 -20
- package/dist/{InventoryBindingSummary-JsAhd0Jm.js → InventoryBindingSummary-BF1OtGum.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-C4A6bDPB.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BMTXHa4I.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-C6bND0mn.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CZR7wF6-.js} +10 -10
- package/dist/{PublishView-BK7WwXeV.js → PublishView-Cp5tpVb0.js} +12 -12
- package/dist/{PurchaseOrderPrintPreview-CMnaZkzc.js → PurchaseOrderPrintPreview-DWOcxCH8.js} +4 -4
- package/dist/{ReceiveRequestView-Bb6RQyJ8.js → ReceiveRequestView-CRuhm8r1.js} +53 -52
- package/dist/{RecipeView-CZnElbJ8.js → RecipeView-BTS1LBKZ.js} +29 -29
- package/dist/{StockView-CDAHrTyi.js → StockView-CuK8s5rt.js} +73 -72
- package/dist/{SupplierView-WTgrwbJ_.js → SupplierView-Bwpe9RoM.js} +12 -11
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DDAZMTzq.js +1897 -0
- package/dist/{TransferTemplateView-26w6orAY.js → TransferTemplateView-BlluEiV-.js} +291 -290
- package/dist/{UnitView-DAl0OS01.js → UnitView-BWGQHOWP.js} +23 -23
- package/dist/{WarehouseView-Db2wXza_.js → WarehouseView-dOCu22dg.js} +26 -26
- package/dist/api/bill.d.ts +2 -2
- package/dist/api/food-market-hub.d.ts +1 -1
- package/dist/api/inventory.d.ts +44 -44
- package/dist/api/netsuite.d.ts +3 -3
- package/dist/api/purchase-order.d.ts +5 -1
- package/dist/api/stock.d.ts +1 -0
- package/dist/{app-Ch3IXeOL.js → app-BkIAyhP-.js} +16504 -16961
- package/dist/app.d.ts +7 -7
- package/dist/app.js +1 -1
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +8 -8
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +2 -2
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +5 -5
- package/dist/composable/usePromise.d.ts +41 -0
- package/dist/{decimal-BFWsfQmw.js → decimal-BiC7uGww.js} +1 -1
- package/dist/feature-CCDDWpq8.js +17319 -0
- package/dist/{format-unit-display-CyBzA_Ye.js → format-unit-display-CLa0op_h.js} +60 -60
- package/dist/{index-CKB7R0y2.js → index-BbFvsU1Z.js} +7 -6
- package/dist/{index-CSjhH3PC.js → index-UgbyiGok.js} +1 -1
- package/dist/{stock-BjY9UvKO.js → stock-SxO4bxTm.js} +29 -25
- package/dist/stores/feature.d.ts +5 -20
- package/dist/stores/integration/foodmarkethub.d.ts +1 -1
- package/dist/stores/integration/netsuite.d.ts +7 -7
- package/dist/stores/inventory.d.ts +44 -44
- package/dist/stores/location.d.ts +137 -137
- package/dist/{supplier-8x-ZFcOk.js → supplier-BVdCk7nI.js} +4 -4
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-CxZAaSGc.js → use-ingredient-select-dialog-CDeGXhur.js} +1 -1
- package/dist/{use-inventory-binding-dialog-Kmg24YiM.js → use-inventory-binding-dialog-CeRKqMy7.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +228 -228
- package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +2 -2
- package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +1 -1
- package/dist/views/adjustment-template/wastage-template/table.d.ts +234 -234
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +780 -74
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +424 -409
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +4 -4
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +252 -252
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +252 -252
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +12 -12
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +2 -2
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +8 -8
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +3 -3
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +4 -4
- package/dist/views/integration/components/ApplyProduct.vue.d.ts +2 -2
- package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +2 -2
- package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +2 -2
- package/dist/views/integration/components/netsuite/AddLocationDialog.vue.d.ts +204 -204
- package/dist/views/integration/components/netsuite/LocationConfigurationDialog.vue.d.ts +2 -2
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +665 -637
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +22 -22
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +44 -44
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +11 -11
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +614 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1190 -1142
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1192 -1144
- package/dist/views/receive-request/constants/po-action-to-ui-style.d.ts +6 -0
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +2 -2
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +14 -14
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +22 -22
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +17 -17
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +11 -11
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +805 -805
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +805 -805
- package/dist/views/transfer-template/composables/useTransferTemplateHelper.d.ts +33 -33
- package/dist/{vue-i18n-CXd9SF_G.js → vue-i18n-3Mh8tKq8.js} +341 -341
- package/package.json +3 -1
- package/dist/ClosingDraftView-C0ECZ9zi.js +0 -1394
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-mHNmxBuV.js +0 -1746
|
@@ -48,8 +48,8 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
48
48
|
_id: string;
|
|
49
49
|
updatedAt: string;
|
|
50
50
|
} | null | undefined;
|
|
51
|
-
type: "restaurant" | "warehouse";
|
|
52
51
|
name: string;
|
|
52
|
+
type: "restaurant" | "warehouse";
|
|
53
53
|
acceptRequest: boolean;
|
|
54
54
|
dbName: string;
|
|
55
55
|
doc: {
|
|
@@ -57,26 +57,14 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
57
57
|
businessId: string;
|
|
58
58
|
profile: {
|
|
59
59
|
code?: string | null | undefined;
|
|
60
|
+
url?: string | null | undefined;
|
|
61
|
+
description?: string | null | undefined;
|
|
60
62
|
_id?: string | null | undefined;
|
|
61
|
-
name?: string | undefined;
|
|
62
|
-
address?: {
|
|
63
|
-
coordinates?: number[] | null | undefined;
|
|
64
|
-
line2?: string | null | undefined;
|
|
65
|
-
state: string;
|
|
66
|
-
country: string;
|
|
67
|
-
line1: string;
|
|
68
|
-
city: string;
|
|
69
|
-
postcode: string;
|
|
70
|
-
} | undefined;
|
|
71
|
-
email?: string | undefined;
|
|
72
|
-
regNo?: string | undefined;
|
|
73
|
-
sstRegNo?: string | null | undefined;
|
|
74
|
-
phoneNo?: string | undefined;
|
|
75
63
|
legalName?: string | null | undefined;
|
|
64
|
+
sstRegNo?: string | null | undefined;
|
|
76
65
|
discovery?: boolean | null | undefined;
|
|
77
66
|
coverPhoto?: string | null | undefined;
|
|
78
67
|
thumbnailPhoto?: string | null | undefined;
|
|
79
|
-
description?: string | null | undefined;
|
|
80
68
|
photos?: string[] | null | undefined;
|
|
81
69
|
operatingHours?: {
|
|
82
70
|
0: {
|
|
@@ -130,51 +118,29 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
130
118
|
};
|
|
131
119
|
} | null | undefined;
|
|
132
120
|
tags?: string[] | null | undefined;
|
|
133
|
-
|
|
121
|
+
name: string;
|
|
122
|
+
address: {
|
|
123
|
+
coordinates?: number[] | null | undefined;
|
|
124
|
+
line2?: string | null | undefined;
|
|
125
|
+
state: string;
|
|
126
|
+
country: string;
|
|
127
|
+
line1: string;
|
|
128
|
+
city: string;
|
|
129
|
+
postcode: string;
|
|
130
|
+
};
|
|
131
|
+
email: string;
|
|
132
|
+
phoneNo: string;
|
|
133
|
+
regNo: string;
|
|
134
134
|
};
|
|
135
135
|
};
|
|
136
136
|
}[] | null | undefined;
|
|
137
|
+
_id: string;
|
|
138
|
+
name: string;
|
|
137
139
|
purchaseOrder: {
|
|
138
140
|
remark?: string | null | undefined;
|
|
139
141
|
ref?: string | null | undefined;
|
|
140
|
-
supplier: {
|
|
141
|
-
phoneNumber?: string | null | undefined;
|
|
142
|
-
email?: string | null | undefined;
|
|
143
|
-
_rev?: string | null | undefined;
|
|
144
|
-
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
145
|
-
contactName?: string | null | undefined;
|
|
146
|
-
registrationNumber?: string | undefined;
|
|
147
|
-
supplyItems?: {
|
|
148
|
-
defaultCost: {
|
|
149
|
-
measurement?: {
|
|
150
|
-
id: string;
|
|
151
|
-
name: string;
|
|
152
|
-
abbrev: string;
|
|
153
|
-
conversion: {
|
|
154
|
-
amount: number;
|
|
155
|
-
precision: number;
|
|
156
|
-
};
|
|
157
|
-
} | null | undefined;
|
|
158
|
-
costPerUnit: {
|
|
159
|
-
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";
|
|
160
|
-
amount: number;
|
|
161
|
-
precision: number;
|
|
162
|
-
};
|
|
163
|
-
};
|
|
164
|
-
skuId: string;
|
|
165
|
-
}[] | null | undefined;
|
|
166
|
-
_id: string;
|
|
167
|
-
name: string;
|
|
168
|
-
address: {
|
|
169
|
-
line2?: string | null | undefined;
|
|
170
|
-
line1: string;
|
|
171
|
-
state: string;
|
|
172
|
-
city: string;
|
|
173
|
-
postcode: string;
|
|
174
|
-
country: string;
|
|
175
|
-
};
|
|
176
|
-
};
|
|
177
142
|
items: {
|
|
143
|
+
id?: string | null | undefined;
|
|
178
144
|
measurement?: {
|
|
179
145
|
id: string;
|
|
180
146
|
name: string;
|
|
@@ -184,7 +150,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
184
150
|
precision: number;
|
|
185
151
|
};
|
|
186
152
|
} | null | undefined;
|
|
187
|
-
id?: string | null | undefined;
|
|
188
153
|
externalId?: string | null | undefined;
|
|
189
154
|
totalCost?: {
|
|
190
155
|
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";
|
|
@@ -199,6 +164,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
199
164
|
amount: number;
|
|
200
165
|
precision: number;
|
|
201
166
|
} | null | undefined;
|
|
167
|
+
quantity: {
|
|
168
|
+
amount: number;
|
|
169
|
+
precision: number;
|
|
170
|
+
};
|
|
171
|
+
name: string;
|
|
172
|
+
code: string;
|
|
202
173
|
sku: {
|
|
203
174
|
trackingMeasurement?: string | null | undefined;
|
|
204
175
|
convert?: {
|
|
@@ -213,12 +184,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
213
184
|
precision: number;
|
|
214
185
|
};
|
|
215
186
|
} | null | undefined;
|
|
187
|
+
id: string;
|
|
216
188
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
217
189
|
amount: {
|
|
218
190
|
amount: number;
|
|
219
191
|
precision: number;
|
|
220
192
|
};
|
|
221
|
-
id: string;
|
|
222
193
|
}[] | null | undefined;
|
|
223
194
|
} | null | undefined;
|
|
224
195
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -244,6 +215,9 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
244
215
|
mid: number;
|
|
245
216
|
} | null | undefined;
|
|
246
217
|
customAttributes?: Record<string, any> | null | undefined;
|
|
218
|
+
_id: string;
|
|
219
|
+
name: string;
|
|
220
|
+
code: string;
|
|
247
221
|
unit: {
|
|
248
222
|
_id: string;
|
|
249
223
|
name: string;
|
|
@@ -259,24 +233,50 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
259
233
|
};
|
|
260
234
|
}[];
|
|
261
235
|
};
|
|
262
|
-
code: string;
|
|
263
|
-
_id: string;
|
|
264
|
-
name: string;
|
|
265
236
|
};
|
|
266
|
-
code: string;
|
|
267
|
-
quantity: {
|
|
268
|
-
amount: number;
|
|
269
|
-
precision: number;
|
|
270
|
-
};
|
|
271
|
-
name: string;
|
|
272
237
|
quantityStep: {
|
|
273
238
|
amount: number;
|
|
274
239
|
precision: number;
|
|
275
240
|
};
|
|
276
241
|
}[];
|
|
242
|
+
supplier: {
|
|
243
|
+
phoneNumber?: string | null | undefined;
|
|
244
|
+
email?: string | null | undefined;
|
|
245
|
+
_rev?: string | null | undefined;
|
|
246
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
247
|
+
contactName?: string | null | undefined;
|
|
248
|
+
registrationNumber?: string | undefined;
|
|
249
|
+
supplyItems?: {
|
|
250
|
+
defaultCost: {
|
|
251
|
+
measurement?: {
|
|
252
|
+
id: string;
|
|
253
|
+
name: string;
|
|
254
|
+
abbrev: string;
|
|
255
|
+
conversion: {
|
|
256
|
+
amount: number;
|
|
257
|
+
precision: number;
|
|
258
|
+
};
|
|
259
|
+
} | null | undefined;
|
|
260
|
+
costPerUnit: {
|
|
261
|
+
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";
|
|
262
|
+
amount: number;
|
|
263
|
+
precision: number;
|
|
264
|
+
};
|
|
265
|
+
};
|
|
266
|
+
skuId: string;
|
|
267
|
+
}[] | null | undefined;
|
|
268
|
+
_id: string;
|
|
269
|
+
name: string;
|
|
270
|
+
address: {
|
|
271
|
+
line2?: string | null | undefined;
|
|
272
|
+
line1: string;
|
|
273
|
+
state: string;
|
|
274
|
+
city: string;
|
|
275
|
+
postcode: string;
|
|
276
|
+
country: string;
|
|
277
|
+
};
|
|
278
|
+
};
|
|
277
279
|
};
|
|
278
|
-
_id: string;
|
|
279
|
-
name: string;
|
|
280
280
|
} | null | undefined;
|
|
281
281
|
request?: {
|
|
282
282
|
id: string;
|
|
@@ -292,6 +292,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
292
292
|
id: string | null;
|
|
293
293
|
} | null | undefined;
|
|
294
294
|
items: {
|
|
295
|
+
id?: string | null | undefined;
|
|
295
296
|
measurement?: {
|
|
296
297
|
id: string;
|
|
297
298
|
name: string;
|
|
@@ -306,8 +307,11 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
306
307
|
amount: number;
|
|
307
308
|
precision: number;
|
|
308
309
|
} | null | undefined;
|
|
309
|
-
id?: string | null | undefined;
|
|
310
310
|
externalId?: string | null | undefined;
|
|
311
|
+
amount: {
|
|
312
|
+
amount: number;
|
|
313
|
+
precision: number;
|
|
314
|
+
};
|
|
311
315
|
sku: {
|
|
312
316
|
trackingMeasurement?: string | null | undefined;
|
|
313
317
|
convert?: {
|
|
@@ -322,12 +326,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
322
326
|
precision: number;
|
|
323
327
|
};
|
|
324
328
|
} | null | undefined;
|
|
329
|
+
id: string;
|
|
325
330
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
326
331
|
amount: {
|
|
327
332
|
amount: number;
|
|
328
333
|
precision: number;
|
|
329
334
|
};
|
|
330
|
-
id: string;
|
|
331
335
|
}[] | null | undefined;
|
|
332
336
|
} | null | undefined;
|
|
333
337
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -353,6 +357,9 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
353
357
|
mid: number;
|
|
354
358
|
} | null | undefined;
|
|
355
359
|
customAttributes?: Record<string, any> | null | undefined;
|
|
360
|
+
_id: string;
|
|
361
|
+
name: string;
|
|
362
|
+
code: string;
|
|
356
363
|
unit: {
|
|
357
364
|
_id: string;
|
|
358
365
|
name: string;
|
|
@@ -368,18 +375,110 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
368
375
|
};
|
|
369
376
|
}[];
|
|
370
377
|
};
|
|
371
|
-
code: string;
|
|
372
|
-
_id: string;
|
|
373
|
-
name: string;
|
|
374
|
-
};
|
|
375
|
-
amount: {
|
|
376
|
-
amount: number;
|
|
377
|
-
precision: number;
|
|
378
378
|
};
|
|
379
379
|
}[];
|
|
380
380
|
id: string;
|
|
381
381
|
createdAt: string;
|
|
382
382
|
}[] | null | undefined;
|
|
383
|
+
actionChangelogs?: {
|
|
384
|
+
action: "approveDraft" | "rejectDraft" | "submitRequest" | "confirmDraft" | "cancelDraft" | "approveRequest" | "processRequest" | "receiveStock" | "completeReceive" | "rejectRequest";
|
|
385
|
+
changedBy: {
|
|
386
|
+
name: string;
|
|
387
|
+
id: string;
|
|
388
|
+
};
|
|
389
|
+
changedAt: string;
|
|
390
|
+
}[] | null | undefined;
|
|
391
|
+
_id: string;
|
|
392
|
+
seqNumber: number;
|
|
393
|
+
status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "REJECT" | "PENDING_APPROVAL" | "CLOSE";
|
|
394
|
+
items: {
|
|
395
|
+
id?: string | null | undefined;
|
|
396
|
+
measurement?: {
|
|
397
|
+
id: string;
|
|
398
|
+
name: string;
|
|
399
|
+
abbrev: string;
|
|
400
|
+
conversion: {
|
|
401
|
+
amount: number;
|
|
402
|
+
precision: number;
|
|
403
|
+
};
|
|
404
|
+
} | null | undefined;
|
|
405
|
+
externalId?: string | null | undefined;
|
|
406
|
+
totalCost?: {
|
|
407
|
+
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";
|
|
408
|
+
amount: number;
|
|
409
|
+
precision: number;
|
|
410
|
+
} | null | undefined;
|
|
411
|
+
quantity: {
|
|
412
|
+
amount: number;
|
|
413
|
+
precision: number;
|
|
414
|
+
};
|
|
415
|
+
name: string;
|
|
416
|
+
code: string;
|
|
417
|
+
sku: {
|
|
418
|
+
trackingMeasurement?: string | null | undefined;
|
|
419
|
+
convert?: {
|
|
420
|
+
measurement?: string | null | undefined;
|
|
421
|
+
inventoryBindings?: {
|
|
422
|
+
measurement?: {
|
|
423
|
+
id: string;
|
|
424
|
+
name: string;
|
|
425
|
+
abbrev: string;
|
|
426
|
+
conversion: {
|
|
427
|
+
amount: number;
|
|
428
|
+
precision: number;
|
|
429
|
+
};
|
|
430
|
+
} | null | undefined;
|
|
431
|
+
id: string;
|
|
432
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
433
|
+
amount: {
|
|
434
|
+
amount: number;
|
|
435
|
+
precision: number;
|
|
436
|
+
};
|
|
437
|
+
}[] | null | undefined;
|
|
438
|
+
} | null | undefined;
|
|
439
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
440
|
+
defaultCost?: {
|
|
441
|
+
measurement?: {
|
|
442
|
+
id: string;
|
|
443
|
+
name: string;
|
|
444
|
+
abbrev: string;
|
|
445
|
+
conversion: {
|
|
446
|
+
amount: number;
|
|
447
|
+
precision: number;
|
|
448
|
+
};
|
|
449
|
+
} | null | undefined;
|
|
450
|
+
costPerUnit: {
|
|
451
|
+
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";
|
|
452
|
+
amount: number;
|
|
453
|
+
precision: number;
|
|
454
|
+
};
|
|
455
|
+
} | null | undefined;
|
|
456
|
+
operationalGroup?: string | null | undefined;
|
|
457
|
+
thresholds?: {
|
|
458
|
+
low: number;
|
|
459
|
+
mid: number;
|
|
460
|
+
} | null | undefined;
|
|
461
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
462
|
+
_id: string;
|
|
463
|
+
name: string;
|
|
464
|
+
code: string;
|
|
465
|
+
unit: {
|
|
466
|
+
_id: string;
|
|
467
|
+
name: string;
|
|
468
|
+
abbrev: string;
|
|
469
|
+
precision: number;
|
|
470
|
+
measurements: {
|
|
471
|
+
id: string;
|
|
472
|
+
name: string;
|
|
473
|
+
abbrev: string;
|
|
474
|
+
conversion: {
|
|
475
|
+
amount: number;
|
|
476
|
+
precision: number;
|
|
477
|
+
};
|
|
478
|
+
}[];
|
|
479
|
+
};
|
|
480
|
+
};
|
|
481
|
+
}[];
|
|
383
482
|
supplier: {
|
|
384
483
|
phoneNumber?: string | null | undefined;
|
|
385
484
|
email?: string | null | undefined;
|
|
@@ -428,7 +527,13 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
428
527
|
recordType?: string | null | undefined;
|
|
429
528
|
id: string | null;
|
|
430
529
|
} | null | undefined;
|
|
530
|
+
createdBy: {
|
|
531
|
+
name: string;
|
|
532
|
+
id: string;
|
|
533
|
+
};
|
|
534
|
+
createdAt: string;
|
|
431
535
|
received: {
|
|
536
|
+
id?: string | null | undefined;
|
|
432
537
|
measurement?: {
|
|
433
538
|
id: string;
|
|
434
539
|
name: string;
|
|
@@ -443,8 +548,11 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
443
548
|
amount: number;
|
|
444
549
|
precision: number;
|
|
445
550
|
} | null | undefined;
|
|
446
|
-
id?: string | null | undefined;
|
|
447
551
|
externalId?: string | null | undefined;
|
|
552
|
+
amount: {
|
|
553
|
+
amount: number;
|
|
554
|
+
precision: number;
|
|
555
|
+
};
|
|
448
556
|
sku: {
|
|
449
557
|
trackingMeasurement?: string | null | undefined;
|
|
450
558
|
convert?: {
|
|
@@ -459,12 +567,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
459
567
|
precision: number;
|
|
460
568
|
};
|
|
461
569
|
} | null | undefined;
|
|
570
|
+
id: string;
|
|
462
571
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
463
572
|
amount: {
|
|
464
573
|
amount: number;
|
|
465
574
|
precision: number;
|
|
466
575
|
};
|
|
467
|
-
id: string;
|
|
468
576
|
}[] | null | undefined;
|
|
469
577
|
} | null | undefined;
|
|
470
578
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -490,6 +598,9 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
490
598
|
mid: number;
|
|
491
599
|
} | null | undefined;
|
|
492
600
|
customAttributes?: Record<string, any> | null | undefined;
|
|
601
|
+
_id: string;
|
|
602
|
+
name: string;
|
|
603
|
+
code: string;
|
|
493
604
|
unit: {
|
|
494
605
|
_id: string;
|
|
495
606
|
name: string;
|
|
@@ -505,113 +616,10 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
505
616
|
};
|
|
506
617
|
}[];
|
|
507
618
|
};
|
|
508
|
-
code: string;
|
|
509
|
-
_id: string;
|
|
510
|
-
name: string;
|
|
511
|
-
};
|
|
512
|
-
amount: {
|
|
513
|
-
amount: number;
|
|
514
|
-
precision: number;
|
|
515
619
|
};
|
|
516
620
|
}[];
|
|
517
|
-
createdBy: {
|
|
518
|
-
name: string;
|
|
519
|
-
id: string;
|
|
520
|
-
};
|
|
521
|
-
createdAt: string;
|
|
522
621
|
deliveryOrderNumber: string;
|
|
523
622
|
}[];
|
|
524
|
-
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "CLOSE" | "REJECT";
|
|
525
|
-
_id: string;
|
|
526
|
-
seqNumber: number;
|
|
527
|
-
items: {
|
|
528
|
-
measurement?: {
|
|
529
|
-
id: string;
|
|
530
|
-
name: string;
|
|
531
|
-
abbrev: string;
|
|
532
|
-
conversion: {
|
|
533
|
-
amount: number;
|
|
534
|
-
precision: number;
|
|
535
|
-
};
|
|
536
|
-
} | null | undefined;
|
|
537
|
-
id?: string | null | undefined;
|
|
538
|
-
externalId?: string | null | undefined;
|
|
539
|
-
totalCost?: {
|
|
540
|
-
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
541
|
-
amount: number;
|
|
542
|
-
precision: number;
|
|
543
|
-
} | null | undefined;
|
|
544
|
-
sku: {
|
|
545
|
-
trackingMeasurement?: string | null | undefined;
|
|
546
|
-
convert?: {
|
|
547
|
-
measurement?: string | null | undefined;
|
|
548
|
-
inventoryBindings?: {
|
|
549
|
-
measurement?: {
|
|
550
|
-
id: string;
|
|
551
|
-
name: string;
|
|
552
|
-
abbrev: string;
|
|
553
|
-
conversion: {
|
|
554
|
-
amount: number;
|
|
555
|
-
precision: number;
|
|
556
|
-
};
|
|
557
|
-
} | null | undefined;
|
|
558
|
-
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
559
|
-
amount: {
|
|
560
|
-
amount: number;
|
|
561
|
-
precision: number;
|
|
562
|
-
};
|
|
563
|
-
id: string;
|
|
564
|
-
}[] | null | undefined;
|
|
565
|
-
} | null | undefined;
|
|
566
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
567
|
-
defaultCost?: {
|
|
568
|
-
measurement?: {
|
|
569
|
-
id: string;
|
|
570
|
-
name: string;
|
|
571
|
-
abbrev: string;
|
|
572
|
-
conversion: {
|
|
573
|
-
amount: number;
|
|
574
|
-
precision: number;
|
|
575
|
-
};
|
|
576
|
-
} | null | undefined;
|
|
577
|
-
costPerUnit: {
|
|
578
|
-
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";
|
|
579
|
-
amount: number;
|
|
580
|
-
precision: number;
|
|
581
|
-
};
|
|
582
|
-
} | null | undefined;
|
|
583
|
-
operationalGroup?: string | null | undefined;
|
|
584
|
-
thresholds?: {
|
|
585
|
-
low: number;
|
|
586
|
-
mid: number;
|
|
587
|
-
} | null | undefined;
|
|
588
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
589
|
-
unit: {
|
|
590
|
-
_id: string;
|
|
591
|
-
name: string;
|
|
592
|
-
abbrev: string;
|
|
593
|
-
precision: number;
|
|
594
|
-
measurements: {
|
|
595
|
-
id: string;
|
|
596
|
-
name: string;
|
|
597
|
-
abbrev: string;
|
|
598
|
-
conversion: {
|
|
599
|
-
amount: number;
|
|
600
|
-
precision: number;
|
|
601
|
-
};
|
|
602
|
-
}[];
|
|
603
|
-
};
|
|
604
|
-
code: string;
|
|
605
|
-
_id: string;
|
|
606
|
-
name: string;
|
|
607
|
-
};
|
|
608
|
-
code: string;
|
|
609
|
-
quantity: {
|
|
610
|
-
amount: number;
|
|
611
|
-
precision: number;
|
|
612
|
-
};
|
|
613
|
-
name: string;
|
|
614
|
-
}[];
|
|
615
623
|
} & RevisionIdMeta, unknown>): string;
|
|
616
624
|
enableSorting: true;
|
|
617
625
|
size?: undefined;
|
|
@@ -686,8 +694,8 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
686
694
|
_id: string;
|
|
687
695
|
updatedAt: string;
|
|
688
696
|
} | null | undefined;
|
|
689
|
-
type: "restaurant" | "warehouse";
|
|
690
697
|
name: string;
|
|
698
|
+
type: "restaurant" | "warehouse";
|
|
691
699
|
acceptRequest: boolean;
|
|
692
700
|
dbName: string;
|
|
693
701
|
doc: {
|
|
@@ -695,26 +703,14 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
695
703
|
businessId: string;
|
|
696
704
|
profile: {
|
|
697
705
|
code?: string | null | undefined;
|
|
706
|
+
url?: string | null | undefined;
|
|
707
|
+
description?: string | null | undefined;
|
|
698
708
|
_id?: string | null | undefined;
|
|
699
|
-
name?: string | undefined;
|
|
700
|
-
address?: {
|
|
701
|
-
coordinates?: number[] | null | undefined;
|
|
702
|
-
line2?: string | null | undefined;
|
|
703
|
-
state: string;
|
|
704
|
-
country: string;
|
|
705
|
-
line1: string;
|
|
706
|
-
city: string;
|
|
707
|
-
postcode: string;
|
|
708
|
-
} | undefined;
|
|
709
|
-
email?: string | undefined;
|
|
710
|
-
regNo?: string | undefined;
|
|
711
|
-
sstRegNo?: string | null | undefined;
|
|
712
|
-
phoneNo?: string | undefined;
|
|
713
709
|
legalName?: string | null | undefined;
|
|
710
|
+
sstRegNo?: string | null | undefined;
|
|
714
711
|
discovery?: boolean | null | undefined;
|
|
715
712
|
coverPhoto?: string | null | undefined;
|
|
716
713
|
thumbnailPhoto?: string | null | undefined;
|
|
717
|
-
description?: string | null | undefined;
|
|
718
714
|
photos?: string[] | null | undefined;
|
|
719
715
|
operatingHours?: {
|
|
720
716
|
0: {
|
|
@@ -768,51 +764,29 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
768
764
|
};
|
|
769
765
|
} | null | undefined;
|
|
770
766
|
tags?: string[] | null | undefined;
|
|
771
|
-
|
|
767
|
+
name: string;
|
|
768
|
+
address: {
|
|
769
|
+
coordinates?: number[] | null | undefined;
|
|
770
|
+
line2?: string | null | undefined;
|
|
771
|
+
state: string;
|
|
772
|
+
country: string;
|
|
773
|
+
line1: string;
|
|
774
|
+
city: string;
|
|
775
|
+
postcode: string;
|
|
776
|
+
};
|
|
777
|
+
email: string;
|
|
778
|
+
phoneNo: string;
|
|
779
|
+
regNo: string;
|
|
772
780
|
};
|
|
773
781
|
};
|
|
774
782
|
}[] | null | undefined;
|
|
783
|
+
_id: string;
|
|
784
|
+
name: string;
|
|
775
785
|
purchaseOrder: {
|
|
776
786
|
remark?: string | null | undefined;
|
|
777
787
|
ref?: string | null | undefined;
|
|
778
|
-
supplier: {
|
|
779
|
-
phoneNumber?: string | null | undefined;
|
|
780
|
-
email?: string | null | undefined;
|
|
781
|
-
_rev?: string | null | undefined;
|
|
782
|
-
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
783
|
-
contactName?: string | null | undefined;
|
|
784
|
-
registrationNumber?: string | undefined;
|
|
785
|
-
supplyItems?: {
|
|
786
|
-
defaultCost: {
|
|
787
|
-
measurement?: {
|
|
788
|
-
id: string;
|
|
789
|
-
name: string;
|
|
790
|
-
abbrev: string;
|
|
791
|
-
conversion: {
|
|
792
|
-
amount: number;
|
|
793
|
-
precision: number;
|
|
794
|
-
};
|
|
795
|
-
} | null | undefined;
|
|
796
|
-
costPerUnit: {
|
|
797
|
-
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";
|
|
798
|
-
amount: number;
|
|
799
|
-
precision: number;
|
|
800
|
-
};
|
|
801
|
-
};
|
|
802
|
-
skuId: string;
|
|
803
|
-
}[] | null | undefined;
|
|
804
|
-
_id: string;
|
|
805
|
-
name: string;
|
|
806
|
-
address: {
|
|
807
|
-
line2?: string | null | undefined;
|
|
808
|
-
line1: string;
|
|
809
|
-
state: string;
|
|
810
|
-
city: string;
|
|
811
|
-
postcode: string;
|
|
812
|
-
country: string;
|
|
813
|
-
};
|
|
814
|
-
};
|
|
815
788
|
items: {
|
|
789
|
+
id?: string | null | undefined;
|
|
816
790
|
measurement?: {
|
|
817
791
|
id: string;
|
|
818
792
|
name: string;
|
|
@@ -822,7 +796,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
822
796
|
precision: number;
|
|
823
797
|
};
|
|
824
798
|
} | null | undefined;
|
|
825
|
-
id?: string | null | undefined;
|
|
826
799
|
externalId?: string | null | undefined;
|
|
827
800
|
totalCost?: {
|
|
828
801
|
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";
|
|
@@ -837,6 +810,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
837
810
|
amount: number;
|
|
838
811
|
precision: number;
|
|
839
812
|
} | null | undefined;
|
|
813
|
+
quantity: {
|
|
814
|
+
amount: number;
|
|
815
|
+
precision: number;
|
|
816
|
+
};
|
|
817
|
+
name: string;
|
|
818
|
+
code: string;
|
|
840
819
|
sku: {
|
|
841
820
|
trackingMeasurement?: string | null | undefined;
|
|
842
821
|
convert?: {
|
|
@@ -851,12 +830,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
851
830
|
precision: number;
|
|
852
831
|
};
|
|
853
832
|
} | null | undefined;
|
|
833
|
+
id: string;
|
|
854
834
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
855
835
|
amount: {
|
|
856
836
|
amount: number;
|
|
857
837
|
precision: number;
|
|
858
838
|
};
|
|
859
|
-
id: string;
|
|
860
839
|
}[] | null | undefined;
|
|
861
840
|
} | null | undefined;
|
|
862
841
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -882,6 +861,9 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
882
861
|
mid: number;
|
|
883
862
|
} | null | undefined;
|
|
884
863
|
customAttributes?: Record<string, any> | null | undefined;
|
|
864
|
+
_id: string;
|
|
865
|
+
name: string;
|
|
866
|
+
code: string;
|
|
885
867
|
unit: {
|
|
886
868
|
_id: string;
|
|
887
869
|
name: string;
|
|
@@ -897,24 +879,50 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
897
879
|
};
|
|
898
880
|
}[];
|
|
899
881
|
};
|
|
900
|
-
code: string;
|
|
901
|
-
_id: string;
|
|
902
|
-
name: string;
|
|
903
|
-
};
|
|
904
|
-
code: string;
|
|
905
|
-
quantity: {
|
|
906
|
-
amount: number;
|
|
907
|
-
precision: number;
|
|
908
882
|
};
|
|
909
|
-
name: string;
|
|
910
883
|
quantityStep: {
|
|
911
884
|
amount: number;
|
|
912
885
|
precision: number;
|
|
913
886
|
};
|
|
914
887
|
}[];
|
|
888
|
+
supplier: {
|
|
889
|
+
phoneNumber?: string | null | undefined;
|
|
890
|
+
email?: string | null | undefined;
|
|
891
|
+
_rev?: string | null | undefined;
|
|
892
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
893
|
+
contactName?: string | null | undefined;
|
|
894
|
+
registrationNumber?: string | undefined;
|
|
895
|
+
supplyItems?: {
|
|
896
|
+
defaultCost: {
|
|
897
|
+
measurement?: {
|
|
898
|
+
id: string;
|
|
899
|
+
name: string;
|
|
900
|
+
abbrev: string;
|
|
901
|
+
conversion: {
|
|
902
|
+
amount: number;
|
|
903
|
+
precision: number;
|
|
904
|
+
};
|
|
905
|
+
} | null | undefined;
|
|
906
|
+
costPerUnit: {
|
|
907
|
+
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";
|
|
908
|
+
amount: number;
|
|
909
|
+
precision: number;
|
|
910
|
+
};
|
|
911
|
+
};
|
|
912
|
+
skuId: string;
|
|
913
|
+
}[] | null | undefined;
|
|
914
|
+
_id: string;
|
|
915
|
+
name: string;
|
|
916
|
+
address: {
|
|
917
|
+
line2?: string | null | undefined;
|
|
918
|
+
line1: string;
|
|
919
|
+
state: string;
|
|
920
|
+
city: string;
|
|
921
|
+
postcode: string;
|
|
922
|
+
country: string;
|
|
923
|
+
};
|
|
924
|
+
};
|
|
915
925
|
};
|
|
916
|
-
_id: string;
|
|
917
|
-
name: string;
|
|
918
926
|
} | null | undefined;
|
|
919
927
|
request?: {
|
|
920
928
|
id: string;
|
|
@@ -930,6 +938,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
930
938
|
id: string | null;
|
|
931
939
|
} | null | undefined;
|
|
932
940
|
items: {
|
|
941
|
+
id?: string | null | undefined;
|
|
933
942
|
measurement?: {
|
|
934
943
|
id: string;
|
|
935
944
|
name: string;
|
|
@@ -944,8 +953,11 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
944
953
|
amount: number;
|
|
945
954
|
precision: number;
|
|
946
955
|
} | null | undefined;
|
|
947
|
-
id?: string | null | undefined;
|
|
948
956
|
externalId?: string | null | undefined;
|
|
957
|
+
amount: {
|
|
958
|
+
amount: number;
|
|
959
|
+
precision: number;
|
|
960
|
+
};
|
|
949
961
|
sku: {
|
|
950
962
|
trackingMeasurement?: string | null | undefined;
|
|
951
963
|
convert?: {
|
|
@@ -960,12 +972,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
960
972
|
precision: number;
|
|
961
973
|
};
|
|
962
974
|
} | null | undefined;
|
|
975
|
+
id: string;
|
|
963
976
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
964
977
|
amount: {
|
|
965
978
|
amount: number;
|
|
966
979
|
precision: number;
|
|
967
980
|
};
|
|
968
|
-
id: string;
|
|
969
981
|
}[] | null | undefined;
|
|
970
982
|
} | null | undefined;
|
|
971
983
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -991,6 +1003,9 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
991
1003
|
mid: number;
|
|
992
1004
|
} | null | undefined;
|
|
993
1005
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1006
|
+
_id: string;
|
|
1007
|
+
name: string;
|
|
1008
|
+
code: string;
|
|
994
1009
|
unit: {
|
|
995
1010
|
_id: string;
|
|
996
1011
|
name: string;
|
|
@@ -1006,32 +1021,124 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1006
1021
|
};
|
|
1007
1022
|
}[];
|
|
1008
1023
|
};
|
|
1009
|
-
code: string;
|
|
1010
|
-
_id: string;
|
|
1011
|
-
name: string;
|
|
1012
|
-
};
|
|
1013
|
-
amount: {
|
|
1014
|
-
amount: number;
|
|
1015
|
-
precision: number;
|
|
1016
1024
|
};
|
|
1017
1025
|
}[];
|
|
1018
1026
|
id: string;
|
|
1019
1027
|
createdAt: string;
|
|
1020
1028
|
}[] | null | undefined;
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1029
|
+
actionChangelogs?: {
|
|
1030
|
+
action: "approveDraft" | "rejectDraft" | "submitRequest" | "confirmDraft" | "cancelDraft" | "approveRequest" | "processRequest" | "receiveStock" | "completeReceive" | "rejectRequest";
|
|
1031
|
+
changedBy: {
|
|
1032
|
+
name: string;
|
|
1033
|
+
id: string;
|
|
1034
|
+
};
|
|
1035
|
+
changedAt: string;
|
|
1036
|
+
}[] | null | undefined;
|
|
1037
|
+
_id: string;
|
|
1038
|
+
seqNumber: number;
|
|
1039
|
+
status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "REJECT" | "PENDING_APPROVAL" | "CLOSE";
|
|
1040
|
+
items: {
|
|
1041
|
+
id?: string | null | undefined;
|
|
1042
|
+
measurement?: {
|
|
1043
|
+
id: string;
|
|
1044
|
+
name: string;
|
|
1045
|
+
abbrev: string;
|
|
1046
|
+
conversion: {
|
|
1047
|
+
amount: number;
|
|
1048
|
+
precision: number;
|
|
1049
|
+
};
|
|
1050
|
+
} | null | undefined;
|
|
1051
|
+
externalId?: string | null | undefined;
|
|
1052
|
+
totalCost?: {
|
|
1053
|
+
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";
|
|
1054
|
+
amount: number;
|
|
1055
|
+
precision: number;
|
|
1056
|
+
} | null | undefined;
|
|
1057
|
+
quantity: {
|
|
1058
|
+
amount: number;
|
|
1059
|
+
precision: number;
|
|
1060
|
+
};
|
|
1061
|
+
name: string;
|
|
1062
|
+
code: string;
|
|
1063
|
+
sku: {
|
|
1064
|
+
trackingMeasurement?: string | null | undefined;
|
|
1065
|
+
convert?: {
|
|
1066
|
+
measurement?: string | null | undefined;
|
|
1067
|
+
inventoryBindings?: {
|
|
1068
|
+
measurement?: {
|
|
1069
|
+
id: string;
|
|
1070
|
+
name: string;
|
|
1071
|
+
abbrev: string;
|
|
1072
|
+
conversion: {
|
|
1073
|
+
amount: number;
|
|
1074
|
+
precision: number;
|
|
1075
|
+
};
|
|
1076
|
+
} | null | undefined;
|
|
1077
|
+
id: string;
|
|
1078
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1079
|
+
amount: {
|
|
1080
|
+
amount: number;
|
|
1081
|
+
precision: number;
|
|
1082
|
+
};
|
|
1083
|
+
}[] | null | undefined;
|
|
1084
|
+
} | null | undefined;
|
|
1085
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1086
|
+
defaultCost?: {
|
|
1087
|
+
measurement?: {
|
|
1088
|
+
id: string;
|
|
1089
|
+
name: string;
|
|
1090
|
+
abbrev: string;
|
|
1091
|
+
conversion: {
|
|
1092
|
+
amount: number;
|
|
1093
|
+
precision: number;
|
|
1094
|
+
};
|
|
1095
|
+
} | null | undefined;
|
|
1096
|
+
costPerUnit: {
|
|
1097
|
+
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";
|
|
1098
|
+
amount: number;
|
|
1099
|
+
precision: number;
|
|
1100
|
+
};
|
|
1101
|
+
} | null | undefined;
|
|
1102
|
+
operationalGroup?: string | null | undefined;
|
|
1103
|
+
thresholds?: {
|
|
1104
|
+
low: number;
|
|
1105
|
+
mid: number;
|
|
1106
|
+
} | null | undefined;
|
|
1107
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
1108
|
+
_id: string;
|
|
1109
|
+
name: string;
|
|
1110
|
+
code: string;
|
|
1111
|
+
unit: {
|
|
1112
|
+
_id: string;
|
|
1113
|
+
name: string;
|
|
1114
|
+
abbrev: string;
|
|
1115
|
+
precision: number;
|
|
1116
|
+
measurements: {
|
|
1117
|
+
id: string;
|
|
1118
|
+
name: string;
|
|
1119
|
+
abbrev: string;
|
|
1120
|
+
conversion: {
|
|
1121
|
+
amount: number;
|
|
1122
|
+
precision: number;
|
|
1123
|
+
};
|
|
1124
|
+
}[];
|
|
1125
|
+
};
|
|
1126
|
+
};
|
|
1127
|
+
}[];
|
|
1128
|
+
supplier: {
|
|
1129
|
+
phoneNumber?: string | null | undefined;
|
|
1130
|
+
email?: string | null | undefined;
|
|
1131
|
+
_rev?: string | null | undefined;
|
|
1132
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
1133
|
+
contactName?: string | null | undefined;
|
|
1134
|
+
registrationNumber?: string | undefined;
|
|
1135
|
+
supplyItems?: {
|
|
1136
|
+
defaultCost: {
|
|
1137
|
+
measurement?: {
|
|
1138
|
+
id: string;
|
|
1139
|
+
name: string;
|
|
1140
|
+
abbrev: string;
|
|
1141
|
+
conversion: {
|
|
1035
1142
|
amount: number;
|
|
1036
1143
|
precision: number;
|
|
1037
1144
|
};
|
|
@@ -1066,7 +1173,13 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1066
1173
|
recordType?: string | null | undefined;
|
|
1067
1174
|
id: string | null;
|
|
1068
1175
|
} | null | undefined;
|
|
1176
|
+
createdBy: {
|
|
1177
|
+
name: string;
|
|
1178
|
+
id: string;
|
|
1179
|
+
};
|
|
1180
|
+
createdAt: string;
|
|
1069
1181
|
received: {
|
|
1182
|
+
id?: string | null | undefined;
|
|
1070
1183
|
measurement?: {
|
|
1071
1184
|
id: string;
|
|
1072
1185
|
name: string;
|
|
@@ -1081,8 +1194,11 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1081
1194
|
amount: number;
|
|
1082
1195
|
precision: number;
|
|
1083
1196
|
} | null | undefined;
|
|
1084
|
-
id?: string | null | undefined;
|
|
1085
1197
|
externalId?: string | null | undefined;
|
|
1198
|
+
amount: {
|
|
1199
|
+
amount: number;
|
|
1200
|
+
precision: number;
|
|
1201
|
+
};
|
|
1086
1202
|
sku: {
|
|
1087
1203
|
trackingMeasurement?: string | null | undefined;
|
|
1088
1204
|
convert?: {
|
|
@@ -1097,12 +1213,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1097
1213
|
precision: number;
|
|
1098
1214
|
};
|
|
1099
1215
|
} | null | undefined;
|
|
1216
|
+
id: string;
|
|
1100
1217
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1101
1218
|
amount: {
|
|
1102
1219
|
amount: number;
|
|
1103
1220
|
precision: number;
|
|
1104
1221
|
};
|
|
1105
|
-
id: string;
|
|
1106
1222
|
}[] | null | undefined;
|
|
1107
1223
|
} | null | undefined;
|
|
1108
1224
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -1128,6 +1244,9 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1128
1244
|
mid: number;
|
|
1129
1245
|
} | null | undefined;
|
|
1130
1246
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1247
|
+
_id: string;
|
|
1248
|
+
name: string;
|
|
1249
|
+
code: string;
|
|
1131
1250
|
unit: {
|
|
1132
1251
|
_id: string;
|
|
1133
1252
|
name: string;
|
|
@@ -1143,113 +1262,10 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1143
1262
|
};
|
|
1144
1263
|
}[];
|
|
1145
1264
|
};
|
|
1146
|
-
code: string;
|
|
1147
|
-
_id: string;
|
|
1148
|
-
name: string;
|
|
1149
|
-
};
|
|
1150
|
-
amount: {
|
|
1151
|
-
amount: number;
|
|
1152
|
-
precision: number;
|
|
1153
1265
|
};
|
|
1154
1266
|
}[];
|
|
1155
|
-
createdBy: {
|
|
1156
|
-
name: string;
|
|
1157
|
-
id: string;
|
|
1158
|
-
};
|
|
1159
|
-
createdAt: string;
|
|
1160
1267
|
deliveryOrderNumber: string;
|
|
1161
1268
|
}[];
|
|
1162
|
-
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "CLOSE" | "REJECT";
|
|
1163
|
-
_id: string;
|
|
1164
|
-
seqNumber: number;
|
|
1165
|
-
items: {
|
|
1166
|
-
measurement?: {
|
|
1167
|
-
id: string;
|
|
1168
|
-
name: string;
|
|
1169
|
-
abbrev: string;
|
|
1170
|
-
conversion: {
|
|
1171
|
-
amount: number;
|
|
1172
|
-
precision: number;
|
|
1173
|
-
};
|
|
1174
|
-
} | null | undefined;
|
|
1175
|
-
id?: string | null | undefined;
|
|
1176
|
-
externalId?: string | null | undefined;
|
|
1177
|
-
totalCost?: {
|
|
1178
|
-
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";
|
|
1179
|
-
amount: number;
|
|
1180
|
-
precision: number;
|
|
1181
|
-
} | null | undefined;
|
|
1182
|
-
sku: {
|
|
1183
|
-
trackingMeasurement?: string | null | undefined;
|
|
1184
|
-
convert?: {
|
|
1185
|
-
measurement?: string | null | undefined;
|
|
1186
|
-
inventoryBindings?: {
|
|
1187
|
-
measurement?: {
|
|
1188
|
-
id: string;
|
|
1189
|
-
name: string;
|
|
1190
|
-
abbrev: string;
|
|
1191
|
-
conversion: {
|
|
1192
|
-
amount: number;
|
|
1193
|
-
precision: number;
|
|
1194
|
-
};
|
|
1195
|
-
} | null | undefined;
|
|
1196
|
-
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1197
|
-
amount: {
|
|
1198
|
-
amount: number;
|
|
1199
|
-
precision: number;
|
|
1200
|
-
};
|
|
1201
|
-
id: string;
|
|
1202
|
-
}[] | null | undefined;
|
|
1203
|
-
} | null | undefined;
|
|
1204
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1205
|
-
defaultCost?: {
|
|
1206
|
-
measurement?: {
|
|
1207
|
-
id: string;
|
|
1208
|
-
name: string;
|
|
1209
|
-
abbrev: string;
|
|
1210
|
-
conversion: {
|
|
1211
|
-
amount: number;
|
|
1212
|
-
precision: number;
|
|
1213
|
-
};
|
|
1214
|
-
} | null | undefined;
|
|
1215
|
-
costPerUnit: {
|
|
1216
|
-
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";
|
|
1217
|
-
amount: number;
|
|
1218
|
-
precision: number;
|
|
1219
|
-
};
|
|
1220
|
-
} | null | undefined;
|
|
1221
|
-
operationalGroup?: string | null | undefined;
|
|
1222
|
-
thresholds?: {
|
|
1223
|
-
low: number;
|
|
1224
|
-
mid: number;
|
|
1225
|
-
} | null | undefined;
|
|
1226
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
1227
|
-
unit: {
|
|
1228
|
-
_id: string;
|
|
1229
|
-
name: string;
|
|
1230
|
-
abbrev: string;
|
|
1231
|
-
precision: number;
|
|
1232
|
-
measurements: {
|
|
1233
|
-
id: string;
|
|
1234
|
-
name: string;
|
|
1235
|
-
abbrev: string;
|
|
1236
|
-
conversion: {
|
|
1237
|
-
amount: number;
|
|
1238
|
-
precision: number;
|
|
1239
|
-
};
|
|
1240
|
-
}[];
|
|
1241
|
-
};
|
|
1242
|
-
code: string;
|
|
1243
|
-
_id: string;
|
|
1244
|
-
name: string;
|
|
1245
|
-
};
|
|
1246
|
-
code: string;
|
|
1247
|
-
quantity: {
|
|
1248
|
-
amount: number;
|
|
1249
|
-
precision: number;
|
|
1250
|
-
};
|
|
1251
|
-
name: string;
|
|
1252
|
-
}[];
|
|
1253
1269
|
} & RevisionIdMeta, unknown>): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1254
1270
|
[key: string]: any;
|
|
1255
1271
|
}>;
|
|
@@ -1294,8 +1310,8 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1294
1310
|
_id: string;
|
|
1295
1311
|
updatedAt: string;
|
|
1296
1312
|
} | null | undefined;
|
|
1297
|
-
type: "restaurant" | "warehouse";
|
|
1298
1313
|
name: string;
|
|
1314
|
+
type: "restaurant" | "warehouse";
|
|
1299
1315
|
acceptRequest: boolean;
|
|
1300
1316
|
dbName: string;
|
|
1301
1317
|
doc: {
|
|
@@ -1303,26 +1319,14 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1303
1319
|
businessId: string;
|
|
1304
1320
|
profile: {
|
|
1305
1321
|
code?: string | null | undefined;
|
|
1322
|
+
url?: string | null | undefined;
|
|
1323
|
+
description?: string | null | undefined;
|
|
1306
1324
|
_id?: string | null | undefined;
|
|
1307
|
-
name?: string | undefined;
|
|
1308
|
-
address?: {
|
|
1309
|
-
coordinates?: number[] | null | undefined;
|
|
1310
|
-
line2?: string | null | undefined;
|
|
1311
|
-
state: string;
|
|
1312
|
-
country: string;
|
|
1313
|
-
line1: string;
|
|
1314
|
-
city: string;
|
|
1315
|
-
postcode: string;
|
|
1316
|
-
} | undefined;
|
|
1317
|
-
email?: string | undefined;
|
|
1318
|
-
regNo?: string | undefined;
|
|
1319
|
-
sstRegNo?: string | null | undefined;
|
|
1320
|
-
phoneNo?: string | undefined;
|
|
1321
1325
|
legalName?: string | null | undefined;
|
|
1326
|
+
sstRegNo?: string | null | undefined;
|
|
1322
1327
|
discovery?: boolean | null | undefined;
|
|
1323
1328
|
coverPhoto?: string | null | undefined;
|
|
1324
1329
|
thumbnailPhoto?: string | null | undefined;
|
|
1325
|
-
description?: string | null | undefined;
|
|
1326
1330
|
photos?: string[] | null | undefined;
|
|
1327
1331
|
operatingHours?: {
|
|
1328
1332
|
0: {
|
|
@@ -1376,51 +1380,29 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1376
1380
|
};
|
|
1377
1381
|
} | null | undefined;
|
|
1378
1382
|
tags?: string[] | null | undefined;
|
|
1379
|
-
|
|
1383
|
+
name: string;
|
|
1384
|
+
address: {
|
|
1385
|
+
coordinates?: number[] | null | undefined;
|
|
1386
|
+
line2?: string | null | undefined;
|
|
1387
|
+
state: string;
|
|
1388
|
+
country: string;
|
|
1389
|
+
line1: string;
|
|
1390
|
+
city: string;
|
|
1391
|
+
postcode: string;
|
|
1392
|
+
};
|
|
1393
|
+
email: string;
|
|
1394
|
+
phoneNo: string;
|
|
1395
|
+
regNo: string;
|
|
1380
1396
|
};
|
|
1381
1397
|
};
|
|
1382
1398
|
}[] | null | undefined;
|
|
1399
|
+
_id: string;
|
|
1400
|
+
name: string;
|
|
1383
1401
|
purchaseOrder: {
|
|
1384
1402
|
remark?: string | null | undefined;
|
|
1385
1403
|
ref?: string | null | undefined;
|
|
1386
|
-
supplier: {
|
|
1387
|
-
phoneNumber?: string | null | undefined;
|
|
1388
|
-
email?: string | null | undefined;
|
|
1389
|
-
_rev?: string | null | undefined;
|
|
1390
|
-
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
1391
|
-
contactName?: string | null | undefined;
|
|
1392
|
-
registrationNumber?: string | undefined;
|
|
1393
|
-
supplyItems?: {
|
|
1394
|
-
defaultCost: {
|
|
1395
|
-
measurement?: {
|
|
1396
|
-
id: string;
|
|
1397
|
-
name: string;
|
|
1398
|
-
abbrev: string;
|
|
1399
|
-
conversion: {
|
|
1400
|
-
amount: number;
|
|
1401
|
-
precision: number;
|
|
1402
|
-
};
|
|
1403
|
-
} | null | undefined;
|
|
1404
|
-
costPerUnit: {
|
|
1405
|
-
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";
|
|
1406
|
-
amount: number;
|
|
1407
|
-
precision: number;
|
|
1408
|
-
};
|
|
1409
|
-
};
|
|
1410
|
-
skuId: string;
|
|
1411
|
-
}[] | null | undefined;
|
|
1412
|
-
_id: string;
|
|
1413
|
-
name: string;
|
|
1414
|
-
address: {
|
|
1415
|
-
line2?: string | null | undefined;
|
|
1416
|
-
line1: string;
|
|
1417
|
-
state: string;
|
|
1418
|
-
city: string;
|
|
1419
|
-
postcode: string;
|
|
1420
|
-
country: string;
|
|
1421
|
-
};
|
|
1422
|
-
};
|
|
1423
1404
|
items: {
|
|
1405
|
+
id?: string | null | undefined;
|
|
1424
1406
|
measurement?: {
|
|
1425
1407
|
id: string;
|
|
1426
1408
|
name: string;
|
|
@@ -1430,7 +1412,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1430
1412
|
precision: number;
|
|
1431
1413
|
};
|
|
1432
1414
|
} | null | undefined;
|
|
1433
|
-
id?: string | null | undefined;
|
|
1434
1415
|
externalId?: string | null | undefined;
|
|
1435
1416
|
totalCost?: {
|
|
1436
1417
|
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";
|
|
@@ -1445,6 +1426,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1445
1426
|
amount: number;
|
|
1446
1427
|
precision: number;
|
|
1447
1428
|
} | null | undefined;
|
|
1429
|
+
quantity: {
|
|
1430
|
+
amount: number;
|
|
1431
|
+
precision: number;
|
|
1432
|
+
};
|
|
1433
|
+
name: string;
|
|
1434
|
+
code: string;
|
|
1448
1435
|
sku: {
|
|
1449
1436
|
trackingMeasurement?: string | null | undefined;
|
|
1450
1437
|
convert?: {
|
|
@@ -1459,12 +1446,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1459
1446
|
precision: number;
|
|
1460
1447
|
};
|
|
1461
1448
|
} | null | undefined;
|
|
1449
|
+
id: string;
|
|
1462
1450
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1463
1451
|
amount: {
|
|
1464
1452
|
amount: number;
|
|
1465
1453
|
precision: number;
|
|
1466
1454
|
};
|
|
1467
|
-
id: string;
|
|
1468
1455
|
}[] | null | undefined;
|
|
1469
1456
|
} | null | undefined;
|
|
1470
1457
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -1490,6 +1477,9 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1490
1477
|
mid: number;
|
|
1491
1478
|
} | null | undefined;
|
|
1492
1479
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1480
|
+
_id: string;
|
|
1481
|
+
name: string;
|
|
1482
|
+
code: string;
|
|
1493
1483
|
unit: {
|
|
1494
1484
|
_id: string;
|
|
1495
1485
|
name: string;
|
|
@@ -1505,24 +1495,50 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1505
1495
|
};
|
|
1506
1496
|
}[];
|
|
1507
1497
|
};
|
|
1508
|
-
code: string;
|
|
1509
|
-
_id: string;
|
|
1510
|
-
name: string;
|
|
1511
|
-
};
|
|
1512
|
-
code: string;
|
|
1513
|
-
quantity: {
|
|
1514
|
-
amount: number;
|
|
1515
|
-
precision: number;
|
|
1516
1498
|
};
|
|
1517
|
-
name: string;
|
|
1518
1499
|
quantityStep: {
|
|
1519
1500
|
amount: number;
|
|
1520
1501
|
precision: number;
|
|
1521
1502
|
};
|
|
1522
1503
|
}[];
|
|
1504
|
+
supplier: {
|
|
1505
|
+
phoneNumber?: string | null | undefined;
|
|
1506
|
+
email?: string | null | undefined;
|
|
1507
|
+
_rev?: string | null | undefined;
|
|
1508
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
1509
|
+
contactName?: string | null | undefined;
|
|
1510
|
+
registrationNumber?: string | undefined;
|
|
1511
|
+
supplyItems?: {
|
|
1512
|
+
defaultCost: {
|
|
1513
|
+
measurement?: {
|
|
1514
|
+
id: string;
|
|
1515
|
+
name: string;
|
|
1516
|
+
abbrev: string;
|
|
1517
|
+
conversion: {
|
|
1518
|
+
amount: number;
|
|
1519
|
+
precision: number;
|
|
1520
|
+
};
|
|
1521
|
+
} | null | undefined;
|
|
1522
|
+
costPerUnit: {
|
|
1523
|
+
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";
|
|
1524
|
+
amount: number;
|
|
1525
|
+
precision: number;
|
|
1526
|
+
};
|
|
1527
|
+
};
|
|
1528
|
+
skuId: string;
|
|
1529
|
+
}[] | null | undefined;
|
|
1530
|
+
_id: string;
|
|
1531
|
+
name: string;
|
|
1532
|
+
address: {
|
|
1533
|
+
line2?: string | null | undefined;
|
|
1534
|
+
line1: string;
|
|
1535
|
+
state: string;
|
|
1536
|
+
city: string;
|
|
1537
|
+
postcode: string;
|
|
1538
|
+
country: string;
|
|
1539
|
+
};
|
|
1540
|
+
};
|
|
1523
1541
|
};
|
|
1524
|
-
_id: string;
|
|
1525
|
-
name: string;
|
|
1526
1542
|
} | null | undefined;
|
|
1527
1543
|
request?: {
|
|
1528
1544
|
id: string;
|
|
@@ -1538,6 +1554,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1538
1554
|
id: string | null;
|
|
1539
1555
|
} | null | undefined;
|
|
1540
1556
|
items: {
|
|
1557
|
+
id?: string | null | undefined;
|
|
1541
1558
|
measurement?: {
|
|
1542
1559
|
id: string;
|
|
1543
1560
|
name: string;
|
|
@@ -1552,8 +1569,11 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1552
1569
|
amount: number;
|
|
1553
1570
|
precision: number;
|
|
1554
1571
|
} | null | undefined;
|
|
1555
|
-
id?: string | null | undefined;
|
|
1556
1572
|
externalId?: string | null | undefined;
|
|
1573
|
+
amount: {
|
|
1574
|
+
amount: number;
|
|
1575
|
+
precision: number;
|
|
1576
|
+
};
|
|
1557
1577
|
sku: {
|
|
1558
1578
|
trackingMeasurement?: string | null | undefined;
|
|
1559
1579
|
convert?: {
|
|
@@ -1568,12 +1588,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1568
1588
|
precision: number;
|
|
1569
1589
|
};
|
|
1570
1590
|
} | null | undefined;
|
|
1591
|
+
id: string;
|
|
1571
1592
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1572
1593
|
amount: {
|
|
1573
1594
|
amount: number;
|
|
1574
1595
|
precision: number;
|
|
1575
1596
|
};
|
|
1576
|
-
id: string;
|
|
1577
1597
|
}[] | null | undefined;
|
|
1578
1598
|
} | null | undefined;
|
|
1579
1599
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -1599,6 +1619,9 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1599
1619
|
mid: number;
|
|
1600
1620
|
} | null | undefined;
|
|
1601
1621
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1622
|
+
_id: string;
|
|
1623
|
+
name: string;
|
|
1624
|
+
code: string;
|
|
1602
1625
|
unit: {
|
|
1603
1626
|
_id: string;
|
|
1604
1627
|
name: string;
|
|
@@ -1614,18 +1637,110 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1614
1637
|
};
|
|
1615
1638
|
}[];
|
|
1616
1639
|
};
|
|
1617
|
-
code: string;
|
|
1618
|
-
_id: string;
|
|
1619
|
-
name: string;
|
|
1620
|
-
};
|
|
1621
|
-
amount: {
|
|
1622
|
-
amount: number;
|
|
1623
|
-
precision: number;
|
|
1624
1640
|
};
|
|
1625
1641
|
}[];
|
|
1626
1642
|
id: string;
|
|
1627
1643
|
createdAt: string;
|
|
1628
1644
|
}[] | null | undefined;
|
|
1645
|
+
actionChangelogs?: {
|
|
1646
|
+
action: "approveDraft" | "rejectDraft" | "submitRequest" | "confirmDraft" | "cancelDraft" | "approveRequest" | "processRequest" | "receiveStock" | "completeReceive" | "rejectRequest";
|
|
1647
|
+
changedBy: {
|
|
1648
|
+
name: string;
|
|
1649
|
+
id: string;
|
|
1650
|
+
};
|
|
1651
|
+
changedAt: string;
|
|
1652
|
+
}[] | null | undefined;
|
|
1653
|
+
_id: string;
|
|
1654
|
+
seqNumber: number;
|
|
1655
|
+
status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "REJECT" | "PENDING_APPROVAL" | "CLOSE";
|
|
1656
|
+
items: {
|
|
1657
|
+
id?: string | null | undefined;
|
|
1658
|
+
measurement?: {
|
|
1659
|
+
id: string;
|
|
1660
|
+
name: string;
|
|
1661
|
+
abbrev: string;
|
|
1662
|
+
conversion: {
|
|
1663
|
+
amount: number;
|
|
1664
|
+
precision: number;
|
|
1665
|
+
};
|
|
1666
|
+
} | null | undefined;
|
|
1667
|
+
externalId?: string | null | undefined;
|
|
1668
|
+
totalCost?: {
|
|
1669
|
+
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";
|
|
1670
|
+
amount: number;
|
|
1671
|
+
precision: number;
|
|
1672
|
+
} | null | undefined;
|
|
1673
|
+
quantity: {
|
|
1674
|
+
amount: number;
|
|
1675
|
+
precision: number;
|
|
1676
|
+
};
|
|
1677
|
+
name: string;
|
|
1678
|
+
code: string;
|
|
1679
|
+
sku: {
|
|
1680
|
+
trackingMeasurement?: string | null | undefined;
|
|
1681
|
+
convert?: {
|
|
1682
|
+
measurement?: string | null | undefined;
|
|
1683
|
+
inventoryBindings?: {
|
|
1684
|
+
measurement?: {
|
|
1685
|
+
id: string;
|
|
1686
|
+
name: string;
|
|
1687
|
+
abbrev: string;
|
|
1688
|
+
conversion: {
|
|
1689
|
+
amount: number;
|
|
1690
|
+
precision: number;
|
|
1691
|
+
};
|
|
1692
|
+
} | null | undefined;
|
|
1693
|
+
id: string;
|
|
1694
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1695
|
+
amount: {
|
|
1696
|
+
amount: number;
|
|
1697
|
+
precision: number;
|
|
1698
|
+
};
|
|
1699
|
+
}[] | null | undefined;
|
|
1700
|
+
} | null | undefined;
|
|
1701
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1702
|
+
defaultCost?: {
|
|
1703
|
+
measurement?: {
|
|
1704
|
+
id: string;
|
|
1705
|
+
name: string;
|
|
1706
|
+
abbrev: string;
|
|
1707
|
+
conversion: {
|
|
1708
|
+
amount: number;
|
|
1709
|
+
precision: number;
|
|
1710
|
+
};
|
|
1711
|
+
} | null | undefined;
|
|
1712
|
+
costPerUnit: {
|
|
1713
|
+
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";
|
|
1714
|
+
amount: number;
|
|
1715
|
+
precision: number;
|
|
1716
|
+
};
|
|
1717
|
+
} | null | undefined;
|
|
1718
|
+
operationalGroup?: string | null | undefined;
|
|
1719
|
+
thresholds?: {
|
|
1720
|
+
low: number;
|
|
1721
|
+
mid: number;
|
|
1722
|
+
} | null | undefined;
|
|
1723
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
1724
|
+
_id: string;
|
|
1725
|
+
name: string;
|
|
1726
|
+
code: string;
|
|
1727
|
+
unit: {
|
|
1728
|
+
_id: string;
|
|
1729
|
+
name: string;
|
|
1730
|
+
abbrev: string;
|
|
1731
|
+
precision: number;
|
|
1732
|
+
measurements: {
|
|
1733
|
+
id: string;
|
|
1734
|
+
name: string;
|
|
1735
|
+
abbrev: string;
|
|
1736
|
+
conversion: {
|
|
1737
|
+
amount: number;
|
|
1738
|
+
precision: number;
|
|
1739
|
+
};
|
|
1740
|
+
}[];
|
|
1741
|
+
};
|
|
1742
|
+
};
|
|
1743
|
+
}[];
|
|
1629
1744
|
supplier: {
|
|
1630
1745
|
phoneNumber?: string | null | undefined;
|
|
1631
1746
|
email?: string | null | undefined;
|
|
@@ -1674,7 +1789,13 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1674
1789
|
recordType?: string | null | undefined;
|
|
1675
1790
|
id: string | null;
|
|
1676
1791
|
} | null | undefined;
|
|
1792
|
+
createdBy: {
|
|
1793
|
+
name: string;
|
|
1794
|
+
id: string;
|
|
1795
|
+
};
|
|
1796
|
+
createdAt: string;
|
|
1677
1797
|
received: {
|
|
1798
|
+
id?: string | null | undefined;
|
|
1678
1799
|
measurement?: {
|
|
1679
1800
|
id: string;
|
|
1680
1801
|
name: string;
|
|
@@ -1689,8 +1810,11 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1689
1810
|
amount: number;
|
|
1690
1811
|
precision: number;
|
|
1691
1812
|
} | null | undefined;
|
|
1692
|
-
id?: string | null | undefined;
|
|
1693
1813
|
externalId?: string | null | undefined;
|
|
1814
|
+
amount: {
|
|
1815
|
+
amount: number;
|
|
1816
|
+
precision: number;
|
|
1817
|
+
};
|
|
1694
1818
|
sku: {
|
|
1695
1819
|
trackingMeasurement?: string | null | undefined;
|
|
1696
1820
|
convert?: {
|
|
@@ -1705,12 +1829,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1705
1829
|
precision: number;
|
|
1706
1830
|
};
|
|
1707
1831
|
} | null | undefined;
|
|
1832
|
+
id: string;
|
|
1708
1833
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1709
1834
|
amount: {
|
|
1710
1835
|
amount: number;
|
|
1711
1836
|
precision: number;
|
|
1712
1837
|
};
|
|
1713
|
-
id: string;
|
|
1714
1838
|
}[] | null | undefined;
|
|
1715
1839
|
} | null | undefined;
|
|
1716
1840
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -1736,6 +1860,9 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1736
1860
|
mid: number;
|
|
1737
1861
|
} | null | undefined;
|
|
1738
1862
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1863
|
+
_id: string;
|
|
1864
|
+
name: string;
|
|
1865
|
+
code: string;
|
|
1739
1866
|
unit: {
|
|
1740
1867
|
_id: string;
|
|
1741
1868
|
name: string;
|
|
@@ -1751,113 +1878,10 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1751
1878
|
};
|
|
1752
1879
|
}[];
|
|
1753
1880
|
};
|
|
1754
|
-
code: string;
|
|
1755
|
-
_id: string;
|
|
1756
|
-
name: string;
|
|
1757
|
-
};
|
|
1758
|
-
amount: {
|
|
1759
|
-
amount: number;
|
|
1760
|
-
precision: number;
|
|
1761
1881
|
};
|
|
1762
1882
|
}[];
|
|
1763
|
-
createdBy: {
|
|
1764
|
-
name: string;
|
|
1765
|
-
id: string;
|
|
1766
|
-
};
|
|
1767
|
-
createdAt: string;
|
|
1768
1883
|
deliveryOrderNumber: string;
|
|
1769
1884
|
}[];
|
|
1770
|
-
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "CLOSE" | "REJECT";
|
|
1771
|
-
_id: string;
|
|
1772
|
-
seqNumber: number;
|
|
1773
|
-
items: {
|
|
1774
|
-
measurement?: {
|
|
1775
|
-
id: string;
|
|
1776
|
-
name: string;
|
|
1777
|
-
abbrev: string;
|
|
1778
|
-
conversion: {
|
|
1779
|
-
amount: number;
|
|
1780
|
-
precision: number;
|
|
1781
|
-
};
|
|
1782
|
-
} | null | undefined;
|
|
1783
|
-
id?: string | null | undefined;
|
|
1784
|
-
externalId?: string | null | undefined;
|
|
1785
|
-
totalCost?: {
|
|
1786
|
-
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";
|
|
1787
|
-
amount: number;
|
|
1788
|
-
precision: number;
|
|
1789
|
-
} | null | undefined;
|
|
1790
|
-
sku: {
|
|
1791
|
-
trackingMeasurement?: string | null | undefined;
|
|
1792
|
-
convert?: {
|
|
1793
|
-
measurement?: string | null | undefined;
|
|
1794
|
-
inventoryBindings?: {
|
|
1795
|
-
measurement?: {
|
|
1796
|
-
id: string;
|
|
1797
|
-
name: string;
|
|
1798
|
-
abbrev: string;
|
|
1799
|
-
conversion: {
|
|
1800
|
-
amount: number;
|
|
1801
|
-
precision: number;
|
|
1802
|
-
};
|
|
1803
|
-
} | null | undefined;
|
|
1804
|
-
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1805
|
-
amount: {
|
|
1806
|
-
amount: number;
|
|
1807
|
-
precision: number;
|
|
1808
|
-
};
|
|
1809
|
-
id: string;
|
|
1810
|
-
}[] | null | undefined;
|
|
1811
|
-
} | null | undefined;
|
|
1812
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1813
|
-
defaultCost?: {
|
|
1814
|
-
measurement?: {
|
|
1815
|
-
id: string;
|
|
1816
|
-
name: string;
|
|
1817
|
-
abbrev: string;
|
|
1818
|
-
conversion: {
|
|
1819
|
-
amount: number;
|
|
1820
|
-
precision: number;
|
|
1821
|
-
};
|
|
1822
|
-
} | null | undefined;
|
|
1823
|
-
costPerUnit: {
|
|
1824
|
-
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";
|
|
1825
|
-
amount: number;
|
|
1826
|
-
precision: number;
|
|
1827
|
-
};
|
|
1828
|
-
} | null | undefined;
|
|
1829
|
-
operationalGroup?: string | null | undefined;
|
|
1830
|
-
thresholds?: {
|
|
1831
|
-
low: number;
|
|
1832
|
-
mid: number;
|
|
1833
|
-
} | null | undefined;
|
|
1834
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
1835
|
-
unit: {
|
|
1836
|
-
_id: string;
|
|
1837
|
-
name: string;
|
|
1838
|
-
abbrev: string;
|
|
1839
|
-
precision: number;
|
|
1840
|
-
measurements: {
|
|
1841
|
-
id: string;
|
|
1842
|
-
name: string;
|
|
1843
|
-
abbrev: string;
|
|
1844
|
-
conversion: {
|
|
1845
|
-
amount: number;
|
|
1846
|
-
precision: number;
|
|
1847
|
-
};
|
|
1848
|
-
}[];
|
|
1849
|
-
};
|
|
1850
|
-
code: string;
|
|
1851
|
-
_id: string;
|
|
1852
|
-
name: string;
|
|
1853
|
-
};
|
|
1854
|
-
code: string;
|
|
1855
|
-
quantity: {
|
|
1856
|
-
amount: number;
|
|
1857
|
-
precision: number;
|
|
1858
|
-
};
|
|
1859
|
-
name: string;
|
|
1860
|
-
}[];
|
|
1861
1885
|
} & RevisionIdMeta, unknown>): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1862
1886
|
[key: string]: any;
|
|
1863
1887
|
}>;
|
|
@@ -1918,8 +1942,8 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1918
1942
|
_id: string;
|
|
1919
1943
|
updatedAt: string;
|
|
1920
1944
|
} | null | undefined;
|
|
1921
|
-
type: "restaurant" | "warehouse";
|
|
1922
1945
|
name: string;
|
|
1946
|
+
type: "restaurant" | "warehouse";
|
|
1923
1947
|
acceptRequest: boolean;
|
|
1924
1948
|
dbName: string;
|
|
1925
1949
|
doc: {
|
|
@@ -1927,26 +1951,14 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1927
1951
|
businessId: string;
|
|
1928
1952
|
profile: {
|
|
1929
1953
|
code?: string | null | undefined;
|
|
1954
|
+
url?: string | null | undefined;
|
|
1955
|
+
description?: string | null | undefined;
|
|
1930
1956
|
_id?: string | null | undefined;
|
|
1931
|
-
name?: string | undefined;
|
|
1932
|
-
address?: {
|
|
1933
|
-
coordinates?: number[] | null | undefined;
|
|
1934
|
-
line2?: string | null | undefined;
|
|
1935
|
-
state: string;
|
|
1936
|
-
country: string;
|
|
1937
|
-
line1: string;
|
|
1938
|
-
city: string;
|
|
1939
|
-
postcode: string;
|
|
1940
|
-
} | undefined;
|
|
1941
|
-
email?: string | undefined;
|
|
1942
|
-
regNo?: string | undefined;
|
|
1943
|
-
sstRegNo?: string | null | undefined;
|
|
1944
|
-
phoneNo?: string | undefined;
|
|
1945
1957
|
legalName?: string | null | undefined;
|
|
1958
|
+
sstRegNo?: string | null | undefined;
|
|
1946
1959
|
discovery?: boolean | null | undefined;
|
|
1947
1960
|
coverPhoto?: string | null | undefined;
|
|
1948
1961
|
thumbnailPhoto?: string | null | undefined;
|
|
1949
|
-
description?: string | null | undefined;
|
|
1950
1962
|
photos?: string[] | null | undefined;
|
|
1951
1963
|
operatingHours?: {
|
|
1952
1964
|
0: {
|
|
@@ -2000,51 +2012,29 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2000
2012
|
};
|
|
2001
2013
|
} | null | undefined;
|
|
2002
2014
|
tags?: string[] | null | undefined;
|
|
2003
|
-
|
|
2015
|
+
name: string;
|
|
2016
|
+
address: {
|
|
2017
|
+
coordinates?: number[] | null | undefined;
|
|
2018
|
+
line2?: string | null | undefined;
|
|
2019
|
+
state: string;
|
|
2020
|
+
country: string;
|
|
2021
|
+
line1: string;
|
|
2022
|
+
city: string;
|
|
2023
|
+
postcode: string;
|
|
2024
|
+
};
|
|
2025
|
+
email: string;
|
|
2026
|
+
phoneNo: string;
|
|
2027
|
+
regNo: string;
|
|
2004
2028
|
};
|
|
2005
2029
|
};
|
|
2006
2030
|
}[] | null | undefined;
|
|
2031
|
+
_id: string;
|
|
2032
|
+
name: string;
|
|
2007
2033
|
purchaseOrder: {
|
|
2008
2034
|
remark?: string | null | undefined;
|
|
2009
2035
|
ref?: string | null | undefined;
|
|
2010
|
-
supplier: {
|
|
2011
|
-
phoneNumber?: string | null | undefined;
|
|
2012
|
-
email?: string | null | undefined;
|
|
2013
|
-
_rev?: string | null | undefined;
|
|
2014
|
-
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
2015
|
-
contactName?: string | null | undefined;
|
|
2016
|
-
registrationNumber?: string | undefined;
|
|
2017
|
-
supplyItems?: {
|
|
2018
|
-
defaultCost: {
|
|
2019
|
-
measurement?: {
|
|
2020
|
-
id: string;
|
|
2021
|
-
name: string;
|
|
2022
|
-
abbrev: string;
|
|
2023
|
-
conversion: {
|
|
2024
|
-
amount: number;
|
|
2025
|
-
precision: number;
|
|
2026
|
-
};
|
|
2027
|
-
} | null | undefined;
|
|
2028
|
-
costPerUnit: {
|
|
2029
|
-
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";
|
|
2030
|
-
amount: number;
|
|
2031
|
-
precision: number;
|
|
2032
|
-
};
|
|
2033
|
-
};
|
|
2034
|
-
skuId: string;
|
|
2035
|
-
}[] | null | undefined;
|
|
2036
|
-
_id: string;
|
|
2037
|
-
name: string;
|
|
2038
|
-
address: {
|
|
2039
|
-
line2?: string | null | undefined;
|
|
2040
|
-
line1: string;
|
|
2041
|
-
state: string;
|
|
2042
|
-
city: string;
|
|
2043
|
-
postcode: string;
|
|
2044
|
-
country: string;
|
|
2045
|
-
};
|
|
2046
|
-
};
|
|
2047
2036
|
items: {
|
|
2037
|
+
id?: string | null | undefined;
|
|
2048
2038
|
measurement?: {
|
|
2049
2039
|
id: string;
|
|
2050
2040
|
name: string;
|
|
@@ -2054,7 +2044,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2054
2044
|
precision: number;
|
|
2055
2045
|
};
|
|
2056
2046
|
} | null | undefined;
|
|
2057
|
-
id?: string | null | undefined;
|
|
2058
2047
|
externalId?: string | null | undefined;
|
|
2059
2048
|
totalCost?: {
|
|
2060
2049
|
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";
|
|
@@ -2069,6 +2058,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2069
2058
|
amount: number;
|
|
2070
2059
|
precision: number;
|
|
2071
2060
|
} | null | undefined;
|
|
2061
|
+
quantity: {
|
|
2062
|
+
amount: number;
|
|
2063
|
+
precision: number;
|
|
2064
|
+
};
|
|
2065
|
+
name: string;
|
|
2066
|
+
code: string;
|
|
2072
2067
|
sku: {
|
|
2073
2068
|
trackingMeasurement?: string | null | undefined;
|
|
2074
2069
|
convert?: {
|
|
@@ -2083,12 +2078,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2083
2078
|
precision: number;
|
|
2084
2079
|
};
|
|
2085
2080
|
} | null | undefined;
|
|
2081
|
+
id: string;
|
|
2086
2082
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2087
2083
|
amount: {
|
|
2088
2084
|
amount: number;
|
|
2089
2085
|
precision: number;
|
|
2090
2086
|
};
|
|
2091
|
-
id: string;
|
|
2092
2087
|
}[] | null | undefined;
|
|
2093
2088
|
} | null | undefined;
|
|
2094
2089
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -2114,6 +2109,9 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2114
2109
|
mid: number;
|
|
2115
2110
|
} | null | undefined;
|
|
2116
2111
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2112
|
+
_id: string;
|
|
2113
|
+
name: string;
|
|
2114
|
+
code: string;
|
|
2117
2115
|
unit: {
|
|
2118
2116
|
_id: string;
|
|
2119
2117
|
name: string;
|
|
@@ -2129,24 +2127,50 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2129
2127
|
};
|
|
2130
2128
|
}[];
|
|
2131
2129
|
};
|
|
2132
|
-
code: string;
|
|
2133
|
-
_id: string;
|
|
2134
|
-
name: string;
|
|
2135
|
-
};
|
|
2136
|
-
code: string;
|
|
2137
|
-
quantity: {
|
|
2138
|
-
amount: number;
|
|
2139
|
-
precision: number;
|
|
2140
2130
|
};
|
|
2141
|
-
name: string;
|
|
2142
2131
|
quantityStep: {
|
|
2143
2132
|
amount: number;
|
|
2144
2133
|
precision: number;
|
|
2145
2134
|
};
|
|
2146
2135
|
}[];
|
|
2136
|
+
supplier: {
|
|
2137
|
+
phoneNumber?: string | null | undefined;
|
|
2138
|
+
email?: string | null | undefined;
|
|
2139
|
+
_rev?: string | null | undefined;
|
|
2140
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
2141
|
+
contactName?: string | null | undefined;
|
|
2142
|
+
registrationNumber?: string | undefined;
|
|
2143
|
+
supplyItems?: {
|
|
2144
|
+
defaultCost: {
|
|
2145
|
+
measurement?: {
|
|
2146
|
+
id: string;
|
|
2147
|
+
name: string;
|
|
2148
|
+
abbrev: string;
|
|
2149
|
+
conversion: {
|
|
2150
|
+
amount: number;
|
|
2151
|
+
precision: number;
|
|
2152
|
+
};
|
|
2153
|
+
} | null | undefined;
|
|
2154
|
+
costPerUnit: {
|
|
2155
|
+
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";
|
|
2156
|
+
amount: number;
|
|
2157
|
+
precision: number;
|
|
2158
|
+
};
|
|
2159
|
+
};
|
|
2160
|
+
skuId: string;
|
|
2161
|
+
}[] | null | undefined;
|
|
2162
|
+
_id: string;
|
|
2163
|
+
name: string;
|
|
2164
|
+
address: {
|
|
2165
|
+
line2?: string | null | undefined;
|
|
2166
|
+
line1: string;
|
|
2167
|
+
state: string;
|
|
2168
|
+
city: string;
|
|
2169
|
+
postcode: string;
|
|
2170
|
+
country: string;
|
|
2171
|
+
};
|
|
2172
|
+
};
|
|
2147
2173
|
};
|
|
2148
|
-
_id: string;
|
|
2149
|
-
name: string;
|
|
2150
2174
|
} | null | undefined;
|
|
2151
2175
|
request?: {
|
|
2152
2176
|
id: string;
|
|
@@ -2162,6 +2186,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2162
2186
|
id: string | null;
|
|
2163
2187
|
} | null | undefined;
|
|
2164
2188
|
items: {
|
|
2189
|
+
id?: string | null | undefined;
|
|
2165
2190
|
measurement?: {
|
|
2166
2191
|
id: string;
|
|
2167
2192
|
name: string;
|
|
@@ -2176,8 +2201,11 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2176
2201
|
amount: number;
|
|
2177
2202
|
precision: number;
|
|
2178
2203
|
} | null | undefined;
|
|
2179
|
-
id?: string | null | undefined;
|
|
2180
2204
|
externalId?: string | null | undefined;
|
|
2205
|
+
amount: {
|
|
2206
|
+
amount: number;
|
|
2207
|
+
precision: number;
|
|
2208
|
+
};
|
|
2181
2209
|
sku: {
|
|
2182
2210
|
trackingMeasurement?: string | null | undefined;
|
|
2183
2211
|
convert?: {
|
|
@@ -2192,12 +2220,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2192
2220
|
precision: number;
|
|
2193
2221
|
};
|
|
2194
2222
|
} | null | undefined;
|
|
2223
|
+
id: string;
|
|
2195
2224
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2196
2225
|
amount: {
|
|
2197
2226
|
amount: number;
|
|
2198
2227
|
precision: number;
|
|
2199
2228
|
};
|
|
2200
|
-
id: string;
|
|
2201
2229
|
}[] | null | undefined;
|
|
2202
2230
|
} | null | undefined;
|
|
2203
2231
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -2223,6 +2251,9 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2223
2251
|
mid: number;
|
|
2224
2252
|
} | null | undefined;
|
|
2225
2253
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2254
|
+
_id: string;
|
|
2255
|
+
name: string;
|
|
2256
|
+
code: string;
|
|
2226
2257
|
unit: {
|
|
2227
2258
|
_id: string;
|
|
2228
2259
|
name: string;
|
|
@@ -2238,59 +2269,151 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2238
2269
|
};
|
|
2239
2270
|
}[];
|
|
2240
2271
|
};
|
|
2241
|
-
code: string;
|
|
2242
|
-
_id: string;
|
|
2243
|
-
name: string;
|
|
2244
|
-
};
|
|
2245
|
-
amount: {
|
|
2246
|
-
amount: number;
|
|
2247
|
-
precision: number;
|
|
2248
2272
|
};
|
|
2249
2273
|
}[];
|
|
2250
2274
|
id: string;
|
|
2251
2275
|
createdAt: string;
|
|
2252
2276
|
}[] | null | undefined;
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
contactName?: string | null | undefined;
|
|
2259
|
-
registrationNumber?: string | undefined;
|
|
2260
|
-
supplyItems?: {
|
|
2261
|
-
defaultCost: {
|
|
2262
|
-
measurement?: {
|
|
2263
|
-
id: string;
|
|
2264
|
-
name: string;
|
|
2265
|
-
abbrev: string;
|
|
2266
|
-
conversion: {
|
|
2267
|
-
amount: number;
|
|
2268
|
-
precision: number;
|
|
2269
|
-
};
|
|
2270
|
-
} | null | undefined;
|
|
2271
|
-
costPerUnit: {
|
|
2272
|
-
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";
|
|
2273
|
-
amount: number;
|
|
2274
|
-
precision: number;
|
|
2275
|
-
};
|
|
2276
|
-
};
|
|
2277
|
-
skuId: string;
|
|
2278
|
-
}[] | null | undefined;
|
|
2279
|
-
_id: string;
|
|
2280
|
-
name: string;
|
|
2281
|
-
address: {
|
|
2282
|
-
line2?: string | null | undefined;
|
|
2283
|
-
line1: string;
|
|
2284
|
-
state: string;
|
|
2285
|
-
city: string;
|
|
2286
|
-
postcode: string;
|
|
2287
|
-
country: string;
|
|
2277
|
+
actionChangelogs?: {
|
|
2278
|
+
action: "approveDraft" | "rejectDraft" | "submitRequest" | "confirmDraft" | "cancelDraft" | "approveRequest" | "processRequest" | "receiveStock" | "completeReceive" | "rejectRequest";
|
|
2279
|
+
changedBy: {
|
|
2280
|
+
name: string;
|
|
2281
|
+
id: string;
|
|
2288
2282
|
};
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2283
|
+
changedAt: string;
|
|
2284
|
+
}[] | null | undefined;
|
|
2285
|
+
_id: string;
|
|
2286
|
+
seqNumber: number;
|
|
2287
|
+
status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "REJECT" | "PENDING_APPROVAL" | "CLOSE";
|
|
2288
|
+
items: {
|
|
2292
2289
|
id?: string | null | undefined;
|
|
2293
|
-
|
|
2290
|
+
measurement?: {
|
|
2291
|
+
id: string;
|
|
2292
|
+
name: string;
|
|
2293
|
+
abbrev: string;
|
|
2294
|
+
conversion: {
|
|
2295
|
+
amount: number;
|
|
2296
|
+
precision: number;
|
|
2297
|
+
};
|
|
2298
|
+
} | null | undefined;
|
|
2299
|
+
externalId?: string | null | undefined;
|
|
2300
|
+
totalCost?: {
|
|
2301
|
+
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";
|
|
2302
|
+
amount: number;
|
|
2303
|
+
precision: number;
|
|
2304
|
+
} | null | undefined;
|
|
2305
|
+
quantity: {
|
|
2306
|
+
amount: number;
|
|
2307
|
+
precision: number;
|
|
2308
|
+
};
|
|
2309
|
+
name: string;
|
|
2310
|
+
code: string;
|
|
2311
|
+
sku: {
|
|
2312
|
+
trackingMeasurement?: string | null | undefined;
|
|
2313
|
+
convert?: {
|
|
2314
|
+
measurement?: string | null | undefined;
|
|
2315
|
+
inventoryBindings?: {
|
|
2316
|
+
measurement?: {
|
|
2317
|
+
id: string;
|
|
2318
|
+
name: string;
|
|
2319
|
+
abbrev: string;
|
|
2320
|
+
conversion: {
|
|
2321
|
+
amount: number;
|
|
2322
|
+
precision: number;
|
|
2323
|
+
};
|
|
2324
|
+
} | null | undefined;
|
|
2325
|
+
id: string;
|
|
2326
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2327
|
+
amount: {
|
|
2328
|
+
amount: number;
|
|
2329
|
+
precision: number;
|
|
2330
|
+
};
|
|
2331
|
+
}[] | null | undefined;
|
|
2332
|
+
} | null | undefined;
|
|
2333
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
2334
|
+
defaultCost?: {
|
|
2335
|
+
measurement?: {
|
|
2336
|
+
id: string;
|
|
2337
|
+
name: string;
|
|
2338
|
+
abbrev: string;
|
|
2339
|
+
conversion: {
|
|
2340
|
+
amount: number;
|
|
2341
|
+
precision: number;
|
|
2342
|
+
};
|
|
2343
|
+
} | null | undefined;
|
|
2344
|
+
costPerUnit: {
|
|
2345
|
+
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";
|
|
2346
|
+
amount: number;
|
|
2347
|
+
precision: number;
|
|
2348
|
+
};
|
|
2349
|
+
} | null | undefined;
|
|
2350
|
+
operationalGroup?: string | null | undefined;
|
|
2351
|
+
thresholds?: {
|
|
2352
|
+
low: number;
|
|
2353
|
+
mid: number;
|
|
2354
|
+
} | null | undefined;
|
|
2355
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2356
|
+
_id: string;
|
|
2357
|
+
name: string;
|
|
2358
|
+
code: string;
|
|
2359
|
+
unit: {
|
|
2360
|
+
_id: string;
|
|
2361
|
+
name: string;
|
|
2362
|
+
abbrev: string;
|
|
2363
|
+
precision: number;
|
|
2364
|
+
measurements: {
|
|
2365
|
+
id: string;
|
|
2366
|
+
name: string;
|
|
2367
|
+
abbrev: string;
|
|
2368
|
+
conversion: {
|
|
2369
|
+
amount: number;
|
|
2370
|
+
precision: number;
|
|
2371
|
+
};
|
|
2372
|
+
}[];
|
|
2373
|
+
};
|
|
2374
|
+
};
|
|
2375
|
+
}[];
|
|
2376
|
+
supplier: {
|
|
2377
|
+
phoneNumber?: string | null | undefined;
|
|
2378
|
+
email?: string | null | undefined;
|
|
2379
|
+
_rev?: string | null | undefined;
|
|
2380
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
2381
|
+
contactName?: string | null | undefined;
|
|
2382
|
+
registrationNumber?: string | undefined;
|
|
2383
|
+
supplyItems?: {
|
|
2384
|
+
defaultCost: {
|
|
2385
|
+
measurement?: {
|
|
2386
|
+
id: string;
|
|
2387
|
+
name: string;
|
|
2388
|
+
abbrev: string;
|
|
2389
|
+
conversion: {
|
|
2390
|
+
amount: number;
|
|
2391
|
+
precision: number;
|
|
2392
|
+
};
|
|
2393
|
+
} | null | undefined;
|
|
2394
|
+
costPerUnit: {
|
|
2395
|
+
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";
|
|
2396
|
+
amount: number;
|
|
2397
|
+
precision: number;
|
|
2398
|
+
};
|
|
2399
|
+
};
|
|
2400
|
+
skuId: string;
|
|
2401
|
+
}[] | null | undefined;
|
|
2402
|
+
_id: string;
|
|
2403
|
+
name: string;
|
|
2404
|
+
address: {
|
|
2405
|
+
line2?: string | null | undefined;
|
|
2406
|
+
line1: string;
|
|
2407
|
+
state: string;
|
|
2408
|
+
city: string;
|
|
2409
|
+
postcode: string;
|
|
2410
|
+
country: string;
|
|
2411
|
+
};
|
|
2412
|
+
};
|
|
2413
|
+
deliveryOrder: {
|
|
2414
|
+
remark?: string | null | undefined;
|
|
2415
|
+
id?: string | null | undefined;
|
|
2416
|
+
adjustment?: string | null | undefined;
|
|
2294
2417
|
effectiveAt?: string | null | undefined;
|
|
2295
2418
|
fullfillmentId?: string | null | undefined;
|
|
2296
2419
|
netSuite?: {
|
|
@@ -2298,7 +2421,13 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2298
2421
|
recordType?: string | null | undefined;
|
|
2299
2422
|
id: string | null;
|
|
2300
2423
|
} | null | undefined;
|
|
2424
|
+
createdBy: {
|
|
2425
|
+
name: string;
|
|
2426
|
+
id: string;
|
|
2427
|
+
};
|
|
2428
|
+
createdAt: string;
|
|
2301
2429
|
received: {
|
|
2430
|
+
id?: string | null | undefined;
|
|
2302
2431
|
measurement?: {
|
|
2303
2432
|
id: string;
|
|
2304
2433
|
name: string;
|
|
@@ -2313,8 +2442,11 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2313
2442
|
amount: number;
|
|
2314
2443
|
precision: number;
|
|
2315
2444
|
} | null | undefined;
|
|
2316
|
-
id?: string | null | undefined;
|
|
2317
2445
|
externalId?: string | null | undefined;
|
|
2446
|
+
amount: {
|
|
2447
|
+
amount: number;
|
|
2448
|
+
precision: number;
|
|
2449
|
+
};
|
|
2318
2450
|
sku: {
|
|
2319
2451
|
trackingMeasurement?: string | null | undefined;
|
|
2320
2452
|
convert?: {
|
|
@@ -2329,12 +2461,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2329
2461
|
precision: number;
|
|
2330
2462
|
};
|
|
2331
2463
|
} | null | undefined;
|
|
2464
|
+
id: string;
|
|
2332
2465
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2333
2466
|
amount: {
|
|
2334
2467
|
amount: number;
|
|
2335
2468
|
precision: number;
|
|
2336
2469
|
};
|
|
2337
|
-
id: string;
|
|
2338
2470
|
}[] | null | undefined;
|
|
2339
2471
|
} | null | undefined;
|
|
2340
2472
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -2360,6 +2492,9 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2360
2492
|
mid: number;
|
|
2361
2493
|
} | null | undefined;
|
|
2362
2494
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2495
|
+
_id: string;
|
|
2496
|
+
name: string;
|
|
2497
|
+
code: string;
|
|
2363
2498
|
unit: {
|
|
2364
2499
|
_id: string;
|
|
2365
2500
|
name: string;
|
|
@@ -2375,113 +2510,10 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2375
2510
|
};
|
|
2376
2511
|
}[];
|
|
2377
2512
|
};
|
|
2378
|
-
code: string;
|
|
2379
|
-
_id: string;
|
|
2380
|
-
name: string;
|
|
2381
|
-
};
|
|
2382
|
-
amount: {
|
|
2383
|
-
amount: number;
|
|
2384
|
-
precision: number;
|
|
2385
2513
|
};
|
|
2386
2514
|
}[];
|
|
2387
|
-
createdBy: {
|
|
2388
|
-
name: string;
|
|
2389
|
-
id: string;
|
|
2390
|
-
};
|
|
2391
|
-
createdAt: string;
|
|
2392
2515
|
deliveryOrderNumber: string;
|
|
2393
2516
|
}[];
|
|
2394
|
-
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "CLOSE" | "REJECT";
|
|
2395
|
-
_id: string;
|
|
2396
|
-
seqNumber: number;
|
|
2397
|
-
items: {
|
|
2398
|
-
measurement?: {
|
|
2399
|
-
id: string;
|
|
2400
|
-
name: string;
|
|
2401
|
-
abbrev: string;
|
|
2402
|
-
conversion: {
|
|
2403
|
-
amount: number;
|
|
2404
|
-
precision: number;
|
|
2405
|
-
};
|
|
2406
|
-
} | null | undefined;
|
|
2407
|
-
id?: string | null | undefined;
|
|
2408
|
-
externalId?: string | null | undefined;
|
|
2409
|
-
totalCost?: {
|
|
2410
|
-
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";
|
|
2411
|
-
amount: number;
|
|
2412
|
-
precision: number;
|
|
2413
|
-
} | null | undefined;
|
|
2414
|
-
sku: {
|
|
2415
|
-
trackingMeasurement?: string | null | undefined;
|
|
2416
|
-
convert?: {
|
|
2417
|
-
measurement?: string | null | undefined;
|
|
2418
|
-
inventoryBindings?: {
|
|
2419
|
-
measurement?: {
|
|
2420
|
-
id: string;
|
|
2421
|
-
name: string;
|
|
2422
|
-
abbrev: string;
|
|
2423
|
-
conversion: {
|
|
2424
|
-
amount: number;
|
|
2425
|
-
precision: number;
|
|
2426
|
-
};
|
|
2427
|
-
} | null | undefined;
|
|
2428
|
-
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2429
|
-
amount: {
|
|
2430
|
-
amount: number;
|
|
2431
|
-
precision: number;
|
|
2432
|
-
};
|
|
2433
|
-
id: string;
|
|
2434
|
-
}[] | null | undefined;
|
|
2435
|
-
} | null | undefined;
|
|
2436
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
2437
|
-
defaultCost?: {
|
|
2438
|
-
measurement?: {
|
|
2439
|
-
id: string;
|
|
2440
|
-
name: string;
|
|
2441
|
-
abbrev: string;
|
|
2442
|
-
conversion: {
|
|
2443
|
-
amount: number;
|
|
2444
|
-
precision: number;
|
|
2445
|
-
};
|
|
2446
|
-
} | null | undefined;
|
|
2447
|
-
costPerUnit: {
|
|
2448
|
-
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";
|
|
2449
|
-
amount: number;
|
|
2450
|
-
precision: number;
|
|
2451
|
-
};
|
|
2452
|
-
} | null | undefined;
|
|
2453
|
-
operationalGroup?: string | null | undefined;
|
|
2454
|
-
thresholds?: {
|
|
2455
|
-
low: number;
|
|
2456
|
-
mid: number;
|
|
2457
|
-
} | null | undefined;
|
|
2458
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
2459
|
-
unit: {
|
|
2460
|
-
_id: string;
|
|
2461
|
-
name: string;
|
|
2462
|
-
abbrev: string;
|
|
2463
|
-
precision: number;
|
|
2464
|
-
measurements: {
|
|
2465
|
-
id: string;
|
|
2466
|
-
name: string;
|
|
2467
|
-
abbrev: string;
|
|
2468
|
-
conversion: {
|
|
2469
|
-
amount: number;
|
|
2470
|
-
precision: number;
|
|
2471
|
-
};
|
|
2472
|
-
}[];
|
|
2473
|
-
};
|
|
2474
|
-
code: string;
|
|
2475
|
-
_id: string;
|
|
2476
|
-
name: string;
|
|
2477
|
-
};
|
|
2478
|
-
code: string;
|
|
2479
|
-
quantity: {
|
|
2480
|
-
amount: number;
|
|
2481
|
-
precision: number;
|
|
2482
|
-
};
|
|
2483
|
-
name: string;
|
|
2484
|
-
}[];
|
|
2485
2517
|
} | null | undefined;
|
|
2486
2518
|
netSuite?: {
|
|
2487
2519
|
refNo?: string | null | undefined;
|
|
@@ -2587,8 +2619,8 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2587
2619
|
_id: string;
|
|
2588
2620
|
updatedAt: string;
|
|
2589
2621
|
} | null | undefined;
|
|
2590
|
-
type: "restaurant" | "warehouse";
|
|
2591
2622
|
name: string;
|
|
2623
|
+
type: "restaurant" | "warehouse";
|
|
2592
2624
|
acceptRequest: boolean;
|
|
2593
2625
|
dbName: string;
|
|
2594
2626
|
doc: {
|
|
@@ -2596,26 +2628,14 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2596
2628
|
businessId: string;
|
|
2597
2629
|
profile: {
|
|
2598
2630
|
code?: string | null | undefined;
|
|
2631
|
+
url?: string | null | undefined;
|
|
2632
|
+
description?: string | null | undefined;
|
|
2599
2633
|
_id?: string | null | undefined;
|
|
2600
|
-
name?: string | undefined;
|
|
2601
|
-
address?: {
|
|
2602
|
-
coordinates?: number[] | null | undefined;
|
|
2603
|
-
line2?: string | null | undefined;
|
|
2604
|
-
state: string;
|
|
2605
|
-
country: string;
|
|
2606
|
-
line1: string;
|
|
2607
|
-
city: string;
|
|
2608
|
-
postcode: string;
|
|
2609
|
-
} | undefined;
|
|
2610
|
-
email?: string | undefined;
|
|
2611
|
-
regNo?: string | undefined;
|
|
2612
|
-
sstRegNo?: string | null | undefined;
|
|
2613
|
-
phoneNo?: string | undefined;
|
|
2614
2634
|
legalName?: string | null | undefined;
|
|
2635
|
+
sstRegNo?: string | null | undefined;
|
|
2615
2636
|
discovery?: boolean | null | undefined;
|
|
2616
2637
|
coverPhoto?: string | null | undefined;
|
|
2617
2638
|
thumbnailPhoto?: string | null | undefined;
|
|
2618
|
-
description?: string | null | undefined;
|
|
2619
2639
|
photos?: string[] | null | undefined;
|
|
2620
2640
|
operatingHours?: {
|
|
2621
2641
|
0: {
|
|
@@ -2669,51 +2689,29 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2669
2689
|
};
|
|
2670
2690
|
} | null | undefined;
|
|
2671
2691
|
tags?: string[] | null | undefined;
|
|
2672
|
-
|
|
2692
|
+
name: string;
|
|
2693
|
+
address: {
|
|
2694
|
+
coordinates?: number[] | null | undefined;
|
|
2695
|
+
line2?: string | null | undefined;
|
|
2696
|
+
state: string;
|
|
2697
|
+
country: string;
|
|
2698
|
+
line1: string;
|
|
2699
|
+
city: string;
|
|
2700
|
+
postcode: string;
|
|
2701
|
+
};
|
|
2702
|
+
email: string;
|
|
2703
|
+
phoneNo: string;
|
|
2704
|
+
regNo: string;
|
|
2673
2705
|
};
|
|
2674
2706
|
};
|
|
2675
2707
|
}[] | null | undefined;
|
|
2708
|
+
_id: string;
|
|
2709
|
+
name: string;
|
|
2676
2710
|
purchaseOrder: {
|
|
2677
2711
|
remark?: string | null | undefined;
|
|
2678
2712
|
ref?: string | null | undefined;
|
|
2679
|
-
supplier: {
|
|
2680
|
-
phoneNumber?: string | null | undefined;
|
|
2681
|
-
email?: string | null | undefined;
|
|
2682
|
-
_rev?: string | null | undefined;
|
|
2683
|
-
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
2684
|
-
contactName?: string | null | undefined;
|
|
2685
|
-
registrationNumber?: string | undefined;
|
|
2686
|
-
supplyItems?: {
|
|
2687
|
-
defaultCost: {
|
|
2688
|
-
measurement?: {
|
|
2689
|
-
id: string;
|
|
2690
|
-
name: string;
|
|
2691
|
-
abbrev: string;
|
|
2692
|
-
conversion: {
|
|
2693
|
-
amount: number;
|
|
2694
|
-
precision: number;
|
|
2695
|
-
};
|
|
2696
|
-
} | null | undefined;
|
|
2697
|
-
costPerUnit: {
|
|
2698
|
-
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";
|
|
2699
|
-
amount: number;
|
|
2700
|
-
precision: number;
|
|
2701
|
-
};
|
|
2702
|
-
};
|
|
2703
|
-
skuId: string;
|
|
2704
|
-
}[] | null | undefined;
|
|
2705
|
-
_id: string;
|
|
2706
|
-
name: string;
|
|
2707
|
-
address: {
|
|
2708
|
-
line2?: string | null | undefined;
|
|
2709
|
-
line1: string;
|
|
2710
|
-
state: string;
|
|
2711
|
-
city: string;
|
|
2712
|
-
postcode: string;
|
|
2713
|
-
country: string;
|
|
2714
|
-
};
|
|
2715
|
-
};
|
|
2716
2713
|
items: {
|
|
2714
|
+
id?: string | null | undefined;
|
|
2717
2715
|
measurement?: {
|
|
2718
2716
|
id: string;
|
|
2719
2717
|
name: string;
|
|
@@ -2723,7 +2721,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2723
2721
|
precision: number;
|
|
2724
2722
|
};
|
|
2725
2723
|
} | null | undefined;
|
|
2726
|
-
id?: string | null | undefined;
|
|
2727
2724
|
externalId?: string | null | undefined;
|
|
2728
2725
|
totalCost?: {
|
|
2729
2726
|
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";
|
|
@@ -2738,6 +2735,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2738
2735
|
amount: number;
|
|
2739
2736
|
precision: number;
|
|
2740
2737
|
} | null | undefined;
|
|
2738
|
+
quantity: {
|
|
2739
|
+
amount: number;
|
|
2740
|
+
precision: number;
|
|
2741
|
+
};
|
|
2742
|
+
name: string;
|
|
2743
|
+
code: string;
|
|
2741
2744
|
sku: {
|
|
2742
2745
|
trackingMeasurement?: string | null | undefined;
|
|
2743
2746
|
convert?: {
|
|
@@ -2752,12 +2755,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2752
2755
|
precision: number;
|
|
2753
2756
|
};
|
|
2754
2757
|
} | null | undefined;
|
|
2758
|
+
id: string;
|
|
2755
2759
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2756
2760
|
amount: {
|
|
2757
2761
|
amount: number;
|
|
2758
2762
|
precision: number;
|
|
2759
2763
|
};
|
|
2760
|
-
id: string;
|
|
2761
2764
|
}[] | null | undefined;
|
|
2762
2765
|
} | null | undefined;
|
|
2763
2766
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -2783,6 +2786,9 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2783
2786
|
mid: number;
|
|
2784
2787
|
} | null | undefined;
|
|
2785
2788
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2789
|
+
_id: string;
|
|
2790
|
+
name: string;
|
|
2791
|
+
code: string;
|
|
2786
2792
|
unit: {
|
|
2787
2793
|
_id: string;
|
|
2788
2794
|
name: string;
|
|
@@ -2798,24 +2804,50 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2798
2804
|
};
|
|
2799
2805
|
}[];
|
|
2800
2806
|
};
|
|
2801
|
-
code: string;
|
|
2802
|
-
_id: string;
|
|
2803
|
-
name: string;
|
|
2804
|
-
};
|
|
2805
|
-
code: string;
|
|
2806
|
-
quantity: {
|
|
2807
|
-
amount: number;
|
|
2808
|
-
precision: number;
|
|
2809
2807
|
};
|
|
2810
|
-
name: string;
|
|
2811
2808
|
quantityStep: {
|
|
2812
2809
|
amount: number;
|
|
2813
2810
|
precision: number;
|
|
2814
2811
|
};
|
|
2815
2812
|
}[];
|
|
2813
|
+
supplier: {
|
|
2814
|
+
phoneNumber?: string | null | undefined;
|
|
2815
|
+
email?: string | null | undefined;
|
|
2816
|
+
_rev?: string | null | undefined;
|
|
2817
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
2818
|
+
contactName?: string | null | undefined;
|
|
2819
|
+
registrationNumber?: string | undefined;
|
|
2820
|
+
supplyItems?: {
|
|
2821
|
+
defaultCost: {
|
|
2822
|
+
measurement?: {
|
|
2823
|
+
id: string;
|
|
2824
|
+
name: string;
|
|
2825
|
+
abbrev: string;
|
|
2826
|
+
conversion: {
|
|
2827
|
+
amount: number;
|
|
2828
|
+
precision: number;
|
|
2829
|
+
};
|
|
2830
|
+
} | null | undefined;
|
|
2831
|
+
costPerUnit: {
|
|
2832
|
+
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";
|
|
2833
|
+
amount: number;
|
|
2834
|
+
precision: number;
|
|
2835
|
+
};
|
|
2836
|
+
};
|
|
2837
|
+
skuId: string;
|
|
2838
|
+
}[] | null | undefined;
|
|
2839
|
+
_id: string;
|
|
2840
|
+
name: string;
|
|
2841
|
+
address: {
|
|
2842
|
+
line2?: string | null | undefined;
|
|
2843
|
+
line1: string;
|
|
2844
|
+
state: string;
|
|
2845
|
+
city: string;
|
|
2846
|
+
postcode: string;
|
|
2847
|
+
country: string;
|
|
2848
|
+
};
|
|
2849
|
+
};
|
|
2816
2850
|
};
|
|
2817
|
-
_id: string;
|
|
2818
|
-
name: string;
|
|
2819
2851
|
} | null | undefined;
|
|
2820
2852
|
request?: {
|
|
2821
2853
|
id: string;
|
|
@@ -2831,6 +2863,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2831
2863
|
id: string | null;
|
|
2832
2864
|
} | null | undefined;
|
|
2833
2865
|
items: {
|
|
2866
|
+
id?: string | null | undefined;
|
|
2834
2867
|
measurement?: {
|
|
2835
2868
|
id: string;
|
|
2836
2869
|
name: string;
|
|
@@ -2845,8 +2878,11 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2845
2878
|
amount: number;
|
|
2846
2879
|
precision: number;
|
|
2847
2880
|
} | null | undefined;
|
|
2848
|
-
id?: string | null | undefined;
|
|
2849
2881
|
externalId?: string | null | undefined;
|
|
2882
|
+
amount: {
|
|
2883
|
+
amount: number;
|
|
2884
|
+
precision: number;
|
|
2885
|
+
};
|
|
2850
2886
|
sku: {
|
|
2851
2887
|
trackingMeasurement?: string | null | undefined;
|
|
2852
2888
|
convert?: {
|
|
@@ -2861,12 +2897,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2861
2897
|
precision: number;
|
|
2862
2898
|
};
|
|
2863
2899
|
} | null | undefined;
|
|
2900
|
+
id: string;
|
|
2864
2901
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2865
2902
|
amount: {
|
|
2866
2903
|
amount: number;
|
|
2867
2904
|
precision: number;
|
|
2868
2905
|
};
|
|
2869
|
-
id: string;
|
|
2870
2906
|
}[] | null | undefined;
|
|
2871
2907
|
} | null | undefined;
|
|
2872
2908
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -2892,6 +2928,9 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2892
2928
|
mid: number;
|
|
2893
2929
|
} | null | undefined;
|
|
2894
2930
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2931
|
+
_id: string;
|
|
2932
|
+
name: string;
|
|
2933
|
+
code: string;
|
|
2895
2934
|
unit: {
|
|
2896
2935
|
_id: string;
|
|
2897
2936
|
name: string;
|
|
@@ -2907,18 +2946,110 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2907
2946
|
};
|
|
2908
2947
|
}[];
|
|
2909
2948
|
};
|
|
2910
|
-
|
|
2949
|
+
};
|
|
2950
|
+
}[];
|
|
2951
|
+
id: string;
|
|
2952
|
+
createdAt: string;
|
|
2953
|
+
}[] | null | undefined;
|
|
2954
|
+
actionChangelogs?: {
|
|
2955
|
+
action: "approveDraft" | "rejectDraft" | "submitRequest" | "confirmDraft" | "cancelDraft" | "approveRequest" | "processRequest" | "receiveStock" | "completeReceive" | "rejectRequest";
|
|
2956
|
+
changedBy: {
|
|
2957
|
+
name: string;
|
|
2958
|
+
id: string;
|
|
2959
|
+
};
|
|
2960
|
+
changedAt: string;
|
|
2961
|
+
}[] | null | undefined;
|
|
2962
|
+
_id: string;
|
|
2963
|
+
seqNumber: number;
|
|
2964
|
+
status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "REJECT" | "PENDING_APPROVAL" | "CLOSE";
|
|
2965
|
+
items: {
|
|
2966
|
+
id?: string | null | undefined;
|
|
2967
|
+
measurement?: {
|
|
2968
|
+
id: string;
|
|
2969
|
+
name: string;
|
|
2970
|
+
abbrev: string;
|
|
2971
|
+
conversion: {
|
|
2972
|
+
amount: number;
|
|
2973
|
+
precision: number;
|
|
2974
|
+
};
|
|
2975
|
+
} | null | undefined;
|
|
2976
|
+
externalId?: string | null | undefined;
|
|
2977
|
+
totalCost?: {
|
|
2978
|
+
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";
|
|
2979
|
+
amount: number;
|
|
2980
|
+
precision: number;
|
|
2981
|
+
} | null | undefined;
|
|
2982
|
+
quantity: {
|
|
2983
|
+
amount: number;
|
|
2984
|
+
precision: number;
|
|
2985
|
+
};
|
|
2986
|
+
name: string;
|
|
2987
|
+
code: string;
|
|
2988
|
+
sku: {
|
|
2989
|
+
trackingMeasurement?: string | null | undefined;
|
|
2990
|
+
convert?: {
|
|
2991
|
+
measurement?: string | null | undefined;
|
|
2992
|
+
inventoryBindings?: {
|
|
2993
|
+
measurement?: {
|
|
2994
|
+
id: string;
|
|
2995
|
+
name: string;
|
|
2996
|
+
abbrev: string;
|
|
2997
|
+
conversion: {
|
|
2998
|
+
amount: number;
|
|
2999
|
+
precision: number;
|
|
3000
|
+
};
|
|
3001
|
+
} | null | undefined;
|
|
3002
|
+
id: string;
|
|
3003
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3004
|
+
amount: {
|
|
3005
|
+
amount: number;
|
|
3006
|
+
precision: number;
|
|
3007
|
+
};
|
|
3008
|
+
}[] | null | undefined;
|
|
3009
|
+
} | null | undefined;
|
|
3010
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
3011
|
+
defaultCost?: {
|
|
3012
|
+
measurement?: {
|
|
3013
|
+
id: string;
|
|
3014
|
+
name: string;
|
|
3015
|
+
abbrev: string;
|
|
3016
|
+
conversion: {
|
|
3017
|
+
amount: number;
|
|
3018
|
+
precision: number;
|
|
3019
|
+
};
|
|
3020
|
+
} | null | undefined;
|
|
3021
|
+
costPerUnit: {
|
|
3022
|
+
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";
|
|
3023
|
+
amount: number;
|
|
3024
|
+
precision: number;
|
|
3025
|
+
};
|
|
3026
|
+
} | null | undefined;
|
|
3027
|
+
operationalGroup?: string | null | undefined;
|
|
3028
|
+
thresholds?: {
|
|
3029
|
+
low: number;
|
|
3030
|
+
mid: number;
|
|
3031
|
+
} | null | undefined;
|
|
3032
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
3033
|
+
_id: string;
|
|
3034
|
+
name: string;
|
|
3035
|
+
code: string;
|
|
3036
|
+
unit: {
|
|
2911
3037
|
_id: string;
|
|
2912
3038
|
name: string;
|
|
2913
|
-
|
|
2914
|
-
amount: {
|
|
2915
|
-
amount: number;
|
|
3039
|
+
abbrev: string;
|
|
2916
3040
|
precision: number;
|
|
3041
|
+
measurements: {
|
|
3042
|
+
id: string;
|
|
3043
|
+
name: string;
|
|
3044
|
+
abbrev: string;
|
|
3045
|
+
conversion: {
|
|
3046
|
+
amount: number;
|
|
3047
|
+
precision: number;
|
|
3048
|
+
};
|
|
3049
|
+
}[];
|
|
2917
3050
|
};
|
|
2918
|
-
}
|
|
2919
|
-
|
|
2920
|
-
createdAt: string;
|
|
2921
|
-
}[] | null | undefined;
|
|
3051
|
+
};
|
|
3052
|
+
}[];
|
|
2922
3053
|
supplier: {
|
|
2923
3054
|
phoneNumber?: string | null | undefined;
|
|
2924
3055
|
email?: string | null | undefined;
|
|
@@ -2967,7 +3098,13 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2967
3098
|
recordType?: string | null | undefined;
|
|
2968
3099
|
id: string | null;
|
|
2969
3100
|
} | null | undefined;
|
|
3101
|
+
createdBy: {
|
|
3102
|
+
name: string;
|
|
3103
|
+
id: string;
|
|
3104
|
+
};
|
|
3105
|
+
createdAt: string;
|
|
2970
3106
|
received: {
|
|
3107
|
+
id?: string | null | undefined;
|
|
2971
3108
|
measurement?: {
|
|
2972
3109
|
id: string;
|
|
2973
3110
|
name: string;
|
|
@@ -2982,8 +3119,11 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2982
3119
|
amount: number;
|
|
2983
3120
|
precision: number;
|
|
2984
3121
|
} | null | undefined;
|
|
2985
|
-
id?: string | null | undefined;
|
|
2986
3122
|
externalId?: string | null | undefined;
|
|
3123
|
+
amount: {
|
|
3124
|
+
amount: number;
|
|
3125
|
+
precision: number;
|
|
3126
|
+
};
|
|
2987
3127
|
sku: {
|
|
2988
3128
|
trackingMeasurement?: string | null | undefined;
|
|
2989
3129
|
convert?: {
|
|
@@ -2998,12 +3138,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2998
3138
|
precision: number;
|
|
2999
3139
|
};
|
|
3000
3140
|
} | null | undefined;
|
|
3141
|
+
id: string;
|
|
3001
3142
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3002
3143
|
amount: {
|
|
3003
3144
|
amount: number;
|
|
3004
3145
|
precision: number;
|
|
3005
3146
|
};
|
|
3006
|
-
id: string;
|
|
3007
3147
|
}[] | null | undefined;
|
|
3008
3148
|
} | null | undefined;
|
|
3009
3149
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -3029,6 +3169,9 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3029
3169
|
mid: number;
|
|
3030
3170
|
} | null | undefined;
|
|
3031
3171
|
customAttributes?: Record<string, any> | null | undefined;
|
|
3172
|
+
_id: string;
|
|
3173
|
+
name: string;
|
|
3174
|
+
code: string;
|
|
3032
3175
|
unit: {
|
|
3033
3176
|
_id: string;
|
|
3034
3177
|
name: string;
|
|
@@ -3044,113 +3187,10 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3044
3187
|
};
|
|
3045
3188
|
}[];
|
|
3046
3189
|
};
|
|
3047
|
-
code: string;
|
|
3048
|
-
_id: string;
|
|
3049
|
-
name: string;
|
|
3050
|
-
};
|
|
3051
|
-
amount: {
|
|
3052
|
-
amount: number;
|
|
3053
|
-
precision: number;
|
|
3054
3190
|
};
|
|
3055
3191
|
}[];
|
|
3056
|
-
createdBy: {
|
|
3057
|
-
name: string;
|
|
3058
|
-
id: string;
|
|
3059
|
-
};
|
|
3060
|
-
createdAt: string;
|
|
3061
3192
|
deliveryOrderNumber: string;
|
|
3062
3193
|
}[];
|
|
3063
|
-
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "CLOSE" | "REJECT";
|
|
3064
|
-
_id: string;
|
|
3065
|
-
seqNumber: number;
|
|
3066
|
-
items: {
|
|
3067
|
-
measurement?: {
|
|
3068
|
-
id: string;
|
|
3069
|
-
name: string;
|
|
3070
|
-
abbrev: string;
|
|
3071
|
-
conversion: {
|
|
3072
|
-
amount: number;
|
|
3073
|
-
precision: number;
|
|
3074
|
-
};
|
|
3075
|
-
} | null | undefined;
|
|
3076
|
-
id?: string | null | undefined;
|
|
3077
|
-
externalId?: string | null | undefined;
|
|
3078
|
-
totalCost?: {
|
|
3079
|
-
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";
|
|
3080
|
-
amount: number;
|
|
3081
|
-
precision: number;
|
|
3082
|
-
} | null | undefined;
|
|
3083
|
-
sku: {
|
|
3084
|
-
trackingMeasurement?: string | null | undefined;
|
|
3085
|
-
convert?: {
|
|
3086
|
-
measurement?: string | null | undefined;
|
|
3087
|
-
inventoryBindings?: {
|
|
3088
|
-
measurement?: {
|
|
3089
|
-
id: string;
|
|
3090
|
-
name: string;
|
|
3091
|
-
abbrev: string;
|
|
3092
|
-
conversion: {
|
|
3093
|
-
amount: number;
|
|
3094
|
-
precision: number;
|
|
3095
|
-
};
|
|
3096
|
-
} | null | undefined;
|
|
3097
|
-
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3098
|
-
amount: {
|
|
3099
|
-
amount: number;
|
|
3100
|
-
precision: number;
|
|
3101
|
-
};
|
|
3102
|
-
id: string;
|
|
3103
|
-
}[] | null | undefined;
|
|
3104
|
-
} | null | undefined;
|
|
3105
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
3106
|
-
defaultCost?: {
|
|
3107
|
-
measurement?: {
|
|
3108
|
-
id: string;
|
|
3109
|
-
name: string;
|
|
3110
|
-
abbrev: string;
|
|
3111
|
-
conversion: {
|
|
3112
|
-
amount: number;
|
|
3113
|
-
precision: number;
|
|
3114
|
-
};
|
|
3115
|
-
} | null | undefined;
|
|
3116
|
-
costPerUnit: {
|
|
3117
|
-
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";
|
|
3118
|
-
amount: number;
|
|
3119
|
-
precision: number;
|
|
3120
|
-
};
|
|
3121
|
-
} | null | undefined;
|
|
3122
|
-
operationalGroup?: string | null | undefined;
|
|
3123
|
-
thresholds?: {
|
|
3124
|
-
low: number;
|
|
3125
|
-
mid: number;
|
|
3126
|
-
} | null | undefined;
|
|
3127
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
3128
|
-
unit: {
|
|
3129
|
-
_id: string;
|
|
3130
|
-
name: string;
|
|
3131
|
-
abbrev: string;
|
|
3132
|
-
precision: number;
|
|
3133
|
-
measurements: {
|
|
3134
|
-
id: string;
|
|
3135
|
-
name: string;
|
|
3136
|
-
abbrev: string;
|
|
3137
|
-
conversion: {
|
|
3138
|
-
amount: number;
|
|
3139
|
-
precision: number;
|
|
3140
|
-
};
|
|
3141
|
-
}[];
|
|
3142
|
-
};
|
|
3143
|
-
code: string;
|
|
3144
|
-
_id: string;
|
|
3145
|
-
name: string;
|
|
3146
|
-
};
|
|
3147
|
-
code: string;
|
|
3148
|
-
quantity: {
|
|
3149
|
-
amount: number;
|
|
3150
|
-
precision: number;
|
|
3151
|
-
};
|
|
3152
|
-
name: string;
|
|
3153
|
-
}[];
|
|
3154
3194
|
} | null | undefined;
|
|
3155
3195
|
netSuite?: {
|
|
3156
3196
|
refNo?: string | null | undefined;
|
|
@@ -3230,8 +3270,8 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3230
3270
|
_id: string;
|
|
3231
3271
|
updatedAt: string;
|
|
3232
3272
|
} | null | undefined;
|
|
3233
|
-
type: "restaurant" | "warehouse";
|
|
3234
3273
|
name: string;
|
|
3274
|
+
type: "restaurant" | "warehouse";
|
|
3235
3275
|
acceptRequest: boolean;
|
|
3236
3276
|
dbName: string;
|
|
3237
3277
|
doc: {
|
|
@@ -3239,26 +3279,14 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3239
3279
|
businessId: string;
|
|
3240
3280
|
profile: {
|
|
3241
3281
|
code?: string | null | undefined;
|
|
3282
|
+
url?: string | null | undefined;
|
|
3283
|
+
description?: string | null | undefined;
|
|
3242
3284
|
_id?: string | null | undefined;
|
|
3243
|
-
name?: string | undefined;
|
|
3244
|
-
address?: {
|
|
3245
|
-
coordinates?: number[] | null | undefined;
|
|
3246
|
-
line2?: string | null | undefined;
|
|
3247
|
-
state: string;
|
|
3248
|
-
country: string;
|
|
3249
|
-
line1: string;
|
|
3250
|
-
city: string;
|
|
3251
|
-
postcode: string;
|
|
3252
|
-
} | undefined;
|
|
3253
|
-
email?: string | undefined;
|
|
3254
|
-
regNo?: string | undefined;
|
|
3255
|
-
sstRegNo?: string | null | undefined;
|
|
3256
|
-
phoneNo?: string | undefined;
|
|
3257
3285
|
legalName?: string | null | undefined;
|
|
3286
|
+
sstRegNo?: string | null | undefined;
|
|
3258
3287
|
discovery?: boolean | null | undefined;
|
|
3259
3288
|
coverPhoto?: string | null | undefined;
|
|
3260
3289
|
thumbnailPhoto?: string | null | undefined;
|
|
3261
|
-
description?: string | null | undefined;
|
|
3262
3290
|
photos?: string[] | null | undefined;
|
|
3263
3291
|
operatingHours?: {
|
|
3264
3292
|
0: {
|
|
@@ -3312,51 +3340,29 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3312
3340
|
};
|
|
3313
3341
|
} | null | undefined;
|
|
3314
3342
|
tags?: string[] | null | undefined;
|
|
3315
|
-
|
|
3343
|
+
name: string;
|
|
3344
|
+
address: {
|
|
3345
|
+
coordinates?: number[] | null | undefined;
|
|
3346
|
+
line2?: string | null | undefined;
|
|
3347
|
+
state: string;
|
|
3348
|
+
country: string;
|
|
3349
|
+
line1: string;
|
|
3350
|
+
city: string;
|
|
3351
|
+
postcode: string;
|
|
3352
|
+
};
|
|
3353
|
+
email: string;
|
|
3354
|
+
phoneNo: string;
|
|
3355
|
+
regNo: string;
|
|
3316
3356
|
};
|
|
3317
3357
|
};
|
|
3318
3358
|
}[] | null | undefined;
|
|
3359
|
+
_id: string;
|
|
3360
|
+
name: string;
|
|
3319
3361
|
purchaseOrder: {
|
|
3320
3362
|
remark?: string | null | undefined;
|
|
3321
3363
|
ref?: string | null | undefined;
|
|
3322
|
-
supplier: {
|
|
3323
|
-
phoneNumber?: string | null | undefined;
|
|
3324
|
-
email?: string | null | undefined;
|
|
3325
|
-
_rev?: string | null | undefined;
|
|
3326
|
-
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
3327
|
-
contactName?: string | null | undefined;
|
|
3328
|
-
registrationNumber?: string | undefined;
|
|
3329
|
-
supplyItems?: {
|
|
3330
|
-
defaultCost: {
|
|
3331
|
-
measurement?: {
|
|
3332
|
-
id: string;
|
|
3333
|
-
name: string;
|
|
3334
|
-
abbrev: string;
|
|
3335
|
-
conversion: {
|
|
3336
|
-
amount: number;
|
|
3337
|
-
precision: number;
|
|
3338
|
-
};
|
|
3339
|
-
} | null | undefined;
|
|
3340
|
-
costPerUnit: {
|
|
3341
|
-
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";
|
|
3342
|
-
amount: number;
|
|
3343
|
-
precision: number;
|
|
3344
|
-
};
|
|
3345
|
-
};
|
|
3346
|
-
skuId: string;
|
|
3347
|
-
}[] | null | undefined;
|
|
3348
|
-
_id: string;
|
|
3349
|
-
name: string;
|
|
3350
|
-
address: {
|
|
3351
|
-
line2?: string | null | undefined;
|
|
3352
|
-
line1: string;
|
|
3353
|
-
state: string;
|
|
3354
|
-
city: string;
|
|
3355
|
-
postcode: string;
|
|
3356
|
-
country: string;
|
|
3357
|
-
};
|
|
3358
|
-
};
|
|
3359
3364
|
items: {
|
|
3365
|
+
id?: string | null | undefined;
|
|
3360
3366
|
measurement?: {
|
|
3361
3367
|
id: string;
|
|
3362
3368
|
name: string;
|
|
@@ -3366,7 +3372,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3366
3372
|
precision: number;
|
|
3367
3373
|
};
|
|
3368
3374
|
} | null | undefined;
|
|
3369
|
-
id?: string | null | undefined;
|
|
3370
3375
|
externalId?: string | null | undefined;
|
|
3371
3376
|
totalCost?: {
|
|
3372
3377
|
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";
|
|
@@ -3381,6 +3386,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3381
3386
|
amount: number;
|
|
3382
3387
|
precision: number;
|
|
3383
3388
|
} | null | undefined;
|
|
3389
|
+
quantity: {
|
|
3390
|
+
amount: number;
|
|
3391
|
+
precision: number;
|
|
3392
|
+
};
|
|
3393
|
+
name: string;
|
|
3394
|
+
code: string;
|
|
3384
3395
|
sku: {
|
|
3385
3396
|
trackingMeasurement?: string | null | undefined;
|
|
3386
3397
|
convert?: {
|
|
@@ -3395,12 +3406,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3395
3406
|
precision: number;
|
|
3396
3407
|
};
|
|
3397
3408
|
} | null | undefined;
|
|
3409
|
+
id: string;
|
|
3398
3410
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3399
3411
|
amount: {
|
|
3400
3412
|
amount: number;
|
|
3401
3413
|
precision: number;
|
|
3402
3414
|
};
|
|
3403
|
-
id: string;
|
|
3404
3415
|
}[] | null | undefined;
|
|
3405
3416
|
} | null | undefined;
|
|
3406
3417
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -3426,6 +3437,9 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3426
3437
|
mid: number;
|
|
3427
3438
|
} | null | undefined;
|
|
3428
3439
|
customAttributes?: Record<string, any> | null | undefined;
|
|
3440
|
+
_id: string;
|
|
3441
|
+
name: string;
|
|
3442
|
+
code: string;
|
|
3429
3443
|
unit: {
|
|
3430
3444
|
_id: string;
|
|
3431
3445
|
name: string;
|
|
@@ -3441,24 +3455,50 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3441
3455
|
};
|
|
3442
3456
|
}[];
|
|
3443
3457
|
};
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3458
|
+
};
|
|
3459
|
+
quantityStep: {
|
|
3460
|
+
amount: number;
|
|
3461
|
+
precision: number;
|
|
3462
|
+
};
|
|
3463
|
+
}[];
|
|
3464
|
+
supplier: {
|
|
3465
|
+
phoneNumber?: string | null | undefined;
|
|
3466
|
+
email?: string | null | undefined;
|
|
3467
|
+
_rev?: string | null | undefined;
|
|
3468
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
3469
|
+
contactName?: string | null | undefined;
|
|
3470
|
+
registrationNumber?: string | undefined;
|
|
3471
|
+
supplyItems?: {
|
|
3472
|
+
defaultCost: {
|
|
3473
|
+
measurement?: {
|
|
3474
|
+
id: string;
|
|
3475
|
+
name: string;
|
|
3476
|
+
abbrev: string;
|
|
3477
|
+
conversion: {
|
|
3478
|
+
amount: number;
|
|
3479
|
+
precision: number;
|
|
3480
|
+
};
|
|
3481
|
+
} | null | undefined;
|
|
3482
|
+
costPerUnit: {
|
|
3483
|
+
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";
|
|
3484
|
+
amount: number;
|
|
3485
|
+
precision: number;
|
|
3486
|
+
};
|
|
3487
|
+
};
|
|
3488
|
+
skuId: string;
|
|
3489
|
+
}[] | null | undefined;
|
|
3490
|
+
_id: string;
|
|
3453
3491
|
name: string;
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3492
|
+
address: {
|
|
3493
|
+
line2?: string | null | undefined;
|
|
3494
|
+
line1: string;
|
|
3495
|
+
state: string;
|
|
3496
|
+
city: string;
|
|
3497
|
+
postcode: string;
|
|
3498
|
+
country: string;
|
|
3457
3499
|
};
|
|
3458
|
-
}
|
|
3500
|
+
};
|
|
3459
3501
|
};
|
|
3460
|
-
_id: string;
|
|
3461
|
-
name: string;
|
|
3462
3502
|
} | null | undefined;
|
|
3463
3503
|
request?: {
|
|
3464
3504
|
id: string;
|
|
@@ -3474,6 +3514,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3474
3514
|
id: string | null;
|
|
3475
3515
|
} | null | undefined;
|
|
3476
3516
|
items: {
|
|
3517
|
+
id?: string | null | undefined;
|
|
3477
3518
|
measurement?: {
|
|
3478
3519
|
id: string;
|
|
3479
3520
|
name: string;
|
|
@@ -3488,8 +3529,11 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3488
3529
|
amount: number;
|
|
3489
3530
|
precision: number;
|
|
3490
3531
|
} | null | undefined;
|
|
3491
|
-
id?: string | null | undefined;
|
|
3492
3532
|
externalId?: string | null | undefined;
|
|
3533
|
+
amount: {
|
|
3534
|
+
amount: number;
|
|
3535
|
+
precision: number;
|
|
3536
|
+
};
|
|
3493
3537
|
sku: {
|
|
3494
3538
|
trackingMeasurement?: string | null | undefined;
|
|
3495
3539
|
convert?: {
|
|
@@ -3504,12 +3548,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3504
3548
|
precision: number;
|
|
3505
3549
|
};
|
|
3506
3550
|
} | null | undefined;
|
|
3551
|
+
id: string;
|
|
3507
3552
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3508
3553
|
amount: {
|
|
3509
3554
|
amount: number;
|
|
3510
3555
|
precision: number;
|
|
3511
3556
|
};
|
|
3512
|
-
id: string;
|
|
3513
3557
|
}[] | null | undefined;
|
|
3514
3558
|
} | null | undefined;
|
|
3515
3559
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -3535,6 +3579,9 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3535
3579
|
mid: number;
|
|
3536
3580
|
} | null | undefined;
|
|
3537
3581
|
customAttributes?: Record<string, any> | null | undefined;
|
|
3582
|
+
_id: string;
|
|
3583
|
+
name: string;
|
|
3584
|
+
code: string;
|
|
3538
3585
|
unit: {
|
|
3539
3586
|
_id: string;
|
|
3540
3587
|
name: string;
|
|
@@ -3550,18 +3597,110 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3550
3597
|
};
|
|
3551
3598
|
}[];
|
|
3552
3599
|
};
|
|
3553
|
-
code: string;
|
|
3554
|
-
_id: string;
|
|
3555
|
-
name: string;
|
|
3556
|
-
};
|
|
3557
|
-
amount: {
|
|
3558
|
-
amount: number;
|
|
3559
|
-
precision: number;
|
|
3560
3600
|
};
|
|
3561
3601
|
}[];
|
|
3562
3602
|
id: string;
|
|
3563
3603
|
createdAt: string;
|
|
3564
3604
|
}[] | null | undefined;
|
|
3605
|
+
actionChangelogs?: {
|
|
3606
|
+
action: "approveDraft" | "rejectDraft" | "submitRequest" | "confirmDraft" | "cancelDraft" | "approveRequest" | "processRequest" | "receiveStock" | "completeReceive" | "rejectRequest";
|
|
3607
|
+
changedBy: {
|
|
3608
|
+
name: string;
|
|
3609
|
+
id: string;
|
|
3610
|
+
};
|
|
3611
|
+
changedAt: string;
|
|
3612
|
+
}[] | null | undefined;
|
|
3613
|
+
_id: string;
|
|
3614
|
+
seqNumber: number;
|
|
3615
|
+
status: "DRAFT" | "REQUESTING" | "PROCESSING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "REJECT" | "PENDING_APPROVAL" | "CLOSE";
|
|
3616
|
+
items: {
|
|
3617
|
+
id?: string | null | undefined;
|
|
3618
|
+
measurement?: {
|
|
3619
|
+
id: string;
|
|
3620
|
+
name: string;
|
|
3621
|
+
abbrev: string;
|
|
3622
|
+
conversion: {
|
|
3623
|
+
amount: number;
|
|
3624
|
+
precision: number;
|
|
3625
|
+
};
|
|
3626
|
+
} | null | undefined;
|
|
3627
|
+
externalId?: string | null | undefined;
|
|
3628
|
+
totalCost?: {
|
|
3629
|
+
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";
|
|
3630
|
+
amount: number;
|
|
3631
|
+
precision: number;
|
|
3632
|
+
} | null | undefined;
|
|
3633
|
+
quantity: {
|
|
3634
|
+
amount: number;
|
|
3635
|
+
precision: number;
|
|
3636
|
+
};
|
|
3637
|
+
name: string;
|
|
3638
|
+
code: string;
|
|
3639
|
+
sku: {
|
|
3640
|
+
trackingMeasurement?: string | null | undefined;
|
|
3641
|
+
convert?: {
|
|
3642
|
+
measurement?: string | null | undefined;
|
|
3643
|
+
inventoryBindings?: {
|
|
3644
|
+
measurement?: {
|
|
3645
|
+
id: string;
|
|
3646
|
+
name: string;
|
|
3647
|
+
abbrev: string;
|
|
3648
|
+
conversion: {
|
|
3649
|
+
amount: number;
|
|
3650
|
+
precision: number;
|
|
3651
|
+
};
|
|
3652
|
+
} | null | undefined;
|
|
3653
|
+
id: string;
|
|
3654
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3655
|
+
amount: {
|
|
3656
|
+
amount: number;
|
|
3657
|
+
precision: number;
|
|
3658
|
+
};
|
|
3659
|
+
}[] | null | undefined;
|
|
3660
|
+
} | null | undefined;
|
|
3661
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
3662
|
+
defaultCost?: {
|
|
3663
|
+
measurement?: {
|
|
3664
|
+
id: string;
|
|
3665
|
+
name: string;
|
|
3666
|
+
abbrev: string;
|
|
3667
|
+
conversion: {
|
|
3668
|
+
amount: number;
|
|
3669
|
+
precision: number;
|
|
3670
|
+
};
|
|
3671
|
+
} | null | undefined;
|
|
3672
|
+
costPerUnit: {
|
|
3673
|
+
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";
|
|
3674
|
+
amount: number;
|
|
3675
|
+
precision: number;
|
|
3676
|
+
};
|
|
3677
|
+
} | null | undefined;
|
|
3678
|
+
operationalGroup?: string | null | undefined;
|
|
3679
|
+
thresholds?: {
|
|
3680
|
+
low: number;
|
|
3681
|
+
mid: number;
|
|
3682
|
+
} | null | undefined;
|
|
3683
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
3684
|
+
_id: string;
|
|
3685
|
+
name: string;
|
|
3686
|
+
code: string;
|
|
3687
|
+
unit: {
|
|
3688
|
+
_id: string;
|
|
3689
|
+
name: string;
|
|
3690
|
+
abbrev: string;
|
|
3691
|
+
precision: number;
|
|
3692
|
+
measurements: {
|
|
3693
|
+
id: string;
|
|
3694
|
+
name: string;
|
|
3695
|
+
abbrev: string;
|
|
3696
|
+
conversion: {
|
|
3697
|
+
amount: number;
|
|
3698
|
+
precision: number;
|
|
3699
|
+
};
|
|
3700
|
+
}[];
|
|
3701
|
+
};
|
|
3702
|
+
};
|
|
3703
|
+
}[];
|
|
3565
3704
|
supplier: {
|
|
3566
3705
|
phoneNumber?: string | null | undefined;
|
|
3567
3706
|
email?: string | null | undefined;
|
|
@@ -3610,7 +3749,13 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3610
3749
|
recordType?: string | null | undefined;
|
|
3611
3750
|
id: string | null;
|
|
3612
3751
|
} | null | undefined;
|
|
3752
|
+
createdBy: {
|
|
3753
|
+
name: string;
|
|
3754
|
+
id: string;
|
|
3755
|
+
};
|
|
3756
|
+
createdAt: string;
|
|
3613
3757
|
received: {
|
|
3758
|
+
id?: string | null | undefined;
|
|
3614
3759
|
measurement?: {
|
|
3615
3760
|
id: string;
|
|
3616
3761
|
name: string;
|
|
@@ -3625,8 +3770,11 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3625
3770
|
amount: number;
|
|
3626
3771
|
precision: number;
|
|
3627
3772
|
} | null | undefined;
|
|
3628
|
-
id?: string | null | undefined;
|
|
3629
3773
|
externalId?: string | null | undefined;
|
|
3774
|
+
amount: {
|
|
3775
|
+
amount: number;
|
|
3776
|
+
precision: number;
|
|
3777
|
+
};
|
|
3630
3778
|
sku: {
|
|
3631
3779
|
trackingMeasurement?: string | null | undefined;
|
|
3632
3780
|
convert?: {
|
|
@@ -3641,12 +3789,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3641
3789
|
precision: number;
|
|
3642
3790
|
};
|
|
3643
3791
|
} | null | undefined;
|
|
3792
|
+
id: string;
|
|
3644
3793
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3645
3794
|
amount: {
|
|
3646
3795
|
amount: number;
|
|
3647
3796
|
precision: number;
|
|
3648
3797
|
};
|
|
3649
|
-
id: string;
|
|
3650
3798
|
}[] | null | undefined;
|
|
3651
3799
|
} | null | undefined;
|
|
3652
3800
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -3672,6 +3820,9 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3672
3820
|
mid: number;
|
|
3673
3821
|
} | null | undefined;
|
|
3674
3822
|
customAttributes?: Record<string, any> | null | undefined;
|
|
3823
|
+
_id: string;
|
|
3824
|
+
name: string;
|
|
3825
|
+
code: string;
|
|
3675
3826
|
unit: {
|
|
3676
3827
|
_id: string;
|
|
3677
3828
|
name: string;
|
|
@@ -3687,113 +3838,10 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3687
3838
|
};
|
|
3688
3839
|
}[];
|
|
3689
3840
|
};
|
|
3690
|
-
code: string;
|
|
3691
|
-
_id: string;
|
|
3692
|
-
name: string;
|
|
3693
|
-
};
|
|
3694
|
-
amount: {
|
|
3695
|
-
amount: number;
|
|
3696
|
-
precision: number;
|
|
3697
3841
|
};
|
|
3698
3842
|
}[];
|
|
3699
|
-
createdBy: {
|
|
3700
|
-
name: string;
|
|
3701
|
-
id: string;
|
|
3702
|
-
};
|
|
3703
|
-
createdAt: string;
|
|
3704
3843
|
deliveryOrderNumber: string;
|
|
3705
3844
|
}[];
|
|
3706
|
-
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "CLOSE" | "REJECT";
|
|
3707
|
-
_id: string;
|
|
3708
|
-
seqNumber: number;
|
|
3709
|
-
items: {
|
|
3710
|
-
measurement?: {
|
|
3711
|
-
id: string;
|
|
3712
|
-
name: string;
|
|
3713
|
-
abbrev: string;
|
|
3714
|
-
conversion: {
|
|
3715
|
-
amount: number;
|
|
3716
|
-
precision: number;
|
|
3717
|
-
};
|
|
3718
|
-
} | null | undefined;
|
|
3719
|
-
id?: string | null | undefined;
|
|
3720
|
-
externalId?: string | null | undefined;
|
|
3721
|
-
totalCost?: {
|
|
3722
|
-
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";
|
|
3723
|
-
amount: number;
|
|
3724
|
-
precision: number;
|
|
3725
|
-
} | null | undefined;
|
|
3726
|
-
sku: {
|
|
3727
|
-
trackingMeasurement?: string | null | undefined;
|
|
3728
|
-
convert?: {
|
|
3729
|
-
measurement?: string | null | undefined;
|
|
3730
|
-
inventoryBindings?: {
|
|
3731
|
-
measurement?: {
|
|
3732
|
-
id: string;
|
|
3733
|
-
name: string;
|
|
3734
|
-
abbrev: string;
|
|
3735
|
-
conversion: {
|
|
3736
|
-
amount: number;
|
|
3737
|
-
precision: number;
|
|
3738
|
-
};
|
|
3739
|
-
} | null | undefined;
|
|
3740
|
-
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3741
|
-
amount: {
|
|
3742
|
-
amount: number;
|
|
3743
|
-
precision: number;
|
|
3744
|
-
};
|
|
3745
|
-
id: string;
|
|
3746
|
-
}[] | null | undefined;
|
|
3747
|
-
} | null | undefined;
|
|
3748
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
3749
|
-
defaultCost?: {
|
|
3750
|
-
measurement?: {
|
|
3751
|
-
id: string;
|
|
3752
|
-
name: string;
|
|
3753
|
-
abbrev: string;
|
|
3754
|
-
conversion: {
|
|
3755
|
-
amount: number;
|
|
3756
|
-
precision: number;
|
|
3757
|
-
};
|
|
3758
|
-
} | null | undefined;
|
|
3759
|
-
costPerUnit: {
|
|
3760
|
-
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";
|
|
3761
|
-
amount: number;
|
|
3762
|
-
precision: number;
|
|
3763
|
-
};
|
|
3764
|
-
} | null | undefined;
|
|
3765
|
-
operationalGroup?: string | null | undefined;
|
|
3766
|
-
thresholds?: {
|
|
3767
|
-
low: number;
|
|
3768
|
-
mid: number;
|
|
3769
|
-
} | null | undefined;
|
|
3770
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
3771
|
-
unit: {
|
|
3772
|
-
_id: string;
|
|
3773
|
-
name: string;
|
|
3774
|
-
abbrev: string;
|
|
3775
|
-
precision: number;
|
|
3776
|
-
measurements: {
|
|
3777
|
-
id: string;
|
|
3778
|
-
name: string;
|
|
3779
|
-
abbrev: string;
|
|
3780
|
-
conversion: {
|
|
3781
|
-
amount: number;
|
|
3782
|
-
precision: number;
|
|
3783
|
-
};
|
|
3784
|
-
}[];
|
|
3785
|
-
};
|
|
3786
|
-
code: string;
|
|
3787
|
-
_id: string;
|
|
3788
|
-
name: string;
|
|
3789
|
-
};
|
|
3790
|
-
code: string;
|
|
3791
|
-
quantity: {
|
|
3792
|
-
amount: number;
|
|
3793
|
-
precision: number;
|
|
3794
|
-
};
|
|
3795
|
-
name: string;
|
|
3796
|
-
}[];
|
|
3797
3845
|
} | null | undefined;
|
|
3798
3846
|
netSuite?: {
|
|
3799
3847
|
refNo?: string | null | undefined;
|