kcommons 18.27.4 → 18.27.6
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 -0
- package/build/typings/grn.typings.d.ts +1 -0
- package/build/typings/kpis/gate/gateKpis.typings.d.ts +4 -0
- package/build/typings/kpis/gateOps/gateOpsKpis.typings.d.ts +0 -1
- package/build/typings/kpis/kpiVesItems.typings.js +4 -2
- package/build/typings/supplierInvoice.typings.d.ts +2 -0
- package/build/typings/system/erpPluginConfigCompany.typings.d.ts +2 -1
- package/build/typings/system/erpPluginConfigCompany.typings.js +1 -0
- package/package.json +1 -1
|
@@ -78,6 +78,8 @@ export interface IInvoiceMatchingRecord {
|
|
|
78
78
|
associated_mrn_id: string;
|
|
79
79
|
parent_accounts_id: string;
|
|
80
80
|
status: INVOICE_MATCHING_RECORD_STATUS;
|
|
81
|
+
erp_imr_code: string | null;
|
|
82
|
+
sync_to_erp_at: string | null;
|
|
81
83
|
approved_at: string | null;
|
|
82
84
|
created_at: string;
|
|
83
85
|
updated_at: string;
|
|
@@ -140,6 +140,7 @@ export interface IGRN {
|
|
|
140
140
|
challan_no: string | null;
|
|
141
141
|
challan_date: string | null;
|
|
142
142
|
erp_grn_code: string | null;
|
|
143
|
+
weight_bridge_document_no: string | null;
|
|
143
144
|
company: INestedCompany | null;
|
|
144
145
|
created_by_user: INestedUser | null;
|
|
145
146
|
last_updated_by_user: INestedUser | null;
|
|
@@ -12,6 +12,10 @@ export interface IGateKpiCardsResponse {
|
|
|
12
12
|
ves_pending_gi: number;
|
|
13
13
|
invoices_pending_verification: number;
|
|
14
14
|
}
|
|
15
|
+
export interface IGateKpiCardsFilters {
|
|
16
|
+
gate_id?: string;
|
|
17
|
+
store_location_id?: string;
|
|
18
|
+
}
|
|
15
19
|
export interface IGateVehicleColumnsFilters {
|
|
16
20
|
store_location_id?: string;
|
|
17
21
|
gate_id?: string;
|
|
@@ -5,7 +5,6 @@ import { KPI_SORTING_ORDER } from "../kpiSorting.typings";
|
|
|
5
5
|
export interface IGateOpsKpiCardsResponse {
|
|
6
6
|
verified_invoice_count: number;
|
|
7
7
|
recorded_invoice_count: number;
|
|
8
|
-
invalid_invoice_count: number;
|
|
9
8
|
total_ves_recorded_count: number;
|
|
10
9
|
}
|
|
11
10
|
export interface IGateOpsExpectedVehicleItem {
|
|
@@ -3,9 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.KPI_VES_ITEMS_SOURCE = void 0;
|
|
4
4
|
// Items shown on a VES card in the vehicle dashboards (gate ops, gate, checkpoint, exit checkpoint)
|
|
5
5
|
// Source depends on the VES's supplier invoice:
|
|
6
|
-
// - VERIFIED invoice ->
|
|
7
|
-
//
|
|
6
|
+
// - VERIFIED invoice -> PO items the invoice lines are matched to (with the
|
|
7
|
+
// invoiced quantity), or the invoice line when it has no PO item
|
|
8
|
+
// - RAISED or INVALID invoice -> supplier invoice items
|
|
8
9
|
// - anything else -> VES items
|
|
10
|
+
// ASN is no longer returned; kept for older clients
|
|
9
11
|
var KPI_VES_ITEMS_SOURCE;
|
|
10
12
|
(function (KPI_VES_ITEMS_SOURCE) {
|
|
11
13
|
KPI_VES_ITEMS_SOURCE["SUPPLIER_INVOICE"] = "SUPPLIER_INVOICE";
|
|
@@ -77,6 +77,8 @@ export interface ISupplierInvoice {
|
|
|
77
77
|
rejection_reason: string | null;
|
|
78
78
|
cancellation_reason: string | null;
|
|
79
79
|
confidence_score: number | null;
|
|
80
|
+
ack_number: string | null;
|
|
81
|
+
ack_date: string | null;
|
|
80
82
|
marked_as_cancelled_by_user_id: string | null;
|
|
81
83
|
marked_as_verified_by_user_id: string | null;
|
|
82
84
|
created_by_vendor_user_id: string | null;
|
|
@@ -7,7 +7,8 @@ export declare enum ERP_PLUGINS {
|
|
|
7
7
|
CREATE_PO_IN_KRAYA_USING_JSON = "CREATE_PO_IN_KRAYA_USING_JSON",
|
|
8
8
|
FETCH_FROM_ERP_AND_UPDATE_PO = "FETCH_FROM_ERP_AND_UPDATE_PO",
|
|
9
9
|
UPDATE_PO_IN_KRAYA_USING_JSON = "UPDATE_PO_IN_KRAYA_USING_JSON",
|
|
10
|
-
FETCH_FROM_ERP_AND_CREATE_GRN = "FETCH_FROM_ERP_AND_CREATE_GRN"
|
|
10
|
+
FETCH_FROM_ERP_AND_CREATE_GRN = "FETCH_FROM_ERP_AND_CREATE_GRN",
|
|
11
|
+
PUSH_IMR_TO_ERP = "PUSH_IMR_TO_ERP"
|
|
11
12
|
}
|
|
12
13
|
export declare enum ERP_PLUGINS_CONFIG_COMPANY_INCLUDE {
|
|
13
14
|
company = "company"
|
|
@@ -11,6 +11,7 @@ var ERP_PLUGINS;
|
|
|
11
11
|
ERP_PLUGINS["FETCH_FROM_ERP_AND_UPDATE_PO"] = "FETCH_FROM_ERP_AND_UPDATE_PO";
|
|
12
12
|
ERP_PLUGINS["UPDATE_PO_IN_KRAYA_USING_JSON"] = "UPDATE_PO_IN_KRAYA_USING_JSON";
|
|
13
13
|
ERP_PLUGINS["FETCH_FROM_ERP_AND_CREATE_GRN"] = "FETCH_FROM_ERP_AND_CREATE_GRN";
|
|
14
|
+
ERP_PLUGINS["PUSH_IMR_TO_ERP"] = "PUSH_IMR_TO_ERP";
|
|
14
15
|
})(ERP_PLUGINS || (exports.ERP_PLUGINS = ERP_PLUGINS = {}));
|
|
15
16
|
var ERP_PLUGINS_CONFIG_COMPANY_INCLUDE;
|
|
16
17
|
(function (ERP_PLUGINS_CONFIG_COMPANY_INCLUDE) {
|