@colijnit/transactionapi 257.1.5 → 257.1.7
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/enum/article-object-name.enum.d.ts +2 -1
- package/build/enum/article-object-name.enum.js +1 -0
- package/build/ione-api-transaction.d.ts +1 -0
- package/build/model/goods-to-be-picked-for-order-request.d.ts +1 -0
- package/build/model/transaction-line-info.bo.d.ts +1 -0
- package/build/model/transaction-line-info.bo.js +5 -0
- package/build/transaction-auth.d.ts +1 -0
- package/build/transaction-auth.js +6 -0
- package/build/transaction-public.d.ts +1 -0
- package/build/transaction-public.js +6 -2
- package/build/transaction.d.ts +1 -0
- package/build/transaction.js +3 -0
- package/package.json +1 -1
|
@@ -18,4 +18,5 @@ var ArticledObjectName;
|
|
|
18
18
|
ArticledObjectName["Atmosphere"] = "Atmosphere";
|
|
19
19
|
ArticledObjectName["ArticleFullObject"] = "ArticleFullObject";
|
|
20
20
|
ArticledObjectName["ArticleText"] = "ArticleText";
|
|
21
|
+
ArticledObjectName["SupplierProduct"] = "SupplierProduct";
|
|
21
22
|
})(ArticledObjectName = exports.ArticledObjectName || (exports.ArticledObjectName = {}));
|
|
@@ -511,6 +511,7 @@ export declare abstract class IoneApiTransaction {
|
|
|
511
511
|
abstract getTermsAndConditionsForm(transId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
512
512
|
abstract copyTransactionLine(request: TransactionLineCopyRequest, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
513
513
|
abstract getTransactionPlanPeriods(transId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
514
|
+
abstract getSupplierProducts(goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
514
515
|
abstract getStandardPrinter(reportId: number, type: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
515
516
|
protected endPoint: string;
|
|
516
517
|
}
|
|
@@ -122,6 +122,7 @@ export declare class TransactionLineInfo extends BusinessObject {
|
|
|
122
122
|
purchasePortalLine: PurchasePortalLine;
|
|
123
123
|
refTransactions: TransactionRefTransaction[];
|
|
124
124
|
refServiceTransactions: TransactionRefTransaction[];
|
|
125
|
+
refTransactionsPurchase: TransactionRefTransaction[];
|
|
125
126
|
deliveryCostLine: boolean;
|
|
126
127
|
linkedAnalysisResultId: number;
|
|
127
128
|
set visible(value: boolean);
|
|
@@ -35,6 +35,7 @@ class TransactionLineInfo extends business_object_1.BusinessObject {
|
|
|
35
35
|
this.purchasePortalLine = new purchase_portal_line_bo_1.PurchasePortalLine();
|
|
36
36
|
this.refTransactions = [];
|
|
37
37
|
this.refServiceTransactions = [];
|
|
38
|
+
this.refTransactionsPurchase = [];
|
|
38
39
|
this.deliveryCostLine = false;
|
|
39
40
|
this.visibilityChange = new rxjs_1.Subject();
|
|
40
41
|
this._visible = false;
|
|
@@ -228,6 +229,10 @@ __decorate([
|
|
|
228
229
|
(0, no_db_field_decorator_1.NoDbField)(),
|
|
229
230
|
__metadata("design:type", Array)
|
|
230
231
|
], TransactionLineInfo.prototype, "refServiceTransactions", void 0);
|
|
232
|
+
__decorate([
|
|
233
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
234
|
+
__metadata("design:type", Array)
|
|
235
|
+
], TransactionLineInfo.prototype, "refTransactionsPurchase", void 0);
|
|
231
236
|
__decorate([
|
|
232
237
|
(0, no_db_field_decorator_1.NoDbField)(),
|
|
233
238
|
__metadata("design:type", Boolean)
|
|
@@ -504,6 +504,7 @@ export declare class TransactionAuth extends IoneApiTransaction {
|
|
|
504
504
|
copyTransactionLine(request: TransactionLineCopyRequest, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
505
505
|
getStandardPrinter(reportId: number, type: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
506
506
|
getTransactionPlanPeriods(transId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
507
|
+
getSupplierProducts(goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
507
508
|
private _getDomainCollection;
|
|
508
509
|
private _getMultipleDomainCollection;
|
|
509
510
|
private callGetNodeData;
|
|
@@ -3037,6 +3037,12 @@ class TransactionAuth extends ione_api_transaction_1.IoneApiTransaction {
|
|
|
3037
3037
|
};
|
|
3038
3038
|
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data, backend_service_name_enum_1.BackendServiceName.DataService, showLoader);
|
|
3039
3039
|
}
|
|
3040
|
+
getSupplierProducts(goodId, showLoader) {
|
|
3041
|
+
const params = {
|
|
3042
|
+
goodId: goodId
|
|
3043
|
+
};
|
|
3044
|
+
return this.selectMultiple(module_name_enum_1.ModuleName.Articles, article_object_name_enum_1.ArticledObjectName.SupplierProduct, "", params, showLoader);
|
|
3045
|
+
}
|
|
3040
3046
|
_getDomainCollection(languageCode, domainName, showLoader) {
|
|
3041
3047
|
const params = {
|
|
3042
3048
|
domainName: domainName,
|
|
@@ -506,6 +506,7 @@ export declare class TransactionPublic extends IoneApiTransaction {
|
|
|
506
506
|
private createServiceRequestData;
|
|
507
507
|
copyTransactionLine(request: TransactionLineCopyRequest, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
508
508
|
getTransactionPlanPeriods(transId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
509
|
+
getSupplierProducts(goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
509
510
|
private _getDomainCollection;
|
|
510
511
|
private _getMultipleDomainCollection;
|
|
511
512
|
private getValidationResultSuccess;
|
|
@@ -1450,11 +1450,15 @@ class TransactionPublic extends ione_api_transaction_1.IoneApiTransaction {
|
|
|
1450
1450
|
return data;
|
|
1451
1451
|
}
|
|
1452
1452
|
copyTransactionLine(request, showLoader) {
|
|
1453
|
-
console.warn(' copyTransactionLine implemented');
|
|
1453
|
+
console.warn(' copyTransactionLine not implemented');
|
|
1454
1454
|
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
1455
1455
|
}
|
|
1456
1456
|
getTransactionPlanPeriods(transId, showLoader) {
|
|
1457
|
-
console.warn(' getTransactionPlanPeriods implemented');
|
|
1457
|
+
console.warn(' getTransactionPlanPeriods not implemented');
|
|
1458
|
+
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
1459
|
+
}
|
|
1460
|
+
getSupplierProducts(goodId, showLoader) {
|
|
1461
|
+
console.warn(' getSupplierProducts not implemented');
|
|
1458
1462
|
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
1459
1463
|
}
|
|
1460
1464
|
async _getDomainCollection(languageCode, domainName, showLoader) {
|
package/build/transaction.d.ts
CHANGED
|
@@ -526,5 +526,6 @@ export declare class Transaction {
|
|
|
526
526
|
getDeliveryDateOrder(transId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
527
527
|
copyTransactionLine(request: TransactionLineCopyRequest, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
528
528
|
getTransactionPlanPeriods(transId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
529
|
+
getSupplierProducts(goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
529
530
|
private _handleConnectionReset;
|
|
530
531
|
}
|
package/build/transaction.js
CHANGED
|
@@ -1057,6 +1057,9 @@ class Transaction {
|
|
|
1057
1057
|
return this.transaction.getTransactionPlanPeriods(transId, showLoader);
|
|
1058
1058
|
}
|
|
1059
1059
|
;
|
|
1060
|
+
getSupplierProducts(goodId, showLoader) {
|
|
1061
|
+
return this.transaction.getSupplierProducts(goodId, showLoader);
|
|
1062
|
+
}
|
|
1060
1063
|
_handleConnectionReset() {
|
|
1061
1064
|
this.transaction.currentInstanceId = undefined;
|
|
1062
1065
|
this.connectionResetInactivity.next();
|