kcommons 18.10.12 → 18.11.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/typings/company/masters/imr.typings.d.ts +2 -1
- package/build/typings/company/masters/imr.typings.js +1 -0
- package/build/typings/company/masters/po.typings.d.ts +1 -1
- package/build/typings/mrn.typings.d.ts +7 -7
- package/build/typings/plugins/erp.plugins.d.ts +6 -4
- package/build/typings/plugins/erp.plugins.js +5 -3
- package/build/typings/system/erpPluginsMetadata.typings.d.ts +1 -0
- package/build/typings/system/queueJob.typings.d.ts +12 -11
- package/build/typings/system/queueJob.typings.js +3 -2
- package/package.json +1 -1
|
@@ -129,7 +129,8 @@ export declare enum INVOICE_MATCHING_RECORD_METAFIELDS_INCLUDE {
|
|
|
129
129
|
vendor_data = "vendor_data",
|
|
130
130
|
parent_invoice_user_data = "parent_invoice_user_data",
|
|
131
131
|
associated_po_items = "associated_po_items",
|
|
132
|
-
imr_items_pending_quantity = "imr_items_pending_quantity"
|
|
132
|
+
imr_items_pending_quantity = "imr_items_pending_quantity",
|
|
133
|
+
associated_qcd = "associated_qcd"
|
|
133
134
|
}
|
|
134
135
|
export interface IVerndorDataForInvoiceMatchingRecoed {
|
|
135
136
|
vendor_trade_name: string | null;
|
|
@@ -50,4 +50,5 @@ var INVOICE_MATCHING_RECORD_METAFIELDS_INCLUDE;
|
|
|
50
50
|
INVOICE_MATCHING_RECORD_METAFIELDS_INCLUDE["parent_invoice_user_data"] = "parent_invoice_user_data";
|
|
51
51
|
INVOICE_MATCHING_RECORD_METAFIELDS_INCLUDE["associated_po_items"] = "associated_po_items";
|
|
52
52
|
INVOICE_MATCHING_RECORD_METAFIELDS_INCLUDE["imr_items_pending_quantity"] = "imr_items_pending_quantity";
|
|
53
|
+
INVOICE_MATCHING_RECORD_METAFIELDS_INCLUDE["associated_qcd"] = "associated_qcd";
|
|
53
54
|
})(INVOICE_MATCHING_RECORD_METAFIELDS_INCLUDE || (exports.INVOICE_MATCHING_RECORD_METAFIELDS_INCLUDE = INVOICE_MATCHING_RECORD_METAFIELDS_INCLUDE = {}));
|
|
@@ -219,7 +219,7 @@ export interface IPurchaseOrder {
|
|
|
219
219
|
tnc: INestedTermsAndConditions | null;
|
|
220
220
|
pt: INestedPo | null;
|
|
221
221
|
closed_early_by_user: INestedUser | null;
|
|
222
|
-
child_mrns: INestedMRN | null;
|
|
222
|
+
child_mrns: INestedMRN[] | null;
|
|
223
223
|
referenced_in_grns: INestedGRN[] | null;
|
|
224
224
|
accepted_rejected_by_vendor_user: INestedVendorUser | null;
|
|
225
225
|
sub_pos: INestedSubPO[] | null;
|
|
@@ -108,13 +108,6 @@ export interface IMRN {
|
|
|
108
108
|
deleted_at: string | null;
|
|
109
109
|
created_at: string;
|
|
110
110
|
updated_at: string;
|
|
111
|
-
batch_number: string | null;
|
|
112
|
-
mfg_date: string | null;
|
|
113
|
-
best_before_date: string | null;
|
|
114
|
-
net_weight: number | null;
|
|
115
|
-
pack_size: string | null;
|
|
116
|
-
no_of_pack: string | null;
|
|
117
|
-
total_value: number | null;
|
|
118
111
|
company: INestedCompany | null;
|
|
119
112
|
parent_grn: INestedGRN | null;
|
|
120
113
|
parent_department: INestedDepartment | null;
|
|
@@ -163,6 +156,13 @@ export interface IMRNItem {
|
|
|
163
156
|
parent_grn_item_id: string | null;
|
|
164
157
|
parent_istd_item_id: string | null;
|
|
165
158
|
parent_po_item_id: string | null;
|
|
159
|
+
batch_number: string | null;
|
|
160
|
+
mfg_date: string | null;
|
|
161
|
+
best_before_date: string | null;
|
|
162
|
+
net_weight: number | null;
|
|
163
|
+
pack_type: string | null;
|
|
164
|
+
no_of_pack: number | null;
|
|
165
|
+
total_value: number | null;
|
|
166
166
|
attachment_link: string | null;
|
|
167
167
|
is_deleted: boolean;
|
|
168
168
|
deleted_at: string | null;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export declare enum ERP_PLUGINS {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
PUSH_VENDOR_TO_ERP = "PUSH_VENDOR_TO_ERP",
|
|
3
|
+
VENDOR_DUPLICITY_LOOKUP_IN_ERP = "VENDOR_DUPLICITY_LOOKUP_IN_ERP",
|
|
4
|
+
PUSH_GI_TO_ERP = "PUSH_GI_TO_ERP",
|
|
5
|
+
FETCH_FROM_ERP_AND_CREATE_PO = "FETCH_FROM_ERP_AND_CREATE_PO",
|
|
6
|
+
FETCH_FROM_ERP_AND_UPDATE_PO = "FETCH_FROM_ERP_AND_UPDATE_PO",
|
|
7
|
+
FETCH_FROM_ERP_AND_CREATE_GRN = "FETCH_FROM_ERP_AND_CREATE_GRN"
|
|
6
8
|
}
|
|
@@ -3,8 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ERP_PLUGINS = void 0;
|
|
4
4
|
var ERP_PLUGINS;
|
|
5
5
|
(function (ERP_PLUGINS) {
|
|
6
|
-
ERP_PLUGINS["
|
|
7
|
-
ERP_PLUGINS["
|
|
8
|
-
ERP_PLUGINS["ERP_VENDOR_DUPLICITY_CHECK"] = "ERP_VENDOR_DUPLICITY_CHECK";
|
|
6
|
+
ERP_PLUGINS["PUSH_VENDOR_TO_ERP"] = "PUSH_VENDOR_TO_ERP";
|
|
7
|
+
ERP_PLUGINS["VENDOR_DUPLICITY_LOOKUP_IN_ERP"] = "VENDOR_DUPLICITY_LOOKUP_IN_ERP";
|
|
9
8
|
ERP_PLUGINS["PUSH_GI_TO_ERP"] = "PUSH_GI_TO_ERP";
|
|
9
|
+
ERP_PLUGINS["FETCH_FROM_ERP_AND_CREATE_PO"] = "FETCH_FROM_ERP_AND_CREATE_PO";
|
|
10
|
+
ERP_PLUGINS["FETCH_FROM_ERP_AND_UPDATE_PO"] = "FETCH_FROM_ERP_AND_UPDATE_PO";
|
|
11
|
+
ERP_PLUGINS["FETCH_FROM_ERP_AND_CREATE_GRN"] = "FETCH_FROM_ERP_AND_CREATE_GRN";
|
|
10
12
|
})(ERP_PLUGINS || (exports.ERP_PLUGINS = ERP_PLUGINS = {}));
|
|
@@ -5,8 +5,9 @@ import { INestedUser } from "../user.typings";
|
|
|
5
5
|
import { INestedVendor } from "../vendor.typings";
|
|
6
6
|
export declare enum QUEUE_JOB_TYPES {
|
|
7
7
|
PO_EXCEL_UPLOAD = "PO_EXCEL_UPLOAD",
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
FETCH_FROM_ERP_AND_CREATE_PO = "FETCH_FROM_ERP_AND_CREATE_PO",
|
|
9
|
+
FETCH_FROM_ERP_AND_UPDATE_PO = "FETCH_FROM_ERP_AND_UPDATE_PO",
|
|
10
|
+
FETCH_FROM_ERP_AND_CREATE_GRN = "FETCH_FROM_ERP_AND_CREATE_GRN"
|
|
10
11
|
}
|
|
11
12
|
export declare enum QUEUE_JOB_STATUS {
|
|
12
13
|
waiting = "waiting",
|
|
@@ -60,9 +61,9 @@ export interface IQueueJobFiltersWithPagination extends IPaginationFilters {
|
|
|
60
61
|
* appropriate services to process it.
|
|
61
62
|
*/
|
|
62
63
|
export interface IQueueJobMetadata extends Pick<IQueueJob, "job_type"> {
|
|
63
|
-
po_data?:
|
|
64
|
+
po_data?: IHaldiramsPODataFetchedFromERPData;
|
|
64
65
|
}
|
|
65
|
-
export interface
|
|
66
|
+
export interface IHaldiramsPurchaseOrderItems {
|
|
66
67
|
item_code: string | null;
|
|
67
68
|
remark: string | null;
|
|
68
69
|
quantity: string | null;
|
|
@@ -76,8 +77,8 @@ export interface IPurchaseOrderItems {
|
|
|
76
77
|
under_tolerance_percentage: string | null;
|
|
77
78
|
Delivery_Completed: string | null;
|
|
78
79
|
}
|
|
79
|
-
export interface
|
|
80
|
-
purchase_order_number:
|
|
80
|
+
export interface IHaldiramsPODataFetchedFromERPData {
|
|
81
|
+
purchase_order_number: number | null;
|
|
81
82
|
purchase_location_code: string | null;
|
|
82
83
|
shipping_location_code: string | null;
|
|
83
84
|
comany_vendor_code: string | null;
|
|
@@ -87,11 +88,11 @@ export interface IPurchaseOrderDataFromERP {
|
|
|
87
88
|
created_by_employee_code: string | null;
|
|
88
89
|
request_date: string | null;
|
|
89
90
|
Payment_terms: string | null;
|
|
90
|
-
items:
|
|
91
|
+
items: IHaldiramsPurchaseOrderItems[];
|
|
91
92
|
}
|
|
92
|
-
export interface
|
|
93
|
-
purchase_order:
|
|
93
|
+
export interface IHaldiramsPODataFetchedResponse {
|
|
94
|
+
purchase_order: IHaldiramsPODataFetchedFromERPData[];
|
|
94
95
|
}
|
|
95
|
-
export interface
|
|
96
|
-
MT_POFetch_Res:
|
|
96
|
+
export interface IHaldiramsPODataFetchedFromERPWrapper {
|
|
97
|
+
MT_POFetch_Res: IHaldiramsPODataFetchedResponse;
|
|
97
98
|
}
|
|
@@ -4,8 +4,9 @@ exports.QUEUE_JOB_INCLUDE = exports.QUEUE_JOB_CREATED_BY_TYPE = exports.QUEUE_JO
|
|
|
4
4
|
var QUEUE_JOB_TYPES;
|
|
5
5
|
(function (QUEUE_JOB_TYPES) {
|
|
6
6
|
QUEUE_JOB_TYPES["PO_EXCEL_UPLOAD"] = "PO_EXCEL_UPLOAD";
|
|
7
|
-
QUEUE_JOB_TYPES["
|
|
8
|
-
QUEUE_JOB_TYPES["
|
|
7
|
+
QUEUE_JOB_TYPES["FETCH_FROM_ERP_AND_CREATE_PO"] = "FETCH_FROM_ERP_AND_CREATE_PO";
|
|
8
|
+
QUEUE_JOB_TYPES["FETCH_FROM_ERP_AND_UPDATE_PO"] = "FETCH_FROM_ERP_AND_UPDATE_PO";
|
|
9
|
+
QUEUE_JOB_TYPES["FETCH_FROM_ERP_AND_CREATE_GRN"] = "FETCH_FROM_ERP_AND_CREATE_GRN";
|
|
9
10
|
})(QUEUE_JOB_TYPES || (exports.QUEUE_JOB_TYPES = QUEUE_JOB_TYPES = {}));
|
|
10
11
|
var QUEUE_JOB_STATUS;
|
|
11
12
|
(function (QUEUE_JOB_STATUS) {
|