kcommons 17.5.3 → 18.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/classes/vendorQuoteItemToQuoteItem.adapter.d.ts +0 -0
- package/build/classes/vendorQuoteItemToQuoteItem.adapter.js +61 -0
- package/build/constants/uom.constants.d.ts +60 -0
- package/build/constants/uom.constants.js +355 -0
- package/build/index.d.ts +8 -0
- package/build/index.js +8 -0
- package/build/typings/asn.typings.d.ts +1 -1
- package/build/typings/common/configurableForms/itemQuetionnaire.typings.d.ts +40 -0
- package/build/typings/common/configurableForms/itemQuetionnaire.typings.js +10 -0
- package/build/typings/common/configurableForms/rfqQuestionnaireAnswers.typings.d.ts +30 -0
- package/build/typings/common/configurableForms/rfqQuestionnaireAnswers.typings.js +9 -0
- package/build/typings/common/configurableForms/rfqQuestionnaireQuestions.typings.d.ts +47 -0
- package/build/typings/common/configurableForms/rfqQuestionnaireQuestions.typings.js +12 -0
- package/build/typings/company/masters/po.typings.d.ts +31 -8
- package/build/typings/company/masters/po.typings.js +8 -7
- package/build/typings/company/masters/poAssociationWithVendorQuoteItem.typings.d.ts +19 -0
- package/build/typings/company/masters/poAssociationWithVendorQuoteItem.typings.js +9 -0
- package/build/typings/company.typings.d.ts +10 -1
- package/build/typings/company.typings.js +3 -0
- package/build/typings/comparative.typings.d.ts +9 -3
- package/build/typings/comparative.typings.js +4 -1
- package/build/typings/comparativeEarlyAccessRequests.typings.d.ts +18 -0
- package/build/typings/comparativeEarlyAccessRequests.typings.js +8 -0
- package/build/typings/comparativeItemQUantitySplit.typings.d.ts +26 -0
- package/build/typings/comparativeItemQUantitySplit.typings.js +10 -0
- package/build/typings/customUOM.typings.d.ts +24 -0
- package/build/typings/customUOM.typings.js +8 -0
- package/build/typings/item.typings.d.ts +15 -6
- package/build/typings/item.typings.js +6 -49
- package/build/typings/quote.typings.d.ts +54 -6
- package/build/typings/quote.typings.js +17 -2
- package/build/typings/rfq.typings.d.ts +7 -2
- package/build/typings/rfq.typings.js +1 -0
- package/build/typings/settings/form/extraFormQues.typings.d.ts +1 -1
- package/build/typings/settings/form/extraFormQues.typings.js +12 -12
- package/build/typings/user.typings.d.ts +18 -2
- package/build/typings/user.typings.js +6 -0
- package/build/typings/vendor/vendorUser.typings.d.ts +32 -27
- package/build/typings/vendor/vendorUser.typings.js +28 -26
- package/build/typings/vendor.typings.d.ts +29 -26
- package/build/typings/vendor.typings.js +26 -27
- package/build/typings/vendorItem.typings.d.ts +13 -7
- package/build/typings/vendorItem.typings.js +8 -6
- package/build/typings/vendorQuoteItems.typings.d.ts +67 -0
- package/build/typings/vendorQuoteItems.typings.js +31 -0
- package/build/utils/extra-form/formatValidationSchema.util.js +12 -12
- package/build/utils/extra-form/getDefaultVAlues.util.js +12 -12
- package/build/utils/extra-form/parseExtraFormAnswers.util.js +12 -12
- package/build/utils/quote.util.d.ts +2 -2
- package/build/utils/quote.util.spec.js +9 -0
- package/build/utils/toFixedDecimal.util.js +5 -2
- package/package.json +1 -1
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { INestedCompany } from "../../company.typings";
|
|
2
|
+
import { INestedItem } from "../../item.typings";
|
|
3
|
+
import { INestedRFQ } from "../../rfq.typings";
|
|
4
|
+
import { CONFIGURABLE_FORM_QUESTION_TYPES } from "../../settings/form/extraFormQues.typings";
|
|
5
|
+
import { INestedUser } from "../../user.typings";
|
|
6
|
+
import { INestedRFQQuestionnaireAnswer } from "./rfqQuestionnaireAnswers.typings";
|
|
7
|
+
export declare enum RFQ_QUESTIONNAIRE_QUESTION_INCLUDE {
|
|
8
|
+
company = "company",
|
|
9
|
+
created_by_user = "created_by_user",
|
|
10
|
+
last_updated_by_user = "last_updated_by_user",
|
|
11
|
+
parent_rfq = "parent_rfq",
|
|
12
|
+
parent_item = "parent_item",
|
|
13
|
+
answers = "answers"
|
|
14
|
+
}
|
|
15
|
+
export interface IRFQQuestionnaireQuestion {
|
|
16
|
+
id: string;
|
|
17
|
+
company_id: string;
|
|
18
|
+
created_by_user_id: string;
|
|
19
|
+
last_updated_by_user_id: string;
|
|
20
|
+
rfq_id: string;
|
|
21
|
+
item_id: string | null;
|
|
22
|
+
question_code: string;
|
|
23
|
+
ques_text: string;
|
|
24
|
+
que_type: CONFIGURABLE_FORM_QUESTION_TYPES;
|
|
25
|
+
order: number;
|
|
26
|
+
select_opts: string[];
|
|
27
|
+
min_rows: number | null;
|
|
28
|
+
mime_type: string | null;
|
|
29
|
+
required: boolean;
|
|
30
|
+
default_text_ans: string | null;
|
|
31
|
+
default_yes_no_ans: boolean | null;
|
|
32
|
+
default_date_ans: string | null;
|
|
33
|
+
default_selected_opts_ans: string[];
|
|
34
|
+
is_deleted: boolean;
|
|
35
|
+
deleted_at: string | null;
|
|
36
|
+
created_at: string;
|
|
37
|
+
last_updated_at: string;
|
|
38
|
+
updated_at: string;
|
|
39
|
+
company: INestedCompany | null;
|
|
40
|
+
created_by_user: INestedUser | null;
|
|
41
|
+
last_updated_by_use: INestedUser | null;
|
|
42
|
+
parent_rfq: INestedRFQ | null;
|
|
43
|
+
parent_item: INestedItem | null;
|
|
44
|
+
answers: INestedRFQQuestionnaireAnswer[] | null;
|
|
45
|
+
}
|
|
46
|
+
export interface INestedRFQQuestionnaireQuestion extends Omit<IRFQQuestionnaireQuestion, "company" | "created_by_user" | "last_updated_by_user" | "parent_rfq" | "parent_item" | "answers"> {
|
|
47
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RFQ_QUESTIONNAIRE_QUESTION_INCLUDE = void 0;
|
|
4
|
+
var RFQ_QUESTIONNAIRE_QUESTION_INCLUDE;
|
|
5
|
+
(function (RFQ_QUESTIONNAIRE_QUESTION_INCLUDE) {
|
|
6
|
+
RFQ_QUESTIONNAIRE_QUESTION_INCLUDE["company"] = "company";
|
|
7
|
+
RFQ_QUESTIONNAIRE_QUESTION_INCLUDE["created_by_user"] = "created_by_user";
|
|
8
|
+
RFQ_QUESTIONNAIRE_QUESTION_INCLUDE["last_updated_by_user"] = "last_updated_by_user";
|
|
9
|
+
RFQ_QUESTIONNAIRE_QUESTION_INCLUDE["parent_rfq"] = "parent_rfq";
|
|
10
|
+
RFQ_QUESTIONNAIRE_QUESTION_INCLUDE["parent_item"] = "parent_item";
|
|
11
|
+
RFQ_QUESTIONNAIRE_QUESTION_INCLUDE["answers"] = "answers";
|
|
12
|
+
})(RFQ_QUESTIONNAIRE_QUESTION_INCLUDE || (exports.RFQ_QUESTIONNAIRE_QUESTION_INCLUDE = RFQ_QUESTIONNAIRE_QUESTION_INCLUDE = {}));
|
|
@@ -24,6 +24,9 @@ import { INestedVendorUser } from "../../vendor/vendorUser.typings";
|
|
|
24
24
|
import { INestedMRN } from "../../mrn.typings";
|
|
25
25
|
import { INestedAmendedPOItem } from "./amendedPOItems.typings";
|
|
26
26
|
import { INestedSubPO } from "../../subPO.typings";
|
|
27
|
+
import { INestedVendorQuoteItem } from "../../vendorQuoteItems.typings";
|
|
28
|
+
import { INestedPOAssociationWithVendorQuoteItem } from "./poAssociationWithVendorQuoteItem.typings";
|
|
29
|
+
import { INestedVendorItem } from "../../vendorItem.typings";
|
|
27
30
|
export declare enum PO_LIST_TYPES {
|
|
28
31
|
ALL = "ALL",
|
|
29
32
|
CREATED_BY_ME = "CREATED_BY_ME",
|
|
@@ -103,7 +106,8 @@ export declare enum PO_INCLUDE {
|
|
|
103
106
|
closed_early_by_user = "closed_early_by_user",
|
|
104
107
|
referenced_in_grns = "referenced_in_grns",
|
|
105
108
|
amended_po_items = "amended_po_items",
|
|
106
|
-
sub_pos = "sub_pos"
|
|
109
|
+
sub_pos = "sub_pos",
|
|
110
|
+
vendor_quote_item_associations = "vendor_quote_item_associations"
|
|
107
111
|
}
|
|
108
112
|
export interface IPOBaseFilters {
|
|
109
113
|
name?: string;
|
|
@@ -112,6 +116,7 @@ export interface IPOBaseFilters {
|
|
|
112
116
|
shipping_store_location_id?: string;
|
|
113
117
|
purchase_location_id?: string;
|
|
114
118
|
status?: PO_STATUS[];
|
|
119
|
+
status_array?: PO_STATUS[];
|
|
115
120
|
}
|
|
116
121
|
/** --- START: PO Filters for Company --- */
|
|
117
122
|
export interface IPOFiltersForCompany extends IPOBaseFilters {
|
|
@@ -214,8 +219,9 @@ export interface IPurchaseOrder {
|
|
|
214
219
|
accepted_rejected_by_vendor_user: INestedVendorUser | null;
|
|
215
220
|
sub_pos: INestedSubPO[] | null;
|
|
216
221
|
metafields: IPOMetafields | null;
|
|
222
|
+
vendor_quote_item_associations: INestedPOAssociationWithVendorQuoteItem[] | null;
|
|
217
223
|
}
|
|
218
|
-
export interface INestedPo extends Omit<IPurchaseOrder, "company" | "purchase_location" | "shipping_store_location" | "created_by_user" | "last_updated_by_user" | "company_vendor" | "contact_person" | "external_contact_person" | "sent_for_approval_by" | "sent_to_vendor_by" | "parent_quote" | "comparative" | "items" | "boms" | "approval_chain" | "taxes" | "vendor" | "least_purchase_price_items" | "previous_purchase_price_items" | "invoices" | "po_grn_items_junctions" | "directly_created_grns" | "child_ves" | "tnc" | "closed_early_by_user" | "child_mrns" | "referenced_in_grns" | "accepted_rejected_by_vendor_user" | "amended_po_items" | "sub_pos" | "metafields"> {
|
|
224
|
+
export interface INestedPo extends Omit<IPurchaseOrder, "company" | "purchase_location" | "shipping_store_location" | "created_by_user" | "last_updated_by_user" | "company_vendor" | "contact_person" | "external_contact_person" | "sent_for_approval_by" | "sent_to_vendor_by" | "parent_quote" | "comparative" | "items" | "boms" | "approval_chain" | "taxes" | "vendor" | "least_purchase_price_items" | "previous_purchase_price_items" | "invoices" | "po_grn_items_junctions" | "directly_created_grns" | "child_ves" | "tnc" | "closed_early_by_user" | "child_mrns" | "referenced_in_grns" | "accepted_rejected_by_vendor_user" | "amended_po_items" | "sub_pos" | "vendor_quote_item_associations" | "metafields"> {
|
|
219
225
|
}
|
|
220
226
|
export interface IPOItem extends ITaxRelatedItemInputs {
|
|
221
227
|
id: string;
|
|
@@ -241,11 +247,11 @@ export interface IPOItem extends ITaxRelatedItemInputs {
|
|
|
241
247
|
export interface INestedPOItem extends Omit<IPOItem, "company" | "item" | "parent_po" | "parent_po_bom" | "referenced_comparative_item"> {
|
|
242
248
|
}
|
|
243
249
|
export declare enum PO_ITEM_INCLUDE {
|
|
244
|
-
company =
|
|
245
|
-
item =
|
|
246
|
-
parent_po =
|
|
247
|
-
parent_po_bom =
|
|
248
|
-
referenced_comparative_item =
|
|
250
|
+
company = 0,
|
|
251
|
+
item = 1,
|
|
252
|
+
parent_po = 2,
|
|
253
|
+
parent_po_bom = 3,
|
|
254
|
+
referenced_comparative_item = 4
|
|
249
255
|
}
|
|
250
256
|
export declare enum PO_BOM_INCLUDE {
|
|
251
257
|
parent_po = "parent_po",
|
|
@@ -281,15 +287,24 @@ export interface IPORejectedByUserMetafieldData {
|
|
|
281
287
|
role_name: string | null;
|
|
282
288
|
rejected_at: Date | null;
|
|
283
289
|
}
|
|
290
|
+
export interface IAssoicatedVendorQuoteItemsForPO {
|
|
291
|
+
item_id: string;
|
|
292
|
+
vendor_quote_item: INestedVendorQuoteItem;
|
|
293
|
+
parent_vendor_item: INestedVendorItem;
|
|
294
|
+
}
|
|
284
295
|
export interface IPOMetafields {
|
|
285
296
|
items_data: INestedItem[] | null;
|
|
286
297
|
rejected_by_users_data: IPORejectedByUserMetafieldData[] | null;
|
|
287
298
|
vendor_contact_details: INestedVendorUser | null;
|
|
299
|
+
associated_vendor_quote_item_list: IAssoicatedVendorQuoteItemsForPO[] | null;
|
|
300
|
+
associated_vendor_quote_items_custom_uoms: IPOAssociatedVendorQuoteItemCustomUOM[] | null;
|
|
288
301
|
}
|
|
289
302
|
export declare enum PO_METAFIELDS_INCLUDE {
|
|
290
303
|
items_data = "items_data",
|
|
291
304
|
rejected_by_users_data = "rejected_by_users_data",
|
|
292
|
-
vendor_contact_details = "vendor_contact_details"
|
|
305
|
+
vendor_contact_details = "vendor_contact_details",
|
|
306
|
+
associated_vendor_quote_item_list = "associated_vendor_quote_item_list",
|
|
307
|
+
associated_vendor_quote_items_custom_uoms = "associated_vendor_quote_items_custom_uoms"
|
|
293
308
|
}
|
|
294
309
|
export interface IPOApprovalByTokenPayload extends IOpenApprovalsBase {
|
|
295
310
|
po_id: string;
|
|
@@ -318,3 +333,11 @@ export interface IPOFilters {
|
|
|
318
333
|
export interface IPOFiltersWithPagination extends IPOFilters, IPaginationFilters {
|
|
319
334
|
}
|
|
320
335
|
/** FIN: (DEPRECATED) PO Filters */
|
|
336
|
+
export interface IPOAssociatedVendorQuoteItemCustomUOM {
|
|
337
|
+
vendor_quote_item_id: string | null;
|
|
338
|
+
vendor_item_id: string | null;
|
|
339
|
+
quote_item_id: string | null;
|
|
340
|
+
custom_uom_name: string | null;
|
|
341
|
+
custom_uom_abbrevation: string | null;
|
|
342
|
+
conversion_factor: number | null;
|
|
343
|
+
}
|
|
@@ -60,7 +60,6 @@ var PO_INCLUDE;
|
|
|
60
60
|
PO_INCLUDE["created_by_user"] = "created_by_user";
|
|
61
61
|
PO_INCLUDE["last_updated_by_user"] = "last_updated_by_user";
|
|
62
62
|
PO_INCLUDE["company_vendor"] = "company_vendor";
|
|
63
|
-
// vendor = "vendor",
|
|
64
63
|
PO_INCLUDE["contact_person"] = "contact_person";
|
|
65
64
|
PO_INCLUDE["external_contact_person"] = "external_contact_person";
|
|
66
65
|
PO_INCLUDE["sent_for_approval_by"] = "sent_for_approval_by";
|
|
@@ -88,14 +87,15 @@ var PO_INCLUDE;
|
|
|
88
87
|
PO_INCLUDE["referenced_in_grns"] = "referenced_in_grns";
|
|
89
88
|
PO_INCLUDE["amended_po_items"] = "amended_po_items";
|
|
90
89
|
PO_INCLUDE["sub_pos"] = "sub_pos";
|
|
90
|
+
PO_INCLUDE["vendor_quote_item_associations"] = "vendor_quote_item_associations";
|
|
91
91
|
})(PO_INCLUDE || (exports.PO_INCLUDE = PO_INCLUDE = {}));
|
|
92
92
|
var PO_ITEM_INCLUDE;
|
|
93
93
|
(function (PO_ITEM_INCLUDE) {
|
|
94
|
-
PO_ITEM_INCLUDE["company"] = "company";
|
|
95
|
-
PO_ITEM_INCLUDE["item"] = "item";
|
|
96
|
-
PO_ITEM_INCLUDE["parent_po"] = "parent_po";
|
|
97
|
-
PO_ITEM_INCLUDE["parent_po_bom"] = "parent_po_bom";
|
|
98
|
-
PO_ITEM_INCLUDE["referenced_comparative_item"] = "referenced_comparative_item";
|
|
94
|
+
PO_ITEM_INCLUDE[PO_ITEM_INCLUDE["company"] = 0] = "company";
|
|
95
|
+
PO_ITEM_INCLUDE[PO_ITEM_INCLUDE["item"] = 1] = "item";
|
|
96
|
+
PO_ITEM_INCLUDE[PO_ITEM_INCLUDE["parent_po"] = 2] = "parent_po";
|
|
97
|
+
PO_ITEM_INCLUDE[PO_ITEM_INCLUDE["parent_po_bom"] = 3] = "parent_po_bom";
|
|
98
|
+
PO_ITEM_INCLUDE[PO_ITEM_INCLUDE["referenced_comparative_item"] = 4] = "referenced_comparative_item";
|
|
99
99
|
})(PO_ITEM_INCLUDE || (exports.PO_ITEM_INCLUDE = PO_ITEM_INCLUDE = {}));
|
|
100
100
|
var PO_BOM_INCLUDE;
|
|
101
101
|
(function (PO_BOM_INCLUDE) {
|
|
@@ -108,5 +108,6 @@ var PO_METAFIELDS_INCLUDE;
|
|
|
108
108
|
PO_METAFIELDS_INCLUDE["items_data"] = "items_data";
|
|
109
109
|
PO_METAFIELDS_INCLUDE["rejected_by_users_data"] = "rejected_by_users_data";
|
|
110
110
|
PO_METAFIELDS_INCLUDE["vendor_contact_details"] = "vendor_contact_details";
|
|
111
|
+
PO_METAFIELDS_INCLUDE["associated_vendor_quote_item_list"] = "associated_vendor_quote_item_list";
|
|
112
|
+
PO_METAFIELDS_INCLUDE["associated_vendor_quote_items_custom_uoms"] = "associated_vendor_quote_items_custom_uoms";
|
|
111
113
|
})(PO_METAFIELDS_INCLUDE || (exports.PO_METAFIELDS_INCLUDE = PO_METAFIELDS_INCLUDE = {}));
|
|
112
|
-
/** FIN: (DEPRECATED) PO Filters */
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { INestedItem } from "../../item.typings";
|
|
2
|
+
import { INestedVendorQuoteItem } from "../../vendorQuoteItems.typings";
|
|
3
|
+
import { INestedPo } from "./po.typings";
|
|
4
|
+
export declare enum PO_ASSOCIATION_WITH_VENDOR_QUOTE_ITEM_INCLUDES {
|
|
5
|
+
item = 0,
|
|
6
|
+
parent_vendor_quote_item = 1,
|
|
7
|
+
parent_po = 2
|
|
8
|
+
}
|
|
9
|
+
export interface IPOAssociationWithVendorQuoteItem {
|
|
10
|
+
id: string;
|
|
11
|
+
item_id: string;
|
|
12
|
+
vendor_quote_item_id: string;
|
|
13
|
+
parent_po_id: string;
|
|
14
|
+
item: INestedItem | null;
|
|
15
|
+
parent_vendor_quote_item: INestedVendorQuoteItem | null;
|
|
16
|
+
parent_po: INestedPo | null;
|
|
17
|
+
}
|
|
18
|
+
export interface INestedPOAssociationWithVendorQuoteItem extends Omit<IPOAssociationWithVendorQuoteItem, "item" | "parent_vendor_quote_item" | "parent_po"> {
|
|
19
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PO_ASSOCIATION_WITH_VENDOR_QUOTE_ITEM_INCLUDES = void 0;
|
|
4
|
+
var PO_ASSOCIATION_WITH_VENDOR_QUOTE_ITEM_INCLUDES;
|
|
5
|
+
(function (PO_ASSOCIATION_WITH_VENDOR_QUOTE_ITEM_INCLUDES) {
|
|
6
|
+
PO_ASSOCIATION_WITH_VENDOR_QUOTE_ITEM_INCLUDES[PO_ASSOCIATION_WITH_VENDOR_QUOTE_ITEM_INCLUDES["item"] = 0] = "item";
|
|
7
|
+
PO_ASSOCIATION_WITH_VENDOR_QUOTE_ITEM_INCLUDES[PO_ASSOCIATION_WITH_VENDOR_QUOTE_ITEM_INCLUDES["parent_vendor_quote_item"] = 1] = "parent_vendor_quote_item";
|
|
8
|
+
PO_ASSOCIATION_WITH_VENDOR_QUOTE_ITEM_INCLUDES[PO_ASSOCIATION_WITH_VENDOR_QUOTE_ITEM_INCLUDES["parent_po"] = 2] = "parent_po";
|
|
9
|
+
})(PO_ASSOCIATION_WITH_VENDOR_QUOTE_ITEM_INCLUDES || (exports.PO_ASSOCIATION_WITH_VENDOR_QUOTE_ITEM_INCLUDES = PO_ASSOCIATION_WITH_VENDOR_QUOTE_ITEM_INCLUDES = {}));
|
|
@@ -55,6 +55,9 @@ import { INestedTemporaryWorkerForm } from "./temporaryWorkerForm.typings";
|
|
|
55
55
|
import { INestedAmendedPOItem } from "./company/masters/amendedPOItems.typings";
|
|
56
56
|
import { INestedSubPO } from "./subPO.typings";
|
|
57
57
|
import { INestedSubPOItem } from "./subPOItem.typings";
|
|
58
|
+
import { INestedItemQuestionnaire } from "./common/configurableForms/itemQuetionnaire.typings";
|
|
59
|
+
import { INestedRFQQuestionnaireQuestion } from "./common/configurableForms/rfqQuestionnaireQuestions.typings";
|
|
60
|
+
import { INestedRFQQuestionnaireAnswer } from "./common/configurableForms/rfqQuestionnaireAnswers.typings";
|
|
58
61
|
import { INestedCustomer } from "./customer.typings";
|
|
59
62
|
import { INestedCompanyCustomerCategory } from "./companyCustomerCategory.typings";
|
|
60
63
|
import { INestedCustomerManagementBody } from "./company/masters/customerManagementBody.typings";
|
|
@@ -129,6 +132,9 @@ export declare enum COMPANY_INCLUDE {
|
|
|
129
132
|
company_amended_po_items = "company_amended_po_items",
|
|
130
133
|
sub_pos = "sub_pos",
|
|
131
134
|
sub_po_items = "sub_po_items",
|
|
135
|
+
item_questionnaire = "item_questionnaire",
|
|
136
|
+
rfq_questionnaire = "rfq_questionnaire",
|
|
137
|
+
rfq_questionnaire_answers = "rfq_questionnaire_answers",
|
|
132
138
|
company_customer_categories = "company_customer_categories",
|
|
133
139
|
associated_customer = "associated_customer",
|
|
134
140
|
customer_management_bodies = "customer_management_bodies"
|
|
@@ -235,11 +241,14 @@ export interface ICompany extends IAddress {
|
|
|
235
241
|
company_temporary_worker_form: INestedTemporaryWorkerForm[] | null;
|
|
236
242
|
sub_pos: INestedSubPO[] | null;
|
|
237
243
|
sub_po_items: INestedSubPOItem[] | null;
|
|
244
|
+
item_questionnaire: INestedItemQuestionnaire[] | null;
|
|
245
|
+
rfq_questionnaire: INestedRFQQuestionnaireQuestion[] | null;
|
|
246
|
+
rfq_questionnaire_answers: INestedRFQQuestionnaireAnswer[] | null;
|
|
238
247
|
company_customer_categories: INestedCompanyCustomerCategory[] | null;
|
|
239
248
|
associated_customer: INestedCustomer[] | null;
|
|
240
249
|
customer_management_bodies: INestedCustomerManagementBody[] | null;
|
|
241
250
|
}
|
|
242
|
-
export interface INestedCompany extends Omit<ICompany, "associated_purchase_locations" | "associated_vendors" | "associated_permissions" | "associated_roles" | "approval_configs" | "subdepartments" | "subcategories" | "categories" | "items" | "offices" | "stores" | "employees" | "departments" | "vendor_groups" | "company_indents" | "indent_items" | "company_mis" | "mi_items" | "company_prs" | "pr_items" | "company_rfqs" | "company_quotes" | "entity_approval_chain_entries" | "company_negotiations" | "company_pos" | "company_grns" | "company_grns_items" | "company_mrns" | "company_mrns_items" | "company_boms" | "company_bom_items" | "company_comparatives" | "company_comparative_items" | "company_notifications" | "extra_question_ans" | "extra_core_related_questions" | "company_specific_vendor_items" | "po_asn_items_junction" | "company_contact_people" | "company_item_vendor_versions" | "istds" | "istd_items" | "inventory_logs" | "invoices" | "logs" | "vendor_onboarding_requests" | "vendor_management_bodies" | "item_management_bodies" | "rollback_forms_sent_by_company" | "company_checkpoints" | "company_ves" | "queue_jobs" | "company_terms_and_conditions" | "company_config" | "erp_plugins" | "company_temporary_worker_form" | "extra_questions" | "is_deleted" | "payment_terms" | "po_grn_items_junction" | "vendor_onboarding_request_categories" | "company_amended_po_items" | "sub_pos" | "sub_po_items" | "company_customer_categories" | "associated_customer" | "customer_management_bodies"> {
|
|
251
|
+
export interface INestedCompany extends Omit<ICompany, "associated_purchase_locations" | "associated_vendors" | "associated_permissions" | "associated_roles" | "approval_configs" | "subdepartments" | "subcategories" | "categories" | "items" | "offices" | "stores" | "employees" | "departments" | "vendor_groups" | "company_indents" | "indent_items" | "company_mis" | "mi_items" | "company_prs" | "pr_items" | "company_rfqs" | "company_quotes" | "entity_approval_chain_entries" | "company_negotiations" | "company_pos" | "company_grns" | "company_grns_items" | "company_mrns" | "company_mrns_items" | "company_boms" | "company_bom_items" | "company_comparatives" | "company_comparative_items" | "company_notifications" | "extra_question_ans" | "extra_core_related_questions" | "company_specific_vendor_items" | "po_asn_items_junction" | "company_contact_people" | "company_item_vendor_versions" | "istds" | "istd_items" | "inventory_logs" | "invoices" | "logs" | "vendor_onboarding_requests" | "vendor_management_bodies" | "item_management_bodies" | "rollback_forms_sent_by_company" | "company_checkpoints" | "company_ves" | "queue_jobs" | "company_terms_and_conditions" | "company_config" | "erp_plugins" | "company_temporary_worker_form" | "extra_questions" | "is_deleted" | "payment_terms" | "po_grn_items_junction" | "vendor_onboarding_request_categories" | "company_amended_po_items" | "sub_pos" | "sub_po_items" | "item_questionnaire" | "rfq_questionnaire" | "rfq_questionnaire_answers" | "company_customer_categories" | "associated_customer" | "customer_management_bodies"> {
|
|
243
252
|
}
|
|
244
253
|
export interface ICompanyVendorAdditionalInfoMappingConfig {
|
|
245
254
|
additional_info_form_que_id: string;
|
|
@@ -73,6 +73,9 @@ var COMPANY_INCLUDE;
|
|
|
73
73
|
COMPANY_INCLUDE["company_amended_po_items"] = "company_amended_po_items";
|
|
74
74
|
COMPANY_INCLUDE["sub_pos"] = "sub_pos";
|
|
75
75
|
COMPANY_INCLUDE["sub_po_items"] = "sub_po_items";
|
|
76
|
+
COMPANY_INCLUDE["item_questionnaire"] = "item_questionnaire";
|
|
77
|
+
COMPANY_INCLUDE["rfq_questionnaire"] = "rfq_questionnaire";
|
|
78
|
+
COMPANY_INCLUDE["rfq_questionnaire_answers"] = "rfq_questionnaire_answers";
|
|
76
79
|
COMPANY_INCLUDE["company_customer_categories"] = "company_customer_categories";
|
|
77
80
|
COMPANY_INCLUDE["associated_customer"] = "associated_customer";
|
|
78
81
|
COMPANY_INCLUDE["customer_management_bodies"] = "customer_management_bodies";
|
|
@@ -5,6 +5,8 @@ import { INestedPo, INestedPOItem } from "./company/masters/po.typings";
|
|
|
5
5
|
import { INestedQuote, INestedQuoteItems } from "./quote.typings";
|
|
6
6
|
import { INestedRFQ } from "./rfq.typings";
|
|
7
7
|
import { INestedUser } from "./user.typings";
|
|
8
|
+
import { INestedComparativeItemsQuantitySplit } from "./comparativeItemQUantitySplit.typings";
|
|
9
|
+
import { INestedComparativeEarlyAccessRequest } from "./comparativeEarlyAccessRequests.typings";
|
|
8
10
|
export declare enum COMPARATIVE_TABS {
|
|
9
11
|
COMMERCIAL = "Commercial",
|
|
10
12
|
TECHNICAL = "Technical",
|
|
@@ -29,7 +31,9 @@ export declare enum COMPARATIVE_INCLUDE {
|
|
|
29
31
|
quotes = "quotes",
|
|
30
32
|
child_pos = "child_pos",
|
|
31
33
|
approval_chain = "approval_chain",
|
|
32
|
-
items = "items"
|
|
34
|
+
items = "items",
|
|
35
|
+
comparative_items_quantity_splits = "comparative_items_quantity_splits",
|
|
36
|
+
early_view_access_requests = "early_view_access_requests"
|
|
33
37
|
}
|
|
34
38
|
export interface IComparative {
|
|
35
39
|
id: string;
|
|
@@ -48,13 +52,15 @@ export interface IComparative {
|
|
|
48
52
|
company: INestedCompany | null;
|
|
49
53
|
parent_rfq: INestedRFQ | null;
|
|
50
54
|
sent_for_approval_by_user: INestedUser | null;
|
|
55
|
+
early_view_access_requests: INestedComparativeEarlyAccessRequest[] | null;
|
|
51
56
|
quotes: INestedQuote[] | null;
|
|
52
57
|
child_pos: INestedPo[] | null;
|
|
53
58
|
approval_chain: INestedEntityApprovalChainEntry[] | null;
|
|
54
59
|
items: INestedComparativeItem[] | null;
|
|
60
|
+
comparative_items_quantity_splits: INestedComparativeItemsQuantitySplit[] | null;
|
|
55
61
|
metafields: IComparativeMetafields | null;
|
|
56
62
|
}
|
|
57
|
-
export interface INestedComparative extends Omit<IComparative, "company" | "parent_rfq" | "sent_for_approval_by_user" | "quotes" | "child_pos" | "approval_chain" | "items" | "metafields"> {
|
|
63
|
+
export interface INestedComparative extends Omit<IComparative, "company" | "parent_rfq" | "sent_for_approval_by_user" | "quotes" | "child_pos" | "approval_chain" | "items" | "comparative_items_quantity_splits" | "early_view_access_requests" | "metafields"> {
|
|
58
64
|
}
|
|
59
65
|
export interface IComparativeFilters {
|
|
60
66
|
rfq_id?: string;
|
|
@@ -104,5 +110,5 @@ export interface IComparativeMetafields {
|
|
|
104
110
|
items_data: INestedItem[] | null;
|
|
105
111
|
}
|
|
106
112
|
export declare enum COMPARATIVE_METAFIELDS_INCLUDE {
|
|
107
|
-
items_data =
|
|
113
|
+
items_data = 0
|
|
108
114
|
}
|
|
@@ -29,6 +29,8 @@ var COMPARATIVE_INCLUDE;
|
|
|
29
29
|
COMPARATIVE_INCLUDE["child_pos"] = "child_pos";
|
|
30
30
|
COMPARATIVE_INCLUDE["approval_chain"] = "approval_chain";
|
|
31
31
|
COMPARATIVE_INCLUDE["items"] = "items";
|
|
32
|
+
COMPARATIVE_INCLUDE["comparative_items_quantity_splits"] = "comparative_items_quantity_splits";
|
|
33
|
+
COMPARATIVE_INCLUDE["early_view_access_requests"] = "early_view_access_requests";
|
|
32
34
|
})(COMPARATIVE_INCLUDE || (exports.COMPARATIVE_INCLUDE = COMPARATIVE_INCLUDE = {}));
|
|
33
35
|
// Comparative Items
|
|
34
36
|
var COMPARATIVE_ITEM_INCLUDE;
|
|
@@ -42,5 +44,6 @@ var COMPARATIVE_ITEM_INCLUDE;
|
|
|
42
44
|
})(COMPARATIVE_ITEM_INCLUDE || (exports.COMPARATIVE_ITEM_INCLUDE = COMPARATIVE_ITEM_INCLUDE = {}));
|
|
43
45
|
var COMPARATIVE_METAFIELDS_INCLUDE;
|
|
44
46
|
(function (COMPARATIVE_METAFIELDS_INCLUDE) {
|
|
45
|
-
COMPARATIVE_METAFIELDS_INCLUDE["items_data"] = "items_data";
|
|
47
|
+
COMPARATIVE_METAFIELDS_INCLUDE[COMPARATIVE_METAFIELDS_INCLUDE["items_data"] = 0] = "items_data";
|
|
48
|
+
// quotes_data_for_comparative = "quotes_data_for_comparative",
|
|
46
49
|
})(COMPARATIVE_METAFIELDS_INCLUDE || (exports.COMPARATIVE_METAFIELDS_INCLUDE = COMPARATIVE_METAFIELDS_INCLUDE = {}));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { INestedComparative } from "./comparative.typings";
|
|
2
|
+
import { INestedUser } from "./user.typings";
|
|
3
|
+
export declare enum COMPARATIVE_EARLY_ACCESS_REQUEST_INCLUDE {
|
|
4
|
+
parent_comparative = "parent_comparative",
|
|
5
|
+
user = "user"
|
|
6
|
+
}
|
|
7
|
+
export interface IComparativeEarlyAccessRequests {
|
|
8
|
+
id: string;
|
|
9
|
+
user_id: string;
|
|
10
|
+
comparative_id: string;
|
|
11
|
+
reason: string;
|
|
12
|
+
created_at: string;
|
|
13
|
+
updated_at: string;
|
|
14
|
+
parent_comparative: INestedComparative | null;
|
|
15
|
+
user: INestedUser | null;
|
|
16
|
+
}
|
|
17
|
+
export interface INestedComparativeEarlyAccessRequest extends Omit<IComparativeEarlyAccessRequests, "parent_comparative" | "user"> {
|
|
18
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.COMPARATIVE_EARLY_ACCESS_REQUEST_INCLUDE = void 0;
|
|
4
|
+
var COMPARATIVE_EARLY_ACCESS_REQUEST_INCLUDE;
|
|
5
|
+
(function (COMPARATIVE_EARLY_ACCESS_REQUEST_INCLUDE) {
|
|
6
|
+
COMPARATIVE_EARLY_ACCESS_REQUEST_INCLUDE["parent_comparative"] = "parent_comparative";
|
|
7
|
+
COMPARATIVE_EARLY_ACCESS_REQUEST_INCLUDE["user"] = "user";
|
|
8
|
+
})(COMPARATIVE_EARLY_ACCESS_REQUEST_INCLUDE || (exports.COMPARATIVE_EARLY_ACCESS_REQUEST_INCLUDE = COMPARATIVE_EARLY_ACCESS_REQUEST_INCLUDE = {}));
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { INestedComparative } from "./comparative.typings";
|
|
2
|
+
import { INestedItem } from "./item.typings";
|
|
3
|
+
import { INestedQuoteItems } from "./quote.typings";
|
|
4
|
+
import { INestedUser } from "./user.typings";
|
|
5
|
+
export declare enum COMPARATIVE_ITEMS_QUANTITY_SPLIT_INCLUDE {
|
|
6
|
+
comparative = 0,
|
|
7
|
+
item = 1,
|
|
8
|
+
last_updated_by_user = 2,
|
|
9
|
+
parent_quote_item = 3
|
|
10
|
+
}
|
|
11
|
+
export interface IComparativeItemsQuantitySplit {
|
|
12
|
+
id: string;
|
|
13
|
+
comparative_id: string;
|
|
14
|
+
item_id: string;
|
|
15
|
+
quote_item_id: string;
|
|
16
|
+
quantity: number;
|
|
17
|
+
last_updated_by_user_id: string;
|
|
18
|
+
created_at: string;
|
|
19
|
+
updated_at: string;
|
|
20
|
+
comparative: INestedComparative | null;
|
|
21
|
+
item: INestedItem | null;
|
|
22
|
+
parent_quote_item: INestedQuoteItems | null;
|
|
23
|
+
last_updated_by_user: INestedUser | null;
|
|
24
|
+
}
|
|
25
|
+
export interface INestedComparativeItemsQuantitySplit extends Omit<IComparativeItemsQuantitySplit, "comparative" | "item" | "parent_quote_item" | "last_updated_by_user"> {
|
|
26
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.COMPARATIVE_ITEMS_QUANTITY_SPLIT_INCLUDE = void 0;
|
|
4
|
+
var COMPARATIVE_ITEMS_QUANTITY_SPLIT_INCLUDE;
|
|
5
|
+
(function (COMPARATIVE_ITEMS_QUANTITY_SPLIT_INCLUDE) {
|
|
6
|
+
COMPARATIVE_ITEMS_QUANTITY_SPLIT_INCLUDE[COMPARATIVE_ITEMS_QUANTITY_SPLIT_INCLUDE["comparative"] = 0] = "comparative";
|
|
7
|
+
COMPARATIVE_ITEMS_QUANTITY_SPLIT_INCLUDE[COMPARATIVE_ITEMS_QUANTITY_SPLIT_INCLUDE["item"] = 1] = "item";
|
|
8
|
+
COMPARATIVE_ITEMS_QUANTITY_SPLIT_INCLUDE[COMPARATIVE_ITEMS_QUANTITY_SPLIT_INCLUDE["last_updated_by_user"] = 2] = "last_updated_by_user";
|
|
9
|
+
COMPARATIVE_ITEMS_QUANTITY_SPLIT_INCLUDE[COMPARATIVE_ITEMS_QUANTITY_SPLIT_INCLUDE["parent_quote_item"] = 3] = "parent_quote_item";
|
|
10
|
+
})(COMPARATIVE_ITEMS_QUANTITY_SPLIT_INCLUDE || (exports.COMPARATIVE_ITEMS_QUANTITY_SPLIT_INCLUDE = COMPARATIVE_ITEMS_QUANTITY_SPLIT_INCLUDE = {}));
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IQuoteItems } from "./quote.typings";
|
|
2
|
+
import { IVendorQuoteItems } from "./vendorQuoteItems.typings";
|
|
3
|
+
export interface ICustomUOM {
|
|
4
|
+
id: string;
|
|
5
|
+
custom_uom_name: string;
|
|
6
|
+
custom_uom_abbrevation: string;
|
|
7
|
+
conversion_factor: number;
|
|
8
|
+
parent_quote_item_id: string | null;
|
|
9
|
+
parent_vendor_quote_item_id: string | null;
|
|
10
|
+
last_updated_by_vendor_user_id?: string | null;
|
|
11
|
+
last_updated_by_user_id?: string | null;
|
|
12
|
+
created_at: Date;
|
|
13
|
+
updated_at: Date;
|
|
14
|
+
vendor_quote_item?: IVendorQuoteItems | null;
|
|
15
|
+
quote_item?: IQuoteItems | null;
|
|
16
|
+
}
|
|
17
|
+
export interface INestedCustomUOM extends Omit<ICustomUOM, "vendor_quote_item" | "quote_item"> {
|
|
18
|
+
}
|
|
19
|
+
export declare enum CUSTOM_UOM_INCLUDE {
|
|
20
|
+
vendor_quote_item = "vendor_quote_item",
|
|
21
|
+
quote_item = "quote_item"
|
|
22
|
+
}
|
|
23
|
+
export interface ICustomUOMInputs extends Omit<INestedCustomUOM, "id" | "last_updated_by_vendor_user_id" | "last_updated_by_user_id" | "created_at" | "updated_at"> {
|
|
24
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CUSTOM_UOM_INCLUDE = void 0;
|
|
4
|
+
var CUSTOM_UOM_INCLUDE;
|
|
5
|
+
(function (CUSTOM_UOM_INCLUDE) {
|
|
6
|
+
CUSTOM_UOM_INCLUDE["vendor_quote_item"] = "vendor_quote_item";
|
|
7
|
+
CUSTOM_UOM_INCLUDE["quote_item"] = "quote_item";
|
|
8
|
+
})(CUSTOM_UOM_INCLUDE || (exports.CUSTOM_UOM_INCLUDE = CUSTOM_UOM_INCLUDE = {}));
|
|
@@ -25,6 +25,10 @@ import { INestedVESItem } from "./company/masters/vesItem.typings";
|
|
|
25
25
|
import { INestedPOASNItemJunction } from "./company/masters/poAsnJunctionItems.typings";
|
|
26
26
|
import { INestedPOGRNItemJunction } from "./company/masters/poGrnJunctionItems.typings";
|
|
27
27
|
import { INestedAmendedPOItem } from "./company/masters/amendedPOItems.typings";
|
|
28
|
+
import { INestedVendorQuoteItem } from "./vendorQuoteItems.typings";
|
|
29
|
+
import { INestedComparativeItemsQuantitySplit } from "./comparativeItemQUantitySplit.typings";
|
|
30
|
+
import { INestedItemQuestionnaire } from "./common/configurableForms/itemQuetionnaire.typings";
|
|
31
|
+
import { INestedRFQQuestionnaireQuestion } from "./common/configurableForms/rfqQuestionnaireQuestions.typings";
|
|
28
32
|
export declare enum ITEM_STATUS {
|
|
29
33
|
PENDING_APPROVAL = "PENDING_APPROVAL",
|
|
30
34
|
APPROVED = "APPROVED",
|
|
@@ -73,7 +77,12 @@ export declare enum ITEM_INCLUDE {
|
|
|
73
77
|
used_in_po_grn_item_junction = "used_in_po_grn_item_junction",
|
|
74
78
|
cancelled_by_user = "cancelled_by_user",
|
|
75
79
|
used_in_ves_items = "used_in_ves_items",
|
|
76
|
-
referenced_in_amended_po_items = "referenced_in_amended_po_items"
|
|
80
|
+
referenced_in_amended_po_items = "referenced_in_amended_po_items",
|
|
81
|
+
linked_vendor_items = "linked_vendor_items",
|
|
82
|
+
referenced_in_comparative_items_splits = "referenced_in_comparative_items_splits",
|
|
83
|
+
questionnaire = "questionnaire",
|
|
84
|
+
referenced_in_sub_po_items = "referenced_in_sub_po_items",
|
|
85
|
+
questionnaire_for_item_in_rfqs = "questionnaire_for_item_in_rfqs"
|
|
77
86
|
}
|
|
78
87
|
export interface IOpenItemApprovalsPayload extends IOpenApprovalsBase {
|
|
79
88
|
item_id: string;
|
|
@@ -187,8 +196,12 @@ export interface IItem {
|
|
|
187
196
|
approval_chain: INestedEntityApprovalChainEntry[] | null;
|
|
188
197
|
cancelled_by_user: INestedUser | null;
|
|
189
198
|
used_in_ves_items: INestedVESItem[] | null;
|
|
199
|
+
linked_vendor_items: INestedVendorQuoteItem[] | null;
|
|
200
|
+
referenced_in_comparative_items_splits: INestedComparativeItemsQuantitySplit[] | null;
|
|
201
|
+
questionnaire: INestedItemQuestionnaire[] | null;
|
|
202
|
+
questionnaire_for_item_in_rfqs: INestedRFQQuestionnaireQuestion[] | null;
|
|
190
203
|
}
|
|
191
|
-
export interface INestedItem extends Omit<IItem, "inventory_entries" | "created_by_user" | "sent_for_approval_by" | "item_category" | "item_subcategory" | "company" | "used_in_rfq_items" | "used_in_indent_items" | "used_in_mi_items" | "used_in_pr_items" | "used_in_quote_items" | "used_in_grn_items" | "used_in_mrn_items" | "used_in_bom_items" | "used_in_comparative_items" | "previous_purchase_vendor" | "least_purchase_vendor" | "dealing_company_vendors" | "used_in_po_asn_item_junction" | "used_in_po_grn_item_junction" | "vendor_item_versions" | "last_updated_by" | "used_in_istd_items" | "used_in_iads" | "used_in_inventory_logs" | "previous_purchase_po" | "least_purchase_po" | "parent_item_management_body" | "approval_chain" | "cancelled_by_user" | "used_in_ves_items" | "referenced_in_amended_po_items"> {
|
|
204
|
+
export interface INestedItem extends Omit<IItem, "inventory_entries" | "created_by_user" | "sent_for_approval_by" | "item_category" | "item_subcategory" | "company" | "used_in_rfq_items" | "used_in_indent_items" | "used_in_mi_items" | "used_in_pr_items" | "used_in_quote_items" | "used_in_grn_items" | "used_in_mrn_items" | "used_in_bom_items" | "used_in_comparative_items" | "previous_purchase_vendor" | "least_purchase_vendor" | "dealing_company_vendors" | "used_in_po_asn_item_junction" | "used_in_po_grn_item_junction" | "vendor_item_versions" | "last_updated_by" | "used_in_istd_items" | "used_in_iads" | "used_in_inventory_logs" | "previous_purchase_po" | "least_purchase_po" | "parent_item_management_body" | "approval_chain" | "cancelled_by_user" | "used_in_ves_items" | "referenced_in_amended_po_items" | "referenced_in_comparative_items_splits" | "questionnaire" | "questionnaire_for_item_in_rfqs"> {
|
|
192
205
|
}
|
|
193
206
|
export declare const ITEM_CLASSIFICATION: {
|
|
194
207
|
DIRECT: string;
|
|
@@ -204,10 +217,6 @@ export declare enum ITEM_TYPES {
|
|
|
204
217
|
GOOD = "GOOD",
|
|
205
218
|
SERVICE = "SERVICE"
|
|
206
219
|
}
|
|
207
|
-
export declare const UOMS: {
|
|
208
|
-
full_form: string;
|
|
209
|
-
short_form: string;
|
|
210
|
-
}[];
|
|
211
220
|
export interface IItemCSVUploadRes {
|
|
212
221
|
items: IItem[];
|
|
213
222
|
errItems: (IItem & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ITEM_LIST_TYPE = exports.
|
|
3
|
+
exports.ITEM_LIST_TYPE = exports.ITEM_TYPES = exports.ITEM_TAX_PREFERENCE = exports.ITEM_CLASSIFICATION = exports.ITEM_INCLUDE = exports.ITEM_TOLERANCE_TYPES = exports.ITEM_STATUS = void 0;
|
|
4
4
|
var ITEM_STATUS;
|
|
5
5
|
(function (ITEM_STATUS) {
|
|
6
6
|
ITEM_STATUS["PENDING_APPROVAL"] = "PENDING_APPROVAL";
|
|
@@ -49,6 +49,11 @@ var ITEM_INCLUDE;
|
|
|
49
49
|
ITEM_INCLUDE["cancelled_by_user"] = "cancelled_by_user";
|
|
50
50
|
ITEM_INCLUDE["used_in_ves_items"] = "used_in_ves_items";
|
|
51
51
|
ITEM_INCLUDE["referenced_in_amended_po_items"] = "referenced_in_amended_po_items";
|
|
52
|
+
ITEM_INCLUDE["linked_vendor_items"] = "linked_vendor_items";
|
|
53
|
+
ITEM_INCLUDE["referenced_in_comparative_items_splits"] = "referenced_in_comparative_items_splits";
|
|
54
|
+
ITEM_INCLUDE["questionnaire"] = "questionnaire";
|
|
55
|
+
ITEM_INCLUDE["referenced_in_sub_po_items"] = "referenced_in_sub_po_items";
|
|
56
|
+
ITEM_INCLUDE["questionnaire_for_item_in_rfqs"] = "questionnaire_for_item_in_rfqs";
|
|
52
57
|
})(ITEM_INCLUDE || (exports.ITEM_INCLUDE = ITEM_INCLUDE = {}));
|
|
53
58
|
exports.ITEM_CLASSIFICATION = {
|
|
54
59
|
DIRECT: "Direct",
|
|
@@ -69,54 +74,6 @@ var ITEM_TYPES;
|
|
|
69
74
|
ITEM_TYPES["GOOD"] = "GOOD";
|
|
70
75
|
ITEM_TYPES["SERVICE"] = "SERVICE";
|
|
71
76
|
})(ITEM_TYPES || (exports.ITEM_TYPES = ITEM_TYPES = {}));
|
|
72
|
-
exports.UOMS = [
|
|
73
|
-
{ full_form: "BAGS", short_form: "BAG" },
|
|
74
|
-
{ full_form: "BALE", short_form: "BAL" },
|
|
75
|
-
{ full_form: "BILLION OF UNITS", short_form: "BOU" },
|
|
76
|
-
{ full_form: "BOTTLES", short_form: "BTL" },
|
|
77
|
-
{ full_form: "BOX", short_form: "BOX" },
|
|
78
|
-
{ full_form: "BUCKLES", short_form: "BKL" },
|
|
79
|
-
{ full_form: "BUNCHES", short_form: "BUN" },
|
|
80
|
-
{ full_form: "BUNDLES", short_form: "BDL" },
|
|
81
|
-
{ full_form: "CANS", short_form: "CAN" },
|
|
82
|
-
{ full_form: "CARTONS", short_form: "CTN" },
|
|
83
|
-
{ full_form: "CENTI METERS", short_form: "CMS" },
|
|
84
|
-
{ full_form: "CUBIC CENTIMETERS", short_form: "CCM" },
|
|
85
|
-
{ full_form: "CUBIC METERS", short_form: "CBM" },
|
|
86
|
-
{ full_form: "DRUMS", short_form: "DRM" },
|
|
87
|
-
{ full_form: "GRAMMES", short_form: "GMS" },
|
|
88
|
-
{ full_form: "GREAT GROSS", short_form: "GGK" },
|
|
89
|
-
{ full_form: "GROSS", short_form: "GRS" },
|
|
90
|
-
{ full_form: "KILOGRAMS", short_form: "KGS" },
|
|
91
|
-
{ full_form: "KILOLITRE", short_form: "KLR" },
|
|
92
|
-
{ full_form: "KILOMETRE", short_form: "KME" },
|
|
93
|
-
{ full_form: "LITRES", short_form: "LTR" },
|
|
94
|
-
{ full_form: "METERS", short_form: "MTR" },
|
|
95
|
-
{ full_form: "METRIC TON", short_form: "MTS" },
|
|
96
|
-
{ full_form: "MILILITRE", short_form: "MLT" },
|
|
97
|
-
{ full_form: "NUMBERS", short_form: "NOS" },
|
|
98
|
-
{ full_form: "OTHERS", short_form: "OTH" },
|
|
99
|
-
{ full_form: "PACKS", short_form: "PAC" },
|
|
100
|
-
{ full_form: "PAIRS", short_form: "PRS" },
|
|
101
|
-
{ full_form: "PIECES", short_form: "PCS" },
|
|
102
|
-
{ full_form: "QUINTAL", short_form: "QTL" },
|
|
103
|
-
{ full_form: "ROLLS", short_form: "ROL" },
|
|
104
|
-
{ full_form: "SETS", short_form: "SET" },
|
|
105
|
-
{ full_form: "SQUARE FEET", short_form: "SQF" },
|
|
106
|
-
{ full_form: "SQUARE METERS", short_form: "SQM" },
|
|
107
|
-
{ full_form: "SQUARE YARDS", short_form: "SQY" },
|
|
108
|
-
{ full_form: "TABLETS", short_form: "TBS" },
|
|
109
|
-
{ full_form: "TEN GROSS", short_form: "TGM" },
|
|
110
|
-
{ full_form: "THOUSANDS", short_form: "THD" },
|
|
111
|
-
{ full_form: "TONNES", short_form: "TON" },
|
|
112
|
-
{ full_form: "TUBES", short_form: "TUB" },
|
|
113
|
-
{ full_form: "UNITS", short_form: "UNT" },
|
|
114
|
-
{ full_form: "US GALLONS", short_form: "UGS" },
|
|
115
|
-
{ full_form: "YARDS", short_form: "YDS" },
|
|
116
|
-
{ full_form: "PAIR", short_form: "PAA" },
|
|
117
|
-
{ full_form: "EACH", short_form: "EA" },
|
|
118
|
-
{ full_form: "DOZENS", short_form: "DZ" },
|
|
119
|
-
];
|
|
120
77
|
var ITEM_LIST_TYPE;
|
|
121
78
|
(function (ITEM_LIST_TYPE) {
|
|
122
79
|
ITEM_LIST_TYPE["ALL"] = "ALL";
|