@feedmepos/mf-inventory-portal 0.0.25-dev.9 → 0.0.26-dev.1
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-9zSE_swt.js → App-CipfIdtR.js} +71 -72
- package/dist/ApprovalView-IC33yBg7.js +143 -0
- package/dist/{BindingsDialog-eGbOIQkw.js → BindingsDialog-EN6Kbnu7.js} +2 -2
- package/dist/{BindingsPicker-CVXrd29s.js → BindingsPicker-DQ_LEoqq.js} +3 -3
- package/dist/BindingsTable-DGXpAyM4.js +120 -0
- package/dist/ClosingDraftView-DR9xsW9I.js +1348 -0
- package/dist/ClosingTemplateView-CC1T7ovX.js +1804 -0
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C9un0wCK.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CovzlB-s.js} +43 -43
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BRSABJnM.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BxEtsFXp.js} +29 -29
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DeRvrF7O.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-B8H6vFJ5.js} +1 -1
- package/dist/{IngredientGroupView-ZWCOAljO.js → IngredientGroupView-DRPbXH8d.js} +24 -24
- package/dist/IngredientsView-DSHcH30X.js +1731 -0
- package/dist/{IntegrationView-DO3Ambro.js → IntegrationView-BgACk-jP.js} +605 -669
- package/dist/{InventoryBindingForm-BjtFP29c.js → InventoryBindingForm-Fs-CHoT-.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CFMZ4VsK.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DVHQjAEC.js} +63 -63
- package/dist/{InventoryBindingSummary-C6DkVX-B.js → InventoryBindingSummary-CHWMtGtk.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-nb1t6u2V.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cu9V-8Cf.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BcMAXo4F.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CyVRCAqv.js} +12 -12
- package/dist/PublishView-CI7o5a0F.js +222 -0
- package/dist/{PurchaseOrderPrintPreview-_MCAsdw9.js → PurchaseOrderPrintPreview-CO4a811o.js} +1 -1
- package/dist/ReceiveRequestView-KH5wY5BA.js +2562 -0
- package/dist/{RecipeView-dmmjklwh.js → RecipeView-DxVbUxOG.js} +47 -47
- package/dist/StockView-CiHPAaYh.js +1840 -0
- package/dist/{SupplierView-CO5460uC.js → SupplierView-DPj87kld.js} +448 -461
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CfPPCFh8.js +1566 -0
- package/dist/TransferTemplateView-3W29v8hd.js +1420 -0
- package/dist/{UnitView-DbYzxCXF.js → UnitView-WCtNQFf8.js} +23 -23
- package/dist/{WarehouseView-BII4SEVC.js → WarehouseView-tgFFbQY7.js} +40 -40
- package/dist/api/bill.d.ts +12 -2
- package/dist/api/closing-draft.d.ts +1 -0
- package/dist/api/inventory.d.ts +8 -7
- package/dist/api/netsuite.d.ts +22 -5
- package/dist/api/purchase-order.d.ts +6 -1
- package/dist/api/stock.d.ts +1 -0
- package/dist/{app-IM1yJnE8.js → app-Ba80HxT3.js} +38448 -34777
- package/dist/app.d.ts +965 -120
- package/dist/app.js +1 -1
- package/dist/components/FmDroppableField.vue.d.ts +1 -1
- package/dist/components/FmMultiselectDialog.d.ts +23 -0
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +1 -1
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +1 -1
- package/dist/{decimal-DQUpCN-B.js → decimal-DFqusYHB.js} +1 -1
- package/dist/{format-unit-display-COuIZISg.js → format-unit-display-Bsod5Ra6.js} +232 -238
- package/dist/helper/country.d.ts +1 -0
- package/dist/helper/fuzzy.d.ts +1 -1
- package/dist/helper/number.d.ts +1 -1
- package/dist/index-0ekVGPtB.js +12197 -0
- package/dist/index-ZAEVHtfa.js +84 -0
- package/dist/{stock-BJUTiXXk.js → stock-Cn6EQvTz.js} +29 -25
- package/dist/stores/feature.d.ts +11 -6
- package/dist/stores/helper/generate-backend-urls.d.ts +0 -1
- package/dist/stores/integration/index.d.ts +2 -0
- package/dist/stores/integration/netsuite.d.ts +22 -5
- package/dist/stores/inventory.d.ts +141 -8
- package/dist/stores/location.d.ts +0 -9
- package/dist/stores/stock.d.ts +5 -0
- package/dist/stores/warehouse.d.ts +4 -7
- package/dist/style.css +1 -1
- package/dist/{supplier-CM-qQVyI.js → supplier-P1gi71dg.js} +4 -4
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-Cn79xFNg.js → use-ingredient-select-dialog-BW5imbB5.js} +1 -1
- package/dist/{use-inventory-binding-dialog-zwOG19YV.js → use-inventory-binding-dialog-BYxb8nXg.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +0 -24
- package/dist/views/adjustment-template/wastage-template/table.d.ts +0 -24
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +92 -8
- package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +4 -1
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +552 -48
- package/dist/views/closing-draft/helpers/export-draft.helper.d.ts +1 -1
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +1 -1
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +12 -36
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +12 -36
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +3 -3
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -2
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
- package/dist/views/receive-request/components/netsuite/NetSuiteProps.d.ts +2 -0
- package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +4 -1
- package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +2 -0
- package/dist/views/receive-request/components/transfer-form/SparkIcon.vue.d.ts +1 -1
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +529 -489
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +8 -4
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +382 -2
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +5 -2
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1238 -972
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1080 -1003
- package/dist/views/receive-request/import/XilnexImportDialog.vue.d.ts +22 -0
- package/dist/views/receive-request/import/XilnexImportForm.vue.d.ts +17 -0
- package/dist/views/receive-request/import/XilnexResult.vue.d.ts +17 -0
- package/dist/views/receive-request/import/export.d.ts +14 -0
- package/dist/views/receive-request/import/props.d.ts +7 -0
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +6 -1
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +6 -4
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +220 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +0 -8
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +0 -1
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +7 -2
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +530 -530
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +530 -530
- package/dist/views/transfer-template/composables/useTransferTemplateHelper.d.ts +305 -0
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +8 -14
- package/dist/vue-i18n-CjtRsQMl.js +2365 -0
- package/package.json +7 -7
- package/dist/ApprovalView-C2tg-wsm.js +0 -138
- package/dist/BindingsTable-CCsQEFnu.js +0 -145
- package/dist/ClosingDraftView-BI8b3CJ9.js +0 -1225
- package/dist/ClosingTemplateView-miJnC-ML.js +0 -1859
- package/dist/IngredientsView-5-pSX6y_.js +0 -1718
- package/dist/PublishView-DOMQdIJ7.js +0 -192
- package/dist/ReceiveRequestView-902hWGtz.js +0 -1877
- package/dist/StockView-C4lEYLXU.js +0 -7847
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-D6sZDCEY.js +0 -1328
- package/dist/TransferTemplateView-C9UwNTnY.js +0 -1371
- package/dist/components/FmAutocompleteTextField.vue.d.ts +0 -31
- package/dist/feature-DMBVVBsQ.js +0 -1005
- package/dist/index-CIrsMt6f.js +0 -35546
- package/dist/views/dev/components/AutocompleteTextField.vue.d.ts +0 -2
- package/dist/vue-i18n-CzPFJ9JY.js +0 -2365
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import type { ReceiveRequestFormComposable } from './use-receive-request-form';
|
|
2
|
-
|
|
1
|
+
import type { PO_SCOPE, ReceiveRequestFormComposable } from './use-receive-request-form';
|
|
2
|
+
import type { WithToInventoryLocation } from '@/api/purchase-order';
|
|
3
|
+
import type { RevisionIdMeta } from '@feedmepos/inventory-core';
|
|
4
|
+
export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFormComposable: ReceiveRequestFormComposable): {
|
|
3
5
|
readonly columnDefs: ({
|
|
4
6
|
accessorKey: "seqNumber";
|
|
5
7
|
header: () => string;
|
|
@@ -16,8 +18,10 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
16
18
|
remark?: string | null | undefined;
|
|
17
19
|
ref?: string | null | undefined;
|
|
18
20
|
_rev?: string | null | undefined;
|
|
21
|
+
effectiveAt?: string | null | undefined;
|
|
19
22
|
netSuite?: {
|
|
20
23
|
refNo?: string | null | undefined;
|
|
24
|
+
recordType?: string | null | undefined;
|
|
21
25
|
sync?: boolean | null | undefined;
|
|
22
26
|
subsidiary?: {
|
|
23
27
|
name?: string | null | undefined;
|
|
@@ -35,6 +39,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
35
39
|
additionalInfo?: any;
|
|
36
40
|
id: string | null;
|
|
37
41
|
} | null | undefined;
|
|
42
|
+
version?: "1" | "2" | null | undefined;
|
|
38
43
|
template?: string | null | undefined;
|
|
39
44
|
templateDoc?: {
|
|
40
45
|
_rev?: string | null | undefined;
|
|
@@ -48,7 +53,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
48
53
|
acceptRequest: boolean;
|
|
49
54
|
dbName: string;
|
|
50
55
|
doc: {
|
|
51
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
52
56
|
_id: string;
|
|
53
57
|
businessId: string;
|
|
54
58
|
profile: {
|
|
@@ -130,12 +134,46 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
130
134
|
};
|
|
131
135
|
};
|
|
132
136
|
}[] | null | undefined;
|
|
133
|
-
locationTags?: string[] | null | undefined;
|
|
134
|
-
_id: string;
|
|
135
|
-
name: string;
|
|
136
137
|
purchaseOrder: {
|
|
137
138
|
remark?: string | null | undefined;
|
|
138
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
|
+
};
|
|
139
177
|
items: {
|
|
140
178
|
measurement?: {
|
|
141
179
|
id: string;
|
|
@@ -146,6 +184,8 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
146
184
|
precision: number;
|
|
147
185
|
};
|
|
148
186
|
} | null | undefined;
|
|
187
|
+
id?: string | null | undefined;
|
|
188
|
+
externalId?: string | null | undefined;
|
|
149
189
|
totalCost?: {
|
|
150
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";
|
|
151
191
|
amount: number;
|
|
@@ -160,7 +200,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
160
200
|
precision: number;
|
|
161
201
|
} | null | undefined;
|
|
162
202
|
sku: {
|
|
163
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
164
203
|
trackingMeasurement?: string | null | undefined;
|
|
165
204
|
convert?: {
|
|
166
205
|
measurement?: string | null | undefined;
|
|
@@ -204,6 +243,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
204
243
|
low: number;
|
|
205
244
|
mid: number;
|
|
206
245
|
} | null | undefined;
|
|
246
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
207
247
|
unit: {
|
|
208
248
|
_id: string;
|
|
209
249
|
name: string;
|
|
@@ -224,67 +264,32 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
224
264
|
name: string;
|
|
225
265
|
};
|
|
226
266
|
code: string;
|
|
227
|
-
name: string;
|
|
228
267
|
quantity: {
|
|
229
268
|
amount: number;
|
|
230
269
|
precision: number;
|
|
231
270
|
};
|
|
271
|
+
name: string;
|
|
232
272
|
quantityStep: {
|
|
233
273
|
amount: number;
|
|
234
274
|
precision: number;
|
|
235
275
|
};
|
|
236
276
|
}[];
|
|
237
|
-
supplier: {
|
|
238
|
-
phoneNumber?: string | null | undefined;
|
|
239
|
-
email?: string | null | undefined;
|
|
240
|
-
_rev?: string | null | undefined;
|
|
241
|
-
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
242
|
-
contactName?: string | null | undefined;
|
|
243
|
-
registrationNumber?: string | undefined;
|
|
244
|
-
supplyItems?: {
|
|
245
|
-
defaultCost: {
|
|
246
|
-
measurement?: {
|
|
247
|
-
id: string;
|
|
248
|
-
name: string;
|
|
249
|
-
abbrev: string;
|
|
250
|
-
conversion: {
|
|
251
|
-
amount: number;
|
|
252
|
-
precision: number;
|
|
253
|
-
};
|
|
254
|
-
} | null | undefined;
|
|
255
|
-
costPerUnit: {
|
|
256
|
-
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";
|
|
257
|
-
amount: number;
|
|
258
|
-
precision: number;
|
|
259
|
-
};
|
|
260
|
-
};
|
|
261
|
-
skuId: string;
|
|
262
|
-
}[] | null | undefined;
|
|
263
|
-
_id: string;
|
|
264
|
-
name: string;
|
|
265
|
-
address: {
|
|
266
|
-
line2?: string | null | undefined;
|
|
267
|
-
line1: string;
|
|
268
|
-
state: string;
|
|
269
|
-
city: string;
|
|
270
|
-
postcode: string;
|
|
271
|
-
country: string;
|
|
272
|
-
};
|
|
273
|
-
};
|
|
274
277
|
};
|
|
278
|
+
_id: string;
|
|
279
|
+
name: string;
|
|
275
280
|
} | null | undefined;
|
|
276
281
|
request?: {
|
|
277
282
|
id: string;
|
|
278
283
|
adjustmentIds: string[];
|
|
279
284
|
} | null | undefined;
|
|
280
285
|
stockSnapshotId?: string | null | undefined;
|
|
281
|
-
effectiveAt?: string | null | undefined;
|
|
282
286
|
deliveryFullfillment?: {
|
|
283
287
|
remark?: string | null | undefined;
|
|
284
288
|
adjustment?: string | null | undefined;
|
|
285
289
|
netSuite?: {
|
|
286
290
|
refNo?: string | null | undefined;
|
|
287
|
-
|
|
291
|
+
recordType?: string | null | undefined;
|
|
292
|
+
id: string | null;
|
|
288
293
|
} | null | undefined;
|
|
289
294
|
items: {
|
|
290
295
|
cost?: {
|
|
@@ -301,8 +306,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
301
306
|
precision: number;
|
|
302
307
|
};
|
|
303
308
|
} | null | undefined;
|
|
309
|
+
id?: string | null | undefined;
|
|
310
|
+
externalId?: string | null | undefined;
|
|
304
311
|
sku: {
|
|
305
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
306
312
|
trackingMeasurement?: string | null | undefined;
|
|
307
313
|
convert?: {
|
|
308
314
|
measurement?: string | null | undefined;
|
|
@@ -346,6 +352,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
346
352
|
low: number;
|
|
347
353
|
mid: number;
|
|
348
354
|
} | null | undefined;
|
|
355
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
349
356
|
unit: {
|
|
350
357
|
_id: string;
|
|
351
358
|
name: string;
|
|
@@ -373,95 +380,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
373
380
|
id: string;
|
|
374
381
|
createdAt: string;
|
|
375
382
|
}[] | null | undefined;
|
|
376
|
-
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL";
|
|
377
|
-
_id: string;
|
|
378
|
-
seqNumber: number;
|
|
379
|
-
items: {
|
|
380
|
-
measurement?: {
|
|
381
|
-
id: string;
|
|
382
|
-
name: string;
|
|
383
|
-
abbrev: string;
|
|
384
|
-
conversion: {
|
|
385
|
-
amount: number;
|
|
386
|
-
precision: number;
|
|
387
|
-
};
|
|
388
|
-
} | null | undefined;
|
|
389
|
-
totalCost?: {
|
|
390
|
-
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";
|
|
391
|
-
amount: number;
|
|
392
|
-
precision: number;
|
|
393
|
-
} | null | undefined;
|
|
394
|
-
sku: {
|
|
395
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
396
|
-
trackingMeasurement?: string | null | undefined;
|
|
397
|
-
convert?: {
|
|
398
|
-
measurement?: string | null | undefined;
|
|
399
|
-
inventoryBindings?: {
|
|
400
|
-
measurement?: {
|
|
401
|
-
id: string;
|
|
402
|
-
name: string;
|
|
403
|
-
abbrev: string;
|
|
404
|
-
conversion: {
|
|
405
|
-
amount: number;
|
|
406
|
-
precision: number;
|
|
407
|
-
};
|
|
408
|
-
} | null | undefined;
|
|
409
|
-
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
410
|
-
amount: {
|
|
411
|
-
amount: number;
|
|
412
|
-
precision: number;
|
|
413
|
-
};
|
|
414
|
-
id: string;
|
|
415
|
-
}[] | null | undefined;
|
|
416
|
-
} | null | undefined;
|
|
417
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
418
|
-
defaultCost?: {
|
|
419
|
-
measurement?: {
|
|
420
|
-
id: string;
|
|
421
|
-
name: string;
|
|
422
|
-
abbrev: string;
|
|
423
|
-
conversion: {
|
|
424
|
-
amount: number;
|
|
425
|
-
precision: number;
|
|
426
|
-
};
|
|
427
|
-
} | null | undefined;
|
|
428
|
-
costPerUnit: {
|
|
429
|
-
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";
|
|
430
|
-
amount: number;
|
|
431
|
-
precision: number;
|
|
432
|
-
};
|
|
433
|
-
} | null | undefined;
|
|
434
|
-
operationalGroup?: string | null | undefined;
|
|
435
|
-
thresholds?: {
|
|
436
|
-
low: number;
|
|
437
|
-
mid: number;
|
|
438
|
-
} | null | undefined;
|
|
439
|
-
unit: {
|
|
440
|
-
_id: string;
|
|
441
|
-
name: string;
|
|
442
|
-
abbrev: string;
|
|
443
|
-
precision: number;
|
|
444
|
-
measurements: {
|
|
445
|
-
id: string;
|
|
446
|
-
name: string;
|
|
447
|
-
abbrev: string;
|
|
448
|
-
conversion: {
|
|
449
|
-
amount: number;
|
|
450
|
-
precision: number;
|
|
451
|
-
};
|
|
452
|
-
}[];
|
|
453
|
-
};
|
|
454
|
-
code: string;
|
|
455
|
-
_id: string;
|
|
456
|
-
name: string;
|
|
457
|
-
};
|
|
458
|
-
code: string;
|
|
459
|
-
name: string;
|
|
460
|
-
quantity: {
|
|
461
|
-
amount: number;
|
|
462
|
-
precision: number;
|
|
463
|
-
};
|
|
464
|
-
}[];
|
|
383
|
+
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "CLOSE" | "REJECT";
|
|
465
384
|
supplier: {
|
|
466
385
|
phoneNumber?: string | null | undefined;
|
|
467
386
|
email?: string | null | undefined;
|
|
@@ -501,11 +420,14 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
501
420
|
};
|
|
502
421
|
deliveryOrder: {
|
|
503
422
|
remark?: string | null | undefined;
|
|
423
|
+
id?: string | null | undefined;
|
|
504
424
|
adjustment?: string | null | undefined;
|
|
425
|
+
effectiveAt?: string | null | undefined;
|
|
505
426
|
fullfillmentId?: string | null | undefined;
|
|
506
427
|
netSuite?: {
|
|
507
428
|
refNo?: string | null | undefined;
|
|
508
|
-
|
|
429
|
+
recordType?: string | null | undefined;
|
|
430
|
+
id: string | null;
|
|
509
431
|
} | null | undefined;
|
|
510
432
|
received: {
|
|
511
433
|
cost?: {
|
|
@@ -522,8 +444,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
522
444
|
precision: number;
|
|
523
445
|
};
|
|
524
446
|
} | null | undefined;
|
|
447
|
+
id?: string | null | undefined;
|
|
448
|
+
externalId?: string | null | undefined;
|
|
525
449
|
sku: {
|
|
526
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
527
450
|
trackingMeasurement?: string | null | undefined;
|
|
528
451
|
convert?: {
|
|
529
452
|
measurement?: string | null | undefined;
|
|
@@ -567,6 +490,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
567
490
|
low: number;
|
|
568
491
|
mid: number;
|
|
569
492
|
} | null | undefined;
|
|
493
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
570
494
|
unit: {
|
|
571
495
|
_id: string;
|
|
572
496
|
name: string;
|
|
@@ -598,83 +522,175 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
598
522
|
createdAt: string;
|
|
599
523
|
deliveryOrderNumber: string;
|
|
600
524
|
}[];
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
meta?: undefined;
|
|
606
|
-
id?: undefined;
|
|
607
|
-
} | {
|
|
608
|
-
accessorKey: "supplier.name";
|
|
609
|
-
header: () => string;
|
|
610
|
-
enableSorting: true;
|
|
611
|
-
size: number;
|
|
612
|
-
sortUndefined?: undefined;
|
|
613
|
-
cell?: undefined;
|
|
614
|
-
meta?: undefined;
|
|
615
|
-
id?: undefined;
|
|
616
|
-
} | {
|
|
617
|
-
accessorKey: "items.length";
|
|
618
|
-
header: () => string;
|
|
619
|
-
enableSorting: false;
|
|
620
|
-
meta: {
|
|
621
|
-
width: string;
|
|
622
|
-
cellClass?: undefined;
|
|
623
|
-
headerClass?: undefined;
|
|
624
|
-
};
|
|
625
|
-
size?: undefined;
|
|
626
|
-
sortUndefined?: undefined;
|
|
627
|
-
cell?: undefined;
|
|
628
|
-
id?: undefined;
|
|
629
|
-
} | {
|
|
630
|
-
accessorKey: "ref";
|
|
631
|
-
header: () => string;
|
|
632
|
-
enableSorting: false;
|
|
633
|
-
size: any;
|
|
634
|
-
sortUndefined?: undefined;
|
|
635
|
-
cell?: undefined;
|
|
636
|
-
meta?: undefined;
|
|
637
|
-
id?: undefined;
|
|
638
|
-
} | {
|
|
639
|
-
accessorKey: "status";
|
|
640
|
-
header: () => string;
|
|
641
|
-
cell(props: import("@tanstack/vue-table").CellContext<{
|
|
642
|
-
remark?: string | null | undefined;
|
|
643
|
-
ref?: string | null | undefined;
|
|
644
|
-
_rev?: string | null | undefined;
|
|
645
|
-
netSuite?: {
|
|
646
|
-
refNo?: string | null | undefined;
|
|
647
|
-
sync?: boolean | null | undefined;
|
|
648
|
-
subsidiary?: {
|
|
649
|
-
name?: string | null | undefined;
|
|
525
|
+
_id: string;
|
|
526
|
+
seqNumber: number;
|
|
527
|
+
items: {
|
|
528
|
+
measurement?: {
|
|
650
529
|
id: string;
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
530
|
+
name: string;
|
|
531
|
+
abbrev: string;
|
|
532
|
+
conversion: {
|
|
533
|
+
amount: number;
|
|
534
|
+
precision: number;
|
|
535
|
+
};
|
|
536
|
+
} | null | undefined;
|
|
537
|
+
id?: string | null | undefined;
|
|
538
|
+
externalId?: string | null | undefined;
|
|
539
|
+
totalCost?: {
|
|
540
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
541
|
+
amount: number;
|
|
542
|
+
precision: number;
|
|
543
|
+
} | null | undefined;
|
|
544
|
+
sku: {
|
|
545
|
+
trackingMeasurement?: string | null | undefined;
|
|
546
|
+
convert?: {
|
|
547
|
+
measurement?: string | null | undefined;
|
|
548
|
+
inventoryBindings?: {
|
|
549
|
+
measurement?: {
|
|
550
|
+
id: string;
|
|
551
|
+
name: string;
|
|
552
|
+
abbrev: string;
|
|
553
|
+
conversion: {
|
|
554
|
+
amount: number;
|
|
555
|
+
precision: number;
|
|
556
|
+
};
|
|
557
|
+
} | null | undefined;
|
|
558
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
559
|
+
amount: {
|
|
560
|
+
amount: number;
|
|
561
|
+
precision: number;
|
|
562
|
+
};
|
|
563
|
+
id: string;
|
|
564
|
+
}[] | null | undefined;
|
|
565
|
+
} | null | undefined;
|
|
566
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
567
|
+
defaultCost?: {
|
|
568
|
+
measurement?: {
|
|
569
|
+
id: string;
|
|
570
|
+
name: string;
|
|
571
|
+
abbrev: string;
|
|
572
|
+
conversion: {
|
|
573
|
+
amount: number;
|
|
574
|
+
precision: number;
|
|
575
|
+
};
|
|
576
|
+
} | null | undefined;
|
|
577
|
+
costPerUnit: {
|
|
578
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
579
|
+
amount: number;
|
|
580
|
+
precision: number;
|
|
581
|
+
};
|
|
582
|
+
} | null | undefined;
|
|
583
|
+
operationalGroup?: string | null | undefined;
|
|
584
|
+
thresholds?: {
|
|
585
|
+
low: number;
|
|
586
|
+
mid: number;
|
|
587
|
+
} | null | undefined;
|
|
588
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
589
|
+
unit: {
|
|
590
|
+
_id: string;
|
|
591
|
+
name: string;
|
|
592
|
+
abbrev: string;
|
|
593
|
+
precision: number;
|
|
594
|
+
measurements: {
|
|
595
|
+
id: string;
|
|
596
|
+
name: string;
|
|
597
|
+
abbrev: string;
|
|
598
|
+
conversion: {
|
|
599
|
+
amount: number;
|
|
600
|
+
precision: number;
|
|
601
|
+
};
|
|
602
|
+
}[];
|
|
603
|
+
};
|
|
604
|
+
code: string;
|
|
605
|
+
_id: string;
|
|
606
|
+
name: string;
|
|
607
|
+
};
|
|
608
|
+
code: string;
|
|
609
|
+
quantity: {
|
|
610
|
+
amount: number;
|
|
611
|
+
precision: number;
|
|
612
|
+
};
|
|
613
|
+
name: string;
|
|
614
|
+
}[];
|
|
615
|
+
} & RevisionIdMeta, unknown>): string;
|
|
616
|
+
enableSorting: true;
|
|
617
|
+
size?: undefined;
|
|
618
|
+
sortUndefined?: undefined;
|
|
619
|
+
meta?: undefined;
|
|
620
|
+
id?: undefined;
|
|
621
|
+
} | {
|
|
622
|
+
accessorKey: "supplier.name";
|
|
623
|
+
header: () => string;
|
|
624
|
+
enableSorting: true;
|
|
625
|
+
size: number;
|
|
626
|
+
sortUndefined?: undefined;
|
|
627
|
+
cell?: undefined;
|
|
628
|
+
meta?: undefined;
|
|
629
|
+
id?: undefined;
|
|
630
|
+
} | {
|
|
631
|
+
accessorKey: "items.length";
|
|
632
|
+
header: () => string;
|
|
633
|
+
enableSorting: false;
|
|
634
|
+
meta: {
|
|
635
|
+
width: string;
|
|
636
|
+
cellClass?: undefined;
|
|
637
|
+
headerClass?: undefined;
|
|
638
|
+
};
|
|
639
|
+
size?: undefined;
|
|
640
|
+
sortUndefined?: undefined;
|
|
641
|
+
cell?: undefined;
|
|
642
|
+
id?: undefined;
|
|
643
|
+
} | {
|
|
644
|
+
accessorKey: "ref";
|
|
645
|
+
header: () => string;
|
|
646
|
+
enableSorting: false;
|
|
647
|
+
size: any;
|
|
648
|
+
sortUndefined?: undefined;
|
|
649
|
+
cell?: undefined;
|
|
650
|
+
meta?: undefined;
|
|
651
|
+
id?: undefined;
|
|
652
|
+
} | {
|
|
653
|
+
accessorKey: "status";
|
|
654
|
+
header: () => string;
|
|
655
|
+
cell(props: import("@tanstack/vue-table").CellContext<{
|
|
656
|
+
remark?: string | null | undefined;
|
|
657
|
+
ref?: string | null | undefined;
|
|
658
|
+
_rev?: string | null | undefined;
|
|
659
|
+
effectiveAt?: string | null | undefined;
|
|
660
|
+
netSuite?: {
|
|
661
|
+
refNo?: string | null | undefined;
|
|
662
|
+
recordType?: string | null | undefined;
|
|
663
|
+
sync?: boolean | null | undefined;
|
|
664
|
+
subsidiary?: {
|
|
665
|
+
name?: string | null | undefined;
|
|
666
|
+
id: string;
|
|
667
|
+
} | null | undefined;
|
|
668
|
+
errors?: {
|
|
669
|
+
message: string;
|
|
670
|
+
createdAt: string;
|
|
671
|
+
}[] | null | undefined;
|
|
672
|
+
missingItems?: {
|
|
673
|
+
name: string;
|
|
674
|
+
reason: string;
|
|
675
|
+
netSuiteId: string;
|
|
676
|
+
}[] | null | undefined;
|
|
677
|
+
additionalInfo?: any;
|
|
678
|
+
id: string | null;
|
|
679
|
+
} | null | undefined;
|
|
680
|
+
version?: "1" | "2" | null | undefined;
|
|
681
|
+
template?: string | null | undefined;
|
|
682
|
+
templateDoc?: {
|
|
683
|
+
_rev?: string | null | undefined;
|
|
684
|
+
locations?: {
|
|
685
|
+
inventory?: {
|
|
686
|
+
_id: string;
|
|
687
|
+
updatedAt: string;
|
|
688
|
+
} | null | undefined;
|
|
689
|
+
type: "restaurant" | "warehouse";
|
|
673
690
|
name: string;
|
|
674
691
|
acceptRequest: boolean;
|
|
675
692
|
dbName: string;
|
|
676
693
|
doc: {
|
|
677
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
678
694
|
_id: string;
|
|
679
695
|
businessId: string;
|
|
680
696
|
profile: {
|
|
@@ -756,12 +772,46 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
756
772
|
};
|
|
757
773
|
};
|
|
758
774
|
}[] | null | undefined;
|
|
759
|
-
locationTags?: string[] | null | undefined;
|
|
760
|
-
_id: string;
|
|
761
|
-
name: string;
|
|
762
775
|
purchaseOrder: {
|
|
763
776
|
remark?: string | null | undefined;
|
|
764
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
|
+
};
|
|
765
815
|
items: {
|
|
766
816
|
measurement?: {
|
|
767
817
|
id: string;
|
|
@@ -772,6 +822,8 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
772
822
|
precision: number;
|
|
773
823
|
};
|
|
774
824
|
} | null | undefined;
|
|
825
|
+
id?: string | null | undefined;
|
|
826
|
+
externalId?: string | null | undefined;
|
|
775
827
|
totalCost?: {
|
|
776
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";
|
|
777
829
|
amount: number;
|
|
@@ -786,7 +838,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
786
838
|
precision: number;
|
|
787
839
|
} | null | undefined;
|
|
788
840
|
sku: {
|
|
789
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
790
841
|
trackingMeasurement?: string | null | undefined;
|
|
791
842
|
convert?: {
|
|
792
843
|
measurement?: string | null | undefined;
|
|
@@ -830,6 +881,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
830
881
|
low: number;
|
|
831
882
|
mid: number;
|
|
832
883
|
} | null | undefined;
|
|
884
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
833
885
|
unit: {
|
|
834
886
|
_id: string;
|
|
835
887
|
name: string;
|
|
@@ -850,67 +902,32 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
850
902
|
name: string;
|
|
851
903
|
};
|
|
852
904
|
code: string;
|
|
853
|
-
name: string;
|
|
854
905
|
quantity: {
|
|
855
906
|
amount: number;
|
|
856
907
|
precision: number;
|
|
857
908
|
};
|
|
909
|
+
name: string;
|
|
858
910
|
quantityStep: {
|
|
859
911
|
amount: number;
|
|
860
912
|
precision: number;
|
|
861
913
|
};
|
|
862
914
|
}[];
|
|
863
|
-
supplier: {
|
|
864
|
-
phoneNumber?: string | null | undefined;
|
|
865
|
-
email?: string | null | undefined;
|
|
866
|
-
_rev?: string | null | undefined;
|
|
867
|
-
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
868
|
-
contactName?: string | null | undefined;
|
|
869
|
-
registrationNumber?: string | undefined;
|
|
870
|
-
supplyItems?: {
|
|
871
|
-
defaultCost: {
|
|
872
|
-
measurement?: {
|
|
873
|
-
id: string;
|
|
874
|
-
name: string;
|
|
875
|
-
abbrev: string;
|
|
876
|
-
conversion: {
|
|
877
|
-
amount: number;
|
|
878
|
-
precision: number;
|
|
879
|
-
};
|
|
880
|
-
} | null | undefined;
|
|
881
|
-
costPerUnit: {
|
|
882
|
-
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";
|
|
883
|
-
amount: number;
|
|
884
|
-
precision: number;
|
|
885
|
-
};
|
|
886
|
-
};
|
|
887
|
-
skuId: string;
|
|
888
|
-
}[] | null | undefined;
|
|
889
|
-
_id: string;
|
|
890
|
-
name: string;
|
|
891
|
-
address: {
|
|
892
|
-
line2?: string | null | undefined;
|
|
893
|
-
line1: string;
|
|
894
|
-
state: string;
|
|
895
|
-
city: string;
|
|
896
|
-
postcode: string;
|
|
897
|
-
country: string;
|
|
898
|
-
};
|
|
899
|
-
};
|
|
900
915
|
};
|
|
916
|
+
_id: string;
|
|
917
|
+
name: string;
|
|
901
918
|
} | null | undefined;
|
|
902
919
|
request?: {
|
|
903
920
|
id: string;
|
|
904
921
|
adjustmentIds: string[];
|
|
905
922
|
} | null | undefined;
|
|
906
923
|
stockSnapshotId?: string | null | undefined;
|
|
907
|
-
effectiveAt?: string | null | undefined;
|
|
908
924
|
deliveryFullfillment?: {
|
|
909
925
|
remark?: string | null | undefined;
|
|
910
926
|
adjustment?: string | null | undefined;
|
|
911
927
|
netSuite?: {
|
|
912
928
|
refNo?: string | null | undefined;
|
|
913
|
-
|
|
929
|
+
recordType?: string | null | undefined;
|
|
930
|
+
id: string | null;
|
|
914
931
|
} | null | undefined;
|
|
915
932
|
items: {
|
|
916
933
|
cost?: {
|
|
@@ -927,8 +944,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
927
944
|
precision: number;
|
|
928
945
|
};
|
|
929
946
|
} | null | undefined;
|
|
947
|
+
id?: string | null | undefined;
|
|
948
|
+
externalId?: string | null | undefined;
|
|
930
949
|
sku: {
|
|
931
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
932
950
|
trackingMeasurement?: string | null | undefined;
|
|
933
951
|
convert?: {
|
|
934
952
|
measurement?: string | null | undefined;
|
|
@@ -972,6 +990,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
972
990
|
low: number;
|
|
973
991
|
mid: number;
|
|
974
992
|
} | null | undefined;
|
|
993
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
975
994
|
unit: {
|
|
976
995
|
_id: string;
|
|
977
996
|
name: string;
|
|
@@ -999,95 +1018,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
999
1018
|
id: string;
|
|
1000
1019
|
createdAt: string;
|
|
1001
1020
|
}[] | null | undefined;
|
|
1002
|
-
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL";
|
|
1003
|
-
_id: string;
|
|
1004
|
-
seqNumber: number;
|
|
1005
|
-
items: {
|
|
1006
|
-
measurement?: {
|
|
1007
|
-
id: string;
|
|
1008
|
-
name: string;
|
|
1009
|
-
abbrev: string;
|
|
1010
|
-
conversion: {
|
|
1011
|
-
amount: number;
|
|
1012
|
-
precision: number;
|
|
1013
|
-
};
|
|
1014
|
-
} | null | undefined;
|
|
1015
|
-
totalCost?: {
|
|
1016
|
-
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";
|
|
1017
|
-
amount: number;
|
|
1018
|
-
precision: number;
|
|
1019
|
-
} | null | undefined;
|
|
1020
|
-
sku: {
|
|
1021
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
1022
|
-
trackingMeasurement?: string | null | undefined;
|
|
1023
|
-
convert?: {
|
|
1024
|
-
measurement?: string | null | undefined;
|
|
1025
|
-
inventoryBindings?: {
|
|
1026
|
-
measurement?: {
|
|
1027
|
-
id: string;
|
|
1028
|
-
name: string;
|
|
1029
|
-
abbrev: string;
|
|
1030
|
-
conversion: {
|
|
1031
|
-
amount: number;
|
|
1032
|
-
precision: number;
|
|
1033
|
-
};
|
|
1034
|
-
} | null | undefined;
|
|
1035
|
-
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1036
|
-
amount: {
|
|
1037
|
-
amount: number;
|
|
1038
|
-
precision: number;
|
|
1039
|
-
};
|
|
1040
|
-
id: string;
|
|
1041
|
-
}[] | null | undefined;
|
|
1042
|
-
} | null | undefined;
|
|
1043
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1044
|
-
defaultCost?: {
|
|
1045
|
-
measurement?: {
|
|
1046
|
-
id: string;
|
|
1047
|
-
name: string;
|
|
1048
|
-
abbrev: string;
|
|
1049
|
-
conversion: {
|
|
1050
|
-
amount: number;
|
|
1051
|
-
precision: number;
|
|
1052
|
-
};
|
|
1053
|
-
} | null | undefined;
|
|
1054
|
-
costPerUnit: {
|
|
1055
|
-
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";
|
|
1056
|
-
amount: number;
|
|
1057
|
-
precision: number;
|
|
1058
|
-
};
|
|
1059
|
-
} | null | undefined;
|
|
1060
|
-
operationalGroup?: string | null | undefined;
|
|
1061
|
-
thresholds?: {
|
|
1062
|
-
low: number;
|
|
1063
|
-
mid: number;
|
|
1064
|
-
} | null | undefined;
|
|
1065
|
-
unit: {
|
|
1066
|
-
_id: string;
|
|
1067
|
-
name: string;
|
|
1068
|
-
abbrev: string;
|
|
1069
|
-
precision: number;
|
|
1070
|
-
measurements: {
|
|
1071
|
-
id: string;
|
|
1072
|
-
name: string;
|
|
1073
|
-
abbrev: string;
|
|
1074
|
-
conversion: {
|
|
1075
|
-
amount: number;
|
|
1076
|
-
precision: number;
|
|
1077
|
-
};
|
|
1078
|
-
}[];
|
|
1079
|
-
};
|
|
1080
|
-
code: string;
|
|
1081
|
-
_id: string;
|
|
1082
|
-
name: string;
|
|
1083
|
-
};
|
|
1084
|
-
code: string;
|
|
1085
|
-
name: string;
|
|
1086
|
-
quantity: {
|
|
1087
|
-
amount: number;
|
|
1088
|
-
precision: number;
|
|
1089
|
-
};
|
|
1090
|
-
}[];
|
|
1021
|
+
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "CLOSE" | "REJECT";
|
|
1091
1022
|
supplier: {
|
|
1092
1023
|
phoneNumber?: string | null | undefined;
|
|
1093
1024
|
email?: string | null | undefined;
|
|
@@ -1127,11 +1058,14 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1127
1058
|
};
|
|
1128
1059
|
deliveryOrder: {
|
|
1129
1060
|
remark?: string | null | undefined;
|
|
1061
|
+
id?: string | null | undefined;
|
|
1130
1062
|
adjustment?: string | null | undefined;
|
|
1063
|
+
effectiveAt?: string | null | undefined;
|
|
1131
1064
|
fullfillmentId?: string | null | undefined;
|
|
1132
1065
|
netSuite?: {
|
|
1133
1066
|
refNo?: string | null | undefined;
|
|
1134
|
-
|
|
1067
|
+
recordType?: string | null | undefined;
|
|
1068
|
+
id: string | null;
|
|
1135
1069
|
} | null | undefined;
|
|
1136
1070
|
received: {
|
|
1137
1071
|
cost?: {
|
|
@@ -1148,8 +1082,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1148
1082
|
precision: number;
|
|
1149
1083
|
};
|
|
1150
1084
|
} | null | undefined;
|
|
1085
|
+
id?: string | null | undefined;
|
|
1086
|
+
externalId?: string | null | undefined;
|
|
1151
1087
|
sku: {
|
|
1152
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
1153
1088
|
trackingMeasurement?: string | null | undefined;
|
|
1154
1089
|
convert?: {
|
|
1155
1090
|
measurement?: string | null | undefined;
|
|
@@ -1193,6 +1128,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1193
1128
|
low: number;
|
|
1194
1129
|
mid: number;
|
|
1195
1130
|
} | null | undefined;
|
|
1131
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
1196
1132
|
unit: {
|
|
1197
1133
|
_id: string;
|
|
1198
1134
|
name: string;
|
|
@@ -1221,10 +1157,100 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1221
1157
|
name: string;
|
|
1222
1158
|
id: string;
|
|
1223
1159
|
};
|
|
1224
|
-
createdAt: string;
|
|
1225
|
-
deliveryOrderNumber: string;
|
|
1160
|
+
createdAt: string;
|
|
1161
|
+
deliveryOrderNumber: string;
|
|
1162
|
+
}[];
|
|
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;
|
|
1226
1252
|
}[];
|
|
1227
|
-
}, unknown>): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1253
|
+
} & RevisionIdMeta, unknown>): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1228
1254
|
[key: string]: any;
|
|
1229
1255
|
}>;
|
|
1230
1256
|
enableSorting: true;
|
|
@@ -1238,8 +1264,10 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1238
1264
|
remark?: string | null | undefined;
|
|
1239
1265
|
ref?: string | null | undefined;
|
|
1240
1266
|
_rev?: string | null | undefined;
|
|
1267
|
+
effectiveAt?: string | null | undefined;
|
|
1241
1268
|
netSuite?: {
|
|
1242
1269
|
refNo?: string | null | undefined;
|
|
1270
|
+
recordType?: string | null | undefined;
|
|
1243
1271
|
sync?: boolean | null | undefined;
|
|
1244
1272
|
subsidiary?: {
|
|
1245
1273
|
name?: string | null | undefined;
|
|
@@ -1257,6 +1285,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1257
1285
|
additionalInfo?: any;
|
|
1258
1286
|
id: string | null;
|
|
1259
1287
|
} | null | undefined;
|
|
1288
|
+
version?: "1" | "2" | null | undefined;
|
|
1260
1289
|
template?: string | null | undefined;
|
|
1261
1290
|
templateDoc?: {
|
|
1262
1291
|
_rev?: string | null | undefined;
|
|
@@ -1270,7 +1299,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1270
1299
|
acceptRequest: boolean;
|
|
1271
1300
|
dbName: string;
|
|
1272
1301
|
doc: {
|
|
1273
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
1274
1302
|
_id: string;
|
|
1275
1303
|
businessId: string;
|
|
1276
1304
|
profile: {
|
|
@@ -1352,12 +1380,46 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1352
1380
|
};
|
|
1353
1381
|
};
|
|
1354
1382
|
}[] | null | undefined;
|
|
1355
|
-
locationTags?: string[] | null | undefined;
|
|
1356
|
-
_id: string;
|
|
1357
|
-
name: string;
|
|
1358
1383
|
purchaseOrder: {
|
|
1359
1384
|
remark?: string | null | undefined;
|
|
1360
1385
|
ref?: string | null | undefined;
|
|
1386
|
+
supplier: {
|
|
1387
|
+
phoneNumber?: string | null | undefined;
|
|
1388
|
+
email?: string | null | undefined;
|
|
1389
|
+
_rev?: string | null | undefined;
|
|
1390
|
+
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
1391
|
+
contactName?: string | null | undefined;
|
|
1392
|
+
registrationNumber?: string | undefined;
|
|
1393
|
+
supplyItems?: {
|
|
1394
|
+
defaultCost: {
|
|
1395
|
+
measurement?: {
|
|
1396
|
+
id: string;
|
|
1397
|
+
name: string;
|
|
1398
|
+
abbrev: string;
|
|
1399
|
+
conversion: {
|
|
1400
|
+
amount: number;
|
|
1401
|
+
precision: number;
|
|
1402
|
+
};
|
|
1403
|
+
} | null | undefined;
|
|
1404
|
+
costPerUnit: {
|
|
1405
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
1406
|
+
amount: number;
|
|
1407
|
+
precision: number;
|
|
1408
|
+
};
|
|
1409
|
+
};
|
|
1410
|
+
skuId: string;
|
|
1411
|
+
}[] | null | undefined;
|
|
1412
|
+
_id: string;
|
|
1413
|
+
name: string;
|
|
1414
|
+
address: {
|
|
1415
|
+
line2?: string | null | undefined;
|
|
1416
|
+
line1: string;
|
|
1417
|
+
state: string;
|
|
1418
|
+
city: string;
|
|
1419
|
+
postcode: string;
|
|
1420
|
+
country: string;
|
|
1421
|
+
};
|
|
1422
|
+
};
|
|
1361
1423
|
items: {
|
|
1362
1424
|
measurement?: {
|
|
1363
1425
|
id: string;
|
|
@@ -1368,6 +1430,8 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1368
1430
|
precision: number;
|
|
1369
1431
|
};
|
|
1370
1432
|
} | null | undefined;
|
|
1433
|
+
id?: string | null | undefined;
|
|
1434
|
+
externalId?: string | null | undefined;
|
|
1371
1435
|
totalCost?: {
|
|
1372
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";
|
|
1373
1437
|
amount: number;
|
|
@@ -1382,7 +1446,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1382
1446
|
precision: number;
|
|
1383
1447
|
} | null | undefined;
|
|
1384
1448
|
sku: {
|
|
1385
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
1386
1449
|
trackingMeasurement?: string | null | undefined;
|
|
1387
1450
|
convert?: {
|
|
1388
1451
|
measurement?: string | null | undefined;
|
|
@@ -1426,6 +1489,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1426
1489
|
low: number;
|
|
1427
1490
|
mid: number;
|
|
1428
1491
|
} | null | undefined;
|
|
1492
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
1429
1493
|
unit: {
|
|
1430
1494
|
_id: string;
|
|
1431
1495
|
name: string;
|
|
@@ -1446,67 +1510,32 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1446
1510
|
name: string;
|
|
1447
1511
|
};
|
|
1448
1512
|
code: string;
|
|
1449
|
-
name: string;
|
|
1450
1513
|
quantity: {
|
|
1451
1514
|
amount: number;
|
|
1452
1515
|
precision: number;
|
|
1453
1516
|
};
|
|
1517
|
+
name: string;
|
|
1454
1518
|
quantityStep: {
|
|
1455
1519
|
amount: number;
|
|
1456
1520
|
precision: number;
|
|
1457
1521
|
};
|
|
1458
1522
|
}[];
|
|
1459
|
-
supplier: {
|
|
1460
|
-
phoneNumber?: string | null | undefined;
|
|
1461
|
-
email?: string | null | undefined;
|
|
1462
|
-
_rev?: string | null | undefined;
|
|
1463
|
-
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
1464
|
-
contactName?: string | null | undefined;
|
|
1465
|
-
registrationNumber?: string | undefined;
|
|
1466
|
-
supplyItems?: {
|
|
1467
|
-
defaultCost: {
|
|
1468
|
-
measurement?: {
|
|
1469
|
-
id: string;
|
|
1470
|
-
name: string;
|
|
1471
|
-
abbrev: string;
|
|
1472
|
-
conversion: {
|
|
1473
|
-
amount: number;
|
|
1474
|
-
precision: number;
|
|
1475
|
-
};
|
|
1476
|
-
} | null | undefined;
|
|
1477
|
-
costPerUnit: {
|
|
1478
|
-
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";
|
|
1479
|
-
amount: number;
|
|
1480
|
-
precision: number;
|
|
1481
|
-
};
|
|
1482
|
-
};
|
|
1483
|
-
skuId: string;
|
|
1484
|
-
}[] | null | undefined;
|
|
1485
|
-
_id: string;
|
|
1486
|
-
name: string;
|
|
1487
|
-
address: {
|
|
1488
|
-
line2?: string | null | undefined;
|
|
1489
|
-
line1: string;
|
|
1490
|
-
state: string;
|
|
1491
|
-
city: string;
|
|
1492
|
-
postcode: string;
|
|
1493
|
-
country: string;
|
|
1494
|
-
};
|
|
1495
|
-
};
|
|
1496
1523
|
};
|
|
1524
|
+
_id: string;
|
|
1525
|
+
name: string;
|
|
1497
1526
|
} | null | undefined;
|
|
1498
1527
|
request?: {
|
|
1499
1528
|
id: string;
|
|
1500
1529
|
adjustmentIds: string[];
|
|
1501
1530
|
} | null | undefined;
|
|
1502
1531
|
stockSnapshotId?: string | null | undefined;
|
|
1503
|
-
effectiveAt?: string | null | undefined;
|
|
1504
1532
|
deliveryFullfillment?: {
|
|
1505
1533
|
remark?: string | null | undefined;
|
|
1506
1534
|
adjustment?: string | null | undefined;
|
|
1507
1535
|
netSuite?: {
|
|
1508
1536
|
refNo?: string | null | undefined;
|
|
1509
|
-
|
|
1537
|
+
recordType?: string | null | undefined;
|
|
1538
|
+
id: string | null;
|
|
1510
1539
|
} | null | undefined;
|
|
1511
1540
|
items: {
|
|
1512
1541
|
cost?: {
|
|
@@ -1523,8 +1552,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1523
1552
|
precision: number;
|
|
1524
1553
|
};
|
|
1525
1554
|
} | null | undefined;
|
|
1555
|
+
id?: string | null | undefined;
|
|
1556
|
+
externalId?: string | null | undefined;
|
|
1526
1557
|
sku: {
|
|
1527
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
1528
1558
|
trackingMeasurement?: string | null | undefined;
|
|
1529
1559
|
convert?: {
|
|
1530
1560
|
measurement?: string | null | undefined;
|
|
@@ -1568,6 +1598,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1568
1598
|
low: number;
|
|
1569
1599
|
mid: number;
|
|
1570
1600
|
} | null | undefined;
|
|
1601
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
1571
1602
|
unit: {
|
|
1572
1603
|
_id: string;
|
|
1573
1604
|
name: string;
|
|
@@ -1595,95 +1626,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1595
1626
|
id: string;
|
|
1596
1627
|
createdAt: string;
|
|
1597
1628
|
}[] | null | undefined;
|
|
1598
|
-
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL";
|
|
1599
|
-
_id: string;
|
|
1600
|
-
seqNumber: number;
|
|
1601
|
-
items: {
|
|
1602
|
-
measurement?: {
|
|
1603
|
-
id: string;
|
|
1604
|
-
name: string;
|
|
1605
|
-
abbrev: string;
|
|
1606
|
-
conversion: {
|
|
1607
|
-
amount: number;
|
|
1608
|
-
precision: number;
|
|
1609
|
-
};
|
|
1610
|
-
} | null | undefined;
|
|
1611
|
-
totalCost?: {
|
|
1612
|
-
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";
|
|
1613
|
-
amount: number;
|
|
1614
|
-
precision: number;
|
|
1615
|
-
} | null | undefined;
|
|
1616
|
-
sku: {
|
|
1617
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
1618
|
-
trackingMeasurement?: string | null | undefined;
|
|
1619
|
-
convert?: {
|
|
1620
|
-
measurement?: string | null | undefined;
|
|
1621
|
-
inventoryBindings?: {
|
|
1622
|
-
measurement?: {
|
|
1623
|
-
id: string;
|
|
1624
|
-
name: string;
|
|
1625
|
-
abbrev: string;
|
|
1626
|
-
conversion: {
|
|
1627
|
-
amount: number;
|
|
1628
|
-
precision: number;
|
|
1629
|
-
};
|
|
1630
|
-
} | null | undefined;
|
|
1631
|
-
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1632
|
-
amount: {
|
|
1633
|
-
amount: number;
|
|
1634
|
-
precision: number;
|
|
1635
|
-
};
|
|
1636
|
-
id: string;
|
|
1637
|
-
}[] | null | undefined;
|
|
1638
|
-
} | null | undefined;
|
|
1639
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1640
|
-
defaultCost?: {
|
|
1641
|
-
measurement?: {
|
|
1642
|
-
id: string;
|
|
1643
|
-
name: string;
|
|
1644
|
-
abbrev: string;
|
|
1645
|
-
conversion: {
|
|
1646
|
-
amount: number;
|
|
1647
|
-
precision: number;
|
|
1648
|
-
};
|
|
1649
|
-
} | null | undefined;
|
|
1650
|
-
costPerUnit: {
|
|
1651
|
-
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";
|
|
1652
|
-
amount: number;
|
|
1653
|
-
precision: number;
|
|
1654
|
-
};
|
|
1655
|
-
} | null | undefined;
|
|
1656
|
-
operationalGroup?: string | null | undefined;
|
|
1657
|
-
thresholds?: {
|
|
1658
|
-
low: number;
|
|
1659
|
-
mid: number;
|
|
1660
|
-
} | null | undefined;
|
|
1661
|
-
unit: {
|
|
1662
|
-
_id: string;
|
|
1663
|
-
name: string;
|
|
1664
|
-
abbrev: string;
|
|
1665
|
-
precision: number;
|
|
1666
|
-
measurements: {
|
|
1667
|
-
id: string;
|
|
1668
|
-
name: string;
|
|
1669
|
-
abbrev: string;
|
|
1670
|
-
conversion: {
|
|
1671
|
-
amount: number;
|
|
1672
|
-
precision: number;
|
|
1673
|
-
};
|
|
1674
|
-
}[];
|
|
1675
|
-
};
|
|
1676
|
-
code: string;
|
|
1677
|
-
_id: string;
|
|
1678
|
-
name: string;
|
|
1679
|
-
};
|
|
1680
|
-
code: string;
|
|
1681
|
-
name: string;
|
|
1682
|
-
quantity: {
|
|
1683
|
-
amount: number;
|
|
1684
|
-
precision: number;
|
|
1685
|
-
};
|
|
1686
|
-
}[];
|
|
1629
|
+
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "CLOSE" | "REJECT";
|
|
1687
1630
|
supplier: {
|
|
1688
1631
|
phoneNumber?: string | null | undefined;
|
|
1689
1632
|
email?: string | null | undefined;
|
|
@@ -1723,11 +1666,14 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1723
1666
|
};
|
|
1724
1667
|
deliveryOrder: {
|
|
1725
1668
|
remark?: string | null | undefined;
|
|
1669
|
+
id?: string | null | undefined;
|
|
1726
1670
|
adjustment?: string | null | undefined;
|
|
1671
|
+
effectiveAt?: string | null | undefined;
|
|
1727
1672
|
fullfillmentId?: string | null | undefined;
|
|
1728
1673
|
netSuite?: {
|
|
1729
1674
|
refNo?: string | null | undefined;
|
|
1730
|
-
|
|
1675
|
+
recordType?: string | null | undefined;
|
|
1676
|
+
id: string | null;
|
|
1731
1677
|
} | null | undefined;
|
|
1732
1678
|
received: {
|
|
1733
1679
|
cost?: {
|
|
@@ -1744,8 +1690,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1744
1690
|
precision: number;
|
|
1745
1691
|
};
|
|
1746
1692
|
} | null | undefined;
|
|
1693
|
+
id?: string | null | undefined;
|
|
1694
|
+
externalId?: string | null | undefined;
|
|
1747
1695
|
sku: {
|
|
1748
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
1749
1696
|
trackingMeasurement?: string | null | undefined;
|
|
1750
1697
|
convert?: {
|
|
1751
1698
|
measurement?: string | null | undefined;
|
|
@@ -1778,49 +1725,140 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1778
1725
|
precision: number;
|
|
1779
1726
|
};
|
|
1780
1727
|
} | null | undefined;
|
|
1781
|
-
costPerUnit: {
|
|
1782
|
-
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";
|
|
1728
|
+
costPerUnit: {
|
|
1729
|
+
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";
|
|
1730
|
+
amount: number;
|
|
1731
|
+
precision: number;
|
|
1732
|
+
};
|
|
1733
|
+
} | null | undefined;
|
|
1734
|
+
operationalGroup?: string | null | undefined;
|
|
1735
|
+
thresholds?: {
|
|
1736
|
+
low: number;
|
|
1737
|
+
mid: number;
|
|
1738
|
+
} | null | undefined;
|
|
1739
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
1740
|
+
unit: {
|
|
1741
|
+
_id: string;
|
|
1742
|
+
name: string;
|
|
1743
|
+
abbrev: string;
|
|
1744
|
+
precision: number;
|
|
1745
|
+
measurements: {
|
|
1746
|
+
id: string;
|
|
1747
|
+
name: string;
|
|
1748
|
+
abbrev: string;
|
|
1749
|
+
conversion: {
|
|
1750
|
+
amount: number;
|
|
1751
|
+
precision: number;
|
|
1752
|
+
};
|
|
1753
|
+
}[];
|
|
1754
|
+
};
|
|
1755
|
+
code: string;
|
|
1756
|
+
_id: string;
|
|
1757
|
+
name: string;
|
|
1758
|
+
};
|
|
1759
|
+
amount: {
|
|
1760
|
+
amount: number;
|
|
1761
|
+
precision: number;
|
|
1762
|
+
};
|
|
1763
|
+
}[];
|
|
1764
|
+
createdBy: {
|
|
1765
|
+
name: string;
|
|
1766
|
+
id: string;
|
|
1767
|
+
};
|
|
1768
|
+
createdAt: string;
|
|
1769
|
+
deliveryOrderNumber: string;
|
|
1770
|
+
}[];
|
|
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: {
|
|
1783
1806
|
amount: number;
|
|
1784
1807
|
precision: number;
|
|
1785
1808
|
};
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
_id: string;
|
|
1809
|
+
id: string;
|
|
1810
|
+
}[] | null | undefined;
|
|
1811
|
+
} | null | undefined;
|
|
1812
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1813
|
+
defaultCost?: {
|
|
1814
|
+
measurement?: {
|
|
1815
|
+
id: string;
|
|
1794
1816
|
name: string;
|
|
1795
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;
|
|
1796
1826
|
precision: number;
|
|
1797
|
-
measurements: {
|
|
1798
|
-
id: string;
|
|
1799
|
-
name: string;
|
|
1800
|
-
abbrev: string;
|
|
1801
|
-
conversion: {
|
|
1802
|
-
amount: number;
|
|
1803
|
-
precision: number;
|
|
1804
|
-
};
|
|
1805
|
-
}[];
|
|
1806
1827
|
};
|
|
1807
|
-
|
|
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: {
|
|
1808
1836
|
_id: string;
|
|
1809
1837
|
name: string;
|
|
1810
|
-
|
|
1811
|
-
amount: {
|
|
1812
|
-
amount: number;
|
|
1838
|
+
abbrev: string;
|
|
1813
1839
|
precision: number;
|
|
1840
|
+
measurements: {
|
|
1841
|
+
id: string;
|
|
1842
|
+
name: string;
|
|
1843
|
+
abbrev: string;
|
|
1844
|
+
conversion: {
|
|
1845
|
+
amount: number;
|
|
1846
|
+
precision: number;
|
|
1847
|
+
};
|
|
1848
|
+
}[];
|
|
1814
1849
|
};
|
|
1815
|
-
|
|
1816
|
-
|
|
1850
|
+
code: string;
|
|
1851
|
+
_id: string;
|
|
1817
1852
|
name: string;
|
|
1818
|
-
id: string;
|
|
1819
1853
|
};
|
|
1820
|
-
|
|
1821
|
-
|
|
1854
|
+
code: string;
|
|
1855
|
+
quantity: {
|
|
1856
|
+
amount: number;
|
|
1857
|
+
precision: number;
|
|
1858
|
+
};
|
|
1859
|
+
name: string;
|
|
1822
1860
|
}[];
|
|
1823
|
-
}, unknown>): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1861
|
+
} & RevisionIdMeta, unknown>): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1824
1862
|
[key: string]: any;
|
|
1825
1863
|
}>;
|
|
1826
1864
|
enableSorting: false;
|
|
@@ -1846,31 +1884,14 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1846
1884
|
accessorKey: "purchaseOrder._id";
|
|
1847
1885
|
header: () => string;
|
|
1848
1886
|
cell(props: import("@tanstack/vue-table").CellContext<{
|
|
1849
|
-
netSuite?: {
|
|
1850
|
-
refNo?: string | null | undefined;
|
|
1851
|
-
sync?: boolean | null | undefined;
|
|
1852
|
-
subsidiary?: {
|
|
1853
|
-
name?: string | null | undefined;
|
|
1854
|
-
id: string;
|
|
1855
|
-
} | null | undefined;
|
|
1856
|
-
errors?: {
|
|
1857
|
-
message: string;
|
|
1858
|
-
createdAt: string;
|
|
1859
|
-
}[] | null | undefined;
|
|
1860
|
-
missingItems?: {
|
|
1861
|
-
name: string;
|
|
1862
|
-
reason: string;
|
|
1863
|
-
netSuiteId: string;
|
|
1864
|
-
}[] | null | undefined;
|
|
1865
|
-
additionalInfo?: any;
|
|
1866
|
-
id: string | null;
|
|
1867
|
-
} | null | undefined;
|
|
1868
1887
|
purchaseOrder?: {
|
|
1869
1888
|
remark?: string | null | undefined;
|
|
1870
1889
|
ref?: string | null | undefined;
|
|
1871
1890
|
_rev?: string | null | undefined;
|
|
1891
|
+
effectiveAt?: string | null | undefined;
|
|
1872
1892
|
netSuite?: {
|
|
1873
1893
|
refNo?: string | null | undefined;
|
|
1894
|
+
recordType?: string | null | undefined;
|
|
1874
1895
|
sync?: boolean | null | undefined;
|
|
1875
1896
|
subsidiary?: {
|
|
1876
1897
|
name?: string | null | undefined;
|
|
@@ -1888,6 +1909,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1888
1909
|
additionalInfo?: any;
|
|
1889
1910
|
id: string | null;
|
|
1890
1911
|
} | null | undefined;
|
|
1912
|
+
version?: "1" | "2" | null | undefined;
|
|
1891
1913
|
template?: string | null | undefined;
|
|
1892
1914
|
templateDoc?: {
|
|
1893
1915
|
_rev?: string | null | undefined;
|
|
@@ -1901,7 +1923,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1901
1923
|
acceptRequest: boolean;
|
|
1902
1924
|
dbName: string;
|
|
1903
1925
|
doc: {
|
|
1904
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
1905
1926
|
_id: string;
|
|
1906
1927
|
businessId: string;
|
|
1907
1928
|
profile: {
|
|
@@ -1983,12 +2004,46 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1983
2004
|
};
|
|
1984
2005
|
};
|
|
1985
2006
|
}[] | null | undefined;
|
|
1986
|
-
locationTags?: string[] | null | undefined;
|
|
1987
|
-
_id: string;
|
|
1988
|
-
name: string;
|
|
1989
2007
|
purchaseOrder: {
|
|
1990
2008
|
remark?: string | null | undefined;
|
|
1991
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
|
+
};
|
|
1992
2047
|
items: {
|
|
1993
2048
|
measurement?: {
|
|
1994
2049
|
id: string;
|
|
@@ -1999,6 +2054,8 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1999
2054
|
precision: number;
|
|
2000
2055
|
};
|
|
2001
2056
|
} | null | undefined;
|
|
2057
|
+
id?: string | null | undefined;
|
|
2058
|
+
externalId?: string | null | undefined;
|
|
2002
2059
|
totalCost?: {
|
|
2003
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";
|
|
2004
2061
|
amount: number;
|
|
@@ -2013,7 +2070,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2013
2070
|
precision: number;
|
|
2014
2071
|
} | null | undefined;
|
|
2015
2072
|
sku: {
|
|
2016
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
2017
2073
|
trackingMeasurement?: string | null | undefined;
|
|
2018
2074
|
convert?: {
|
|
2019
2075
|
measurement?: string | null | undefined;
|
|
@@ -2057,6 +2113,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2057
2113
|
low: number;
|
|
2058
2114
|
mid: number;
|
|
2059
2115
|
} | null | undefined;
|
|
2116
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2060
2117
|
unit: {
|
|
2061
2118
|
_id: string;
|
|
2062
2119
|
name: string;
|
|
@@ -2077,67 +2134,32 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2077
2134
|
name: string;
|
|
2078
2135
|
};
|
|
2079
2136
|
code: string;
|
|
2080
|
-
name: string;
|
|
2081
2137
|
quantity: {
|
|
2082
2138
|
amount: number;
|
|
2083
2139
|
precision: number;
|
|
2084
2140
|
};
|
|
2141
|
+
name: string;
|
|
2085
2142
|
quantityStep: {
|
|
2086
2143
|
amount: number;
|
|
2087
2144
|
precision: number;
|
|
2088
2145
|
};
|
|
2089
2146
|
}[];
|
|
2090
|
-
supplier: {
|
|
2091
|
-
phoneNumber?: string | null | undefined;
|
|
2092
|
-
email?: string | null | undefined;
|
|
2093
|
-
_rev?: string | null | undefined;
|
|
2094
|
-
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
2095
|
-
contactName?: string | null | undefined;
|
|
2096
|
-
registrationNumber?: string | undefined;
|
|
2097
|
-
supplyItems?: {
|
|
2098
|
-
defaultCost: {
|
|
2099
|
-
measurement?: {
|
|
2100
|
-
id: string;
|
|
2101
|
-
name: string;
|
|
2102
|
-
abbrev: string;
|
|
2103
|
-
conversion: {
|
|
2104
|
-
amount: number;
|
|
2105
|
-
precision: number;
|
|
2106
|
-
};
|
|
2107
|
-
} | null | undefined;
|
|
2108
|
-
costPerUnit: {
|
|
2109
|
-
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";
|
|
2110
|
-
amount: number;
|
|
2111
|
-
precision: number;
|
|
2112
|
-
};
|
|
2113
|
-
};
|
|
2114
|
-
skuId: string;
|
|
2115
|
-
}[] | null | undefined;
|
|
2116
|
-
_id: string;
|
|
2117
|
-
name: string;
|
|
2118
|
-
address: {
|
|
2119
|
-
line2?: string | null | undefined;
|
|
2120
|
-
line1: string;
|
|
2121
|
-
state: string;
|
|
2122
|
-
city: string;
|
|
2123
|
-
postcode: string;
|
|
2124
|
-
country: string;
|
|
2125
|
-
};
|
|
2126
|
-
};
|
|
2127
2147
|
};
|
|
2148
|
+
_id: string;
|
|
2149
|
+
name: string;
|
|
2128
2150
|
} | null | undefined;
|
|
2129
2151
|
request?: {
|
|
2130
2152
|
id: string;
|
|
2131
2153
|
adjustmentIds: string[];
|
|
2132
2154
|
} | null | undefined;
|
|
2133
2155
|
stockSnapshotId?: string | null | undefined;
|
|
2134
|
-
effectiveAt?: string | null | undefined;
|
|
2135
2156
|
deliveryFullfillment?: {
|
|
2136
2157
|
remark?: string | null | undefined;
|
|
2137
2158
|
adjustment?: string | null | undefined;
|
|
2138
2159
|
netSuite?: {
|
|
2139
2160
|
refNo?: string | null | undefined;
|
|
2140
|
-
|
|
2161
|
+
recordType?: string | null | undefined;
|
|
2162
|
+
id: string | null;
|
|
2141
2163
|
} | null | undefined;
|
|
2142
2164
|
items: {
|
|
2143
2165
|
cost?: {
|
|
@@ -2154,8 +2176,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2154
2176
|
precision: number;
|
|
2155
2177
|
};
|
|
2156
2178
|
} | null | undefined;
|
|
2179
|
+
id?: string | null | undefined;
|
|
2180
|
+
externalId?: string | null | undefined;
|
|
2157
2181
|
sku: {
|
|
2158
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
2159
2182
|
trackingMeasurement?: string | null | undefined;
|
|
2160
2183
|
convert?: {
|
|
2161
2184
|
measurement?: string | null | undefined;
|
|
@@ -2199,6 +2222,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2199
2222
|
low: number;
|
|
2200
2223
|
mid: number;
|
|
2201
2224
|
} | null | undefined;
|
|
2225
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2202
2226
|
unit: {
|
|
2203
2227
|
_id: string;
|
|
2204
2228
|
name: string;
|
|
@@ -2209,112 +2233,24 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2209
2233
|
name: string;
|
|
2210
2234
|
abbrev: string;
|
|
2211
2235
|
conversion: {
|
|
2212
|
-
amount: number;
|
|
2213
|
-
precision: number;
|
|
2214
|
-
};
|
|
2215
|
-
}[];
|
|
2216
|
-
};
|
|
2217
|
-
code: string;
|
|
2218
|
-
_id: string;
|
|
2219
|
-
name: string;
|
|
2220
|
-
};
|
|
2221
|
-
amount: {
|
|
2222
|
-
amount: number;
|
|
2223
|
-
precision: number;
|
|
2224
|
-
};
|
|
2225
|
-
}[];
|
|
2226
|
-
id: string;
|
|
2227
|
-
createdAt: string;
|
|
2228
|
-
}[] | null | undefined;
|
|
2229
|
-
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL";
|
|
2230
|
-
_id: string;
|
|
2231
|
-
seqNumber: number;
|
|
2232
|
-
items: {
|
|
2233
|
-
measurement?: {
|
|
2234
|
-
id: string;
|
|
2235
|
-
name: string;
|
|
2236
|
-
abbrev: string;
|
|
2237
|
-
conversion: {
|
|
2238
|
-
amount: number;
|
|
2239
|
-
precision: number;
|
|
2240
|
-
};
|
|
2241
|
-
} | null | undefined;
|
|
2242
|
-
totalCost?: {
|
|
2243
|
-
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";
|
|
2244
|
-
amount: number;
|
|
2245
|
-
precision: number;
|
|
2246
|
-
} | null | undefined;
|
|
2247
|
-
sku: {
|
|
2248
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
2249
|
-
trackingMeasurement?: string | null | undefined;
|
|
2250
|
-
convert?: {
|
|
2251
|
-
measurement?: string | null | undefined;
|
|
2252
|
-
inventoryBindings?: {
|
|
2253
|
-
measurement?: {
|
|
2254
|
-
id: string;
|
|
2255
|
-
name: string;
|
|
2256
|
-
abbrev: string;
|
|
2257
|
-
conversion: {
|
|
2258
|
-
amount: number;
|
|
2259
|
-
precision: number;
|
|
2260
|
-
};
|
|
2261
|
-
} | null | undefined;
|
|
2262
|
-
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2263
|
-
amount: {
|
|
2264
|
-
amount: number;
|
|
2265
|
-
precision: number;
|
|
2266
|
-
};
|
|
2267
|
-
id: string;
|
|
2268
|
-
}[] | null | undefined;
|
|
2269
|
-
} | null | undefined;
|
|
2270
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
2271
|
-
defaultCost?: {
|
|
2272
|
-
measurement?: {
|
|
2273
|
-
id: string;
|
|
2274
|
-
name: string;
|
|
2275
|
-
abbrev: string;
|
|
2276
|
-
conversion: {
|
|
2277
|
-
amount: number;
|
|
2278
|
-
precision: number;
|
|
2279
|
-
};
|
|
2280
|
-
} | null | undefined;
|
|
2281
|
-
costPerUnit: {
|
|
2282
|
-
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";
|
|
2283
|
-
amount: number;
|
|
2284
|
-
precision: number;
|
|
2236
|
+
amount: number;
|
|
2237
|
+
precision: number;
|
|
2238
|
+
};
|
|
2239
|
+
}[];
|
|
2285
2240
|
};
|
|
2286
|
-
|
|
2287
|
-
operationalGroup?: string | null | undefined;
|
|
2288
|
-
thresholds?: {
|
|
2289
|
-
low: number;
|
|
2290
|
-
mid: number;
|
|
2291
|
-
} | null | undefined;
|
|
2292
|
-
unit: {
|
|
2241
|
+
code: string;
|
|
2293
2242
|
_id: string;
|
|
2294
2243
|
name: string;
|
|
2295
|
-
|
|
2244
|
+
};
|
|
2245
|
+
amount: {
|
|
2246
|
+
amount: number;
|
|
2296
2247
|
precision: number;
|
|
2297
|
-
measurements: {
|
|
2298
|
-
id: string;
|
|
2299
|
-
name: string;
|
|
2300
|
-
abbrev: string;
|
|
2301
|
-
conversion: {
|
|
2302
|
-
amount: number;
|
|
2303
|
-
precision: number;
|
|
2304
|
-
};
|
|
2305
|
-
}[];
|
|
2306
2248
|
};
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
name: string;
|
|
2313
|
-
quantity: {
|
|
2314
|
-
amount: number;
|
|
2315
|
-
precision: number;
|
|
2316
|
-
};
|
|
2317
|
-
}[];
|
|
2249
|
+
}[];
|
|
2250
|
+
id: string;
|
|
2251
|
+
createdAt: string;
|
|
2252
|
+
}[] | null | undefined;
|
|
2253
|
+
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "CLOSE" | "REJECT";
|
|
2318
2254
|
supplier: {
|
|
2319
2255
|
phoneNumber?: string | null | undefined;
|
|
2320
2256
|
email?: string | null | undefined;
|
|
@@ -2354,11 +2290,14 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2354
2290
|
};
|
|
2355
2291
|
deliveryOrder: {
|
|
2356
2292
|
remark?: string | null | undefined;
|
|
2293
|
+
id?: string | null | undefined;
|
|
2357
2294
|
adjustment?: string | null | undefined;
|
|
2295
|
+
effectiveAt?: string | null | undefined;
|
|
2358
2296
|
fullfillmentId?: string | null | undefined;
|
|
2359
2297
|
netSuite?: {
|
|
2360
2298
|
refNo?: string | null | undefined;
|
|
2361
|
-
|
|
2299
|
+
recordType?: string | null | undefined;
|
|
2300
|
+
id: string | null;
|
|
2362
2301
|
} | null | undefined;
|
|
2363
2302
|
received: {
|
|
2364
2303
|
cost?: {
|
|
@@ -2375,8 +2314,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2375
2314
|
precision: number;
|
|
2376
2315
|
};
|
|
2377
2316
|
} | null | undefined;
|
|
2317
|
+
id?: string | null | undefined;
|
|
2318
|
+
externalId?: string | null | undefined;
|
|
2378
2319
|
sku: {
|
|
2379
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
2380
2320
|
trackingMeasurement?: string | null | undefined;
|
|
2381
2321
|
convert?: {
|
|
2382
2322
|
measurement?: string | null | undefined;
|
|
@@ -2420,6 +2360,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2420
2360
|
low: number;
|
|
2421
2361
|
mid: number;
|
|
2422
2362
|
} | null | undefined;
|
|
2363
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2423
2364
|
unit: {
|
|
2424
2365
|
_id: string;
|
|
2425
2366
|
name: string;
|
|
@@ -2451,6 +2392,116 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2451
2392
|
createdAt: string;
|
|
2452
2393
|
deliveryOrderNumber: string;
|
|
2453
2394
|
}[];
|
|
2395
|
+
_id: string;
|
|
2396
|
+
seqNumber: number;
|
|
2397
|
+
items: {
|
|
2398
|
+
measurement?: {
|
|
2399
|
+
id: string;
|
|
2400
|
+
name: string;
|
|
2401
|
+
abbrev: string;
|
|
2402
|
+
conversion: {
|
|
2403
|
+
amount: number;
|
|
2404
|
+
precision: number;
|
|
2405
|
+
};
|
|
2406
|
+
} | null | undefined;
|
|
2407
|
+
id?: string | null | undefined;
|
|
2408
|
+
externalId?: string | null | undefined;
|
|
2409
|
+
totalCost?: {
|
|
2410
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
2411
|
+
amount: number;
|
|
2412
|
+
precision: number;
|
|
2413
|
+
} | null | undefined;
|
|
2414
|
+
sku: {
|
|
2415
|
+
trackingMeasurement?: string | null | undefined;
|
|
2416
|
+
convert?: {
|
|
2417
|
+
measurement?: string | null | undefined;
|
|
2418
|
+
inventoryBindings?: {
|
|
2419
|
+
measurement?: {
|
|
2420
|
+
id: string;
|
|
2421
|
+
name: string;
|
|
2422
|
+
abbrev: string;
|
|
2423
|
+
conversion: {
|
|
2424
|
+
amount: number;
|
|
2425
|
+
precision: number;
|
|
2426
|
+
};
|
|
2427
|
+
} | null | undefined;
|
|
2428
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2429
|
+
amount: {
|
|
2430
|
+
amount: number;
|
|
2431
|
+
precision: number;
|
|
2432
|
+
};
|
|
2433
|
+
id: string;
|
|
2434
|
+
}[] | null | undefined;
|
|
2435
|
+
} | null | undefined;
|
|
2436
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
2437
|
+
defaultCost?: {
|
|
2438
|
+
measurement?: {
|
|
2439
|
+
id: string;
|
|
2440
|
+
name: string;
|
|
2441
|
+
abbrev: string;
|
|
2442
|
+
conversion: {
|
|
2443
|
+
amount: number;
|
|
2444
|
+
precision: number;
|
|
2445
|
+
};
|
|
2446
|
+
} | null | undefined;
|
|
2447
|
+
costPerUnit: {
|
|
2448
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
2449
|
+
amount: number;
|
|
2450
|
+
precision: number;
|
|
2451
|
+
};
|
|
2452
|
+
} | null | undefined;
|
|
2453
|
+
operationalGroup?: string | null | undefined;
|
|
2454
|
+
thresholds?: {
|
|
2455
|
+
low: number;
|
|
2456
|
+
mid: number;
|
|
2457
|
+
} | null | undefined;
|
|
2458
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2459
|
+
unit: {
|
|
2460
|
+
_id: string;
|
|
2461
|
+
name: string;
|
|
2462
|
+
abbrev: string;
|
|
2463
|
+
precision: number;
|
|
2464
|
+
measurements: {
|
|
2465
|
+
id: string;
|
|
2466
|
+
name: string;
|
|
2467
|
+
abbrev: string;
|
|
2468
|
+
conversion: {
|
|
2469
|
+
amount: number;
|
|
2470
|
+
precision: number;
|
|
2471
|
+
};
|
|
2472
|
+
}[];
|
|
2473
|
+
};
|
|
2474
|
+
code: string;
|
|
2475
|
+
_id: string;
|
|
2476
|
+
name: string;
|
|
2477
|
+
};
|
|
2478
|
+
code: string;
|
|
2479
|
+
quantity: {
|
|
2480
|
+
amount: number;
|
|
2481
|
+
precision: number;
|
|
2482
|
+
};
|
|
2483
|
+
name: string;
|
|
2484
|
+
}[];
|
|
2485
|
+
} | null | undefined;
|
|
2486
|
+
netSuite?: {
|
|
2487
|
+
refNo?: string | null | undefined;
|
|
2488
|
+
recordType?: string | null | undefined;
|
|
2489
|
+
sync?: boolean | null | undefined;
|
|
2490
|
+
subsidiary?: {
|
|
2491
|
+
name?: string | null | undefined;
|
|
2492
|
+
id: string;
|
|
2493
|
+
} | null | undefined;
|
|
2494
|
+
errors?: {
|
|
2495
|
+
message: string;
|
|
2496
|
+
createdAt: string;
|
|
2497
|
+
}[] | null | undefined;
|
|
2498
|
+
missingItems?: {
|
|
2499
|
+
name: string;
|
|
2500
|
+
reason: string;
|
|
2501
|
+
netSuiteId: string;
|
|
2502
|
+
}[] | null | undefined;
|
|
2503
|
+
additionalInfo?: any;
|
|
2504
|
+
id: string | null;
|
|
2454
2505
|
} | null | undefined;
|
|
2455
2506
|
_id: string;
|
|
2456
2507
|
from: {
|
|
@@ -2465,7 +2516,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2465
2516
|
processedAt: string | null;
|
|
2466
2517
|
rejectedAt: string | null;
|
|
2467
2518
|
adjusmentIds: string[];
|
|
2468
|
-
}, unknown>): string;
|
|
2519
|
+
} & WithToInventoryLocation, unknown>): string;
|
|
2469
2520
|
enableSorting: true;
|
|
2470
2521
|
size?: undefined;
|
|
2471
2522
|
sortUndefined?: undefined;
|
|
@@ -2502,31 +2553,14 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2502
2553
|
accessorKey: "purchaseOrder.status";
|
|
2503
2554
|
header: () => string;
|
|
2504
2555
|
cell(props: import("@tanstack/vue-table").CellContext<{
|
|
2505
|
-
netSuite?: {
|
|
2506
|
-
refNo?: string | null | undefined;
|
|
2507
|
-
sync?: boolean | null | undefined;
|
|
2508
|
-
subsidiary?: {
|
|
2509
|
-
name?: string | null | undefined;
|
|
2510
|
-
id: string;
|
|
2511
|
-
} | null | undefined;
|
|
2512
|
-
errors?: {
|
|
2513
|
-
message: string;
|
|
2514
|
-
createdAt: string;
|
|
2515
|
-
}[] | null | undefined;
|
|
2516
|
-
missingItems?: {
|
|
2517
|
-
name: string;
|
|
2518
|
-
reason: string;
|
|
2519
|
-
netSuiteId: string;
|
|
2520
|
-
}[] | null | undefined;
|
|
2521
|
-
additionalInfo?: any;
|
|
2522
|
-
id: string | null;
|
|
2523
|
-
} | null | undefined;
|
|
2524
2556
|
purchaseOrder?: {
|
|
2525
2557
|
remark?: string | null | undefined;
|
|
2526
2558
|
ref?: string | null | undefined;
|
|
2527
2559
|
_rev?: string | null | undefined;
|
|
2560
|
+
effectiveAt?: string | null | undefined;
|
|
2528
2561
|
netSuite?: {
|
|
2529
2562
|
refNo?: string | null | undefined;
|
|
2563
|
+
recordType?: string | null | undefined;
|
|
2530
2564
|
sync?: boolean | null | undefined;
|
|
2531
2565
|
subsidiary?: {
|
|
2532
2566
|
name?: string | null | undefined;
|
|
@@ -2544,6 +2578,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2544
2578
|
additionalInfo?: any;
|
|
2545
2579
|
id: string | null;
|
|
2546
2580
|
} | null | undefined;
|
|
2581
|
+
version?: "1" | "2" | null | undefined;
|
|
2547
2582
|
template?: string | null | undefined;
|
|
2548
2583
|
templateDoc?: {
|
|
2549
2584
|
_rev?: string | null | undefined;
|
|
@@ -2557,7 +2592,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2557
2592
|
acceptRequest: boolean;
|
|
2558
2593
|
dbName: string;
|
|
2559
2594
|
doc: {
|
|
2560
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
2561
2595
|
_id: string;
|
|
2562
2596
|
businessId: string;
|
|
2563
2597
|
profile: {
|
|
@@ -2639,12 +2673,46 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2639
2673
|
};
|
|
2640
2674
|
};
|
|
2641
2675
|
}[] | null | undefined;
|
|
2642
|
-
locationTags?: string[] | null | undefined;
|
|
2643
|
-
_id: string;
|
|
2644
|
-
name: string;
|
|
2645
2676
|
purchaseOrder: {
|
|
2646
2677
|
remark?: string | null | undefined;
|
|
2647
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
|
+
};
|
|
2648
2716
|
items: {
|
|
2649
2717
|
measurement?: {
|
|
2650
2718
|
id: string;
|
|
@@ -2655,6 +2723,8 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2655
2723
|
precision: number;
|
|
2656
2724
|
};
|
|
2657
2725
|
} | null | undefined;
|
|
2726
|
+
id?: string | null | undefined;
|
|
2727
|
+
externalId?: string | null | undefined;
|
|
2658
2728
|
totalCost?: {
|
|
2659
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";
|
|
2660
2730
|
amount: number;
|
|
@@ -2669,7 +2739,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2669
2739
|
precision: number;
|
|
2670
2740
|
} | null | undefined;
|
|
2671
2741
|
sku: {
|
|
2672
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
2673
2742
|
trackingMeasurement?: string | null | undefined;
|
|
2674
2743
|
convert?: {
|
|
2675
2744
|
measurement?: string | null | undefined;
|
|
@@ -2713,6 +2782,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2713
2782
|
low: number;
|
|
2714
2783
|
mid: number;
|
|
2715
2784
|
} | null | undefined;
|
|
2785
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2716
2786
|
unit: {
|
|
2717
2787
|
_id: string;
|
|
2718
2788
|
name: string;
|
|
@@ -2733,67 +2803,32 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2733
2803
|
name: string;
|
|
2734
2804
|
};
|
|
2735
2805
|
code: string;
|
|
2736
|
-
name: string;
|
|
2737
2806
|
quantity: {
|
|
2738
2807
|
amount: number;
|
|
2739
2808
|
precision: number;
|
|
2740
2809
|
};
|
|
2810
|
+
name: string;
|
|
2741
2811
|
quantityStep: {
|
|
2742
2812
|
amount: number;
|
|
2743
2813
|
precision: number;
|
|
2744
2814
|
};
|
|
2745
2815
|
}[];
|
|
2746
|
-
supplier: {
|
|
2747
|
-
phoneNumber?: string | null | undefined;
|
|
2748
|
-
email?: string | null | undefined;
|
|
2749
|
-
_rev?: string | null | undefined;
|
|
2750
|
-
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
2751
|
-
contactName?: string | null | undefined;
|
|
2752
|
-
registrationNumber?: string | undefined;
|
|
2753
|
-
supplyItems?: {
|
|
2754
|
-
defaultCost: {
|
|
2755
|
-
measurement?: {
|
|
2756
|
-
id: string;
|
|
2757
|
-
name: string;
|
|
2758
|
-
abbrev: string;
|
|
2759
|
-
conversion: {
|
|
2760
|
-
amount: number;
|
|
2761
|
-
precision: number;
|
|
2762
|
-
};
|
|
2763
|
-
} | null | undefined;
|
|
2764
|
-
costPerUnit: {
|
|
2765
|
-
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";
|
|
2766
|
-
amount: number;
|
|
2767
|
-
precision: number;
|
|
2768
|
-
};
|
|
2769
|
-
};
|
|
2770
|
-
skuId: string;
|
|
2771
|
-
}[] | null | undefined;
|
|
2772
|
-
_id: string;
|
|
2773
|
-
name: string;
|
|
2774
|
-
address: {
|
|
2775
|
-
line2?: string | null | undefined;
|
|
2776
|
-
line1: string;
|
|
2777
|
-
state: string;
|
|
2778
|
-
city: string;
|
|
2779
|
-
postcode: string;
|
|
2780
|
-
country: string;
|
|
2781
|
-
};
|
|
2782
|
-
};
|
|
2783
2816
|
};
|
|
2817
|
+
_id: string;
|
|
2818
|
+
name: string;
|
|
2784
2819
|
} | null | undefined;
|
|
2785
2820
|
request?: {
|
|
2786
2821
|
id: string;
|
|
2787
2822
|
adjustmentIds: string[];
|
|
2788
2823
|
} | null | undefined;
|
|
2789
2824
|
stockSnapshotId?: string | null | undefined;
|
|
2790
|
-
effectiveAt?: string | null | undefined;
|
|
2791
2825
|
deliveryFullfillment?: {
|
|
2792
2826
|
remark?: string | null | undefined;
|
|
2793
2827
|
adjustment?: string | null | undefined;
|
|
2794
2828
|
netSuite?: {
|
|
2795
2829
|
refNo?: string | null | undefined;
|
|
2796
|
-
|
|
2830
|
+
recordType?: string | null | undefined;
|
|
2831
|
+
id: string | null;
|
|
2797
2832
|
} | null | undefined;
|
|
2798
2833
|
items: {
|
|
2799
2834
|
cost?: {
|
|
@@ -2810,8 +2845,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2810
2845
|
precision: number;
|
|
2811
2846
|
};
|
|
2812
2847
|
} | null | undefined;
|
|
2848
|
+
id?: string | null | undefined;
|
|
2849
|
+
externalId?: string | null | undefined;
|
|
2813
2850
|
sku: {
|
|
2814
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
2815
2851
|
trackingMeasurement?: string | null | undefined;
|
|
2816
2852
|
convert?: {
|
|
2817
2853
|
measurement?: string | null | undefined;
|
|
@@ -2855,6 +2891,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2855
2891
|
low: number;
|
|
2856
2892
|
mid: number;
|
|
2857
2893
|
} | null | undefined;
|
|
2894
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2858
2895
|
unit: {
|
|
2859
2896
|
_id: string;
|
|
2860
2897
|
name: string;
|
|
@@ -2882,95 +2919,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2882
2919
|
id: string;
|
|
2883
2920
|
createdAt: string;
|
|
2884
2921
|
}[] | null | undefined;
|
|
2885
|
-
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL";
|
|
2886
|
-
_id: string;
|
|
2887
|
-
seqNumber: number;
|
|
2888
|
-
items: {
|
|
2889
|
-
measurement?: {
|
|
2890
|
-
id: string;
|
|
2891
|
-
name: string;
|
|
2892
|
-
abbrev: string;
|
|
2893
|
-
conversion: {
|
|
2894
|
-
amount: number;
|
|
2895
|
-
precision: number;
|
|
2896
|
-
};
|
|
2897
|
-
} | null | undefined;
|
|
2898
|
-
totalCost?: {
|
|
2899
|
-
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";
|
|
2900
|
-
amount: number;
|
|
2901
|
-
precision: number;
|
|
2902
|
-
} | null | undefined;
|
|
2903
|
-
sku: {
|
|
2904
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
2905
|
-
trackingMeasurement?: string | null | undefined;
|
|
2906
|
-
convert?: {
|
|
2907
|
-
measurement?: string | null | undefined;
|
|
2908
|
-
inventoryBindings?: {
|
|
2909
|
-
measurement?: {
|
|
2910
|
-
id: string;
|
|
2911
|
-
name: string;
|
|
2912
|
-
abbrev: string;
|
|
2913
|
-
conversion: {
|
|
2914
|
-
amount: number;
|
|
2915
|
-
precision: number;
|
|
2916
|
-
};
|
|
2917
|
-
} | null | undefined;
|
|
2918
|
-
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2919
|
-
amount: {
|
|
2920
|
-
amount: number;
|
|
2921
|
-
precision: number;
|
|
2922
|
-
};
|
|
2923
|
-
id: string;
|
|
2924
|
-
}[] | null | undefined;
|
|
2925
|
-
} | null | undefined;
|
|
2926
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
2927
|
-
defaultCost?: {
|
|
2928
|
-
measurement?: {
|
|
2929
|
-
id: string;
|
|
2930
|
-
name: string;
|
|
2931
|
-
abbrev: string;
|
|
2932
|
-
conversion: {
|
|
2933
|
-
amount: number;
|
|
2934
|
-
precision: number;
|
|
2935
|
-
};
|
|
2936
|
-
} | null | undefined;
|
|
2937
|
-
costPerUnit: {
|
|
2938
|
-
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";
|
|
2939
|
-
amount: number;
|
|
2940
|
-
precision: number;
|
|
2941
|
-
};
|
|
2942
|
-
} | null | undefined;
|
|
2943
|
-
operationalGroup?: string | null | undefined;
|
|
2944
|
-
thresholds?: {
|
|
2945
|
-
low: number;
|
|
2946
|
-
mid: number;
|
|
2947
|
-
} | null | undefined;
|
|
2948
|
-
unit: {
|
|
2949
|
-
_id: string;
|
|
2950
|
-
name: string;
|
|
2951
|
-
abbrev: string;
|
|
2952
|
-
precision: number;
|
|
2953
|
-
measurements: {
|
|
2954
|
-
id: string;
|
|
2955
|
-
name: string;
|
|
2956
|
-
abbrev: string;
|
|
2957
|
-
conversion: {
|
|
2958
|
-
amount: number;
|
|
2959
|
-
precision: number;
|
|
2960
|
-
};
|
|
2961
|
-
}[];
|
|
2962
|
-
};
|
|
2963
|
-
code: string;
|
|
2964
|
-
_id: string;
|
|
2965
|
-
name: string;
|
|
2966
|
-
};
|
|
2967
|
-
code: string;
|
|
2968
|
-
name: string;
|
|
2969
|
-
quantity: {
|
|
2970
|
-
amount: number;
|
|
2971
|
-
precision: number;
|
|
2972
|
-
};
|
|
2973
|
-
}[];
|
|
2922
|
+
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "CLOSE" | "REJECT";
|
|
2974
2923
|
supplier: {
|
|
2975
2924
|
phoneNumber?: string | null | undefined;
|
|
2976
2925
|
email?: string | null | undefined;
|
|
@@ -3010,11 +2959,14 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3010
2959
|
};
|
|
3011
2960
|
deliveryOrder: {
|
|
3012
2961
|
remark?: string | null | undefined;
|
|
2962
|
+
id?: string | null | undefined;
|
|
3013
2963
|
adjustment?: string | null | undefined;
|
|
2964
|
+
effectiveAt?: string | null | undefined;
|
|
3014
2965
|
fullfillmentId?: string | null | undefined;
|
|
3015
2966
|
netSuite?: {
|
|
3016
2967
|
refNo?: string | null | undefined;
|
|
3017
|
-
|
|
2968
|
+
recordType?: string | null | undefined;
|
|
2969
|
+
id: string | null;
|
|
3018
2970
|
} | null | undefined;
|
|
3019
2971
|
received: {
|
|
3020
2972
|
cost?: {
|
|
@@ -3031,8 +2983,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3031
2983
|
precision: number;
|
|
3032
2984
|
};
|
|
3033
2985
|
} | null | undefined;
|
|
2986
|
+
id?: string | null | undefined;
|
|
2987
|
+
externalId?: string | null | undefined;
|
|
3034
2988
|
sku: {
|
|
3035
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
3036
2989
|
trackingMeasurement?: string | null | undefined;
|
|
3037
2990
|
convert?: {
|
|
3038
2991
|
measurement?: string | null | undefined;
|
|
@@ -3076,6 +3029,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3076
3029
|
low: number;
|
|
3077
3030
|
mid: number;
|
|
3078
3031
|
} | null | undefined;
|
|
3032
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
3079
3033
|
unit: {
|
|
3080
3034
|
_id: string;
|
|
3081
3035
|
name: string;
|
|
@@ -3107,6 +3061,116 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3107
3061
|
createdAt: string;
|
|
3108
3062
|
deliveryOrderNumber: string;
|
|
3109
3063
|
}[];
|
|
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;
|
|
3110
3174
|
} | null | undefined;
|
|
3111
3175
|
_id: string;
|
|
3112
3176
|
from: {
|
|
@@ -3121,7 +3185,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3121
3185
|
processedAt: string | null;
|
|
3122
3186
|
rejectedAt: string | null;
|
|
3123
3187
|
adjusmentIds: string[];
|
|
3124
|
-
}, unknown>): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
3188
|
+
} & WithToInventoryLocation, unknown>): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
3125
3189
|
[key: string]: any;
|
|
3126
3190
|
}>;
|
|
3127
3191
|
enableSorting: true;
|
|
@@ -3132,31 +3196,14 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3132
3196
|
} | {
|
|
3133
3197
|
id: string;
|
|
3134
3198
|
cell(props: import("@tanstack/vue-table").CellContext<{
|
|
3135
|
-
netSuite?: {
|
|
3136
|
-
refNo?: string | null | undefined;
|
|
3137
|
-
sync?: boolean | null | undefined;
|
|
3138
|
-
subsidiary?: {
|
|
3139
|
-
name?: string | null | undefined;
|
|
3140
|
-
id: string;
|
|
3141
|
-
} | null | undefined;
|
|
3142
|
-
errors?: {
|
|
3143
|
-
message: string;
|
|
3144
|
-
createdAt: string;
|
|
3145
|
-
}[] | null | undefined;
|
|
3146
|
-
missingItems?: {
|
|
3147
|
-
name: string;
|
|
3148
|
-
reason: string;
|
|
3149
|
-
netSuiteId: string;
|
|
3150
|
-
}[] | null | undefined;
|
|
3151
|
-
additionalInfo?: any;
|
|
3152
|
-
id: string | null;
|
|
3153
|
-
} | null | undefined;
|
|
3154
3199
|
purchaseOrder?: {
|
|
3155
3200
|
remark?: string | null | undefined;
|
|
3156
3201
|
ref?: string | null | undefined;
|
|
3157
3202
|
_rev?: string | null | undefined;
|
|
3203
|
+
effectiveAt?: string | null | undefined;
|
|
3158
3204
|
netSuite?: {
|
|
3159
3205
|
refNo?: string | null | undefined;
|
|
3206
|
+
recordType?: string | null | undefined;
|
|
3160
3207
|
sync?: boolean | null | undefined;
|
|
3161
3208
|
subsidiary?: {
|
|
3162
3209
|
name?: string | null | undefined;
|
|
@@ -3174,6 +3221,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3174
3221
|
additionalInfo?: any;
|
|
3175
3222
|
id: string | null;
|
|
3176
3223
|
} | null | undefined;
|
|
3224
|
+
version?: "1" | "2" | null | undefined;
|
|
3177
3225
|
template?: string | null | undefined;
|
|
3178
3226
|
templateDoc?: {
|
|
3179
3227
|
_rev?: string | null | undefined;
|
|
@@ -3187,7 +3235,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3187
3235
|
acceptRequest: boolean;
|
|
3188
3236
|
dbName: string;
|
|
3189
3237
|
doc: {
|
|
3190
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
3191
3238
|
_id: string;
|
|
3192
3239
|
businessId: string;
|
|
3193
3240
|
profile: {
|
|
@@ -3268,13 +3315,47 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3268
3315
|
url?: string | null | undefined;
|
|
3269
3316
|
};
|
|
3270
3317
|
};
|
|
3271
|
-
}[] | null | undefined;
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3318
|
+
}[] | null | undefined;
|
|
3319
|
+
purchaseOrder: {
|
|
3320
|
+
remark?: string | null | undefined;
|
|
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
|
+
};
|
|
3278
3359
|
items: {
|
|
3279
3360
|
measurement?: {
|
|
3280
3361
|
id: string;
|
|
@@ -3285,6 +3366,8 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3285
3366
|
precision: number;
|
|
3286
3367
|
};
|
|
3287
3368
|
} | null | undefined;
|
|
3369
|
+
id?: string | null | undefined;
|
|
3370
|
+
externalId?: string | null | undefined;
|
|
3288
3371
|
totalCost?: {
|
|
3289
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";
|
|
3290
3373
|
amount: number;
|
|
@@ -3299,7 +3382,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3299
3382
|
precision: number;
|
|
3300
3383
|
} | null | undefined;
|
|
3301
3384
|
sku: {
|
|
3302
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
3303
3385
|
trackingMeasurement?: string | null | undefined;
|
|
3304
3386
|
convert?: {
|
|
3305
3387
|
measurement?: string | null | undefined;
|
|
@@ -3343,6 +3425,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3343
3425
|
low: number;
|
|
3344
3426
|
mid: number;
|
|
3345
3427
|
} | null | undefined;
|
|
3428
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
3346
3429
|
unit: {
|
|
3347
3430
|
_id: string;
|
|
3348
3431
|
name: string;
|
|
@@ -3363,67 +3446,32 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3363
3446
|
name: string;
|
|
3364
3447
|
};
|
|
3365
3448
|
code: string;
|
|
3366
|
-
name: string;
|
|
3367
3449
|
quantity: {
|
|
3368
3450
|
amount: number;
|
|
3369
3451
|
precision: number;
|
|
3370
3452
|
};
|
|
3453
|
+
name: string;
|
|
3371
3454
|
quantityStep: {
|
|
3372
3455
|
amount: number;
|
|
3373
3456
|
precision: number;
|
|
3374
3457
|
};
|
|
3375
3458
|
}[];
|
|
3376
|
-
supplier: {
|
|
3377
|
-
phoneNumber?: string | null | undefined;
|
|
3378
|
-
email?: string | null | undefined;
|
|
3379
|
-
_rev?: string | null | undefined;
|
|
3380
|
-
internal?: "restaurant" | "warehouse" | null | undefined;
|
|
3381
|
-
contactName?: string | null | undefined;
|
|
3382
|
-
registrationNumber?: string | undefined;
|
|
3383
|
-
supplyItems?: {
|
|
3384
|
-
defaultCost: {
|
|
3385
|
-
measurement?: {
|
|
3386
|
-
id: string;
|
|
3387
|
-
name: string;
|
|
3388
|
-
abbrev: string;
|
|
3389
|
-
conversion: {
|
|
3390
|
-
amount: number;
|
|
3391
|
-
precision: number;
|
|
3392
|
-
};
|
|
3393
|
-
} | null | undefined;
|
|
3394
|
-
costPerUnit: {
|
|
3395
|
-
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";
|
|
3396
|
-
amount: number;
|
|
3397
|
-
precision: number;
|
|
3398
|
-
};
|
|
3399
|
-
};
|
|
3400
|
-
skuId: string;
|
|
3401
|
-
}[] | null | undefined;
|
|
3402
|
-
_id: string;
|
|
3403
|
-
name: string;
|
|
3404
|
-
address: {
|
|
3405
|
-
line2?: string | null | undefined;
|
|
3406
|
-
line1: string;
|
|
3407
|
-
state: string;
|
|
3408
|
-
city: string;
|
|
3409
|
-
postcode: string;
|
|
3410
|
-
country: string;
|
|
3411
|
-
};
|
|
3412
|
-
};
|
|
3413
3459
|
};
|
|
3460
|
+
_id: string;
|
|
3461
|
+
name: string;
|
|
3414
3462
|
} | null | undefined;
|
|
3415
3463
|
request?: {
|
|
3416
3464
|
id: string;
|
|
3417
3465
|
adjustmentIds: string[];
|
|
3418
3466
|
} | null | undefined;
|
|
3419
3467
|
stockSnapshotId?: string | null | undefined;
|
|
3420
|
-
effectiveAt?: string | null | undefined;
|
|
3421
3468
|
deliveryFullfillment?: {
|
|
3422
3469
|
remark?: string | null | undefined;
|
|
3423
3470
|
adjustment?: string | null | undefined;
|
|
3424
3471
|
netSuite?: {
|
|
3425
3472
|
refNo?: string | null | undefined;
|
|
3426
|
-
|
|
3473
|
+
recordType?: string | null | undefined;
|
|
3474
|
+
id: string | null;
|
|
3427
3475
|
} | null | undefined;
|
|
3428
3476
|
items: {
|
|
3429
3477
|
cost?: {
|
|
@@ -3440,8 +3488,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3440
3488
|
precision: number;
|
|
3441
3489
|
};
|
|
3442
3490
|
} | null | undefined;
|
|
3491
|
+
id?: string | null | undefined;
|
|
3492
|
+
externalId?: string | null | undefined;
|
|
3443
3493
|
sku: {
|
|
3444
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
3445
3494
|
trackingMeasurement?: string | null | undefined;
|
|
3446
3495
|
convert?: {
|
|
3447
3496
|
measurement?: string | null | undefined;
|
|
@@ -3485,6 +3534,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3485
3534
|
low: number;
|
|
3486
3535
|
mid: number;
|
|
3487
3536
|
} | null | undefined;
|
|
3537
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
3488
3538
|
unit: {
|
|
3489
3539
|
_id: string;
|
|
3490
3540
|
name: string;
|
|
@@ -3512,95 +3562,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3512
3562
|
id: string;
|
|
3513
3563
|
createdAt: string;
|
|
3514
3564
|
}[] | null | undefined;
|
|
3515
|
-
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL";
|
|
3516
|
-
_id: string;
|
|
3517
|
-
seqNumber: number;
|
|
3518
|
-
items: {
|
|
3519
|
-
measurement?: {
|
|
3520
|
-
id: string;
|
|
3521
|
-
name: string;
|
|
3522
|
-
abbrev: string;
|
|
3523
|
-
conversion: {
|
|
3524
|
-
amount: number;
|
|
3525
|
-
precision: number;
|
|
3526
|
-
};
|
|
3527
|
-
} | null | undefined;
|
|
3528
|
-
totalCost?: {
|
|
3529
|
-
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";
|
|
3530
|
-
amount: number;
|
|
3531
|
-
precision: number;
|
|
3532
|
-
} | null | undefined;
|
|
3533
|
-
sku: {
|
|
3534
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
3535
|
-
trackingMeasurement?: string | null | undefined;
|
|
3536
|
-
convert?: {
|
|
3537
|
-
measurement?: string | null | undefined;
|
|
3538
|
-
inventoryBindings?: {
|
|
3539
|
-
measurement?: {
|
|
3540
|
-
id: string;
|
|
3541
|
-
name: string;
|
|
3542
|
-
abbrev: string;
|
|
3543
|
-
conversion: {
|
|
3544
|
-
amount: number;
|
|
3545
|
-
precision: number;
|
|
3546
|
-
};
|
|
3547
|
-
} | null | undefined;
|
|
3548
|
-
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3549
|
-
amount: {
|
|
3550
|
-
amount: number;
|
|
3551
|
-
precision: number;
|
|
3552
|
-
};
|
|
3553
|
-
id: string;
|
|
3554
|
-
}[] | null | undefined;
|
|
3555
|
-
} | null | undefined;
|
|
3556
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
3557
|
-
defaultCost?: {
|
|
3558
|
-
measurement?: {
|
|
3559
|
-
id: string;
|
|
3560
|
-
name: string;
|
|
3561
|
-
abbrev: string;
|
|
3562
|
-
conversion: {
|
|
3563
|
-
amount: number;
|
|
3564
|
-
precision: number;
|
|
3565
|
-
};
|
|
3566
|
-
} | null | undefined;
|
|
3567
|
-
costPerUnit: {
|
|
3568
|
-
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";
|
|
3569
|
-
amount: number;
|
|
3570
|
-
precision: number;
|
|
3571
|
-
};
|
|
3572
|
-
} | null | undefined;
|
|
3573
|
-
operationalGroup?: string | null | undefined;
|
|
3574
|
-
thresholds?: {
|
|
3575
|
-
low: number;
|
|
3576
|
-
mid: number;
|
|
3577
|
-
} | null | undefined;
|
|
3578
|
-
unit: {
|
|
3579
|
-
_id: string;
|
|
3580
|
-
name: string;
|
|
3581
|
-
abbrev: string;
|
|
3582
|
-
precision: number;
|
|
3583
|
-
measurements: {
|
|
3584
|
-
id: string;
|
|
3585
|
-
name: string;
|
|
3586
|
-
abbrev: string;
|
|
3587
|
-
conversion: {
|
|
3588
|
-
amount: number;
|
|
3589
|
-
precision: number;
|
|
3590
|
-
};
|
|
3591
|
-
}[];
|
|
3592
|
-
};
|
|
3593
|
-
code: string;
|
|
3594
|
-
_id: string;
|
|
3595
|
-
name: string;
|
|
3596
|
-
};
|
|
3597
|
-
code: string;
|
|
3598
|
-
name: string;
|
|
3599
|
-
quantity: {
|
|
3600
|
-
amount: number;
|
|
3601
|
-
precision: number;
|
|
3602
|
-
};
|
|
3603
|
-
}[];
|
|
3565
|
+
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "CLOSE" | "REJECT";
|
|
3604
3566
|
supplier: {
|
|
3605
3567
|
phoneNumber?: string | null | undefined;
|
|
3606
3568
|
email?: string | null | undefined;
|
|
@@ -3640,11 +3602,14 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3640
3602
|
};
|
|
3641
3603
|
deliveryOrder: {
|
|
3642
3604
|
remark?: string | null | undefined;
|
|
3605
|
+
id?: string | null | undefined;
|
|
3643
3606
|
adjustment?: string | null | undefined;
|
|
3607
|
+
effectiveAt?: string | null | undefined;
|
|
3644
3608
|
fullfillmentId?: string | null | undefined;
|
|
3645
3609
|
netSuite?: {
|
|
3646
3610
|
refNo?: string | null | undefined;
|
|
3647
|
-
|
|
3611
|
+
recordType?: string | null | undefined;
|
|
3612
|
+
id: string | null;
|
|
3648
3613
|
} | null | undefined;
|
|
3649
3614
|
received: {
|
|
3650
3615
|
cost?: {
|
|
@@ -3661,8 +3626,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3661
3626
|
precision: number;
|
|
3662
3627
|
};
|
|
3663
3628
|
} | null | undefined;
|
|
3629
|
+
id?: string | null | undefined;
|
|
3630
|
+
externalId?: string | null | undefined;
|
|
3664
3631
|
sku: {
|
|
3665
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
3666
3632
|
trackingMeasurement?: string | null | undefined;
|
|
3667
3633
|
convert?: {
|
|
3668
3634
|
measurement?: string | null | undefined;
|
|
@@ -3706,6 +3672,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3706
3672
|
low: number;
|
|
3707
3673
|
mid: number;
|
|
3708
3674
|
} | null | undefined;
|
|
3675
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
3709
3676
|
unit: {
|
|
3710
3677
|
_id: string;
|
|
3711
3678
|
name: string;
|
|
@@ -3737,6 +3704,116 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3737
3704
|
createdAt: string;
|
|
3738
3705
|
deliveryOrderNumber: string;
|
|
3739
3706
|
}[];
|
|
3707
|
+
_id: string;
|
|
3708
|
+
seqNumber: number;
|
|
3709
|
+
items: {
|
|
3710
|
+
measurement?: {
|
|
3711
|
+
id: string;
|
|
3712
|
+
name: string;
|
|
3713
|
+
abbrev: string;
|
|
3714
|
+
conversion: {
|
|
3715
|
+
amount: number;
|
|
3716
|
+
precision: number;
|
|
3717
|
+
};
|
|
3718
|
+
} | null | undefined;
|
|
3719
|
+
id?: string | null | undefined;
|
|
3720
|
+
externalId?: string | null | undefined;
|
|
3721
|
+
totalCost?: {
|
|
3722
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
3723
|
+
amount: number;
|
|
3724
|
+
precision: number;
|
|
3725
|
+
} | null | undefined;
|
|
3726
|
+
sku: {
|
|
3727
|
+
trackingMeasurement?: string | null | undefined;
|
|
3728
|
+
convert?: {
|
|
3729
|
+
measurement?: string | null | undefined;
|
|
3730
|
+
inventoryBindings?: {
|
|
3731
|
+
measurement?: {
|
|
3732
|
+
id: string;
|
|
3733
|
+
name: string;
|
|
3734
|
+
abbrev: string;
|
|
3735
|
+
conversion: {
|
|
3736
|
+
amount: number;
|
|
3737
|
+
precision: number;
|
|
3738
|
+
};
|
|
3739
|
+
} | null | undefined;
|
|
3740
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3741
|
+
amount: {
|
|
3742
|
+
amount: number;
|
|
3743
|
+
precision: number;
|
|
3744
|
+
};
|
|
3745
|
+
id: string;
|
|
3746
|
+
}[] | null | undefined;
|
|
3747
|
+
} | null | undefined;
|
|
3748
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
3749
|
+
defaultCost?: {
|
|
3750
|
+
measurement?: {
|
|
3751
|
+
id: string;
|
|
3752
|
+
name: string;
|
|
3753
|
+
abbrev: string;
|
|
3754
|
+
conversion: {
|
|
3755
|
+
amount: number;
|
|
3756
|
+
precision: number;
|
|
3757
|
+
};
|
|
3758
|
+
} | null | undefined;
|
|
3759
|
+
costPerUnit: {
|
|
3760
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
3761
|
+
amount: number;
|
|
3762
|
+
precision: number;
|
|
3763
|
+
};
|
|
3764
|
+
} | null | undefined;
|
|
3765
|
+
operationalGroup?: string | null | undefined;
|
|
3766
|
+
thresholds?: {
|
|
3767
|
+
low: number;
|
|
3768
|
+
mid: number;
|
|
3769
|
+
} | null | undefined;
|
|
3770
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
3771
|
+
unit: {
|
|
3772
|
+
_id: string;
|
|
3773
|
+
name: string;
|
|
3774
|
+
abbrev: string;
|
|
3775
|
+
precision: number;
|
|
3776
|
+
measurements: {
|
|
3777
|
+
id: string;
|
|
3778
|
+
name: string;
|
|
3779
|
+
abbrev: string;
|
|
3780
|
+
conversion: {
|
|
3781
|
+
amount: number;
|
|
3782
|
+
precision: number;
|
|
3783
|
+
};
|
|
3784
|
+
}[];
|
|
3785
|
+
};
|
|
3786
|
+
code: string;
|
|
3787
|
+
_id: string;
|
|
3788
|
+
name: string;
|
|
3789
|
+
};
|
|
3790
|
+
code: string;
|
|
3791
|
+
quantity: {
|
|
3792
|
+
amount: number;
|
|
3793
|
+
precision: number;
|
|
3794
|
+
};
|
|
3795
|
+
name: string;
|
|
3796
|
+
}[];
|
|
3797
|
+
} | null | undefined;
|
|
3798
|
+
netSuite?: {
|
|
3799
|
+
refNo?: string | null | undefined;
|
|
3800
|
+
recordType?: string | null | undefined;
|
|
3801
|
+
sync?: boolean | null | undefined;
|
|
3802
|
+
subsidiary?: {
|
|
3803
|
+
name?: string | null | undefined;
|
|
3804
|
+
id: string;
|
|
3805
|
+
} | null | undefined;
|
|
3806
|
+
errors?: {
|
|
3807
|
+
message: string;
|
|
3808
|
+
createdAt: string;
|
|
3809
|
+
}[] | null | undefined;
|
|
3810
|
+
missingItems?: {
|
|
3811
|
+
name: string;
|
|
3812
|
+
reason: string;
|
|
3813
|
+
netSuiteId: string;
|
|
3814
|
+
}[] | null | undefined;
|
|
3815
|
+
additionalInfo?: any;
|
|
3816
|
+
id: string | null;
|
|
3740
3817
|
} | null | undefined;
|
|
3741
3818
|
_id: string;
|
|
3742
3819
|
from: {
|
|
@@ -3751,7 +3828,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3751
3828
|
processedAt: string | null;
|
|
3752
3829
|
rejectedAt: string | null;
|
|
3753
3830
|
adjusmentIds: string[];
|
|
3754
|
-
}, unknown>): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
3831
|
+
} & WithToInventoryLocation, unknown>): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
3755
3832
|
[key: string]: any;
|
|
3756
3833
|
}>;
|
|
3757
3834
|
enableSorting: false;
|