@feedmepos/mf-inventory-portal 1.0.7-dev.1 → 1.0.7
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-zspCOQeF.js → App-DF14rGlK.js} +49 -50
- package/dist/{ApprovalView-CKJV87es.js → ApprovalView-C_xhq-_c.js} +24 -24
- package/dist/{BindingsDialog-CTmuzAWi.js → BindingsDialog-CCY1fDj8.js} +4 -4
- package/dist/{BindingsPicker-Dabonsov.js → BindingsPicker-CnXbK5O3.js} +6 -6
- package/dist/{BindingsTable-L0yzAoQq.js → BindingsTable-cQIUUuVv.js} +8 -8
- package/dist/{ClosingDraftView-CddxqfNi.js → ClosingDraftView-DUZ31x3s.js} +463 -464
- package/dist/{ClosingTemplateView-BsW-nPec.js → ClosingTemplateView-6ysEDEcV.js} +10 -10
- package/dist/{DeliveryOrderPrintPreview-DQ4msDpJ.js → DeliveryOrderPrintPreview-BGjFS8h7.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-TnVI2vdF.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CanJ2fzb.js} +32 -32
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BRvXmLV6.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BcKtJQMt.js} +86 -86
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BHLx7Lbo.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Bb9xMoX-.js} +1 -1
- package/dist/{IngredientGroupView-CF2GLMSD.js → IngredientGroupView-i08KHlW7.js} +11 -11
- package/dist/{IngredientsView-DopQVz7u.js → IngredientsView-D0tBukwK.js} +14 -15
- package/dist/{IntegrationView-EnD2l7af.js → IntegrationView-BqCrKL13.js} +85 -86
- package/dist/{InventoryBindingForm-VP2_coNH.js → InventoryBindingForm-BJwIFQVS.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-dQF7h_Jp.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DU9j1Q8M.js} +27 -27
- package/dist/{InventoryBindingSummary-BCEXzmFu.js → InventoryBindingSummary-B2M3Th8T.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-RfkBlwxw.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BH4A_Lc5.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CGgxjz4P.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CdxCyEBi.js} +10 -10
- package/dist/{PublishView-ExvxeKR_.js → PublishView-B9x92vDM.js} +7 -7
- package/dist/{PurchaseOrderPrintPreview-59AaXtZ_.js → PurchaseOrderPrintPreview-MbGDNmgh.js} +4 -4
- package/dist/{ReceiveRequestView-BxGss8gu.js → ReceiveRequestView-CTNycYUr.js} +52 -53
- package/dist/{RecipeView-BqTsG4xX.js → RecipeView-sHTcJgzP.js} +32 -32
- package/dist/{StockView-D-WvydHv.js → StockView-CUv4dcGJ.js} +72 -73
- package/dist/{SupplierView-C6ruAEih.js → SupplierView-hu6OhDss.js} +11 -12
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CCKlQGMf.js +1746 -0
- package/dist/{TransferTemplateView-qSA3Txpn.js → TransferTemplateView-DMSkUc0D.js} +290 -291
- package/dist/{UnitView-oHDOLM8k.js → UnitView-B5q7IVbT.js} +23 -23
- package/dist/{WarehouseView-C3EqYfCf.js → WarehouseView-Ds6z4Vz6.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 +1 -5
- package/dist/{app-DqrcGlGd.js → app-BmsY87Mv.js} +17641 -17171
- 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/{decimal-rgCB5DGy.js → decimal-Baw9w4_A.js} +1 -1
- package/dist/{format-unit-display-DUWzu8vU.js → format-unit-display-D0_KiU3j.js} +60 -60
- package/dist/{index-YgIaxVhw.js → index-CDydl7WA.js} +1 -1
- package/dist/{index-CH3OzDYK.js → index-C_GU5Tc8.js} +6 -7
- package/dist/{stock-BPNYXwz1.js → stock-C-hm8Kdq.js} +1 -1
- package/dist/stores/feature.d.ts +20 -3
- 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-CnrH580K.js → supplier-RX_yr24c.js} +4 -4
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-CpnJoeWb.js → use-ingredient-select-dialog-BZhczMUl.js} +1 -1
- package/dist/{use-inventory-binding-dialog-DHvNwt_F.js → use-inventory-binding-dialog-dV-92pLe.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 +68 -68
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +408 -408
- 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 +647 -675
- 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-receive-request-form.d.ts +1146 -1194
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1170 -1218
- 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 +813 -813
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +813 -813
- package/dist/views/transfer-template/composables/useTransferTemplateHelper.d.ts +33 -33
- package/dist/{vue-i18n-4m7yAqU2.js → vue-i18n-sbHu6D5a.js} +426 -426
- package/package.json +3 -5
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CQ-Om_rI.js +0 -1894
- package/dist/composable/usePromise.d.ts +0 -41
- package/dist/feature-CifIpcNk.js +0 -17345
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +0 -614
- package/dist/views/receive-request/constants/po-action-to-ui-style.d.ts +0 -6
|
@@ -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
|
-
name: string;
|
|
52
51
|
type: "restaurant" | "warehouse";
|
|
52
|
+
name: string;
|
|
53
53
|
acceptRequest: boolean;
|
|
54
54
|
dbName: string;
|
|
55
55
|
doc: {
|
|
@@ -57,14 +57,26 @@ 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;
|
|
62
60
|
_id?: string | null | undefined;
|
|
63
|
-
|
|
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;
|
|
64
73
|
sstRegNo?: string | null | undefined;
|
|
74
|
+
phoneNo?: string | undefined;
|
|
75
|
+
legalName?: string | null | undefined;
|
|
65
76
|
discovery?: boolean | null | undefined;
|
|
66
77
|
coverPhoto?: string | null | undefined;
|
|
67
78
|
thumbnailPhoto?: string | null | undefined;
|
|
79
|
+
description?: string | null | undefined;
|
|
68
80
|
photos?: string[] | null | undefined;
|
|
69
81
|
operatingHours?: {
|
|
70
82
|
0: {
|
|
@@ -118,29 +130,51 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
118
130
|
};
|
|
119
131
|
} | null | undefined;
|
|
120
132
|
tags?: string[] | null | undefined;
|
|
121
|
-
|
|
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;
|
|
133
|
+
url?: string | null | undefined;
|
|
134
134
|
};
|
|
135
135
|
};
|
|
136
136
|
}[] | null | undefined;
|
|
137
|
-
_id: string;
|
|
138
|
-
name: string;
|
|
139
137
|
purchaseOrder: {
|
|
140
138
|
remark?: string | null | undefined;
|
|
141
139
|
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
|
+
};
|
|
142
177
|
items: {
|
|
143
|
-
id?: string | null | undefined;
|
|
144
178
|
measurement?: {
|
|
145
179
|
id: string;
|
|
146
180
|
name: string;
|
|
@@ -150,6 +184,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
150
184
|
precision: number;
|
|
151
185
|
};
|
|
152
186
|
} | null | undefined;
|
|
187
|
+
id?: string | null | undefined;
|
|
153
188
|
externalId?: string | null | undefined;
|
|
154
189
|
totalCost?: {
|
|
155
190
|
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";
|
|
@@ -164,12 +199,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
164
199
|
amount: number;
|
|
165
200
|
precision: number;
|
|
166
201
|
} | null | undefined;
|
|
167
|
-
quantity: {
|
|
168
|
-
amount: number;
|
|
169
|
-
precision: number;
|
|
170
|
-
};
|
|
171
|
-
name: string;
|
|
172
|
-
code: string;
|
|
173
202
|
sku: {
|
|
174
203
|
trackingMeasurement?: string | null | undefined;
|
|
175
204
|
convert?: {
|
|
@@ -184,12 +213,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
184
213
|
precision: number;
|
|
185
214
|
};
|
|
186
215
|
} | null | undefined;
|
|
187
|
-
id: string;
|
|
188
216
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
189
217
|
amount: {
|
|
190
218
|
amount: number;
|
|
191
219
|
precision: number;
|
|
192
220
|
};
|
|
221
|
+
id: string;
|
|
193
222
|
}[] | null | undefined;
|
|
194
223
|
} | null | undefined;
|
|
195
224
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -215,9 +244,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
215
244
|
mid: number;
|
|
216
245
|
} | null | undefined;
|
|
217
246
|
customAttributes?: Record<string, any> | null | undefined;
|
|
218
|
-
_id: string;
|
|
219
|
-
name: string;
|
|
220
|
-
code: string;
|
|
221
247
|
unit: {
|
|
222
248
|
_id: string;
|
|
223
249
|
name: string;
|
|
@@ -233,50 +259,24 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
233
259
|
};
|
|
234
260
|
}[];
|
|
235
261
|
};
|
|
262
|
+
code: string;
|
|
263
|
+
_id: string;
|
|
264
|
+
name: string;
|
|
236
265
|
};
|
|
237
|
-
|
|
266
|
+
code: string;
|
|
267
|
+
quantity: {
|
|
238
268
|
amount: number;
|
|
239
269
|
precision: number;
|
|
240
270
|
};
|
|
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
271
|
name: string;
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
state: string;
|
|
274
|
-
city: string;
|
|
275
|
-
postcode: string;
|
|
276
|
-
country: string;
|
|
272
|
+
quantityStep: {
|
|
273
|
+
amount: number;
|
|
274
|
+
precision: number;
|
|
277
275
|
};
|
|
278
|
-
};
|
|
276
|
+
}[];
|
|
279
277
|
};
|
|
278
|
+
_id: string;
|
|
279
|
+
name: string;
|
|
280
280
|
} | null | undefined;
|
|
281
281
|
request?: {
|
|
282
282
|
id: string;
|
|
@@ -292,7 +292,6 @@ 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;
|
|
296
295
|
measurement?: {
|
|
297
296
|
id: string;
|
|
298
297
|
name: string;
|
|
@@ -307,11 +306,8 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
307
306
|
amount: number;
|
|
308
307
|
precision: number;
|
|
309
308
|
} | null | undefined;
|
|
309
|
+
id?: string | null | undefined;
|
|
310
310
|
externalId?: string | null | undefined;
|
|
311
|
-
amount: {
|
|
312
|
-
amount: number;
|
|
313
|
-
precision: number;
|
|
314
|
-
};
|
|
315
311
|
sku: {
|
|
316
312
|
trackingMeasurement?: string | null | undefined;
|
|
317
313
|
convert?: {
|
|
@@ -326,12 +322,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
326
322
|
precision: number;
|
|
327
323
|
};
|
|
328
324
|
} | null | undefined;
|
|
329
|
-
id: string;
|
|
330
325
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
331
326
|
amount: {
|
|
332
327
|
amount: number;
|
|
333
328
|
precision: number;
|
|
334
329
|
};
|
|
330
|
+
id: string;
|
|
335
331
|
}[] | null | undefined;
|
|
336
332
|
} | null | undefined;
|
|
337
333
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -357,9 +353,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
357
353
|
mid: number;
|
|
358
354
|
} | null | undefined;
|
|
359
355
|
customAttributes?: Record<string, any> | null | undefined;
|
|
360
|
-
_id: string;
|
|
361
|
-
name: string;
|
|
362
|
-
code: string;
|
|
363
356
|
unit: {
|
|
364
357
|
_id: string;
|
|
365
358
|
name: string;
|
|
@@ -375,110 +368,18 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
375
368
|
};
|
|
376
369
|
}[];
|
|
377
370
|
};
|
|
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
|
-
}[];
|
|
482
383
|
supplier: {
|
|
483
384
|
phoneNumber?: string | null | undefined;
|
|
484
385
|
email?: string | null | undefined;
|
|
@@ -527,13 +428,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
527
428
|
recordType?: string | null | undefined;
|
|
528
429
|
id: string | null;
|
|
529
430
|
} | null | undefined;
|
|
530
|
-
createdBy: {
|
|
531
|
-
name: string;
|
|
532
|
-
id: string;
|
|
533
|
-
};
|
|
534
|
-
createdAt: string;
|
|
535
431
|
received: {
|
|
536
|
-
id?: string | null | undefined;
|
|
537
432
|
measurement?: {
|
|
538
433
|
id: string;
|
|
539
434
|
name: string;
|
|
@@ -548,11 +443,8 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
548
443
|
amount: number;
|
|
549
444
|
precision: number;
|
|
550
445
|
} | null | undefined;
|
|
446
|
+
id?: string | null | undefined;
|
|
551
447
|
externalId?: string | null | undefined;
|
|
552
|
-
amount: {
|
|
553
|
-
amount: number;
|
|
554
|
-
precision: number;
|
|
555
|
-
};
|
|
556
448
|
sku: {
|
|
557
449
|
trackingMeasurement?: string | null | undefined;
|
|
558
450
|
convert?: {
|
|
@@ -567,12 +459,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
567
459
|
precision: number;
|
|
568
460
|
};
|
|
569
461
|
} | null | undefined;
|
|
570
|
-
id: string;
|
|
571
462
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
572
463
|
amount: {
|
|
573
464
|
amount: number;
|
|
574
465
|
precision: number;
|
|
575
466
|
};
|
|
467
|
+
id: string;
|
|
576
468
|
}[] | null | undefined;
|
|
577
469
|
} | null | undefined;
|
|
578
470
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -598,9 +490,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
598
490
|
mid: number;
|
|
599
491
|
} | null | undefined;
|
|
600
492
|
customAttributes?: Record<string, any> | null | undefined;
|
|
601
|
-
_id: string;
|
|
602
|
-
name: string;
|
|
603
|
-
code: string;
|
|
604
493
|
unit: {
|
|
605
494
|
_id: string;
|
|
606
495
|
name: string;
|
|
@@ -616,10 +505,113 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
616
505
|
};
|
|
617
506
|
}[];
|
|
618
507
|
};
|
|
508
|
+
code: string;
|
|
509
|
+
_id: string;
|
|
510
|
+
name: string;
|
|
511
|
+
};
|
|
512
|
+
amount: {
|
|
513
|
+
amount: number;
|
|
514
|
+
precision: number;
|
|
619
515
|
};
|
|
620
516
|
}[];
|
|
517
|
+
createdBy: {
|
|
518
|
+
name: string;
|
|
519
|
+
id: string;
|
|
520
|
+
};
|
|
521
|
+
createdAt: string;
|
|
621
522
|
deliveryOrderNumber: string;
|
|
622
523
|
}[];
|
|
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
|
+
}[];
|
|
623
615
|
} & RevisionIdMeta, unknown>): string;
|
|
624
616
|
enableSorting: true;
|
|
625
617
|
size?: undefined;
|
|
@@ -694,8 +686,8 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
694
686
|
_id: string;
|
|
695
687
|
updatedAt: string;
|
|
696
688
|
} | null | undefined;
|
|
697
|
-
name: string;
|
|
698
689
|
type: "restaurant" | "warehouse";
|
|
690
|
+
name: string;
|
|
699
691
|
acceptRequest: boolean;
|
|
700
692
|
dbName: string;
|
|
701
693
|
doc: {
|
|
@@ -703,14 +695,26 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
703
695
|
businessId: string;
|
|
704
696
|
profile: {
|
|
705
697
|
code?: string | null | undefined;
|
|
706
|
-
url?: string | null | undefined;
|
|
707
|
-
description?: string | null | undefined;
|
|
708
698
|
_id?: string | null | undefined;
|
|
709
|
-
|
|
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;
|
|
710
711
|
sstRegNo?: string | null | undefined;
|
|
712
|
+
phoneNo?: string | undefined;
|
|
713
|
+
legalName?: string | null | undefined;
|
|
711
714
|
discovery?: boolean | null | undefined;
|
|
712
715
|
coverPhoto?: string | null | undefined;
|
|
713
716
|
thumbnailPhoto?: string | null | undefined;
|
|
717
|
+
description?: string | null | undefined;
|
|
714
718
|
photos?: string[] | null | undefined;
|
|
715
719
|
operatingHours?: {
|
|
716
720
|
0: {
|
|
@@ -764,29 +768,51 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
764
768
|
};
|
|
765
769
|
} | null | undefined;
|
|
766
770
|
tags?: string[] | null | undefined;
|
|
767
|
-
|
|
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;
|
|
771
|
+
url?: string | null | undefined;
|
|
780
772
|
};
|
|
781
773
|
};
|
|
782
774
|
}[] | null | undefined;
|
|
783
|
-
_id: string;
|
|
784
|
-
name: string;
|
|
785
775
|
purchaseOrder: {
|
|
786
776
|
remark?: string | null | undefined;
|
|
787
777
|
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
|
+
};
|
|
788
815
|
items: {
|
|
789
|
-
id?: string | null | undefined;
|
|
790
816
|
measurement?: {
|
|
791
817
|
id: string;
|
|
792
818
|
name: string;
|
|
@@ -796,6 +822,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
796
822
|
precision: number;
|
|
797
823
|
};
|
|
798
824
|
} | null | undefined;
|
|
825
|
+
id?: string | null | undefined;
|
|
799
826
|
externalId?: string | null | undefined;
|
|
800
827
|
totalCost?: {
|
|
801
828
|
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";
|
|
@@ -810,12 +837,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
810
837
|
amount: number;
|
|
811
838
|
precision: number;
|
|
812
839
|
} | null | undefined;
|
|
813
|
-
quantity: {
|
|
814
|
-
amount: number;
|
|
815
|
-
precision: number;
|
|
816
|
-
};
|
|
817
|
-
name: string;
|
|
818
|
-
code: string;
|
|
819
840
|
sku: {
|
|
820
841
|
trackingMeasurement?: string | null | undefined;
|
|
821
842
|
convert?: {
|
|
@@ -830,12 +851,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
830
851
|
precision: number;
|
|
831
852
|
};
|
|
832
853
|
} | null | undefined;
|
|
833
|
-
id: string;
|
|
834
854
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
835
855
|
amount: {
|
|
836
856
|
amount: number;
|
|
837
857
|
precision: number;
|
|
838
858
|
};
|
|
859
|
+
id: string;
|
|
839
860
|
}[] | null | undefined;
|
|
840
861
|
} | null | undefined;
|
|
841
862
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -861,9 +882,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
861
882
|
mid: number;
|
|
862
883
|
} | null | undefined;
|
|
863
884
|
customAttributes?: Record<string, any> | null | undefined;
|
|
864
|
-
_id: string;
|
|
865
|
-
name: string;
|
|
866
|
-
code: string;
|
|
867
885
|
unit: {
|
|
868
886
|
_id: string;
|
|
869
887
|
name: string;
|
|
@@ -879,50 +897,24 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
879
897
|
};
|
|
880
898
|
}[];
|
|
881
899
|
};
|
|
900
|
+
code: string;
|
|
901
|
+
_id: string;
|
|
902
|
+
name: string;
|
|
882
903
|
};
|
|
883
|
-
|
|
904
|
+
code: string;
|
|
905
|
+
quantity: {
|
|
884
906
|
amount: number;
|
|
885
907
|
precision: number;
|
|
886
908
|
};
|
|
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
909
|
name: string;
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
state: string;
|
|
920
|
-
city: string;
|
|
921
|
-
postcode: string;
|
|
922
|
-
country: string;
|
|
910
|
+
quantityStep: {
|
|
911
|
+
amount: number;
|
|
912
|
+
precision: number;
|
|
923
913
|
};
|
|
924
|
-
};
|
|
914
|
+
}[];
|
|
925
915
|
};
|
|
916
|
+
_id: string;
|
|
917
|
+
name: string;
|
|
926
918
|
} | null | undefined;
|
|
927
919
|
request?: {
|
|
928
920
|
id: string;
|
|
@@ -938,7 +930,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
938
930
|
id: string | null;
|
|
939
931
|
} | null | undefined;
|
|
940
932
|
items: {
|
|
941
|
-
id?: string | null | undefined;
|
|
942
933
|
measurement?: {
|
|
943
934
|
id: string;
|
|
944
935
|
name: string;
|
|
@@ -953,11 +944,8 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
953
944
|
amount: number;
|
|
954
945
|
precision: number;
|
|
955
946
|
} | null | undefined;
|
|
947
|
+
id?: string | null | undefined;
|
|
956
948
|
externalId?: string | null | undefined;
|
|
957
|
-
amount: {
|
|
958
|
-
amount: number;
|
|
959
|
-
precision: number;
|
|
960
|
-
};
|
|
961
949
|
sku: {
|
|
962
950
|
trackingMeasurement?: string | null | undefined;
|
|
963
951
|
convert?: {
|
|
@@ -972,12 +960,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
972
960
|
precision: number;
|
|
973
961
|
};
|
|
974
962
|
} | null | undefined;
|
|
975
|
-
id: string;
|
|
976
963
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
977
964
|
amount: {
|
|
978
965
|
amount: number;
|
|
979
966
|
precision: number;
|
|
980
967
|
};
|
|
968
|
+
id: string;
|
|
981
969
|
}[] | null | undefined;
|
|
982
970
|
} | null | undefined;
|
|
983
971
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -1003,9 +991,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1003
991
|
mid: number;
|
|
1004
992
|
} | null | undefined;
|
|
1005
993
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1006
|
-
_id: string;
|
|
1007
|
-
name: string;
|
|
1008
|
-
code: string;
|
|
1009
994
|
unit: {
|
|
1010
995
|
_id: string;
|
|
1011
996
|
name: string;
|
|
@@ -1021,110 +1006,18 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1021
1006
|
};
|
|
1022
1007
|
}[];
|
|
1023
1008
|
};
|
|
1009
|
+
code: string;
|
|
1010
|
+
_id: string;
|
|
1011
|
+
name: string;
|
|
1012
|
+
};
|
|
1013
|
+
amount: {
|
|
1014
|
+
amount: number;
|
|
1015
|
+
precision: number;
|
|
1024
1016
|
};
|
|
1025
1017
|
}[];
|
|
1026
1018
|
id: string;
|
|
1027
1019
|
createdAt: string;
|
|
1028
1020
|
}[] | null | undefined;
|
|
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
1021
|
supplier: {
|
|
1129
1022
|
phoneNumber?: string | null | undefined;
|
|
1130
1023
|
email?: string | null | undefined;
|
|
@@ -1173,13 +1066,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1173
1066
|
recordType?: string | null | undefined;
|
|
1174
1067
|
id: string | null;
|
|
1175
1068
|
} | null | undefined;
|
|
1176
|
-
createdBy: {
|
|
1177
|
-
name: string;
|
|
1178
|
-
id: string;
|
|
1179
|
-
};
|
|
1180
|
-
createdAt: string;
|
|
1181
1069
|
received: {
|
|
1182
|
-
id?: string | null | undefined;
|
|
1183
1070
|
measurement?: {
|
|
1184
1071
|
id: string;
|
|
1185
1072
|
name: string;
|
|
@@ -1194,11 +1081,8 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1194
1081
|
amount: number;
|
|
1195
1082
|
precision: number;
|
|
1196
1083
|
} | null | undefined;
|
|
1084
|
+
id?: string | null | undefined;
|
|
1197
1085
|
externalId?: string | null | undefined;
|
|
1198
|
-
amount: {
|
|
1199
|
-
amount: number;
|
|
1200
|
-
precision: number;
|
|
1201
|
-
};
|
|
1202
1086
|
sku: {
|
|
1203
1087
|
trackingMeasurement?: string | null | undefined;
|
|
1204
1088
|
convert?: {
|
|
@@ -1213,12 +1097,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1213
1097
|
precision: number;
|
|
1214
1098
|
};
|
|
1215
1099
|
} | null | undefined;
|
|
1216
|
-
id: string;
|
|
1217
1100
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1218
1101
|
amount: {
|
|
1219
1102
|
amount: number;
|
|
1220
1103
|
precision: number;
|
|
1221
1104
|
};
|
|
1105
|
+
id: string;
|
|
1222
1106
|
}[] | null | undefined;
|
|
1223
1107
|
} | null | undefined;
|
|
1224
1108
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -1244,9 +1128,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1244
1128
|
mid: number;
|
|
1245
1129
|
} | null | undefined;
|
|
1246
1130
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1247
|
-
_id: string;
|
|
1248
|
-
name: string;
|
|
1249
|
-
code: string;
|
|
1250
1131
|
unit: {
|
|
1251
1132
|
_id: string;
|
|
1252
1133
|
name: string;
|
|
@@ -1262,10 +1143,113 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1262
1143
|
};
|
|
1263
1144
|
}[];
|
|
1264
1145
|
};
|
|
1146
|
+
code: string;
|
|
1147
|
+
_id: string;
|
|
1148
|
+
name: string;
|
|
1149
|
+
};
|
|
1150
|
+
amount: {
|
|
1151
|
+
amount: number;
|
|
1152
|
+
precision: number;
|
|
1265
1153
|
};
|
|
1266
1154
|
}[];
|
|
1155
|
+
createdBy: {
|
|
1156
|
+
name: string;
|
|
1157
|
+
id: string;
|
|
1158
|
+
};
|
|
1159
|
+
createdAt: string;
|
|
1267
1160
|
deliveryOrderNumber: string;
|
|
1268
1161
|
}[];
|
|
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
|
+
}[];
|
|
1269
1253
|
} & RevisionIdMeta, unknown>): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1270
1254
|
[key: string]: any;
|
|
1271
1255
|
}>;
|
|
@@ -1310,8 +1294,8 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1310
1294
|
_id: string;
|
|
1311
1295
|
updatedAt: string;
|
|
1312
1296
|
} | null | undefined;
|
|
1313
|
-
name: string;
|
|
1314
1297
|
type: "restaurant" | "warehouse";
|
|
1298
|
+
name: string;
|
|
1315
1299
|
acceptRequest: boolean;
|
|
1316
1300
|
dbName: string;
|
|
1317
1301
|
doc: {
|
|
@@ -1319,14 +1303,26 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1319
1303
|
businessId: string;
|
|
1320
1304
|
profile: {
|
|
1321
1305
|
code?: string | null | undefined;
|
|
1322
|
-
url?: string | null | undefined;
|
|
1323
|
-
description?: string | null | undefined;
|
|
1324
1306
|
_id?: string | null | undefined;
|
|
1325
|
-
|
|
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;
|
|
1326
1319
|
sstRegNo?: string | null | undefined;
|
|
1320
|
+
phoneNo?: string | undefined;
|
|
1321
|
+
legalName?: string | null | undefined;
|
|
1327
1322
|
discovery?: boolean | null | undefined;
|
|
1328
1323
|
coverPhoto?: string | null | undefined;
|
|
1329
1324
|
thumbnailPhoto?: string | null | undefined;
|
|
1325
|
+
description?: string | null | undefined;
|
|
1330
1326
|
photos?: string[] | null | undefined;
|
|
1331
1327
|
operatingHours?: {
|
|
1332
1328
|
0: {
|
|
@@ -1380,58 +1376,75 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1380
1376
|
};
|
|
1381
1377
|
} | null | undefined;
|
|
1382
1378
|
tags?: string[] | null | undefined;
|
|
1383
|
-
|
|
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;
|
|
1379
|
+
url?: string | null | undefined;
|
|
1396
1380
|
};
|
|
1397
1381
|
};
|
|
1398
1382
|
}[] | null | undefined;
|
|
1399
|
-
_id: string;
|
|
1400
|
-
name: string;
|
|
1401
1383
|
purchaseOrder: {
|
|
1402
1384
|
remark?: string | null | undefined;
|
|
1403
1385
|
ref?: string | null | undefined;
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
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
|
+
items: {
|
|
1424
|
+
measurement?: {
|
|
1425
|
+
id: string;
|
|
1426
|
+
name: string;
|
|
1427
|
+
abbrev: string;
|
|
1428
|
+
conversion: {
|
|
1429
|
+
amount: number;
|
|
1430
|
+
precision: number;
|
|
1431
|
+
};
|
|
1432
|
+
} | null | undefined;
|
|
1433
|
+
id?: string | null | undefined;
|
|
1434
|
+
externalId?: string | null | undefined;
|
|
1435
|
+
totalCost?: {
|
|
1436
|
+
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";
|
|
1437
|
+
amount: number;
|
|
1438
|
+
precision: number;
|
|
1439
|
+
} | null | undefined;
|
|
1440
|
+
minimumQuantity?: {
|
|
1441
|
+
amount: number;
|
|
1442
|
+
precision: number;
|
|
1443
|
+
} | null | undefined;
|
|
1444
|
+
maximumQuantity?: {
|
|
1445
|
+
amount: number;
|
|
1446
|
+
precision: number;
|
|
1447
|
+
} | null | undefined;
|
|
1435
1448
|
sku: {
|
|
1436
1449
|
trackingMeasurement?: string | null | undefined;
|
|
1437
1450
|
convert?: {
|
|
@@ -1446,12 +1459,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1446
1459
|
precision: number;
|
|
1447
1460
|
};
|
|
1448
1461
|
} | null | undefined;
|
|
1449
|
-
id: string;
|
|
1450
1462
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1451
1463
|
amount: {
|
|
1452
1464
|
amount: number;
|
|
1453
1465
|
precision: number;
|
|
1454
1466
|
};
|
|
1467
|
+
id: string;
|
|
1455
1468
|
}[] | null | undefined;
|
|
1456
1469
|
} | null | undefined;
|
|
1457
1470
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -1477,9 +1490,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1477
1490
|
mid: number;
|
|
1478
1491
|
} | null | undefined;
|
|
1479
1492
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1480
|
-
_id: string;
|
|
1481
|
-
name: string;
|
|
1482
|
-
code: string;
|
|
1483
1493
|
unit: {
|
|
1484
1494
|
_id: string;
|
|
1485
1495
|
name: string;
|
|
@@ -1495,50 +1505,24 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1495
1505
|
};
|
|
1496
1506
|
}[];
|
|
1497
1507
|
};
|
|
1508
|
+
code: string;
|
|
1509
|
+
_id: string;
|
|
1510
|
+
name: string;
|
|
1498
1511
|
};
|
|
1499
|
-
|
|
1512
|
+
code: string;
|
|
1513
|
+
quantity: {
|
|
1500
1514
|
amount: number;
|
|
1501
1515
|
precision: number;
|
|
1502
1516
|
};
|
|
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
1517
|
name: string;
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
state: string;
|
|
1536
|
-
city: string;
|
|
1537
|
-
postcode: string;
|
|
1538
|
-
country: string;
|
|
1518
|
+
quantityStep: {
|
|
1519
|
+
amount: number;
|
|
1520
|
+
precision: number;
|
|
1539
1521
|
};
|
|
1540
|
-
};
|
|
1522
|
+
}[];
|
|
1541
1523
|
};
|
|
1524
|
+
_id: string;
|
|
1525
|
+
name: string;
|
|
1542
1526
|
} | null | undefined;
|
|
1543
1527
|
request?: {
|
|
1544
1528
|
id: string;
|
|
@@ -1554,7 +1538,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1554
1538
|
id: string | null;
|
|
1555
1539
|
} | null | undefined;
|
|
1556
1540
|
items: {
|
|
1557
|
-
id?: string | null | undefined;
|
|
1558
1541
|
measurement?: {
|
|
1559
1542
|
id: string;
|
|
1560
1543
|
name: string;
|
|
@@ -1569,11 +1552,8 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1569
1552
|
amount: number;
|
|
1570
1553
|
precision: number;
|
|
1571
1554
|
} | null | undefined;
|
|
1555
|
+
id?: string | null | undefined;
|
|
1572
1556
|
externalId?: string | null | undefined;
|
|
1573
|
-
amount: {
|
|
1574
|
-
amount: number;
|
|
1575
|
-
precision: number;
|
|
1576
|
-
};
|
|
1577
1557
|
sku: {
|
|
1578
1558
|
trackingMeasurement?: string | null | undefined;
|
|
1579
1559
|
convert?: {
|
|
@@ -1588,12 +1568,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1588
1568
|
precision: number;
|
|
1589
1569
|
};
|
|
1590
1570
|
} | null | undefined;
|
|
1591
|
-
id: string;
|
|
1592
1571
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1593
1572
|
amount: {
|
|
1594
1573
|
amount: number;
|
|
1595
1574
|
precision: number;
|
|
1596
1575
|
};
|
|
1576
|
+
id: string;
|
|
1597
1577
|
}[] | null | undefined;
|
|
1598
1578
|
} | null | undefined;
|
|
1599
1579
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -1619,9 +1599,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1619
1599
|
mid: number;
|
|
1620
1600
|
} | null | undefined;
|
|
1621
1601
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1622
|
-
_id: string;
|
|
1623
|
-
name: string;
|
|
1624
|
-
code: string;
|
|
1625
1602
|
unit: {
|
|
1626
1603
|
_id: string;
|
|
1627
1604
|
name: string;
|
|
@@ -1637,110 +1614,18 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1637
1614
|
};
|
|
1638
1615
|
}[];
|
|
1639
1616
|
};
|
|
1617
|
+
code: string;
|
|
1618
|
+
_id: string;
|
|
1619
|
+
name: string;
|
|
1620
|
+
};
|
|
1621
|
+
amount: {
|
|
1622
|
+
amount: number;
|
|
1623
|
+
precision: number;
|
|
1640
1624
|
};
|
|
1641
1625
|
}[];
|
|
1642
1626
|
id: string;
|
|
1643
1627
|
createdAt: string;
|
|
1644
1628
|
}[] | 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
|
-
}[];
|
|
1744
1629
|
supplier: {
|
|
1745
1630
|
phoneNumber?: string | null | undefined;
|
|
1746
1631
|
email?: string | null | undefined;
|
|
@@ -1789,13 +1674,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1789
1674
|
recordType?: string | null | undefined;
|
|
1790
1675
|
id: string | null;
|
|
1791
1676
|
} | null | undefined;
|
|
1792
|
-
createdBy: {
|
|
1793
|
-
name: string;
|
|
1794
|
-
id: string;
|
|
1795
|
-
};
|
|
1796
|
-
createdAt: string;
|
|
1797
1677
|
received: {
|
|
1798
|
-
id?: string | null | undefined;
|
|
1799
1678
|
measurement?: {
|
|
1800
1679
|
id: string;
|
|
1801
1680
|
name: string;
|
|
@@ -1810,11 +1689,8 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1810
1689
|
amount: number;
|
|
1811
1690
|
precision: number;
|
|
1812
1691
|
} | null | undefined;
|
|
1692
|
+
id?: string | null | undefined;
|
|
1813
1693
|
externalId?: string | null | undefined;
|
|
1814
|
-
amount: {
|
|
1815
|
-
amount: number;
|
|
1816
|
-
precision: number;
|
|
1817
|
-
};
|
|
1818
1694
|
sku: {
|
|
1819
1695
|
trackingMeasurement?: string | null | undefined;
|
|
1820
1696
|
convert?: {
|
|
@@ -1829,12 +1705,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1829
1705
|
precision: number;
|
|
1830
1706
|
};
|
|
1831
1707
|
} | null | undefined;
|
|
1832
|
-
id: string;
|
|
1833
1708
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1834
1709
|
amount: {
|
|
1835
1710
|
amount: number;
|
|
1836
1711
|
precision: number;
|
|
1837
1712
|
};
|
|
1713
|
+
id: string;
|
|
1838
1714
|
}[] | null | undefined;
|
|
1839
1715
|
} | null | undefined;
|
|
1840
1716
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -1860,9 +1736,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1860
1736
|
mid: number;
|
|
1861
1737
|
} | null | undefined;
|
|
1862
1738
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1863
|
-
_id: string;
|
|
1864
|
-
name: string;
|
|
1865
|
-
code: string;
|
|
1866
1739
|
unit: {
|
|
1867
1740
|
_id: string;
|
|
1868
1741
|
name: string;
|
|
@@ -1878,11 +1751,114 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1878
1751
|
};
|
|
1879
1752
|
}[];
|
|
1880
1753
|
};
|
|
1754
|
+
code: string;
|
|
1755
|
+
_id: string;
|
|
1756
|
+
name: string;
|
|
1757
|
+
};
|
|
1758
|
+
amount: {
|
|
1759
|
+
amount: number;
|
|
1760
|
+
precision: number;
|
|
1881
1761
|
};
|
|
1882
1762
|
}[];
|
|
1763
|
+
createdBy: {
|
|
1764
|
+
name: string;
|
|
1765
|
+
id: string;
|
|
1766
|
+
};
|
|
1767
|
+
createdAt: string;
|
|
1883
1768
|
deliveryOrderNumber: string;
|
|
1884
1769
|
}[];
|
|
1885
|
-
|
|
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
|
+
} & RevisionIdMeta, unknown>): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1886
1862
|
[key: string]: any;
|
|
1887
1863
|
}>;
|
|
1888
1864
|
enableSorting: false;
|
|
@@ -1942,8 +1918,8 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1942
1918
|
_id: string;
|
|
1943
1919
|
updatedAt: string;
|
|
1944
1920
|
} | null | undefined;
|
|
1945
|
-
name: string;
|
|
1946
1921
|
type: "restaurant" | "warehouse";
|
|
1922
|
+
name: string;
|
|
1947
1923
|
acceptRequest: boolean;
|
|
1948
1924
|
dbName: string;
|
|
1949
1925
|
doc: {
|
|
@@ -1951,14 +1927,26 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
1951
1927
|
businessId: string;
|
|
1952
1928
|
profile: {
|
|
1953
1929
|
code?: string | null | undefined;
|
|
1954
|
-
url?: string | null | undefined;
|
|
1955
|
-
description?: string | null | undefined;
|
|
1956
1930
|
_id?: string | null | undefined;
|
|
1957
|
-
|
|
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;
|
|
1958
1943
|
sstRegNo?: string | null | undefined;
|
|
1944
|
+
phoneNo?: string | undefined;
|
|
1945
|
+
legalName?: string | null | undefined;
|
|
1959
1946
|
discovery?: boolean | null | undefined;
|
|
1960
1947
|
coverPhoto?: string | null | undefined;
|
|
1961
1948
|
thumbnailPhoto?: string | null | undefined;
|
|
1949
|
+
description?: string | null | undefined;
|
|
1962
1950
|
photos?: string[] | null | undefined;
|
|
1963
1951
|
operatingHours?: {
|
|
1964
1952
|
0: {
|
|
@@ -2012,29 +2000,51 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2012
2000
|
};
|
|
2013
2001
|
} | null | undefined;
|
|
2014
2002
|
tags?: string[] | null | undefined;
|
|
2015
|
-
|
|
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;
|
|
2003
|
+
url?: string | null | undefined;
|
|
2028
2004
|
};
|
|
2029
2005
|
};
|
|
2030
2006
|
}[] | null | undefined;
|
|
2031
|
-
_id: string;
|
|
2032
|
-
name: string;
|
|
2033
2007
|
purchaseOrder: {
|
|
2034
2008
|
remark?: string | null | undefined;
|
|
2035
2009
|
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
|
+
};
|
|
2036
2047
|
items: {
|
|
2037
|
-
id?: string | null | undefined;
|
|
2038
2048
|
measurement?: {
|
|
2039
2049
|
id: string;
|
|
2040
2050
|
name: string;
|
|
@@ -2044,6 +2054,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2044
2054
|
precision: number;
|
|
2045
2055
|
};
|
|
2046
2056
|
} | null | undefined;
|
|
2057
|
+
id?: string | null | undefined;
|
|
2047
2058
|
externalId?: string | null | undefined;
|
|
2048
2059
|
totalCost?: {
|
|
2049
2060
|
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";
|
|
@@ -2058,12 +2069,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2058
2069
|
amount: number;
|
|
2059
2070
|
precision: number;
|
|
2060
2071
|
} | null | undefined;
|
|
2061
|
-
quantity: {
|
|
2062
|
-
amount: number;
|
|
2063
|
-
precision: number;
|
|
2064
|
-
};
|
|
2065
|
-
name: string;
|
|
2066
|
-
code: string;
|
|
2067
2072
|
sku: {
|
|
2068
2073
|
trackingMeasurement?: string | null | undefined;
|
|
2069
2074
|
convert?: {
|
|
@@ -2078,12 +2083,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2078
2083
|
precision: number;
|
|
2079
2084
|
};
|
|
2080
2085
|
} | null | undefined;
|
|
2081
|
-
id: string;
|
|
2082
2086
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2083
2087
|
amount: {
|
|
2084
2088
|
amount: number;
|
|
2085
2089
|
precision: number;
|
|
2086
2090
|
};
|
|
2091
|
+
id: string;
|
|
2087
2092
|
}[] | null | undefined;
|
|
2088
2093
|
} | null | undefined;
|
|
2089
2094
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -2109,9 +2114,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2109
2114
|
mid: number;
|
|
2110
2115
|
} | null | undefined;
|
|
2111
2116
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2112
|
-
_id: string;
|
|
2113
|
-
name: string;
|
|
2114
|
-
code: string;
|
|
2115
2117
|
unit: {
|
|
2116
2118
|
_id: string;
|
|
2117
2119
|
name: string;
|
|
@@ -2127,50 +2129,24 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2127
2129
|
};
|
|
2128
2130
|
}[];
|
|
2129
2131
|
};
|
|
2132
|
+
code: string;
|
|
2133
|
+
_id: string;
|
|
2134
|
+
name: string;
|
|
2130
2135
|
};
|
|
2131
|
-
|
|
2136
|
+
code: string;
|
|
2137
|
+
quantity: {
|
|
2132
2138
|
amount: number;
|
|
2133
2139
|
precision: number;
|
|
2134
2140
|
};
|
|
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
2141
|
name: string;
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
state: string;
|
|
2168
|
-
city: string;
|
|
2169
|
-
postcode: string;
|
|
2170
|
-
country: string;
|
|
2142
|
+
quantityStep: {
|
|
2143
|
+
amount: number;
|
|
2144
|
+
precision: number;
|
|
2171
2145
|
};
|
|
2172
|
-
};
|
|
2146
|
+
}[];
|
|
2173
2147
|
};
|
|
2148
|
+
_id: string;
|
|
2149
|
+
name: string;
|
|
2174
2150
|
} | null | undefined;
|
|
2175
2151
|
request?: {
|
|
2176
2152
|
id: string;
|
|
@@ -2186,7 +2162,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2186
2162
|
id: string | null;
|
|
2187
2163
|
} | null | undefined;
|
|
2188
2164
|
items: {
|
|
2189
|
-
id?: string | null | undefined;
|
|
2190
2165
|
measurement?: {
|
|
2191
2166
|
id: string;
|
|
2192
2167
|
name: string;
|
|
@@ -2201,11 +2176,8 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2201
2176
|
amount: number;
|
|
2202
2177
|
precision: number;
|
|
2203
2178
|
} | null | undefined;
|
|
2179
|
+
id?: string | null | undefined;
|
|
2204
2180
|
externalId?: string | null | undefined;
|
|
2205
|
-
amount: {
|
|
2206
|
-
amount: number;
|
|
2207
|
-
precision: number;
|
|
2208
|
-
};
|
|
2209
2181
|
sku: {
|
|
2210
2182
|
trackingMeasurement?: string | null | undefined;
|
|
2211
2183
|
convert?: {
|
|
@@ -2220,12 +2192,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2220
2192
|
precision: number;
|
|
2221
2193
|
};
|
|
2222
2194
|
} | null | undefined;
|
|
2223
|
-
id: string;
|
|
2224
2195
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2225
2196
|
amount: {
|
|
2226
2197
|
amount: number;
|
|
2227
2198
|
precision: number;
|
|
2228
2199
|
};
|
|
2200
|
+
id: string;
|
|
2229
2201
|
}[] | null | undefined;
|
|
2230
2202
|
} | null | undefined;
|
|
2231
2203
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -2251,9 +2223,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2251
2223
|
mid: number;
|
|
2252
2224
|
} | null | undefined;
|
|
2253
2225
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2254
|
-
_id: string;
|
|
2255
|
-
name: string;
|
|
2256
|
-
code: string;
|
|
2257
2226
|
unit: {
|
|
2258
2227
|
_id: string;
|
|
2259
2228
|
name: string;
|
|
@@ -2269,110 +2238,18 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2269
2238
|
};
|
|
2270
2239
|
}[];
|
|
2271
2240
|
};
|
|
2241
|
+
code: string;
|
|
2242
|
+
_id: string;
|
|
2243
|
+
name: string;
|
|
2244
|
+
};
|
|
2245
|
+
amount: {
|
|
2246
|
+
amount: number;
|
|
2247
|
+
precision: number;
|
|
2272
2248
|
};
|
|
2273
2249
|
}[];
|
|
2274
2250
|
id: string;
|
|
2275
2251
|
createdAt: string;
|
|
2276
2252
|
}[] | null | undefined;
|
|
2277
|
-
actionChangelogs?: {
|
|
2278
|
-
action: "approveDraft" | "rejectDraft" | "submitRequest" | "confirmDraft" | "cancelDraft" | "approveRequest" | "processRequest" | "receiveStock" | "completeReceive" | "rejectRequest";
|
|
2279
|
-
changedBy: {
|
|
2280
|
-
name: string;
|
|
2281
|
-
id: string;
|
|
2282
|
-
};
|
|
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: {
|
|
2289
|
-
id?: string | null | undefined;
|
|
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
2253
|
supplier: {
|
|
2377
2254
|
phoneNumber?: string | null | undefined;
|
|
2378
2255
|
email?: string | null | undefined;
|
|
@@ -2421,13 +2298,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2421
2298
|
recordType?: string | null | undefined;
|
|
2422
2299
|
id: string | null;
|
|
2423
2300
|
} | null | undefined;
|
|
2424
|
-
createdBy: {
|
|
2425
|
-
name: string;
|
|
2426
|
-
id: string;
|
|
2427
|
-
};
|
|
2428
|
-
createdAt: string;
|
|
2429
2301
|
received: {
|
|
2430
|
-
id?: string | null | undefined;
|
|
2431
2302
|
measurement?: {
|
|
2432
2303
|
id: string;
|
|
2433
2304
|
name: string;
|
|
@@ -2442,11 +2313,8 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2442
2313
|
amount: number;
|
|
2443
2314
|
precision: number;
|
|
2444
2315
|
} | null | undefined;
|
|
2316
|
+
id?: string | null | undefined;
|
|
2445
2317
|
externalId?: string | null | undefined;
|
|
2446
|
-
amount: {
|
|
2447
|
-
amount: number;
|
|
2448
|
-
precision: number;
|
|
2449
|
-
};
|
|
2450
2318
|
sku: {
|
|
2451
2319
|
trackingMeasurement?: string | null | undefined;
|
|
2452
2320
|
convert?: {
|
|
@@ -2461,12 +2329,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2461
2329
|
precision: number;
|
|
2462
2330
|
};
|
|
2463
2331
|
} | null | undefined;
|
|
2464
|
-
id: string;
|
|
2465
2332
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2466
2333
|
amount: {
|
|
2467
2334
|
amount: number;
|
|
2468
2335
|
precision: number;
|
|
2469
2336
|
};
|
|
2337
|
+
id: string;
|
|
2470
2338
|
}[] | null | undefined;
|
|
2471
2339
|
} | null | undefined;
|
|
2472
2340
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -2492,9 +2360,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2492
2360
|
mid: number;
|
|
2493
2361
|
} | null | undefined;
|
|
2494
2362
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2495
|
-
_id: string;
|
|
2496
|
-
name: string;
|
|
2497
|
-
code: string;
|
|
2498
2363
|
unit: {
|
|
2499
2364
|
_id: string;
|
|
2500
2365
|
name: string;
|
|
@@ -2510,10 +2375,113 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2510
2375
|
};
|
|
2511
2376
|
}[];
|
|
2512
2377
|
};
|
|
2378
|
+
code: string;
|
|
2379
|
+
_id: string;
|
|
2380
|
+
name: string;
|
|
2381
|
+
};
|
|
2382
|
+
amount: {
|
|
2383
|
+
amount: number;
|
|
2384
|
+
precision: number;
|
|
2513
2385
|
};
|
|
2514
2386
|
}[];
|
|
2387
|
+
createdBy: {
|
|
2388
|
+
name: string;
|
|
2389
|
+
id: string;
|
|
2390
|
+
};
|
|
2391
|
+
createdAt: string;
|
|
2515
2392
|
deliveryOrderNumber: string;
|
|
2516
2393
|
}[];
|
|
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
|
+
}[];
|
|
2517
2485
|
} | null | undefined;
|
|
2518
2486
|
netSuite?: {
|
|
2519
2487
|
refNo?: string | null | undefined;
|
|
@@ -2619,8 +2587,8 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2619
2587
|
_id: string;
|
|
2620
2588
|
updatedAt: string;
|
|
2621
2589
|
} | null | undefined;
|
|
2622
|
-
name: string;
|
|
2623
2590
|
type: "restaurant" | "warehouse";
|
|
2591
|
+
name: string;
|
|
2624
2592
|
acceptRequest: boolean;
|
|
2625
2593
|
dbName: string;
|
|
2626
2594
|
doc: {
|
|
@@ -2628,14 +2596,26 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2628
2596
|
businessId: string;
|
|
2629
2597
|
profile: {
|
|
2630
2598
|
code?: string | null | undefined;
|
|
2631
|
-
url?: string | null | undefined;
|
|
2632
|
-
description?: string | null | undefined;
|
|
2633
2599
|
_id?: string | null | undefined;
|
|
2634
|
-
|
|
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;
|
|
2635
2612
|
sstRegNo?: string | null | undefined;
|
|
2613
|
+
phoneNo?: string | undefined;
|
|
2614
|
+
legalName?: string | null | undefined;
|
|
2636
2615
|
discovery?: boolean | null | undefined;
|
|
2637
2616
|
coverPhoto?: string | null | undefined;
|
|
2638
2617
|
thumbnailPhoto?: string | null | undefined;
|
|
2618
|
+
description?: string | null | undefined;
|
|
2639
2619
|
photos?: string[] | null | undefined;
|
|
2640
2620
|
operatingHours?: {
|
|
2641
2621
|
0: {
|
|
@@ -2689,29 +2669,51 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2689
2669
|
};
|
|
2690
2670
|
} | null | undefined;
|
|
2691
2671
|
tags?: string[] | null | undefined;
|
|
2692
|
-
|
|
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;
|
|
2672
|
+
url?: string | null | undefined;
|
|
2705
2673
|
};
|
|
2706
2674
|
};
|
|
2707
2675
|
}[] | null | undefined;
|
|
2708
|
-
_id: string;
|
|
2709
|
-
name: string;
|
|
2710
2676
|
purchaseOrder: {
|
|
2711
2677
|
remark?: string | null | undefined;
|
|
2712
2678
|
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
|
+
};
|
|
2713
2716
|
items: {
|
|
2714
|
-
id?: string | null | undefined;
|
|
2715
2717
|
measurement?: {
|
|
2716
2718
|
id: string;
|
|
2717
2719
|
name: string;
|
|
@@ -2721,6 +2723,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2721
2723
|
precision: number;
|
|
2722
2724
|
};
|
|
2723
2725
|
} | null | undefined;
|
|
2726
|
+
id?: string | null | undefined;
|
|
2724
2727
|
externalId?: string | null | undefined;
|
|
2725
2728
|
totalCost?: {
|
|
2726
2729
|
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";
|
|
@@ -2735,12 +2738,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2735
2738
|
amount: number;
|
|
2736
2739
|
precision: number;
|
|
2737
2740
|
} | null | undefined;
|
|
2738
|
-
quantity: {
|
|
2739
|
-
amount: number;
|
|
2740
|
-
precision: number;
|
|
2741
|
-
};
|
|
2742
|
-
name: string;
|
|
2743
|
-
code: string;
|
|
2744
2741
|
sku: {
|
|
2745
2742
|
trackingMeasurement?: string | null | undefined;
|
|
2746
2743
|
convert?: {
|
|
@@ -2755,12 +2752,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2755
2752
|
precision: number;
|
|
2756
2753
|
};
|
|
2757
2754
|
} | null | undefined;
|
|
2758
|
-
id: string;
|
|
2759
2755
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2760
2756
|
amount: {
|
|
2761
2757
|
amount: number;
|
|
2762
2758
|
precision: number;
|
|
2763
2759
|
};
|
|
2760
|
+
id: string;
|
|
2764
2761
|
}[] | null | undefined;
|
|
2765
2762
|
} | null | undefined;
|
|
2766
2763
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -2786,9 +2783,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2786
2783
|
mid: number;
|
|
2787
2784
|
} | null | undefined;
|
|
2788
2785
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2789
|
-
_id: string;
|
|
2790
|
-
name: string;
|
|
2791
|
-
code: string;
|
|
2792
2786
|
unit: {
|
|
2793
2787
|
_id: string;
|
|
2794
2788
|
name: string;
|
|
@@ -2804,50 +2798,24 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2804
2798
|
};
|
|
2805
2799
|
}[];
|
|
2806
2800
|
};
|
|
2801
|
+
code: string;
|
|
2802
|
+
_id: string;
|
|
2803
|
+
name: string;
|
|
2807
2804
|
};
|
|
2808
|
-
|
|
2805
|
+
code: string;
|
|
2806
|
+
quantity: {
|
|
2809
2807
|
amount: number;
|
|
2810
2808
|
precision: number;
|
|
2811
2809
|
};
|
|
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
2810
|
name: string;
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
state: string;
|
|
2845
|
-
city: string;
|
|
2846
|
-
postcode: string;
|
|
2847
|
-
country: string;
|
|
2811
|
+
quantityStep: {
|
|
2812
|
+
amount: number;
|
|
2813
|
+
precision: number;
|
|
2848
2814
|
};
|
|
2849
|
-
};
|
|
2815
|
+
}[];
|
|
2850
2816
|
};
|
|
2817
|
+
_id: string;
|
|
2818
|
+
name: string;
|
|
2851
2819
|
} | null | undefined;
|
|
2852
2820
|
request?: {
|
|
2853
2821
|
id: string;
|
|
@@ -2863,7 +2831,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2863
2831
|
id: string | null;
|
|
2864
2832
|
} | null | undefined;
|
|
2865
2833
|
items: {
|
|
2866
|
-
id?: string | null | undefined;
|
|
2867
2834
|
measurement?: {
|
|
2868
2835
|
id: string;
|
|
2869
2836
|
name: string;
|
|
@@ -2878,11 +2845,8 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2878
2845
|
amount: number;
|
|
2879
2846
|
precision: number;
|
|
2880
2847
|
} | null | undefined;
|
|
2848
|
+
id?: string | null | undefined;
|
|
2881
2849
|
externalId?: string | null | undefined;
|
|
2882
|
-
amount: {
|
|
2883
|
-
amount: number;
|
|
2884
|
-
precision: number;
|
|
2885
|
-
};
|
|
2886
2850
|
sku: {
|
|
2887
2851
|
trackingMeasurement?: string | null | undefined;
|
|
2888
2852
|
convert?: {
|
|
@@ -2897,12 +2861,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2897
2861
|
precision: number;
|
|
2898
2862
|
};
|
|
2899
2863
|
} | null | undefined;
|
|
2900
|
-
id: string;
|
|
2901
2864
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2902
2865
|
amount: {
|
|
2903
2866
|
amount: number;
|
|
2904
2867
|
precision: number;
|
|
2905
2868
|
};
|
|
2869
|
+
id: string;
|
|
2906
2870
|
}[] | null | undefined;
|
|
2907
2871
|
} | null | undefined;
|
|
2908
2872
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -2928,9 +2892,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2928
2892
|
mid: number;
|
|
2929
2893
|
} | null | undefined;
|
|
2930
2894
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2931
|
-
_id: string;
|
|
2932
|
-
name: string;
|
|
2933
|
-
code: string;
|
|
2934
2895
|
unit: {
|
|
2935
2896
|
_id: string;
|
|
2936
2897
|
name: string;
|
|
@@ -2946,110 +2907,18 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
2946
2907
|
};
|
|
2947
2908
|
}[];
|
|
2948
2909
|
};
|
|
2910
|
+
code: string;
|
|
2911
|
+
_id: string;
|
|
2912
|
+
name: string;
|
|
2913
|
+
};
|
|
2914
|
+
amount: {
|
|
2915
|
+
amount: number;
|
|
2916
|
+
precision: number;
|
|
2949
2917
|
};
|
|
2950
2918
|
}[];
|
|
2951
2919
|
id: string;
|
|
2952
2920
|
createdAt: string;
|
|
2953
2921
|
}[] | 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: {
|
|
3037
|
-
_id: string;
|
|
3038
|
-
name: string;
|
|
3039
|
-
abbrev: string;
|
|
3040
|
-
precision: number;
|
|
3041
|
-
measurements: {
|
|
3042
|
-
id: string;
|
|
3043
|
-
name: string;
|
|
3044
|
-
abbrev: string;
|
|
3045
|
-
conversion: {
|
|
3046
|
-
amount: number;
|
|
3047
|
-
precision: number;
|
|
3048
|
-
};
|
|
3049
|
-
}[];
|
|
3050
|
-
};
|
|
3051
|
-
};
|
|
3052
|
-
}[];
|
|
3053
2922
|
supplier: {
|
|
3054
2923
|
phoneNumber?: string | null | undefined;
|
|
3055
2924
|
email?: string | null | undefined;
|
|
@@ -3098,13 +2967,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3098
2967
|
recordType?: string | null | undefined;
|
|
3099
2968
|
id: string | null;
|
|
3100
2969
|
} | null | undefined;
|
|
3101
|
-
createdBy: {
|
|
3102
|
-
name: string;
|
|
3103
|
-
id: string;
|
|
3104
|
-
};
|
|
3105
|
-
createdAt: string;
|
|
3106
2970
|
received: {
|
|
3107
|
-
id?: string | null | undefined;
|
|
3108
2971
|
measurement?: {
|
|
3109
2972
|
id: string;
|
|
3110
2973
|
name: string;
|
|
@@ -3119,11 +2982,8 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3119
2982
|
amount: number;
|
|
3120
2983
|
precision: number;
|
|
3121
2984
|
} | null | undefined;
|
|
2985
|
+
id?: string | null | undefined;
|
|
3122
2986
|
externalId?: string | null | undefined;
|
|
3123
|
-
amount: {
|
|
3124
|
-
amount: number;
|
|
3125
|
-
precision: number;
|
|
3126
|
-
};
|
|
3127
2987
|
sku: {
|
|
3128
2988
|
trackingMeasurement?: string | null | undefined;
|
|
3129
2989
|
convert?: {
|
|
@@ -3138,12 +2998,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3138
2998
|
precision: number;
|
|
3139
2999
|
};
|
|
3140
3000
|
} | null | undefined;
|
|
3141
|
-
id: string;
|
|
3142
3001
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3143
3002
|
amount: {
|
|
3144
3003
|
amount: number;
|
|
3145
3004
|
precision: number;
|
|
3146
3005
|
};
|
|
3006
|
+
id: string;
|
|
3147
3007
|
}[] | null | undefined;
|
|
3148
3008
|
} | null | undefined;
|
|
3149
3009
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -3169,9 +3029,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3169
3029
|
mid: number;
|
|
3170
3030
|
} | null | undefined;
|
|
3171
3031
|
customAttributes?: Record<string, any> | null | undefined;
|
|
3172
|
-
_id: string;
|
|
3173
|
-
name: string;
|
|
3174
|
-
code: string;
|
|
3175
3032
|
unit: {
|
|
3176
3033
|
_id: string;
|
|
3177
3034
|
name: string;
|
|
@@ -3187,69 +3044,172 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3187
3044
|
};
|
|
3188
3045
|
}[];
|
|
3189
3046
|
};
|
|
3047
|
+
code: string;
|
|
3048
|
+
_id: string;
|
|
3049
|
+
name: string;
|
|
3050
|
+
};
|
|
3051
|
+
amount: {
|
|
3052
|
+
amount: number;
|
|
3053
|
+
precision: number;
|
|
3190
3054
|
};
|
|
3191
3055
|
}[];
|
|
3056
|
+
createdBy: {
|
|
3057
|
+
name: string;
|
|
3058
|
+
id: string;
|
|
3059
|
+
};
|
|
3060
|
+
createdAt: string;
|
|
3192
3061
|
deliveryOrderNumber: string;
|
|
3193
3062
|
}[];
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
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
|
+
} | null | undefined;
|
|
3155
|
+
netSuite?: {
|
|
3156
|
+
refNo?: string | null | undefined;
|
|
3157
|
+
recordType?: string | null | undefined;
|
|
3158
|
+
sync?: boolean | null | undefined;
|
|
3159
|
+
subsidiary?: {
|
|
3160
|
+
name?: string | null | undefined;
|
|
3161
|
+
id: string;
|
|
3162
|
+
} | null | undefined;
|
|
3163
|
+
errors?: {
|
|
3164
|
+
message: string;
|
|
3165
|
+
createdAt: string;
|
|
3166
|
+
}[] | null | undefined;
|
|
3167
|
+
missingItems?: {
|
|
3168
|
+
name: string;
|
|
3169
|
+
reason: string;
|
|
3170
|
+
netSuiteId: string;
|
|
3171
|
+
}[] | null | undefined;
|
|
3172
|
+
additionalInfo?: any;
|
|
3173
|
+
id: string | null;
|
|
3174
|
+
} | null | undefined;
|
|
3175
|
+
_id: string;
|
|
3176
|
+
from: {
|
|
3177
|
+
name: string;
|
|
3178
|
+
dbName: string;
|
|
3179
|
+
};
|
|
3180
|
+
to: {
|
|
3181
|
+
name: string;
|
|
3182
|
+
dbName: string;
|
|
3183
|
+
};
|
|
3184
|
+
purchaseOrderId: string;
|
|
3185
|
+
processedAt: string | null;
|
|
3186
|
+
rejectedAt: string | null;
|
|
3187
|
+
adjusmentIds: string[];
|
|
3188
|
+
} & WithToInventoryLocation, unknown>): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
3189
|
+
[key: string]: any;
|
|
3190
|
+
}>;
|
|
3191
|
+
enableSorting: true;
|
|
3192
|
+
size?: undefined;
|
|
3193
|
+
sortUndefined?: undefined;
|
|
3194
|
+
id?: undefined;
|
|
3195
|
+
meta?: undefined;
|
|
3196
|
+
} | {
|
|
3197
|
+
id: string;
|
|
3198
|
+
cell(props: import("@tanstack/vue-table").CellContext<{
|
|
3199
|
+
purchaseOrder?: {
|
|
3200
|
+
remark?: string | null | undefined;
|
|
3201
|
+
ref?: string | null | undefined;
|
|
3202
|
+
_rev?: string | null | undefined;
|
|
3203
|
+
effectiveAt?: string | null | undefined;
|
|
3204
|
+
netSuite?: {
|
|
3205
|
+
refNo?: string | null | undefined;
|
|
3206
|
+
recordType?: string | null | undefined;
|
|
3207
|
+
sync?: boolean | null | undefined;
|
|
3208
|
+
subsidiary?: {
|
|
3209
|
+
name?: string | null | undefined;
|
|
3210
|
+
id: string;
|
|
3211
|
+
} | null | undefined;
|
|
3212
|
+
errors?: {
|
|
3253
3213
|
message: string;
|
|
3254
3214
|
createdAt: string;
|
|
3255
3215
|
}[] | null | undefined;
|
|
@@ -3270,8 +3230,8 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3270
3230
|
_id: string;
|
|
3271
3231
|
updatedAt: string;
|
|
3272
3232
|
} | null | undefined;
|
|
3273
|
-
name: string;
|
|
3274
3233
|
type: "restaurant" | "warehouse";
|
|
3234
|
+
name: string;
|
|
3275
3235
|
acceptRequest: boolean;
|
|
3276
3236
|
dbName: string;
|
|
3277
3237
|
doc: {
|
|
@@ -3279,14 +3239,26 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3279
3239
|
businessId: string;
|
|
3280
3240
|
profile: {
|
|
3281
3241
|
code?: string | null | undefined;
|
|
3282
|
-
url?: string | null | undefined;
|
|
3283
|
-
description?: string | null | undefined;
|
|
3284
3242
|
_id?: string | null | undefined;
|
|
3285
|
-
|
|
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;
|
|
3286
3255
|
sstRegNo?: string | null | undefined;
|
|
3256
|
+
phoneNo?: string | undefined;
|
|
3257
|
+
legalName?: string | null | undefined;
|
|
3287
3258
|
discovery?: boolean | null | undefined;
|
|
3288
3259
|
coverPhoto?: string | null | undefined;
|
|
3289
3260
|
thumbnailPhoto?: string | null | undefined;
|
|
3261
|
+
description?: string | null | undefined;
|
|
3290
3262
|
photos?: string[] | null | undefined;
|
|
3291
3263
|
operatingHours?: {
|
|
3292
3264
|
0: {
|
|
@@ -3340,29 +3312,51 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3340
3312
|
};
|
|
3341
3313
|
} | null | undefined;
|
|
3342
3314
|
tags?: string[] | null | undefined;
|
|
3343
|
-
|
|
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;
|
|
3315
|
+
url?: string | null | undefined;
|
|
3356
3316
|
};
|
|
3357
3317
|
};
|
|
3358
3318
|
}[] | null | undefined;
|
|
3359
|
-
_id: string;
|
|
3360
|
-
name: string;
|
|
3361
3319
|
purchaseOrder: {
|
|
3362
3320
|
remark?: string | null | undefined;
|
|
3363
3321
|
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
|
+
};
|
|
3364
3359
|
items: {
|
|
3365
|
-
id?: string | null | undefined;
|
|
3366
3360
|
measurement?: {
|
|
3367
3361
|
id: string;
|
|
3368
3362
|
name: string;
|
|
@@ -3372,6 +3366,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3372
3366
|
precision: number;
|
|
3373
3367
|
};
|
|
3374
3368
|
} | null | undefined;
|
|
3369
|
+
id?: string | null | undefined;
|
|
3375
3370
|
externalId?: string | null | undefined;
|
|
3376
3371
|
totalCost?: {
|
|
3377
3372
|
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";
|
|
@@ -3386,12 +3381,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3386
3381
|
amount: number;
|
|
3387
3382
|
precision: number;
|
|
3388
3383
|
} | null | undefined;
|
|
3389
|
-
quantity: {
|
|
3390
|
-
amount: number;
|
|
3391
|
-
precision: number;
|
|
3392
|
-
};
|
|
3393
|
-
name: string;
|
|
3394
|
-
code: string;
|
|
3395
3384
|
sku: {
|
|
3396
3385
|
trackingMeasurement?: string | null | undefined;
|
|
3397
3386
|
convert?: {
|
|
@@ -3406,12 +3395,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3406
3395
|
precision: number;
|
|
3407
3396
|
};
|
|
3408
3397
|
} | null | undefined;
|
|
3409
|
-
id: string;
|
|
3410
3398
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3411
3399
|
amount: {
|
|
3412
3400
|
amount: number;
|
|
3413
3401
|
precision: number;
|
|
3414
3402
|
};
|
|
3403
|
+
id: string;
|
|
3415
3404
|
}[] | null | undefined;
|
|
3416
3405
|
} | null | undefined;
|
|
3417
3406
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -3437,9 +3426,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3437
3426
|
mid: number;
|
|
3438
3427
|
} | null | undefined;
|
|
3439
3428
|
customAttributes?: Record<string, any> | null | undefined;
|
|
3440
|
-
_id: string;
|
|
3441
|
-
name: string;
|
|
3442
|
-
code: string;
|
|
3443
3429
|
unit: {
|
|
3444
3430
|
_id: string;
|
|
3445
3431
|
name: string;
|
|
@@ -3455,50 +3441,24 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3455
3441
|
};
|
|
3456
3442
|
}[];
|
|
3457
3443
|
};
|
|
3444
|
+
code: string;
|
|
3445
|
+
_id: string;
|
|
3446
|
+
name: string;
|
|
3458
3447
|
};
|
|
3459
|
-
|
|
3448
|
+
code: string;
|
|
3449
|
+
quantity: {
|
|
3460
3450
|
amount: number;
|
|
3461
3451
|
precision: number;
|
|
3462
3452
|
};
|
|
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;
|
|
3491
3453
|
name: string;
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
state: string;
|
|
3496
|
-
city: string;
|
|
3497
|
-
postcode: string;
|
|
3498
|
-
country: string;
|
|
3454
|
+
quantityStep: {
|
|
3455
|
+
amount: number;
|
|
3456
|
+
precision: number;
|
|
3499
3457
|
};
|
|
3500
|
-
};
|
|
3458
|
+
}[];
|
|
3501
3459
|
};
|
|
3460
|
+
_id: string;
|
|
3461
|
+
name: string;
|
|
3502
3462
|
} | null | undefined;
|
|
3503
3463
|
request?: {
|
|
3504
3464
|
id: string;
|
|
@@ -3514,7 +3474,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3514
3474
|
id: string | null;
|
|
3515
3475
|
} | null | undefined;
|
|
3516
3476
|
items: {
|
|
3517
|
-
id?: string | null | undefined;
|
|
3518
3477
|
measurement?: {
|
|
3519
3478
|
id: string;
|
|
3520
3479
|
name: string;
|
|
@@ -3529,11 +3488,8 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3529
3488
|
amount: number;
|
|
3530
3489
|
precision: number;
|
|
3531
3490
|
} | null | undefined;
|
|
3491
|
+
id?: string | null | undefined;
|
|
3532
3492
|
externalId?: string | null | undefined;
|
|
3533
|
-
amount: {
|
|
3534
|
-
amount: number;
|
|
3535
|
-
precision: number;
|
|
3536
|
-
};
|
|
3537
3493
|
sku: {
|
|
3538
3494
|
trackingMeasurement?: string | null | undefined;
|
|
3539
3495
|
convert?: {
|
|
@@ -3548,12 +3504,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3548
3504
|
precision: number;
|
|
3549
3505
|
};
|
|
3550
3506
|
} | null | undefined;
|
|
3551
|
-
id: string;
|
|
3552
3507
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3553
3508
|
amount: {
|
|
3554
3509
|
amount: number;
|
|
3555
3510
|
precision: number;
|
|
3556
3511
|
};
|
|
3512
|
+
id: string;
|
|
3557
3513
|
}[] | null | undefined;
|
|
3558
3514
|
} | null | undefined;
|
|
3559
3515
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -3579,9 +3535,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3579
3535
|
mid: number;
|
|
3580
3536
|
} | null | undefined;
|
|
3581
3537
|
customAttributes?: Record<string, any> | null | undefined;
|
|
3582
|
-
_id: string;
|
|
3583
|
-
name: string;
|
|
3584
|
-
code: string;
|
|
3585
3538
|
unit: {
|
|
3586
3539
|
_id: string;
|
|
3587
3540
|
name: string;
|
|
@@ -3597,110 +3550,18 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3597
3550
|
};
|
|
3598
3551
|
}[];
|
|
3599
3552
|
};
|
|
3553
|
+
code: string;
|
|
3554
|
+
_id: string;
|
|
3555
|
+
name: string;
|
|
3556
|
+
};
|
|
3557
|
+
amount: {
|
|
3558
|
+
amount: number;
|
|
3559
|
+
precision: number;
|
|
3600
3560
|
};
|
|
3601
3561
|
}[];
|
|
3602
3562
|
id: string;
|
|
3603
3563
|
createdAt: string;
|
|
3604
3564
|
}[] | 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
|
-
}[];
|
|
3704
3565
|
supplier: {
|
|
3705
3566
|
phoneNumber?: string | null | undefined;
|
|
3706
3567
|
email?: string | null | undefined;
|
|
@@ -3749,13 +3610,7 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3749
3610
|
recordType?: string | null | undefined;
|
|
3750
3611
|
id: string | null;
|
|
3751
3612
|
} | null | undefined;
|
|
3752
|
-
createdBy: {
|
|
3753
|
-
name: string;
|
|
3754
|
-
id: string;
|
|
3755
|
-
};
|
|
3756
|
-
createdAt: string;
|
|
3757
3613
|
received: {
|
|
3758
|
-
id?: string | null | undefined;
|
|
3759
3614
|
measurement?: {
|
|
3760
3615
|
id: string;
|
|
3761
3616
|
name: string;
|
|
@@ -3770,11 +3625,8 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3770
3625
|
amount: number;
|
|
3771
3626
|
precision: number;
|
|
3772
3627
|
} | null | undefined;
|
|
3628
|
+
id?: string | null | undefined;
|
|
3773
3629
|
externalId?: string | null | undefined;
|
|
3774
|
-
amount: {
|
|
3775
|
-
amount: number;
|
|
3776
|
-
precision: number;
|
|
3777
|
-
};
|
|
3778
3630
|
sku: {
|
|
3779
3631
|
trackingMeasurement?: string | null | undefined;
|
|
3780
3632
|
convert?: {
|
|
@@ -3789,12 +3641,12 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3789
3641
|
precision: number;
|
|
3790
3642
|
};
|
|
3791
3643
|
} | null | undefined;
|
|
3792
|
-
id: string;
|
|
3793
3644
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3794
3645
|
amount: {
|
|
3795
3646
|
amount: number;
|
|
3796
3647
|
precision: number;
|
|
3797
3648
|
};
|
|
3649
|
+
id: string;
|
|
3798
3650
|
}[] | null | undefined;
|
|
3799
3651
|
} | null | undefined;
|
|
3800
3652
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
@@ -3820,9 +3672,6 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3820
3672
|
mid: number;
|
|
3821
3673
|
} | null | undefined;
|
|
3822
3674
|
customAttributes?: Record<string, any> | null | undefined;
|
|
3823
|
-
_id: string;
|
|
3824
|
-
name: string;
|
|
3825
|
-
code: string;
|
|
3826
3675
|
unit: {
|
|
3827
3676
|
_id: string;
|
|
3828
3677
|
name: string;
|
|
@@ -3838,10 +3687,113 @@ export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFo
|
|
|
3838
3687
|
};
|
|
3839
3688
|
}[];
|
|
3840
3689
|
};
|
|
3690
|
+
code: string;
|
|
3691
|
+
_id: string;
|
|
3692
|
+
name: string;
|
|
3693
|
+
};
|
|
3694
|
+
amount: {
|
|
3695
|
+
amount: number;
|
|
3696
|
+
precision: number;
|
|
3841
3697
|
};
|
|
3842
3698
|
}[];
|
|
3699
|
+
createdBy: {
|
|
3700
|
+
name: string;
|
|
3701
|
+
id: string;
|
|
3702
|
+
};
|
|
3703
|
+
createdAt: string;
|
|
3843
3704
|
deliveryOrderNumber: string;
|
|
3844
3705
|
}[];
|
|
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
|
+
}[];
|
|
3845
3797
|
} | null | undefined;
|
|
3846
3798
|
netSuite?: {
|
|
3847
3799
|
refNo?: string | null | undefined;
|