@feedmepos/mf-inventory-portal 0.0.25-dev.5 → 0.0.25-dev.50
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-Kq8apMtA.js → App-B7fIlPKw.js} +29 -28
- package/dist/ApprovalView-Dp20w8em.js +143 -0
- package/dist/{BindingsDialog-DOXckftj.js → BindingsDialog-BIHCuoDe.js} +6 -6
- package/dist/{BindingsPicker-Cm5vh_SU.js → BindingsPicker-DoM1Dh1y.js} +8 -8
- package/dist/{BindingsTable-CqIY16hU.js → BindingsTable-ChJYIxrf.js} +6 -6
- package/dist/ClosingDraftView-L4EHR0Sb.js +1348 -0
- package/dist/ClosingTemplateView-CFVINyCr.js +1859 -0
- package/dist/FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js +34 -0
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Dn-DgO81.js +211 -0
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-0Kw57u62.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CdWkJ2U-.js} +52 -52
- package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-BN2ec0EU.js +51 -0
- package/dist/{IngredientGroupView-CLmsjrp8.js → IngredientGroupView-Vz6XV_-q.js} +14 -14
- package/dist/{IngredientsView-T5S1322D.js → IngredientsView-D1lmg_97.js} +577 -551
- package/dist/{IntegrationView-DLLrgrr9.js → IntegrationView-CfDmLYwt.js} +661 -690
- package/dist/{InventoryBindingForm-BCPZcNwR.js → InventoryBindingForm-C68ZfWme.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DY96hhyi.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bd13FqsE.js} +96 -96
- package/dist/{InventoryBindingSummary-CpCsz_Xc.js → InventoryBindingSummary-DT9cg2b4.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CP5yNARW.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BfhvXVHK.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Cow0sp-k.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Dvj1F-DM.js} +15 -15
- package/dist/PublishView-DMzULnCX.js +222 -0
- package/dist/{PurchaseOrderPrintPreview-DQ8GaxvA.js → PurchaseOrderPrintPreview-D6wcth8H.js} +1 -1
- package/dist/ReceiveRequestView-DsX41zj-.js +2579 -0
- package/dist/{RecipeView-CROffYxl.js → RecipeView-DlKk9-tm.js} +47 -46
- package/dist/{index-B2ISFLHY.js → StockView-CNmvVK0V.js} +3616 -1783
- package/dist/{SupplierView-DUFTtK7r.js → SupplierView-BcoOgM67.js} +446 -457
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CDDvq_mI.js +1605 -0
- package/dist/TransferTemplateView-BI96LQfP.js +1526 -0
- package/dist/{UnitView-B4jcaZF4.js → UnitView-BF2eBWtF.js} +14 -14
- package/dist/{WarehouseView-BmZtdMZU.js → WarehouseView-joOR4EsJ.js} +332 -314
- package/dist/api/closing-draft.d.ts +1 -0
- package/dist/api/inventory.d.ts +9 -6
- package/dist/api/netsuite.d.ts +22 -5
- package/dist/api/purchase-order.d.ts +7 -1
- package/dist/api/stock.d.ts +1 -0
- package/dist/app-DavuMSpS.js +88117 -0
- package/dist/app.js +1 -1
- package/dist/components/FmAutocompleteTextField.vue.d.ts +31 -0
- package/dist/components/FmCustomAttribute.vue.d.ts +3 -8
- package/dist/components/FmLockableField.vue.d.ts +3 -0
- package/dist/components/FmMultiselectDialog.d.ts +23 -0
- package/dist/components/FmMultiselectDialog.vue.d.ts +9 -1
- package/dist/components/FmMultiselectDialogProps.d.ts +2 -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-T4Ng3pLP.js → decimal-C_LJTg2_.js} +1 -1
- package/dist/feature-D3M-bziy.js +1015 -0
- package/dist/{format-unit-display-D6tf1DHa.js → format-unit-display-BebmN2s-.js} +335 -328
- package/dist/helper/country.d.ts +1 -0
- package/dist/helper/fuzzy.d.ts +10 -0
- package/dist/index-BDEeA1dY.js +12197 -0
- package/dist/index-DzshvJTA.js +77 -0
- package/dist/{stock-CmZXXh6b.js → stock-CHVVTrSI.js} +29 -25
- package/dist/stores/feature.d.ts +7 -5
- package/dist/stores/helper/generate-backend-urls.d.ts +0 -1
- package/dist/stores/integration/index.d.ts +1 -0
- package/dist/stores/integration/netsuite.d.ts +22 -5
- package/dist/stores/inventory.d.ts +141 -8
- package/dist/stores/location.d.ts +9 -0
- package/dist/stores/stock.d.ts +5 -0
- package/dist/stores/warehouse.d.ts +5 -7
- package/dist/style.css +1 -1
- package/dist/{supplier-BVsAD8Ou.js → supplier-Ddl4sUpm.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/use-ingredient-select-dialog-Z6bbIKfM.js +51 -0
- package/dist/{use-inventory-binding-dialog-CqrrqmB7.js → use-inventory-binding-dialog-Dj45RBWc.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +24 -0
- package/dist/views/adjustment-template/wastage-template/table.d.ts +24 -0
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +8 -4
- 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 +48 -24
- 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 +36 -12
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +36 -12
- package/dist/views/dev/components/AutocompleteTextField.vue.d.ts +2 -0
- 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-select-dialog.d.ts +16 -0
- 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/TransferForm.vue.d.ts +427 -31
- 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 +7 -4
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +18 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +867 -68
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +678 -70
- 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 +12 -0
- package/dist/views/receive-request/import/props.d.ts +7 -0
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +4 -2
- 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 +8 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +1 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +10 -5
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +72 -24
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +72 -24
- package/dist/views/transfer-template/composables/useTransferTemplateHelper.d.ts +305 -0
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +10 -14
- package/dist/{vue-i18n-Mb3AM8uP.js → vue-i18n-Cak3W4nS.js} +331 -331
- package/package.json +4 -4
- package/dist/ApprovalView-DXlXet32.js +0 -138
- package/dist/ClosingDraftView-CABY9YVF.js +0 -1225
- package/dist/ClosingTemplateView-Bsd6W6id.js +0 -1819
- package/dist/FmCustomAttribute.vue_vue_type_script_setup_true_lang-d-Qy7I_I.js +0 -142
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CXjO-PL0.js +0 -286
- package/dist/PublishView-BQ9pqu-S.js +0 -192
- package/dist/ReceiveRequestView-Cj1g6ZzI.js +0 -1876
- package/dist/StockView-D_XXAmSl.js +0 -1817
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-BLADqDM9.js +0 -1327
- package/dist/TransferTemplateView-Dy2nZRCc.js +0 -1284
- package/dist/app-DcBKHZIR.js +0 -85643
- package/dist/components/FmCustomAttribute2.vue.d.ts +0 -18
- package/dist/index-Cxi2NbBg.js +0 -29202
|
@@ -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 { RevisionIdMeta } from '@feedmepos/inventory-core';
|
|
3
|
+
import type { WithToInventoryLocation } from '@/api/purchase-order';
|
|
4
|
+
export declare function useReceiveRequestTable(scope: PO_SCOPE, receiveRequestFormComposable: ReceiveRequestFormComposable): {
|
|
3
5
|
readonly columnDefs: ({
|
|
4
6
|
accessorKey: "seqNumber";
|
|
5
7
|
header: () => string;
|
|
@@ -16,6 +18,7 @@ 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;
|
|
21
24
|
sync?: boolean | null | undefined;
|
|
@@ -48,6 +51,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
48
51
|
acceptRequest: boolean;
|
|
49
52
|
dbName: string;
|
|
50
53
|
doc: {
|
|
54
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
51
55
|
_id: string;
|
|
52
56
|
businessId: string;
|
|
53
57
|
profile: {
|
|
@@ -129,12 +133,14 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
129
133
|
};
|
|
130
134
|
};
|
|
131
135
|
}[] | null | undefined;
|
|
136
|
+
locationTags?: string[] | null | undefined;
|
|
132
137
|
_id: string;
|
|
133
138
|
name: string;
|
|
134
139
|
purchaseOrder: {
|
|
135
140
|
remark?: string | null | undefined;
|
|
136
141
|
ref?: string | null | undefined;
|
|
137
142
|
items: {
|
|
143
|
+
id?: string | null | undefined;
|
|
138
144
|
measurement?: {
|
|
139
145
|
id: string;
|
|
140
146
|
name: string;
|
|
@@ -144,6 +150,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
144
150
|
precision: number;
|
|
145
151
|
};
|
|
146
152
|
} | null | undefined;
|
|
153
|
+
externalId?: string | null | undefined;
|
|
147
154
|
totalCost?: {
|
|
148
155
|
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
149
156
|
amount: number;
|
|
@@ -158,6 +165,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
158
165
|
precision: number;
|
|
159
166
|
} | null | undefined;
|
|
160
167
|
sku: {
|
|
168
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
161
169
|
trackingMeasurement?: string | null | undefined;
|
|
162
170
|
convert?: {
|
|
163
171
|
measurement?: string | null | undefined;
|
|
@@ -201,7 +209,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
201
209
|
low: number;
|
|
202
210
|
mid: number;
|
|
203
211
|
} | null | undefined;
|
|
204
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
205
212
|
unit: {
|
|
206
213
|
_id: string;
|
|
207
214
|
name: string;
|
|
@@ -222,11 +229,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
222
229
|
name: string;
|
|
223
230
|
};
|
|
224
231
|
code: string;
|
|
225
|
-
name: string;
|
|
226
232
|
quantity: {
|
|
227
233
|
amount: number;
|
|
228
234
|
precision: number;
|
|
229
235
|
};
|
|
236
|
+
name: string;
|
|
230
237
|
quantityStep: {
|
|
231
238
|
amount: number;
|
|
232
239
|
precision: number;
|
|
@@ -276,7 +283,95 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
276
283
|
adjustmentIds: string[];
|
|
277
284
|
} | null | undefined;
|
|
278
285
|
stockSnapshotId?: string | null | undefined;
|
|
279
|
-
|
|
286
|
+
returnItems?: {
|
|
287
|
+
id?: string | null | undefined;
|
|
288
|
+
measurement?: {
|
|
289
|
+
id: string;
|
|
290
|
+
name: string;
|
|
291
|
+
abbrev: string;
|
|
292
|
+
conversion: {
|
|
293
|
+
amount: number;
|
|
294
|
+
precision: number;
|
|
295
|
+
};
|
|
296
|
+
} | null | undefined;
|
|
297
|
+
externalId?: string | null | undefined;
|
|
298
|
+
totalCost?: {
|
|
299
|
+
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";
|
|
300
|
+
amount: number;
|
|
301
|
+
precision: number;
|
|
302
|
+
} | null | undefined;
|
|
303
|
+
sku: {
|
|
304
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
305
|
+
trackingMeasurement?: string | null | undefined;
|
|
306
|
+
convert?: {
|
|
307
|
+
measurement?: string | null | undefined;
|
|
308
|
+
inventoryBindings?: {
|
|
309
|
+
measurement?: {
|
|
310
|
+
id: string;
|
|
311
|
+
name: string;
|
|
312
|
+
abbrev: string;
|
|
313
|
+
conversion: {
|
|
314
|
+
amount: number;
|
|
315
|
+
precision: number;
|
|
316
|
+
};
|
|
317
|
+
} | null | undefined;
|
|
318
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
319
|
+
amount: {
|
|
320
|
+
amount: number;
|
|
321
|
+
precision: number;
|
|
322
|
+
};
|
|
323
|
+
id: string;
|
|
324
|
+
}[] | null | undefined;
|
|
325
|
+
} | null | undefined;
|
|
326
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
327
|
+
defaultCost?: {
|
|
328
|
+
measurement?: {
|
|
329
|
+
id: string;
|
|
330
|
+
name: string;
|
|
331
|
+
abbrev: string;
|
|
332
|
+
conversion: {
|
|
333
|
+
amount: number;
|
|
334
|
+
precision: number;
|
|
335
|
+
};
|
|
336
|
+
} | null | undefined;
|
|
337
|
+
costPerUnit: {
|
|
338
|
+
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";
|
|
339
|
+
amount: number;
|
|
340
|
+
precision: number;
|
|
341
|
+
};
|
|
342
|
+
} | null | undefined;
|
|
343
|
+
operationalGroup?: string | null | undefined;
|
|
344
|
+
thresholds?: {
|
|
345
|
+
low: number;
|
|
346
|
+
mid: number;
|
|
347
|
+
} | null | undefined;
|
|
348
|
+
unit: {
|
|
349
|
+
_id: string;
|
|
350
|
+
name: string;
|
|
351
|
+
abbrev: string;
|
|
352
|
+
precision: number;
|
|
353
|
+
measurements: {
|
|
354
|
+
id: string;
|
|
355
|
+
name: string;
|
|
356
|
+
abbrev: string;
|
|
357
|
+
conversion: {
|
|
358
|
+
amount: number;
|
|
359
|
+
precision: number;
|
|
360
|
+
};
|
|
361
|
+
}[];
|
|
362
|
+
};
|
|
363
|
+
code: string;
|
|
364
|
+
_id: string;
|
|
365
|
+
name: string;
|
|
366
|
+
};
|
|
367
|
+
code: string;
|
|
368
|
+
quantity: {
|
|
369
|
+
amount: number;
|
|
370
|
+
precision: number;
|
|
371
|
+
};
|
|
372
|
+
name: string;
|
|
373
|
+
}[] | null | undefined;
|
|
374
|
+
stockReturnRef?: string | null | undefined;
|
|
280
375
|
deliveryFullfillment?: {
|
|
281
376
|
remark?: string | null | undefined;
|
|
282
377
|
adjustment?: string | null | undefined;
|
|
@@ -290,6 +385,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
290
385
|
amount: number;
|
|
291
386
|
precision: number;
|
|
292
387
|
} | null | undefined;
|
|
388
|
+
id?: string | null | undefined;
|
|
293
389
|
measurement?: {
|
|
294
390
|
id: string;
|
|
295
391
|
name: string;
|
|
@@ -299,7 +395,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
299
395
|
precision: number;
|
|
300
396
|
};
|
|
301
397
|
} | null | undefined;
|
|
398
|
+
externalId?: string | null | undefined;
|
|
302
399
|
sku: {
|
|
400
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
303
401
|
trackingMeasurement?: string | null | undefined;
|
|
304
402
|
convert?: {
|
|
305
403
|
measurement?: string | null | undefined;
|
|
@@ -343,7 +441,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
343
441
|
low: number;
|
|
344
442
|
mid: number;
|
|
345
443
|
} | null | undefined;
|
|
346
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
347
444
|
unit: {
|
|
348
445
|
_id: string;
|
|
349
446
|
name: string;
|
|
@@ -371,10 +468,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
371
468
|
id: string;
|
|
372
469
|
createdAt: string;
|
|
373
470
|
}[] | null | undefined;
|
|
374
|
-
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL";
|
|
471
|
+
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "CLOSE";
|
|
375
472
|
_id: string;
|
|
376
473
|
seqNumber: number;
|
|
377
474
|
items: {
|
|
475
|
+
id?: string | null | undefined;
|
|
378
476
|
measurement?: {
|
|
379
477
|
id: string;
|
|
380
478
|
name: string;
|
|
@@ -384,12 +482,14 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
384
482
|
precision: number;
|
|
385
483
|
};
|
|
386
484
|
} | null | undefined;
|
|
485
|
+
externalId?: string | null | undefined;
|
|
387
486
|
totalCost?: {
|
|
388
487
|
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";
|
|
389
488
|
amount: number;
|
|
390
489
|
precision: number;
|
|
391
490
|
} | null | undefined;
|
|
392
491
|
sku: {
|
|
492
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
393
493
|
trackingMeasurement?: string | null | undefined;
|
|
394
494
|
convert?: {
|
|
395
495
|
measurement?: string | null | undefined;
|
|
@@ -433,7 +533,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
433
533
|
low: number;
|
|
434
534
|
mid: number;
|
|
435
535
|
} | null | undefined;
|
|
436
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
437
536
|
unit: {
|
|
438
537
|
_id: string;
|
|
439
538
|
name: string;
|
|
@@ -454,11 +553,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
454
553
|
name: string;
|
|
455
554
|
};
|
|
456
555
|
code: string;
|
|
457
|
-
name: string;
|
|
458
556
|
quantity: {
|
|
459
557
|
amount: number;
|
|
460
558
|
precision: number;
|
|
461
559
|
};
|
|
560
|
+
name: string;
|
|
462
561
|
}[];
|
|
463
562
|
supplier: {
|
|
464
563
|
phoneNumber?: string | null | undefined;
|
|
@@ -499,7 +598,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
499
598
|
};
|
|
500
599
|
deliveryOrder: {
|
|
501
600
|
remark?: string | null | undefined;
|
|
601
|
+
id?: string | null | undefined;
|
|
502
602
|
adjustment?: string | null | undefined;
|
|
603
|
+
effectiveAt?: string | null | undefined;
|
|
503
604
|
fullfillmentId?: string | null | undefined;
|
|
504
605
|
netSuite?: {
|
|
505
606
|
refNo?: string | null | undefined;
|
|
@@ -511,6 +612,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
511
612
|
amount: number;
|
|
512
613
|
precision: number;
|
|
513
614
|
} | null | undefined;
|
|
615
|
+
id?: string | null | undefined;
|
|
514
616
|
measurement?: {
|
|
515
617
|
id: string;
|
|
516
618
|
name: string;
|
|
@@ -520,7 +622,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
520
622
|
precision: number;
|
|
521
623
|
};
|
|
522
624
|
} | null | undefined;
|
|
625
|
+
externalId?: string | null | undefined;
|
|
523
626
|
sku: {
|
|
627
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
524
628
|
trackingMeasurement?: string | null | undefined;
|
|
525
629
|
convert?: {
|
|
526
630
|
measurement?: string | null | undefined;
|
|
@@ -564,7 +668,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
564
668
|
low: number;
|
|
565
669
|
mid: number;
|
|
566
670
|
} | null | undefined;
|
|
567
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
568
671
|
unit: {
|
|
569
672
|
_id: string;
|
|
570
673
|
name: string;
|
|
@@ -596,7 +699,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
596
699
|
createdAt: string;
|
|
597
700
|
deliveryOrderNumber: string;
|
|
598
701
|
}[];
|
|
599
|
-
}, unknown>): string;
|
|
702
|
+
} & RevisionIdMeta, unknown>): string;
|
|
600
703
|
enableSorting: true;
|
|
601
704
|
size?: undefined;
|
|
602
705
|
sortUndefined?: undefined;
|
|
@@ -640,6 +743,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
640
743
|
remark?: string | null | undefined;
|
|
641
744
|
ref?: string | null | undefined;
|
|
642
745
|
_rev?: string | null | undefined;
|
|
746
|
+
effectiveAt?: string | null | undefined;
|
|
643
747
|
netSuite?: {
|
|
644
748
|
refNo?: string | null | undefined;
|
|
645
749
|
sync?: boolean | null | undefined;
|
|
@@ -672,6 +776,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
672
776
|
acceptRequest: boolean;
|
|
673
777
|
dbName: string;
|
|
674
778
|
doc: {
|
|
779
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
675
780
|
_id: string;
|
|
676
781
|
businessId: string;
|
|
677
782
|
profile: {
|
|
@@ -753,12 +858,14 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
753
858
|
};
|
|
754
859
|
};
|
|
755
860
|
}[] | null | undefined;
|
|
861
|
+
locationTags?: string[] | null | undefined;
|
|
756
862
|
_id: string;
|
|
757
863
|
name: string;
|
|
758
864
|
purchaseOrder: {
|
|
759
865
|
remark?: string | null | undefined;
|
|
760
866
|
ref?: string | null | undefined;
|
|
761
867
|
items: {
|
|
868
|
+
id?: string | null | undefined;
|
|
762
869
|
measurement?: {
|
|
763
870
|
id: string;
|
|
764
871
|
name: string;
|
|
@@ -768,6 +875,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
768
875
|
precision: number;
|
|
769
876
|
};
|
|
770
877
|
} | null | undefined;
|
|
878
|
+
externalId?: string | null | undefined;
|
|
771
879
|
totalCost?: {
|
|
772
880
|
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";
|
|
773
881
|
amount: number;
|
|
@@ -782,6 +890,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
782
890
|
precision: number;
|
|
783
891
|
} | null | undefined;
|
|
784
892
|
sku: {
|
|
893
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
785
894
|
trackingMeasurement?: string | null | undefined;
|
|
786
895
|
convert?: {
|
|
787
896
|
measurement?: string | null | undefined;
|
|
@@ -825,7 +934,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
825
934
|
low: number;
|
|
826
935
|
mid: number;
|
|
827
936
|
} | null | undefined;
|
|
828
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
829
937
|
unit: {
|
|
830
938
|
_id: string;
|
|
831
939
|
name: string;
|
|
@@ -846,11 +954,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
846
954
|
name: string;
|
|
847
955
|
};
|
|
848
956
|
code: string;
|
|
849
|
-
name: string;
|
|
850
957
|
quantity: {
|
|
851
958
|
amount: number;
|
|
852
959
|
precision: number;
|
|
853
960
|
};
|
|
961
|
+
name: string;
|
|
854
962
|
quantityStep: {
|
|
855
963
|
amount: number;
|
|
856
964
|
precision: number;
|
|
@@ -900,7 +1008,95 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
900
1008
|
adjustmentIds: string[];
|
|
901
1009
|
} | null | undefined;
|
|
902
1010
|
stockSnapshotId?: string | null | undefined;
|
|
903
|
-
|
|
1011
|
+
returnItems?: {
|
|
1012
|
+
id?: string | null | undefined;
|
|
1013
|
+
measurement?: {
|
|
1014
|
+
id: string;
|
|
1015
|
+
name: string;
|
|
1016
|
+
abbrev: string;
|
|
1017
|
+
conversion: {
|
|
1018
|
+
amount: number;
|
|
1019
|
+
precision: number;
|
|
1020
|
+
};
|
|
1021
|
+
} | null | undefined;
|
|
1022
|
+
externalId?: string | null | undefined;
|
|
1023
|
+
totalCost?: {
|
|
1024
|
+
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";
|
|
1025
|
+
amount: number;
|
|
1026
|
+
precision: number;
|
|
1027
|
+
} | null | undefined;
|
|
1028
|
+
sku: {
|
|
1029
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
1030
|
+
trackingMeasurement?: string | null | undefined;
|
|
1031
|
+
convert?: {
|
|
1032
|
+
measurement?: string | null | undefined;
|
|
1033
|
+
inventoryBindings?: {
|
|
1034
|
+
measurement?: {
|
|
1035
|
+
id: string;
|
|
1036
|
+
name: string;
|
|
1037
|
+
abbrev: string;
|
|
1038
|
+
conversion: {
|
|
1039
|
+
amount: number;
|
|
1040
|
+
precision: number;
|
|
1041
|
+
};
|
|
1042
|
+
} | null | undefined;
|
|
1043
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1044
|
+
amount: {
|
|
1045
|
+
amount: number;
|
|
1046
|
+
precision: number;
|
|
1047
|
+
};
|
|
1048
|
+
id: string;
|
|
1049
|
+
}[] | null | undefined;
|
|
1050
|
+
} | null | undefined;
|
|
1051
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1052
|
+
defaultCost?: {
|
|
1053
|
+
measurement?: {
|
|
1054
|
+
id: string;
|
|
1055
|
+
name: string;
|
|
1056
|
+
abbrev: string;
|
|
1057
|
+
conversion: {
|
|
1058
|
+
amount: number;
|
|
1059
|
+
precision: number;
|
|
1060
|
+
};
|
|
1061
|
+
} | null | undefined;
|
|
1062
|
+
costPerUnit: {
|
|
1063
|
+
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";
|
|
1064
|
+
amount: number;
|
|
1065
|
+
precision: number;
|
|
1066
|
+
};
|
|
1067
|
+
} | null | undefined;
|
|
1068
|
+
operationalGroup?: string | null | undefined;
|
|
1069
|
+
thresholds?: {
|
|
1070
|
+
low: number;
|
|
1071
|
+
mid: number;
|
|
1072
|
+
} | null | undefined;
|
|
1073
|
+
unit: {
|
|
1074
|
+
_id: string;
|
|
1075
|
+
name: string;
|
|
1076
|
+
abbrev: string;
|
|
1077
|
+
precision: number;
|
|
1078
|
+
measurements: {
|
|
1079
|
+
id: string;
|
|
1080
|
+
name: string;
|
|
1081
|
+
abbrev: string;
|
|
1082
|
+
conversion: {
|
|
1083
|
+
amount: number;
|
|
1084
|
+
precision: number;
|
|
1085
|
+
};
|
|
1086
|
+
}[];
|
|
1087
|
+
};
|
|
1088
|
+
code: string;
|
|
1089
|
+
_id: string;
|
|
1090
|
+
name: string;
|
|
1091
|
+
};
|
|
1092
|
+
code: string;
|
|
1093
|
+
quantity: {
|
|
1094
|
+
amount: number;
|
|
1095
|
+
precision: number;
|
|
1096
|
+
};
|
|
1097
|
+
name: string;
|
|
1098
|
+
}[] | null | undefined;
|
|
1099
|
+
stockReturnRef?: string | null | undefined;
|
|
904
1100
|
deliveryFullfillment?: {
|
|
905
1101
|
remark?: string | null | undefined;
|
|
906
1102
|
adjustment?: string | null | undefined;
|
|
@@ -914,6 +1110,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
914
1110
|
amount: number;
|
|
915
1111
|
precision: number;
|
|
916
1112
|
} | null | undefined;
|
|
1113
|
+
id?: string | null | undefined;
|
|
917
1114
|
measurement?: {
|
|
918
1115
|
id: string;
|
|
919
1116
|
name: string;
|
|
@@ -923,7 +1120,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
923
1120
|
precision: number;
|
|
924
1121
|
};
|
|
925
1122
|
} | null | undefined;
|
|
1123
|
+
externalId?: string | null | undefined;
|
|
926
1124
|
sku: {
|
|
1125
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
927
1126
|
trackingMeasurement?: string | null | undefined;
|
|
928
1127
|
convert?: {
|
|
929
1128
|
measurement?: string | null | undefined;
|
|
@@ -967,7 +1166,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
967
1166
|
low: number;
|
|
968
1167
|
mid: number;
|
|
969
1168
|
} | null | undefined;
|
|
970
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
971
1169
|
unit: {
|
|
972
1170
|
_id: string;
|
|
973
1171
|
name: string;
|
|
@@ -995,10 +1193,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
995
1193
|
id: string;
|
|
996
1194
|
createdAt: string;
|
|
997
1195
|
}[] | null | undefined;
|
|
998
|
-
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL";
|
|
1196
|
+
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "CLOSE";
|
|
999
1197
|
_id: string;
|
|
1000
1198
|
seqNumber: number;
|
|
1001
1199
|
items: {
|
|
1200
|
+
id?: string | null | undefined;
|
|
1002
1201
|
measurement?: {
|
|
1003
1202
|
id: string;
|
|
1004
1203
|
name: string;
|
|
@@ -1008,12 +1207,14 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1008
1207
|
precision: number;
|
|
1009
1208
|
};
|
|
1010
1209
|
} | null | undefined;
|
|
1210
|
+
externalId?: string | null | undefined;
|
|
1011
1211
|
totalCost?: {
|
|
1012
1212
|
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";
|
|
1013
1213
|
amount: number;
|
|
1014
1214
|
precision: number;
|
|
1015
1215
|
} | null | undefined;
|
|
1016
1216
|
sku: {
|
|
1217
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
1017
1218
|
trackingMeasurement?: string | null | undefined;
|
|
1018
1219
|
convert?: {
|
|
1019
1220
|
measurement?: string | null | undefined;
|
|
@@ -1057,7 +1258,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1057
1258
|
low: number;
|
|
1058
1259
|
mid: number;
|
|
1059
1260
|
} | null | undefined;
|
|
1060
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
1061
1261
|
unit: {
|
|
1062
1262
|
_id: string;
|
|
1063
1263
|
name: string;
|
|
@@ -1078,11 +1278,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1078
1278
|
name: string;
|
|
1079
1279
|
};
|
|
1080
1280
|
code: string;
|
|
1081
|
-
name: string;
|
|
1082
1281
|
quantity: {
|
|
1083
1282
|
amount: number;
|
|
1084
1283
|
precision: number;
|
|
1085
1284
|
};
|
|
1285
|
+
name: string;
|
|
1086
1286
|
}[];
|
|
1087
1287
|
supplier: {
|
|
1088
1288
|
phoneNumber?: string | null | undefined;
|
|
@@ -1123,7 +1323,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1123
1323
|
};
|
|
1124
1324
|
deliveryOrder: {
|
|
1125
1325
|
remark?: string | null | undefined;
|
|
1326
|
+
id?: string | null | undefined;
|
|
1126
1327
|
adjustment?: string | null | undefined;
|
|
1328
|
+
effectiveAt?: string | null | undefined;
|
|
1127
1329
|
fullfillmentId?: string | null | undefined;
|
|
1128
1330
|
netSuite?: {
|
|
1129
1331
|
refNo?: string | null | undefined;
|
|
@@ -1135,6 +1337,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1135
1337
|
amount: number;
|
|
1136
1338
|
precision: number;
|
|
1137
1339
|
} | null | undefined;
|
|
1340
|
+
id?: string | null | undefined;
|
|
1138
1341
|
measurement?: {
|
|
1139
1342
|
id: string;
|
|
1140
1343
|
name: string;
|
|
@@ -1144,7 +1347,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1144
1347
|
precision: number;
|
|
1145
1348
|
};
|
|
1146
1349
|
} | null | undefined;
|
|
1350
|
+
externalId?: string | null | undefined;
|
|
1147
1351
|
sku: {
|
|
1352
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
1148
1353
|
trackingMeasurement?: string | null | undefined;
|
|
1149
1354
|
convert?: {
|
|
1150
1355
|
measurement?: string | null | undefined;
|
|
@@ -1188,7 +1393,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1188
1393
|
low: number;
|
|
1189
1394
|
mid: number;
|
|
1190
1395
|
} | null | undefined;
|
|
1191
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
1192
1396
|
unit: {
|
|
1193
1397
|
_id: string;
|
|
1194
1398
|
name: string;
|
|
@@ -1220,7 +1424,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1220
1424
|
createdAt: string;
|
|
1221
1425
|
deliveryOrderNumber: string;
|
|
1222
1426
|
}[];
|
|
1223
|
-
}, unknown>): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1427
|
+
} & RevisionIdMeta, unknown>): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1224
1428
|
[key: string]: any;
|
|
1225
1429
|
}>;
|
|
1226
1430
|
enableSorting: true;
|
|
@@ -1234,6 +1438,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1234
1438
|
remark?: string | null | undefined;
|
|
1235
1439
|
ref?: string | null | undefined;
|
|
1236
1440
|
_rev?: string | null | undefined;
|
|
1441
|
+
effectiveAt?: string | null | undefined;
|
|
1237
1442
|
netSuite?: {
|
|
1238
1443
|
refNo?: string | null | undefined;
|
|
1239
1444
|
sync?: boolean | null | undefined;
|
|
@@ -1266,6 +1471,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1266
1471
|
acceptRequest: boolean;
|
|
1267
1472
|
dbName: string;
|
|
1268
1473
|
doc: {
|
|
1474
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
1269
1475
|
_id: string;
|
|
1270
1476
|
businessId: string;
|
|
1271
1477
|
profile: {
|
|
@@ -1347,12 +1553,14 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1347
1553
|
};
|
|
1348
1554
|
};
|
|
1349
1555
|
}[] | null | undefined;
|
|
1556
|
+
locationTags?: string[] | null | undefined;
|
|
1350
1557
|
_id: string;
|
|
1351
1558
|
name: string;
|
|
1352
1559
|
purchaseOrder: {
|
|
1353
1560
|
remark?: string | null | undefined;
|
|
1354
1561
|
ref?: string | null | undefined;
|
|
1355
1562
|
items: {
|
|
1563
|
+
id?: string | null | undefined;
|
|
1356
1564
|
measurement?: {
|
|
1357
1565
|
id: string;
|
|
1358
1566
|
name: string;
|
|
@@ -1362,6 +1570,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1362
1570
|
precision: number;
|
|
1363
1571
|
};
|
|
1364
1572
|
} | null | undefined;
|
|
1573
|
+
externalId?: string | null | undefined;
|
|
1365
1574
|
totalCost?: {
|
|
1366
1575
|
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";
|
|
1367
1576
|
amount: number;
|
|
@@ -1376,6 +1585,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1376
1585
|
precision: number;
|
|
1377
1586
|
} | null | undefined;
|
|
1378
1587
|
sku: {
|
|
1588
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
1379
1589
|
trackingMeasurement?: string | null | undefined;
|
|
1380
1590
|
convert?: {
|
|
1381
1591
|
measurement?: string | null | undefined;
|
|
@@ -1419,7 +1629,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1419
1629
|
low: number;
|
|
1420
1630
|
mid: number;
|
|
1421
1631
|
} | null | undefined;
|
|
1422
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
1423
1632
|
unit: {
|
|
1424
1633
|
_id: string;
|
|
1425
1634
|
name: string;
|
|
@@ -1440,11 +1649,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1440
1649
|
name: string;
|
|
1441
1650
|
};
|
|
1442
1651
|
code: string;
|
|
1443
|
-
name: string;
|
|
1444
1652
|
quantity: {
|
|
1445
1653
|
amount: number;
|
|
1446
1654
|
precision: number;
|
|
1447
1655
|
};
|
|
1656
|
+
name: string;
|
|
1448
1657
|
quantityStep: {
|
|
1449
1658
|
amount: number;
|
|
1450
1659
|
precision: number;
|
|
@@ -1494,7 +1703,95 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1494
1703
|
adjustmentIds: string[];
|
|
1495
1704
|
} | null | undefined;
|
|
1496
1705
|
stockSnapshotId?: string | null | undefined;
|
|
1497
|
-
|
|
1706
|
+
returnItems?: {
|
|
1707
|
+
id?: string | null | undefined;
|
|
1708
|
+
measurement?: {
|
|
1709
|
+
id: string;
|
|
1710
|
+
name: string;
|
|
1711
|
+
abbrev: string;
|
|
1712
|
+
conversion: {
|
|
1713
|
+
amount: number;
|
|
1714
|
+
precision: number;
|
|
1715
|
+
};
|
|
1716
|
+
} | null | undefined;
|
|
1717
|
+
externalId?: string | null | undefined;
|
|
1718
|
+
totalCost?: {
|
|
1719
|
+
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";
|
|
1720
|
+
amount: number;
|
|
1721
|
+
precision: number;
|
|
1722
|
+
} | null | undefined;
|
|
1723
|
+
sku: {
|
|
1724
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
1725
|
+
trackingMeasurement?: string | null | undefined;
|
|
1726
|
+
convert?: {
|
|
1727
|
+
measurement?: string | null | undefined;
|
|
1728
|
+
inventoryBindings?: {
|
|
1729
|
+
measurement?: {
|
|
1730
|
+
id: string;
|
|
1731
|
+
name: string;
|
|
1732
|
+
abbrev: string;
|
|
1733
|
+
conversion: {
|
|
1734
|
+
amount: number;
|
|
1735
|
+
precision: number;
|
|
1736
|
+
};
|
|
1737
|
+
} | null | undefined;
|
|
1738
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1739
|
+
amount: {
|
|
1740
|
+
amount: number;
|
|
1741
|
+
precision: number;
|
|
1742
|
+
};
|
|
1743
|
+
id: string;
|
|
1744
|
+
}[] | null | undefined;
|
|
1745
|
+
} | null | undefined;
|
|
1746
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
1747
|
+
defaultCost?: {
|
|
1748
|
+
measurement?: {
|
|
1749
|
+
id: string;
|
|
1750
|
+
name: string;
|
|
1751
|
+
abbrev: string;
|
|
1752
|
+
conversion: {
|
|
1753
|
+
amount: number;
|
|
1754
|
+
precision: number;
|
|
1755
|
+
};
|
|
1756
|
+
} | null | undefined;
|
|
1757
|
+
costPerUnit: {
|
|
1758
|
+
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";
|
|
1759
|
+
amount: number;
|
|
1760
|
+
precision: number;
|
|
1761
|
+
};
|
|
1762
|
+
} | null | undefined;
|
|
1763
|
+
operationalGroup?: string | null | undefined;
|
|
1764
|
+
thresholds?: {
|
|
1765
|
+
low: number;
|
|
1766
|
+
mid: number;
|
|
1767
|
+
} | null | undefined;
|
|
1768
|
+
unit: {
|
|
1769
|
+
_id: string;
|
|
1770
|
+
name: string;
|
|
1771
|
+
abbrev: string;
|
|
1772
|
+
precision: number;
|
|
1773
|
+
measurements: {
|
|
1774
|
+
id: string;
|
|
1775
|
+
name: string;
|
|
1776
|
+
abbrev: string;
|
|
1777
|
+
conversion: {
|
|
1778
|
+
amount: number;
|
|
1779
|
+
precision: number;
|
|
1780
|
+
};
|
|
1781
|
+
}[];
|
|
1782
|
+
};
|
|
1783
|
+
code: string;
|
|
1784
|
+
_id: string;
|
|
1785
|
+
name: string;
|
|
1786
|
+
};
|
|
1787
|
+
code: string;
|
|
1788
|
+
quantity: {
|
|
1789
|
+
amount: number;
|
|
1790
|
+
precision: number;
|
|
1791
|
+
};
|
|
1792
|
+
name: string;
|
|
1793
|
+
}[] | null | undefined;
|
|
1794
|
+
stockReturnRef?: string | null | undefined;
|
|
1498
1795
|
deliveryFullfillment?: {
|
|
1499
1796
|
remark?: string | null | undefined;
|
|
1500
1797
|
adjustment?: string | null | undefined;
|
|
@@ -1508,6 +1805,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1508
1805
|
amount: number;
|
|
1509
1806
|
precision: number;
|
|
1510
1807
|
} | null | undefined;
|
|
1808
|
+
id?: string | null | undefined;
|
|
1511
1809
|
measurement?: {
|
|
1512
1810
|
id: string;
|
|
1513
1811
|
name: string;
|
|
@@ -1517,7 +1815,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1517
1815
|
precision: number;
|
|
1518
1816
|
};
|
|
1519
1817
|
} | null | undefined;
|
|
1818
|
+
externalId?: string | null | undefined;
|
|
1520
1819
|
sku: {
|
|
1820
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
1521
1821
|
trackingMeasurement?: string | null | undefined;
|
|
1522
1822
|
convert?: {
|
|
1523
1823
|
measurement?: string | null | undefined;
|
|
@@ -1561,7 +1861,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1561
1861
|
low: number;
|
|
1562
1862
|
mid: number;
|
|
1563
1863
|
} | null | undefined;
|
|
1564
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
1565
1864
|
unit: {
|
|
1566
1865
|
_id: string;
|
|
1567
1866
|
name: string;
|
|
@@ -1589,10 +1888,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1589
1888
|
id: string;
|
|
1590
1889
|
createdAt: string;
|
|
1591
1890
|
}[] | null | undefined;
|
|
1592
|
-
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL";
|
|
1891
|
+
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "CLOSE";
|
|
1593
1892
|
_id: string;
|
|
1594
1893
|
seqNumber: number;
|
|
1595
1894
|
items: {
|
|
1895
|
+
id?: string | null | undefined;
|
|
1596
1896
|
measurement?: {
|
|
1597
1897
|
id: string;
|
|
1598
1898
|
name: string;
|
|
@@ -1602,12 +1902,14 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1602
1902
|
precision: number;
|
|
1603
1903
|
};
|
|
1604
1904
|
} | null | undefined;
|
|
1905
|
+
externalId?: string | null | undefined;
|
|
1605
1906
|
totalCost?: {
|
|
1606
1907
|
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";
|
|
1607
1908
|
amount: number;
|
|
1608
1909
|
precision: number;
|
|
1609
1910
|
} | null | undefined;
|
|
1610
1911
|
sku: {
|
|
1912
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
1611
1913
|
trackingMeasurement?: string | null | undefined;
|
|
1612
1914
|
convert?: {
|
|
1613
1915
|
measurement?: string | null | undefined;
|
|
@@ -1651,7 +1953,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1651
1953
|
low: number;
|
|
1652
1954
|
mid: number;
|
|
1653
1955
|
} | null | undefined;
|
|
1654
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
1655
1956
|
unit: {
|
|
1656
1957
|
_id: string;
|
|
1657
1958
|
name: string;
|
|
@@ -1672,11 +1973,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1672
1973
|
name: string;
|
|
1673
1974
|
};
|
|
1674
1975
|
code: string;
|
|
1675
|
-
name: string;
|
|
1676
1976
|
quantity: {
|
|
1677
1977
|
amount: number;
|
|
1678
1978
|
precision: number;
|
|
1679
1979
|
};
|
|
1980
|
+
name: string;
|
|
1680
1981
|
}[];
|
|
1681
1982
|
supplier: {
|
|
1682
1983
|
phoneNumber?: string | null | undefined;
|
|
@@ -1717,7 +2018,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1717
2018
|
};
|
|
1718
2019
|
deliveryOrder: {
|
|
1719
2020
|
remark?: string | null | undefined;
|
|
2021
|
+
id?: string | null | undefined;
|
|
1720
2022
|
adjustment?: string | null | undefined;
|
|
2023
|
+
effectiveAt?: string | null | undefined;
|
|
1721
2024
|
fullfillmentId?: string | null | undefined;
|
|
1722
2025
|
netSuite?: {
|
|
1723
2026
|
refNo?: string | null | undefined;
|
|
@@ -1729,6 +2032,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1729
2032
|
amount: number;
|
|
1730
2033
|
precision: number;
|
|
1731
2034
|
} | null | undefined;
|
|
2035
|
+
id?: string | null | undefined;
|
|
1732
2036
|
measurement?: {
|
|
1733
2037
|
id: string;
|
|
1734
2038
|
name: string;
|
|
@@ -1738,7 +2042,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1738
2042
|
precision: number;
|
|
1739
2043
|
};
|
|
1740
2044
|
} | null | undefined;
|
|
2045
|
+
externalId?: string | null | undefined;
|
|
1741
2046
|
sku: {
|
|
2047
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
1742
2048
|
trackingMeasurement?: string | null | undefined;
|
|
1743
2049
|
convert?: {
|
|
1744
2050
|
measurement?: string | null | undefined;
|
|
@@ -1782,7 +2088,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1782
2088
|
low: number;
|
|
1783
2089
|
mid: number;
|
|
1784
2090
|
} | null | undefined;
|
|
1785
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
1786
2091
|
unit: {
|
|
1787
2092
|
_id: string;
|
|
1788
2093
|
name: string;
|
|
@@ -1814,7 +2119,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1814
2119
|
createdAt: string;
|
|
1815
2120
|
deliveryOrderNumber: string;
|
|
1816
2121
|
}[];
|
|
1817
|
-
}, unknown>): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2122
|
+
} & RevisionIdMeta, unknown>): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1818
2123
|
[key: string]: any;
|
|
1819
2124
|
}>;
|
|
1820
2125
|
enableSorting: false;
|
|
@@ -1863,6 +2168,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1863
2168
|
remark?: string | null | undefined;
|
|
1864
2169
|
ref?: string | null | undefined;
|
|
1865
2170
|
_rev?: string | null | undefined;
|
|
2171
|
+
effectiveAt?: string | null | undefined;
|
|
1866
2172
|
netSuite?: {
|
|
1867
2173
|
refNo?: string | null | undefined;
|
|
1868
2174
|
sync?: boolean | null | undefined;
|
|
@@ -1895,6 +2201,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1895
2201
|
acceptRequest: boolean;
|
|
1896
2202
|
dbName: string;
|
|
1897
2203
|
doc: {
|
|
2204
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
1898
2205
|
_id: string;
|
|
1899
2206
|
businessId: string;
|
|
1900
2207
|
profile: {
|
|
@@ -1976,12 +2283,14 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1976
2283
|
};
|
|
1977
2284
|
};
|
|
1978
2285
|
}[] | null | undefined;
|
|
2286
|
+
locationTags?: string[] | null | undefined;
|
|
1979
2287
|
_id: string;
|
|
1980
2288
|
name: string;
|
|
1981
2289
|
purchaseOrder: {
|
|
1982
2290
|
remark?: string | null | undefined;
|
|
1983
2291
|
ref?: string | null | undefined;
|
|
1984
2292
|
items: {
|
|
2293
|
+
id?: string | null | undefined;
|
|
1985
2294
|
measurement?: {
|
|
1986
2295
|
id: string;
|
|
1987
2296
|
name: string;
|
|
@@ -1991,6 +2300,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
1991
2300
|
precision: number;
|
|
1992
2301
|
};
|
|
1993
2302
|
} | null | undefined;
|
|
2303
|
+
externalId?: string | null | undefined;
|
|
1994
2304
|
totalCost?: {
|
|
1995
2305
|
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";
|
|
1996
2306
|
amount: number;
|
|
@@ -2005,6 +2315,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2005
2315
|
precision: number;
|
|
2006
2316
|
} | null | undefined;
|
|
2007
2317
|
sku: {
|
|
2318
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2008
2319
|
trackingMeasurement?: string | null | undefined;
|
|
2009
2320
|
convert?: {
|
|
2010
2321
|
measurement?: string | null | undefined;
|
|
@@ -2048,7 +2359,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2048
2359
|
low: number;
|
|
2049
2360
|
mid: number;
|
|
2050
2361
|
} | null | undefined;
|
|
2051
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
2052
2362
|
unit: {
|
|
2053
2363
|
_id: string;
|
|
2054
2364
|
name: string;
|
|
@@ -2069,11 +2379,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2069
2379
|
name: string;
|
|
2070
2380
|
};
|
|
2071
2381
|
code: string;
|
|
2072
|
-
name: string;
|
|
2073
2382
|
quantity: {
|
|
2074
2383
|
amount: number;
|
|
2075
2384
|
precision: number;
|
|
2076
2385
|
};
|
|
2386
|
+
name: string;
|
|
2077
2387
|
quantityStep: {
|
|
2078
2388
|
amount: number;
|
|
2079
2389
|
precision: number;
|
|
@@ -2107,23 +2417,111 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2107
2417
|
}[] | null | undefined;
|
|
2108
2418
|
_id: string;
|
|
2109
2419
|
name: string;
|
|
2110
|
-
address: {
|
|
2111
|
-
line2?: string | null | undefined;
|
|
2112
|
-
line1: string;
|
|
2113
|
-
state: string;
|
|
2114
|
-
city: string;
|
|
2115
|
-
postcode: string;
|
|
2116
|
-
country: string;
|
|
2117
|
-
};
|
|
2420
|
+
address: {
|
|
2421
|
+
line2?: string | null | undefined;
|
|
2422
|
+
line1: string;
|
|
2423
|
+
state: string;
|
|
2424
|
+
city: string;
|
|
2425
|
+
postcode: string;
|
|
2426
|
+
country: string;
|
|
2427
|
+
};
|
|
2428
|
+
};
|
|
2429
|
+
};
|
|
2430
|
+
} | null | undefined;
|
|
2431
|
+
request?: {
|
|
2432
|
+
id: string;
|
|
2433
|
+
adjustmentIds: string[];
|
|
2434
|
+
} | null | undefined;
|
|
2435
|
+
stockSnapshotId?: string | null | undefined;
|
|
2436
|
+
returnItems?: {
|
|
2437
|
+
id?: string | null | undefined;
|
|
2438
|
+
measurement?: {
|
|
2439
|
+
id: string;
|
|
2440
|
+
name: string;
|
|
2441
|
+
abbrev: string;
|
|
2442
|
+
conversion: {
|
|
2443
|
+
amount: number;
|
|
2444
|
+
precision: number;
|
|
2445
|
+
};
|
|
2446
|
+
} | null | undefined;
|
|
2447
|
+
externalId?: string | null | undefined;
|
|
2448
|
+
totalCost?: {
|
|
2449
|
+
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";
|
|
2450
|
+
amount: number;
|
|
2451
|
+
precision: number;
|
|
2452
|
+
} | null | undefined;
|
|
2453
|
+
sku: {
|
|
2454
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2455
|
+
trackingMeasurement?: string | null | undefined;
|
|
2456
|
+
convert?: {
|
|
2457
|
+
measurement?: string | null | undefined;
|
|
2458
|
+
inventoryBindings?: {
|
|
2459
|
+
measurement?: {
|
|
2460
|
+
id: string;
|
|
2461
|
+
name: string;
|
|
2462
|
+
abbrev: string;
|
|
2463
|
+
conversion: {
|
|
2464
|
+
amount: number;
|
|
2465
|
+
precision: number;
|
|
2466
|
+
};
|
|
2467
|
+
} | null | undefined;
|
|
2468
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2469
|
+
amount: {
|
|
2470
|
+
amount: number;
|
|
2471
|
+
precision: number;
|
|
2472
|
+
};
|
|
2473
|
+
id: string;
|
|
2474
|
+
}[] | null | undefined;
|
|
2475
|
+
} | null | undefined;
|
|
2476
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
2477
|
+
defaultCost?: {
|
|
2478
|
+
measurement?: {
|
|
2479
|
+
id: string;
|
|
2480
|
+
name: string;
|
|
2481
|
+
abbrev: string;
|
|
2482
|
+
conversion: {
|
|
2483
|
+
amount: number;
|
|
2484
|
+
precision: number;
|
|
2485
|
+
};
|
|
2486
|
+
} | null | undefined;
|
|
2487
|
+
costPerUnit: {
|
|
2488
|
+
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";
|
|
2489
|
+
amount: number;
|
|
2490
|
+
precision: number;
|
|
2491
|
+
};
|
|
2492
|
+
} | null | undefined;
|
|
2493
|
+
operationalGroup?: string | null | undefined;
|
|
2494
|
+
thresholds?: {
|
|
2495
|
+
low: number;
|
|
2496
|
+
mid: number;
|
|
2497
|
+
} | null | undefined;
|
|
2498
|
+
unit: {
|
|
2499
|
+
_id: string;
|
|
2500
|
+
name: string;
|
|
2501
|
+
abbrev: string;
|
|
2502
|
+
precision: number;
|
|
2503
|
+
measurements: {
|
|
2504
|
+
id: string;
|
|
2505
|
+
name: string;
|
|
2506
|
+
abbrev: string;
|
|
2507
|
+
conversion: {
|
|
2508
|
+
amount: number;
|
|
2509
|
+
precision: number;
|
|
2510
|
+
};
|
|
2511
|
+
}[];
|
|
2118
2512
|
};
|
|
2513
|
+
code: string;
|
|
2514
|
+
_id: string;
|
|
2515
|
+
name: string;
|
|
2119
2516
|
};
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2517
|
+
code: string;
|
|
2518
|
+
quantity: {
|
|
2519
|
+
amount: number;
|
|
2520
|
+
precision: number;
|
|
2521
|
+
};
|
|
2522
|
+
name: string;
|
|
2523
|
+
}[] | null | undefined;
|
|
2524
|
+
stockReturnRef?: string | null | undefined;
|
|
2127
2525
|
deliveryFullfillment?: {
|
|
2128
2526
|
remark?: string | null | undefined;
|
|
2129
2527
|
adjustment?: string | null | undefined;
|
|
@@ -2137,6 +2535,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2137
2535
|
amount: number;
|
|
2138
2536
|
precision: number;
|
|
2139
2537
|
} | null | undefined;
|
|
2538
|
+
id?: string | null | undefined;
|
|
2140
2539
|
measurement?: {
|
|
2141
2540
|
id: string;
|
|
2142
2541
|
name: string;
|
|
@@ -2146,7 +2545,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2146
2545
|
precision: number;
|
|
2147
2546
|
};
|
|
2148
2547
|
} | null | undefined;
|
|
2548
|
+
externalId?: string | null | undefined;
|
|
2149
2549
|
sku: {
|
|
2550
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2150
2551
|
trackingMeasurement?: string | null | undefined;
|
|
2151
2552
|
convert?: {
|
|
2152
2553
|
measurement?: string | null | undefined;
|
|
@@ -2190,7 +2591,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2190
2591
|
low: number;
|
|
2191
2592
|
mid: number;
|
|
2192
2593
|
} | null | undefined;
|
|
2193
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
2194
2594
|
unit: {
|
|
2195
2595
|
_id: string;
|
|
2196
2596
|
name: string;
|
|
@@ -2218,10 +2618,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2218
2618
|
id: string;
|
|
2219
2619
|
createdAt: string;
|
|
2220
2620
|
}[] | null | undefined;
|
|
2221
|
-
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL";
|
|
2621
|
+
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "CLOSE";
|
|
2222
2622
|
_id: string;
|
|
2223
2623
|
seqNumber: number;
|
|
2224
2624
|
items: {
|
|
2625
|
+
id?: string | null | undefined;
|
|
2225
2626
|
measurement?: {
|
|
2226
2627
|
id: string;
|
|
2227
2628
|
name: string;
|
|
@@ -2231,12 +2632,14 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2231
2632
|
precision: number;
|
|
2232
2633
|
};
|
|
2233
2634
|
} | null | undefined;
|
|
2635
|
+
externalId?: string | null | undefined;
|
|
2234
2636
|
totalCost?: {
|
|
2235
2637
|
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";
|
|
2236
2638
|
amount: number;
|
|
2237
2639
|
precision: number;
|
|
2238
2640
|
} | null | undefined;
|
|
2239
2641
|
sku: {
|
|
2642
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2240
2643
|
trackingMeasurement?: string | null | undefined;
|
|
2241
2644
|
convert?: {
|
|
2242
2645
|
measurement?: string | null | undefined;
|
|
@@ -2280,7 +2683,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2280
2683
|
low: number;
|
|
2281
2684
|
mid: number;
|
|
2282
2685
|
} | null | undefined;
|
|
2283
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
2284
2686
|
unit: {
|
|
2285
2687
|
_id: string;
|
|
2286
2688
|
name: string;
|
|
@@ -2301,11 +2703,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2301
2703
|
name: string;
|
|
2302
2704
|
};
|
|
2303
2705
|
code: string;
|
|
2304
|
-
name: string;
|
|
2305
2706
|
quantity: {
|
|
2306
2707
|
amount: number;
|
|
2307
2708
|
precision: number;
|
|
2308
2709
|
};
|
|
2710
|
+
name: string;
|
|
2309
2711
|
}[];
|
|
2310
2712
|
supplier: {
|
|
2311
2713
|
phoneNumber?: string | null | undefined;
|
|
@@ -2346,7 +2748,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2346
2748
|
};
|
|
2347
2749
|
deliveryOrder: {
|
|
2348
2750
|
remark?: string | null | undefined;
|
|
2751
|
+
id?: string | null | undefined;
|
|
2349
2752
|
adjustment?: string | null | undefined;
|
|
2753
|
+
effectiveAt?: string | null | undefined;
|
|
2350
2754
|
fullfillmentId?: string | null | undefined;
|
|
2351
2755
|
netSuite?: {
|
|
2352
2756
|
refNo?: string | null | undefined;
|
|
@@ -2358,6 +2762,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2358
2762
|
amount: number;
|
|
2359
2763
|
precision: number;
|
|
2360
2764
|
} | null | undefined;
|
|
2765
|
+
id?: string | null | undefined;
|
|
2361
2766
|
measurement?: {
|
|
2362
2767
|
id: string;
|
|
2363
2768
|
name: string;
|
|
@@ -2367,7 +2772,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2367
2772
|
precision: number;
|
|
2368
2773
|
};
|
|
2369
2774
|
} | null | undefined;
|
|
2775
|
+
externalId?: string | null | undefined;
|
|
2370
2776
|
sku: {
|
|
2777
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2371
2778
|
trackingMeasurement?: string | null | undefined;
|
|
2372
2779
|
convert?: {
|
|
2373
2780
|
measurement?: string | null | undefined;
|
|
@@ -2411,7 +2818,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2411
2818
|
low: number;
|
|
2412
2819
|
mid: number;
|
|
2413
2820
|
} | null | undefined;
|
|
2414
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
2415
2821
|
unit: {
|
|
2416
2822
|
_id: string;
|
|
2417
2823
|
name: string;
|
|
@@ -2457,7 +2863,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2457
2863
|
processedAt: string | null;
|
|
2458
2864
|
rejectedAt: string | null;
|
|
2459
2865
|
adjusmentIds: string[];
|
|
2460
|
-
}, unknown>): string;
|
|
2866
|
+
} & WithToInventoryLocation, unknown>): string;
|
|
2461
2867
|
enableSorting: true;
|
|
2462
2868
|
size?: undefined;
|
|
2463
2869
|
sortUndefined?: undefined;
|
|
@@ -2517,6 +2923,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2517
2923
|
remark?: string | null | undefined;
|
|
2518
2924
|
ref?: string | null | undefined;
|
|
2519
2925
|
_rev?: string | null | undefined;
|
|
2926
|
+
effectiveAt?: string | null | undefined;
|
|
2520
2927
|
netSuite?: {
|
|
2521
2928
|
refNo?: string | null | undefined;
|
|
2522
2929
|
sync?: boolean | null | undefined;
|
|
@@ -2549,6 +2956,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2549
2956
|
acceptRequest: boolean;
|
|
2550
2957
|
dbName: string;
|
|
2551
2958
|
doc: {
|
|
2959
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2552
2960
|
_id: string;
|
|
2553
2961
|
businessId: string;
|
|
2554
2962
|
profile: {
|
|
@@ -2630,12 +3038,14 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2630
3038
|
};
|
|
2631
3039
|
};
|
|
2632
3040
|
}[] | null | undefined;
|
|
3041
|
+
locationTags?: string[] | null | undefined;
|
|
2633
3042
|
_id: string;
|
|
2634
3043
|
name: string;
|
|
2635
3044
|
purchaseOrder: {
|
|
2636
3045
|
remark?: string | null | undefined;
|
|
2637
3046
|
ref?: string | null | undefined;
|
|
2638
3047
|
items: {
|
|
3048
|
+
id?: string | null | undefined;
|
|
2639
3049
|
measurement?: {
|
|
2640
3050
|
id: string;
|
|
2641
3051
|
name: string;
|
|
@@ -2645,6 +3055,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2645
3055
|
precision: number;
|
|
2646
3056
|
};
|
|
2647
3057
|
} | null | undefined;
|
|
3058
|
+
externalId?: string | null | undefined;
|
|
2648
3059
|
totalCost?: {
|
|
2649
3060
|
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";
|
|
2650
3061
|
amount: number;
|
|
@@ -2659,6 +3070,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2659
3070
|
precision: number;
|
|
2660
3071
|
} | null | undefined;
|
|
2661
3072
|
sku: {
|
|
3073
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2662
3074
|
trackingMeasurement?: string | null | undefined;
|
|
2663
3075
|
convert?: {
|
|
2664
3076
|
measurement?: string | null | undefined;
|
|
@@ -2702,7 +3114,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2702
3114
|
low: number;
|
|
2703
3115
|
mid: number;
|
|
2704
3116
|
} | null | undefined;
|
|
2705
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
2706
3117
|
unit: {
|
|
2707
3118
|
_id: string;
|
|
2708
3119
|
name: string;
|
|
@@ -2723,11 +3134,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2723
3134
|
name: string;
|
|
2724
3135
|
};
|
|
2725
3136
|
code: string;
|
|
2726
|
-
name: string;
|
|
2727
3137
|
quantity: {
|
|
2728
3138
|
amount: number;
|
|
2729
3139
|
precision: number;
|
|
2730
3140
|
};
|
|
3141
|
+
name: string;
|
|
2731
3142
|
quantityStep: {
|
|
2732
3143
|
amount: number;
|
|
2733
3144
|
precision: number;
|
|
@@ -2777,7 +3188,95 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2777
3188
|
adjustmentIds: string[];
|
|
2778
3189
|
} | null | undefined;
|
|
2779
3190
|
stockSnapshotId?: string | null | undefined;
|
|
2780
|
-
|
|
3191
|
+
returnItems?: {
|
|
3192
|
+
id?: string | null | undefined;
|
|
3193
|
+
measurement?: {
|
|
3194
|
+
id: string;
|
|
3195
|
+
name: string;
|
|
3196
|
+
abbrev: string;
|
|
3197
|
+
conversion: {
|
|
3198
|
+
amount: number;
|
|
3199
|
+
precision: number;
|
|
3200
|
+
};
|
|
3201
|
+
} | null | undefined;
|
|
3202
|
+
externalId?: string | null | undefined;
|
|
3203
|
+
totalCost?: {
|
|
3204
|
+
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";
|
|
3205
|
+
amount: number;
|
|
3206
|
+
precision: number;
|
|
3207
|
+
} | null | undefined;
|
|
3208
|
+
sku: {
|
|
3209
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
3210
|
+
trackingMeasurement?: string | null | undefined;
|
|
3211
|
+
convert?: {
|
|
3212
|
+
measurement?: string | null | undefined;
|
|
3213
|
+
inventoryBindings?: {
|
|
3214
|
+
measurement?: {
|
|
3215
|
+
id: string;
|
|
3216
|
+
name: string;
|
|
3217
|
+
abbrev: string;
|
|
3218
|
+
conversion: {
|
|
3219
|
+
amount: number;
|
|
3220
|
+
precision: number;
|
|
3221
|
+
};
|
|
3222
|
+
} | null | undefined;
|
|
3223
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3224
|
+
amount: {
|
|
3225
|
+
amount: number;
|
|
3226
|
+
precision: number;
|
|
3227
|
+
};
|
|
3228
|
+
id: string;
|
|
3229
|
+
}[] | null | undefined;
|
|
3230
|
+
} | null | undefined;
|
|
3231
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
3232
|
+
defaultCost?: {
|
|
3233
|
+
measurement?: {
|
|
3234
|
+
id: string;
|
|
3235
|
+
name: string;
|
|
3236
|
+
abbrev: string;
|
|
3237
|
+
conversion: {
|
|
3238
|
+
amount: number;
|
|
3239
|
+
precision: number;
|
|
3240
|
+
};
|
|
3241
|
+
} | null | undefined;
|
|
3242
|
+
costPerUnit: {
|
|
3243
|
+
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";
|
|
3244
|
+
amount: number;
|
|
3245
|
+
precision: number;
|
|
3246
|
+
};
|
|
3247
|
+
} | null | undefined;
|
|
3248
|
+
operationalGroup?: string | null | undefined;
|
|
3249
|
+
thresholds?: {
|
|
3250
|
+
low: number;
|
|
3251
|
+
mid: number;
|
|
3252
|
+
} | null | undefined;
|
|
3253
|
+
unit: {
|
|
3254
|
+
_id: string;
|
|
3255
|
+
name: string;
|
|
3256
|
+
abbrev: string;
|
|
3257
|
+
precision: number;
|
|
3258
|
+
measurements: {
|
|
3259
|
+
id: string;
|
|
3260
|
+
name: string;
|
|
3261
|
+
abbrev: string;
|
|
3262
|
+
conversion: {
|
|
3263
|
+
amount: number;
|
|
3264
|
+
precision: number;
|
|
3265
|
+
};
|
|
3266
|
+
}[];
|
|
3267
|
+
};
|
|
3268
|
+
code: string;
|
|
3269
|
+
_id: string;
|
|
3270
|
+
name: string;
|
|
3271
|
+
};
|
|
3272
|
+
code: string;
|
|
3273
|
+
quantity: {
|
|
3274
|
+
amount: number;
|
|
3275
|
+
precision: number;
|
|
3276
|
+
};
|
|
3277
|
+
name: string;
|
|
3278
|
+
}[] | null | undefined;
|
|
3279
|
+
stockReturnRef?: string | null | undefined;
|
|
2781
3280
|
deliveryFullfillment?: {
|
|
2782
3281
|
remark?: string | null | undefined;
|
|
2783
3282
|
adjustment?: string | null | undefined;
|
|
@@ -2791,6 +3290,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2791
3290
|
amount: number;
|
|
2792
3291
|
precision: number;
|
|
2793
3292
|
} | null | undefined;
|
|
3293
|
+
id?: string | null | undefined;
|
|
2794
3294
|
measurement?: {
|
|
2795
3295
|
id: string;
|
|
2796
3296
|
name: string;
|
|
@@ -2800,7 +3300,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2800
3300
|
precision: number;
|
|
2801
3301
|
};
|
|
2802
3302
|
} | null | undefined;
|
|
3303
|
+
externalId?: string | null | undefined;
|
|
2803
3304
|
sku: {
|
|
3305
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2804
3306
|
trackingMeasurement?: string | null | undefined;
|
|
2805
3307
|
convert?: {
|
|
2806
3308
|
measurement?: string | null | undefined;
|
|
@@ -2844,7 +3346,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2844
3346
|
low: number;
|
|
2845
3347
|
mid: number;
|
|
2846
3348
|
} | null | undefined;
|
|
2847
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
2848
3349
|
unit: {
|
|
2849
3350
|
_id: string;
|
|
2850
3351
|
name: string;
|
|
@@ -2872,10 +3373,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2872
3373
|
id: string;
|
|
2873
3374
|
createdAt: string;
|
|
2874
3375
|
}[] | null | undefined;
|
|
2875
|
-
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL";
|
|
3376
|
+
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "CLOSE";
|
|
2876
3377
|
_id: string;
|
|
2877
3378
|
seqNumber: number;
|
|
2878
3379
|
items: {
|
|
3380
|
+
id?: string | null | undefined;
|
|
2879
3381
|
measurement?: {
|
|
2880
3382
|
id: string;
|
|
2881
3383
|
name: string;
|
|
@@ -2885,12 +3387,14 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2885
3387
|
precision: number;
|
|
2886
3388
|
};
|
|
2887
3389
|
} | null | undefined;
|
|
3390
|
+
externalId?: string | null | undefined;
|
|
2888
3391
|
totalCost?: {
|
|
2889
3392
|
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";
|
|
2890
3393
|
amount: number;
|
|
2891
3394
|
precision: number;
|
|
2892
3395
|
} | null | undefined;
|
|
2893
3396
|
sku: {
|
|
3397
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2894
3398
|
trackingMeasurement?: string | null | undefined;
|
|
2895
3399
|
convert?: {
|
|
2896
3400
|
measurement?: string | null | undefined;
|
|
@@ -2934,7 +3438,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2934
3438
|
low: number;
|
|
2935
3439
|
mid: number;
|
|
2936
3440
|
} | null | undefined;
|
|
2937
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
2938
3441
|
unit: {
|
|
2939
3442
|
_id: string;
|
|
2940
3443
|
name: string;
|
|
@@ -2955,11 +3458,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
2955
3458
|
name: string;
|
|
2956
3459
|
};
|
|
2957
3460
|
code: string;
|
|
2958
|
-
name: string;
|
|
2959
3461
|
quantity: {
|
|
2960
3462
|
amount: number;
|
|
2961
3463
|
precision: number;
|
|
2962
3464
|
};
|
|
3465
|
+
name: string;
|
|
2963
3466
|
}[];
|
|
2964
3467
|
supplier: {
|
|
2965
3468
|
phoneNumber?: string | null | undefined;
|
|
@@ -3000,7 +3503,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3000
3503
|
};
|
|
3001
3504
|
deliveryOrder: {
|
|
3002
3505
|
remark?: string | null | undefined;
|
|
3506
|
+
id?: string | null | undefined;
|
|
3003
3507
|
adjustment?: string | null | undefined;
|
|
3508
|
+
effectiveAt?: string | null | undefined;
|
|
3004
3509
|
fullfillmentId?: string | null | undefined;
|
|
3005
3510
|
netSuite?: {
|
|
3006
3511
|
refNo?: string | null | undefined;
|
|
@@ -3012,6 +3517,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3012
3517
|
amount: number;
|
|
3013
3518
|
precision: number;
|
|
3014
3519
|
} | null | undefined;
|
|
3520
|
+
id?: string | null | undefined;
|
|
3015
3521
|
measurement?: {
|
|
3016
3522
|
id: string;
|
|
3017
3523
|
name: string;
|
|
@@ -3021,7 +3527,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3021
3527
|
precision: number;
|
|
3022
3528
|
};
|
|
3023
3529
|
} | null | undefined;
|
|
3530
|
+
externalId?: string | null | undefined;
|
|
3024
3531
|
sku: {
|
|
3532
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
3025
3533
|
trackingMeasurement?: string | null | undefined;
|
|
3026
3534
|
convert?: {
|
|
3027
3535
|
measurement?: string | null | undefined;
|
|
@@ -3065,7 +3573,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3065
3573
|
low: number;
|
|
3066
3574
|
mid: number;
|
|
3067
3575
|
} | null | undefined;
|
|
3068
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
3069
3576
|
unit: {
|
|
3070
3577
|
_id: string;
|
|
3071
3578
|
name: string;
|
|
@@ -3111,7 +3618,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3111
3618
|
processedAt: string | null;
|
|
3112
3619
|
rejectedAt: string | null;
|
|
3113
3620
|
adjusmentIds: string[];
|
|
3114
|
-
}, unknown>): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
3621
|
+
} & WithToInventoryLocation, unknown>): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
3115
3622
|
[key: string]: any;
|
|
3116
3623
|
}>;
|
|
3117
3624
|
enableSorting: true;
|
|
@@ -3145,6 +3652,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3145
3652
|
remark?: string | null | undefined;
|
|
3146
3653
|
ref?: string | null | undefined;
|
|
3147
3654
|
_rev?: string | null | undefined;
|
|
3655
|
+
effectiveAt?: string | null | undefined;
|
|
3148
3656
|
netSuite?: {
|
|
3149
3657
|
refNo?: string | null | undefined;
|
|
3150
3658
|
sync?: boolean | null | undefined;
|
|
@@ -3177,6 +3685,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3177
3685
|
acceptRequest: boolean;
|
|
3178
3686
|
dbName: string;
|
|
3179
3687
|
doc: {
|
|
3688
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
3180
3689
|
_id: string;
|
|
3181
3690
|
businessId: string;
|
|
3182
3691
|
profile: {
|
|
@@ -3258,12 +3767,14 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3258
3767
|
};
|
|
3259
3768
|
};
|
|
3260
3769
|
}[] | null | undefined;
|
|
3770
|
+
locationTags?: string[] | null | undefined;
|
|
3261
3771
|
_id: string;
|
|
3262
3772
|
name: string;
|
|
3263
3773
|
purchaseOrder: {
|
|
3264
3774
|
remark?: string | null | undefined;
|
|
3265
3775
|
ref?: string | null | undefined;
|
|
3266
3776
|
items: {
|
|
3777
|
+
id?: string | null | undefined;
|
|
3267
3778
|
measurement?: {
|
|
3268
3779
|
id: string;
|
|
3269
3780
|
name: string;
|
|
@@ -3273,6 +3784,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3273
3784
|
precision: number;
|
|
3274
3785
|
};
|
|
3275
3786
|
} | null | undefined;
|
|
3787
|
+
externalId?: string | null | undefined;
|
|
3276
3788
|
totalCost?: {
|
|
3277
3789
|
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";
|
|
3278
3790
|
amount: number;
|
|
@@ -3287,6 +3799,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3287
3799
|
precision: number;
|
|
3288
3800
|
} | null | undefined;
|
|
3289
3801
|
sku: {
|
|
3802
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
3290
3803
|
trackingMeasurement?: string | null | undefined;
|
|
3291
3804
|
convert?: {
|
|
3292
3805
|
measurement?: string | null | undefined;
|
|
@@ -3330,7 +3843,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3330
3843
|
low: number;
|
|
3331
3844
|
mid: number;
|
|
3332
3845
|
} | null | undefined;
|
|
3333
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
3334
3846
|
unit: {
|
|
3335
3847
|
_id: string;
|
|
3336
3848
|
name: string;
|
|
@@ -3351,11 +3863,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3351
3863
|
name: string;
|
|
3352
3864
|
};
|
|
3353
3865
|
code: string;
|
|
3354
|
-
name: string;
|
|
3355
3866
|
quantity: {
|
|
3356
3867
|
amount: number;
|
|
3357
3868
|
precision: number;
|
|
3358
3869
|
};
|
|
3870
|
+
name: string;
|
|
3359
3871
|
quantityStep: {
|
|
3360
3872
|
amount: number;
|
|
3361
3873
|
precision: number;
|
|
@@ -3405,7 +3917,95 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3405
3917
|
adjustmentIds: string[];
|
|
3406
3918
|
} | null | undefined;
|
|
3407
3919
|
stockSnapshotId?: string | null | undefined;
|
|
3408
|
-
|
|
3920
|
+
returnItems?: {
|
|
3921
|
+
id?: string | null | undefined;
|
|
3922
|
+
measurement?: {
|
|
3923
|
+
id: string;
|
|
3924
|
+
name: string;
|
|
3925
|
+
abbrev: string;
|
|
3926
|
+
conversion: {
|
|
3927
|
+
amount: number;
|
|
3928
|
+
precision: number;
|
|
3929
|
+
};
|
|
3930
|
+
} | null | undefined;
|
|
3931
|
+
externalId?: string | null | undefined;
|
|
3932
|
+
totalCost?: {
|
|
3933
|
+
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";
|
|
3934
|
+
amount: number;
|
|
3935
|
+
precision: number;
|
|
3936
|
+
} | null | undefined;
|
|
3937
|
+
sku: {
|
|
3938
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
3939
|
+
trackingMeasurement?: string | null | undefined;
|
|
3940
|
+
convert?: {
|
|
3941
|
+
measurement?: string | null | undefined;
|
|
3942
|
+
inventoryBindings?: {
|
|
3943
|
+
measurement?: {
|
|
3944
|
+
id: string;
|
|
3945
|
+
name: string;
|
|
3946
|
+
abbrev: string;
|
|
3947
|
+
conversion: {
|
|
3948
|
+
amount: number;
|
|
3949
|
+
precision: number;
|
|
3950
|
+
};
|
|
3951
|
+
} | null | undefined;
|
|
3952
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
3953
|
+
amount: {
|
|
3954
|
+
amount: number;
|
|
3955
|
+
precision: number;
|
|
3956
|
+
};
|
|
3957
|
+
id: string;
|
|
3958
|
+
}[] | null | undefined;
|
|
3959
|
+
} | null | undefined;
|
|
3960
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
3961
|
+
defaultCost?: {
|
|
3962
|
+
measurement?: {
|
|
3963
|
+
id: string;
|
|
3964
|
+
name: string;
|
|
3965
|
+
abbrev: string;
|
|
3966
|
+
conversion: {
|
|
3967
|
+
amount: number;
|
|
3968
|
+
precision: number;
|
|
3969
|
+
};
|
|
3970
|
+
} | null | undefined;
|
|
3971
|
+
costPerUnit: {
|
|
3972
|
+
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";
|
|
3973
|
+
amount: number;
|
|
3974
|
+
precision: number;
|
|
3975
|
+
};
|
|
3976
|
+
} | null | undefined;
|
|
3977
|
+
operationalGroup?: string | null | undefined;
|
|
3978
|
+
thresholds?: {
|
|
3979
|
+
low: number;
|
|
3980
|
+
mid: number;
|
|
3981
|
+
} | null | undefined;
|
|
3982
|
+
unit: {
|
|
3983
|
+
_id: string;
|
|
3984
|
+
name: string;
|
|
3985
|
+
abbrev: string;
|
|
3986
|
+
precision: number;
|
|
3987
|
+
measurements: {
|
|
3988
|
+
id: string;
|
|
3989
|
+
name: string;
|
|
3990
|
+
abbrev: string;
|
|
3991
|
+
conversion: {
|
|
3992
|
+
amount: number;
|
|
3993
|
+
precision: number;
|
|
3994
|
+
};
|
|
3995
|
+
}[];
|
|
3996
|
+
};
|
|
3997
|
+
code: string;
|
|
3998
|
+
_id: string;
|
|
3999
|
+
name: string;
|
|
4000
|
+
};
|
|
4001
|
+
code: string;
|
|
4002
|
+
quantity: {
|
|
4003
|
+
amount: number;
|
|
4004
|
+
precision: number;
|
|
4005
|
+
};
|
|
4006
|
+
name: string;
|
|
4007
|
+
}[] | null | undefined;
|
|
4008
|
+
stockReturnRef?: string | null | undefined;
|
|
3409
4009
|
deliveryFullfillment?: {
|
|
3410
4010
|
remark?: string | null | undefined;
|
|
3411
4011
|
adjustment?: string | null | undefined;
|
|
@@ -3419,6 +4019,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3419
4019
|
amount: number;
|
|
3420
4020
|
precision: number;
|
|
3421
4021
|
} | null | undefined;
|
|
4022
|
+
id?: string | null | undefined;
|
|
3422
4023
|
measurement?: {
|
|
3423
4024
|
id: string;
|
|
3424
4025
|
name: string;
|
|
@@ -3428,7 +4029,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3428
4029
|
precision: number;
|
|
3429
4030
|
};
|
|
3430
4031
|
} | null | undefined;
|
|
4032
|
+
externalId?: string | null | undefined;
|
|
3431
4033
|
sku: {
|
|
4034
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
3432
4035
|
trackingMeasurement?: string | null | undefined;
|
|
3433
4036
|
convert?: {
|
|
3434
4037
|
measurement?: string | null | undefined;
|
|
@@ -3472,7 +4075,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3472
4075
|
low: number;
|
|
3473
4076
|
mid: number;
|
|
3474
4077
|
} | null | undefined;
|
|
3475
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
3476
4078
|
unit: {
|
|
3477
4079
|
_id: string;
|
|
3478
4080
|
name: string;
|
|
@@ -3500,10 +4102,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3500
4102
|
id: string;
|
|
3501
4103
|
createdAt: string;
|
|
3502
4104
|
}[] | null | undefined;
|
|
3503
|
-
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL";
|
|
4105
|
+
status: "DRAFT" | "PROCESSING" | "REQUESTING" | "RECEIVING" | "COMPLETE" | "CANCEL" | "CLOSE";
|
|
3504
4106
|
_id: string;
|
|
3505
4107
|
seqNumber: number;
|
|
3506
4108
|
items: {
|
|
4109
|
+
id?: string | null | undefined;
|
|
3507
4110
|
measurement?: {
|
|
3508
4111
|
id: string;
|
|
3509
4112
|
name: string;
|
|
@@ -3513,12 +4116,14 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3513
4116
|
precision: number;
|
|
3514
4117
|
};
|
|
3515
4118
|
} | null | undefined;
|
|
4119
|
+
externalId?: string | null | undefined;
|
|
3516
4120
|
totalCost?: {
|
|
3517
4121
|
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";
|
|
3518
4122
|
amount: number;
|
|
3519
4123
|
precision: number;
|
|
3520
4124
|
} | null | undefined;
|
|
3521
4125
|
sku: {
|
|
4126
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
3522
4127
|
trackingMeasurement?: string | null | undefined;
|
|
3523
4128
|
convert?: {
|
|
3524
4129
|
measurement?: string | null | undefined;
|
|
@@ -3562,7 +4167,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3562
4167
|
low: number;
|
|
3563
4168
|
mid: number;
|
|
3564
4169
|
} | null | undefined;
|
|
3565
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
3566
4170
|
unit: {
|
|
3567
4171
|
_id: string;
|
|
3568
4172
|
name: string;
|
|
@@ -3583,11 +4187,11 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3583
4187
|
name: string;
|
|
3584
4188
|
};
|
|
3585
4189
|
code: string;
|
|
3586
|
-
name: string;
|
|
3587
4190
|
quantity: {
|
|
3588
4191
|
amount: number;
|
|
3589
4192
|
precision: number;
|
|
3590
4193
|
};
|
|
4194
|
+
name: string;
|
|
3591
4195
|
}[];
|
|
3592
4196
|
supplier: {
|
|
3593
4197
|
phoneNumber?: string | null | undefined;
|
|
@@ -3628,7 +4232,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3628
4232
|
};
|
|
3629
4233
|
deliveryOrder: {
|
|
3630
4234
|
remark?: string | null | undefined;
|
|
4235
|
+
id?: string | null | undefined;
|
|
3631
4236
|
adjustment?: string | null | undefined;
|
|
4237
|
+
effectiveAt?: string | null | undefined;
|
|
3632
4238
|
fullfillmentId?: string | null | undefined;
|
|
3633
4239
|
netSuite?: {
|
|
3634
4240
|
refNo?: string | null | undefined;
|
|
@@ -3640,6 +4246,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3640
4246
|
amount: number;
|
|
3641
4247
|
precision: number;
|
|
3642
4248
|
} | null | undefined;
|
|
4249
|
+
id?: string | null | undefined;
|
|
3643
4250
|
measurement?: {
|
|
3644
4251
|
id: string;
|
|
3645
4252
|
name: string;
|
|
@@ -3649,7 +4256,9 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3649
4256
|
precision: number;
|
|
3650
4257
|
};
|
|
3651
4258
|
} | null | undefined;
|
|
4259
|
+
externalId?: string | null | undefined;
|
|
3652
4260
|
sku: {
|
|
4261
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
3653
4262
|
trackingMeasurement?: string | null | undefined;
|
|
3654
4263
|
convert?: {
|
|
3655
4264
|
measurement?: string | null | undefined;
|
|
@@ -3693,7 +4302,6 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3693
4302
|
low: number;
|
|
3694
4303
|
mid: number;
|
|
3695
4304
|
} | null | undefined;
|
|
3696
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
3697
4305
|
unit: {
|
|
3698
4306
|
_id: string;
|
|
3699
4307
|
name: string;
|
|
@@ -3739,7 +4347,7 @@ export declare function useReceiveRequestTable(scope: 'receive/request' | 'appro
|
|
|
3739
4347
|
processedAt: string | null;
|
|
3740
4348
|
rejectedAt: string | null;
|
|
3741
4349
|
adjusmentIds: string[];
|
|
3742
|
-
}, unknown>): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
4350
|
+
} & WithToInventoryLocation, unknown>): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
3743
4351
|
[key: string]: any;
|
|
3744
4352
|
}>;
|
|
3745
4353
|
enableSorting: false;
|