@colijnit/transactionapi 257.1.13 → 257.1.15
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/transaction-method.enum.d.ts +2 -1
- package/build/enum/transaction-method.enum.js +1 -0
- package/build/ione-api-transaction.d.ts +1 -0
- package/build/model/planned-resource-for-transaction-line.bo.d.ts +7 -0
- package/build/model/planned-resource-for-transaction-line.bo.js +7 -0
- package/build/model/print-purchase-order-for-sales-order-request.d.ts +7 -0
- package/build/transaction-auth.d.ts +1 -0
- package/build/transaction-auth.js +13 -0
- package/build/transaction-public.d.ts +1 -0
- package/build/transaction-public.js +4 -0
- package/build/transaction.d.ts +1 -0
- package/build/transaction.js +4 -0
- package/package.json +1 -1
|
@@ -151,5 +151,6 @@ export declare enum TransactionMethod {
|
|
|
151
151
|
RestoreDeliverySettings = "restoreDeliverySettings",
|
|
152
152
|
GetPlannedLinesForEmployee = "getPlannedLinesForEmployee",
|
|
153
153
|
CopyTransactionLine = "copyTransactionLine",
|
|
154
|
-
TransactionPlanPeriods = "transactionPlanPeriods"
|
|
154
|
+
TransactionPlanPeriods = "transactionPlanPeriods",
|
|
155
|
+
GetPlannedResourcesForTransactionLine = "getPlannedResourcesForTransactionLine"
|
|
155
156
|
}
|
|
@@ -156,4 +156,5 @@ var TransactionMethod;
|
|
|
156
156
|
TransactionMethod["GetPlannedLinesForEmployee"] = "getPlannedLinesForEmployee";
|
|
157
157
|
TransactionMethod["CopyTransactionLine"] = "copyTransactionLine";
|
|
158
158
|
TransactionMethod["TransactionPlanPeriods"] = "transactionPlanPeriods";
|
|
159
|
+
TransactionMethod["GetPlannedResourcesForTransactionLine"] = "getPlannedResourcesForTransactionLine";
|
|
159
160
|
})(TransactionMethod = exports.TransactionMethod || (exports.TransactionMethod = {}));
|
|
@@ -520,5 +520,6 @@ export declare abstract class IoneApiTransaction {
|
|
|
520
520
|
abstract getSupplierProducts(goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
521
521
|
abstract getStandardPrinter(reportId: number, type: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
522
522
|
abstract getDocsToSignForTrans(request: GetDocsToSignForTransRequest, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
523
|
+
abstract getPlannedResourcesForTransactionLine(transId: number, lineNr: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
523
524
|
protected endPoint: string;
|
|
524
525
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BusinessObject } from '@colijnit/ioneconnector/build/model/business-object';
|
|
2
|
+
export declare class PlannedResourceForTransactionLine extends BusinessObject {
|
|
3
|
+
resourceId: number;
|
|
4
|
+
resourceDescription: string;
|
|
5
|
+
planningId: number;
|
|
6
|
+
planningStartTime: Date;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PlannedResourceForTransactionLine = void 0;
|
|
4
|
+
const business_object_1 = require("@colijnit/ioneconnector/build/model/business-object");
|
|
5
|
+
class PlannedResourceForTransactionLine extends business_object_1.BusinessObject {
|
|
6
|
+
}
|
|
7
|
+
exports.PlannedResourceForTransactionLine = PlannedResourceForTransactionLine;
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { ReportingDocumentPrintBaseRequest } from "@colijnit/mainapi/build/model/reporting-document-print-base-request";
|
|
2
2
|
export declare class PrintPurchaseOrderForSalesOrderRequest extends ReportingDocumentPrintBaseRequest {
|
|
3
3
|
lineNumbers: number[];
|
|
4
|
+
useRelationSpecificReports: boolean;
|
|
5
|
+
useRelationSpecificSendMethods: boolean;
|
|
6
|
+
reportIdForPrinting: number;
|
|
7
|
+
reportIdForEmail: number;
|
|
8
|
+
overruleSendMethodForEmail: number;
|
|
9
|
+
overruleSendMethodForEDI: number;
|
|
10
|
+
overruleSendMethodForPrinting: number;
|
|
4
11
|
}
|
|
@@ -510,6 +510,7 @@ export declare class TransactionAuth extends IoneApiTransaction {
|
|
|
510
510
|
copyTransactionLine(request: TransactionLineCopyRequest, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
511
511
|
getStandardPrinter(reportId: number, type: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
512
512
|
getTransactionPlanPeriods(transId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
513
|
+
getPlannedResourcesForTransactionLine(transId: number, lineNr: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
513
514
|
getSupplierProducts(goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
514
515
|
getDocsToSignForTrans(request: GetDocsToSignForTransRequest, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
515
516
|
private _getDomainCollection;
|
|
@@ -3082,6 +3082,19 @@ class TransactionAuth extends ione_api_transaction_1.IoneApiTransaction {
|
|
|
3082
3082
|
};
|
|
3083
3083
|
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data, backend_service_name_enum_1.BackendServiceName.DataService, showLoader);
|
|
3084
3084
|
}
|
|
3085
|
+
getPlannedResourcesForTransactionLine(transId, lineNr, showLoader) {
|
|
3086
|
+
const params = {
|
|
3087
|
+
transId: transId,
|
|
3088
|
+
lineNr: lineNr
|
|
3089
|
+
};
|
|
3090
|
+
const data = {
|
|
3091
|
+
moduleName: module_name_enum_1.ModuleName.Planning,
|
|
3092
|
+
methodName: transaction_method_enum_1.TransactionMethod.GetPlannedResourcesForTransactionLine,
|
|
3093
|
+
parameterValues: params,
|
|
3094
|
+
refCursorAsArray: true
|
|
3095
|
+
};
|
|
3096
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data, backend_service_name_enum_1.BackendServiceName.DataService, showLoader);
|
|
3097
|
+
}
|
|
3085
3098
|
getSupplierProducts(goodId, showLoader) {
|
|
3086
3099
|
const params = {
|
|
3087
3100
|
goodId: goodId
|
|
@@ -514,6 +514,7 @@ export declare class TransactionPublic extends IoneApiTransaction {
|
|
|
514
514
|
getTransactionPlanPeriods(transId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
515
515
|
getSupplierProducts(goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
516
516
|
getDocsToSignForTrans(request: GetDocsToSignForTransRequest, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
517
|
+
getPlannedResourcesForTransactionLine(transId: number, lineNr: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
517
518
|
private _getDomainCollection;
|
|
518
519
|
private _getMultipleDomainCollection;
|
|
519
520
|
private getValidationResultSuccess;
|
|
@@ -1481,6 +1481,10 @@ class TransactionPublic extends ione_api_transaction_1.IoneApiTransaction {
|
|
|
1481
1481
|
console.warn(' getDocsToSignForTrans not implemented');
|
|
1482
1482
|
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
1483
1483
|
}
|
|
1484
|
+
getPlannedResourcesForTransactionLine(transId, lineNr, showLoader) {
|
|
1485
|
+
console.warn(' getPlannedResourcesForTransactionLine implemented');
|
|
1486
|
+
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
1487
|
+
}
|
|
1484
1488
|
async _getDomainCollection(languageCode, domainName, showLoader) {
|
|
1485
1489
|
const params = {
|
|
1486
1490
|
domainName: domainName,
|
package/build/transaction.d.ts
CHANGED
|
@@ -533,6 +533,7 @@ export declare class Transaction {
|
|
|
533
533
|
copyTransactionLine(request: TransactionLineCopyRequest, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
534
534
|
getTransactionPlanPeriods(transId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
535
535
|
getSupplierProducts(goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
536
|
+
getPlannedResourcesForTransactionLine(transId: number, lineNr: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
536
537
|
getDocsToSignForTrans(request: GetDocsToSignForTransRequest, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
537
538
|
private _handleConnectionReset;
|
|
538
539
|
}
|
package/build/transaction.js
CHANGED
|
@@ -1072,6 +1072,10 @@ class Transaction {
|
|
|
1072
1072
|
getSupplierProducts(goodId, showLoader) {
|
|
1073
1073
|
return this.transaction.getSupplierProducts(goodId, showLoader);
|
|
1074
1074
|
}
|
|
1075
|
+
getPlannedResourcesForTransactionLine(transId, lineNr, showLoader) {
|
|
1076
|
+
return this.transaction.getPlannedResourcesForTransactionLine(transId, lineNr, showLoader);
|
|
1077
|
+
}
|
|
1078
|
+
;
|
|
1075
1079
|
getDocsToSignForTrans(request, showLoader) {
|
|
1076
1080
|
return this.transaction.getDocsToSignForTrans(request);
|
|
1077
1081
|
}
|