@colijnit/transactionapi 1.1.19 → 1.1.22
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/public-service-method.d.ts +4 -0
- package/build/enum/public-service-method.js +4 -0
- package/build/enum/transaction-method.enum.d.ts +5 -1
- package/build/enum/transaction-method.enum.js +4 -0
- package/build/ione-api-transaction.d.ts +6 -0
- package/build/model/acceptance-container.bo.d.ts +10 -0
- package/build/model/acceptance-container.bo.js +48 -0
- package/build/model/acceptance-line.bo.d.ts +8 -0
- package/build/model/acceptance-line.bo.js +22 -0
- package/build/model/get-article-price-request.d.ts +3 -3
- package/build/model/goods-receipt-history.bo.d.ts +17 -0
- package/build/model/goods-receipt-history.bo.js +36 -0
- package/build/model/goods-receipt-status-with-history.bo.d.ts +5 -0
- package/build/model/goods-receipt-status-with-history.bo.js +22 -0
- package/build/model/goods-receipt-status.bo.d.ts +5 -0
- package/build/model/goods-receipt-status.bo.js +22 -0
- package/build/model/purchase-order-line-receipt-correction-details.bo.d.ts +7 -0
- package/build/model/purchase-order-line-receipt-correction-details.bo.js +22 -0
- package/build/model/purchase-order-line-receipt-details.bo.d.ts +9 -0
- package/build/model/purchase-order-line-receipt-details.bo.js +22 -0
- package/build/model/purchase-order-line.bo.d.ts +16 -0
- package/build/model/purchase-order-line.bo.js +36 -0
- package/build/model/purchase-order.bo.d.ts +10 -0
- package/build/model/purchase-order.bo.js +22 -0
- package/build/model/receive-goods-for-purchase-order-correction-request.bo.d.ts +7 -0
- package/build/model/receive-goods-for-purchase-order-correction-request.bo.js +22 -0
- package/build/model/receive-goods-for-purchase-order-request.bo.d.ts +8 -0
- package/build/model/receive-goods-for-purchase-order-request.bo.js +36 -0
- package/build/model/transaction-info.bo.d.ts +14 -7
- package/build/model/transaction-info.bo.js +9 -5
- package/build/model/transaction-line-info.bo.d.ts +4 -0
- package/build/model/transaction-line-status-base.bo.d.ts +5 -0
- package/build/model/transaction-line-status-base.bo.js +22 -0
- package/build/transaction-auth.d.ts +6 -0
- package/build/transaction-auth.js +44 -0
- package/build/transaction-public.d.ts +6 -0
- package/build/transaction-public.js +36 -0
- package/build/transaction.d.ts +6 -0
- package/build/transaction.js +12 -0
- package/package.json +1 -1
- package/build/enum/refcode/transaction-kind.d.ts +0 -13
- package/build/enum/refcode/transaction-kind.js +0 -14
|
@@ -58,6 +58,10 @@ export declare enum PublicServiceMethod {
|
|
|
58
58
|
GetDeliveryOptions = "getDeliveryMethods",
|
|
59
59
|
GetRelationListObjects = "getRelationListObjects",
|
|
60
60
|
GetStandardTextsNoHeadOrFeet = "getStandardTextsNoHeadOrFeet",
|
|
61
|
+
GetGoodsReceiptStatusWithHistory = "getGoodsReceiptStatusWithHistory",
|
|
62
|
+
GetGoodsReceiptStatus = "getGoodsReceiptStatus",
|
|
63
|
+
ReceiveGoodsForPurchaseOrder = "receiveGoodsForPurchaseOrder",
|
|
64
|
+
ReceiveGoodsForPurchaseOrderCorrection = "receiveGoodsForPurchaseOrderCorrection",
|
|
61
65
|
GetCustomerGroups = "getCustomerGroups",
|
|
62
66
|
Commit = "commit",
|
|
63
67
|
GetCashRegisters = "getCashRegisters",
|
|
@@ -59,6 +59,10 @@ export var PublicServiceMethod;
|
|
|
59
59
|
PublicServiceMethod["GetDeliveryOptions"] = "getDeliveryMethods";
|
|
60
60
|
PublicServiceMethod["GetRelationListObjects"] = "getRelationListObjects";
|
|
61
61
|
PublicServiceMethod["GetStandardTextsNoHeadOrFeet"] = "getStandardTextsNoHeadOrFeet";
|
|
62
|
+
PublicServiceMethod["GetGoodsReceiptStatusWithHistory"] = "getGoodsReceiptStatusWithHistory";
|
|
63
|
+
PublicServiceMethod["GetGoodsReceiptStatus"] = "getGoodsReceiptStatus";
|
|
64
|
+
PublicServiceMethod["ReceiveGoodsForPurchaseOrder"] = "receiveGoodsForPurchaseOrder";
|
|
65
|
+
PublicServiceMethod["ReceiveGoodsForPurchaseOrderCorrection"] = "receiveGoodsForPurchaseOrderCorrection";
|
|
62
66
|
PublicServiceMethod["GetCustomerGroups"] = "getCustomerGroups";
|
|
63
67
|
PublicServiceMethod["Commit"] = "commit";
|
|
64
68
|
PublicServiceMethod["GetCashRegisters"] = "getCashRegisters";
|
|
@@ -27,5 +27,9 @@ export declare enum TransactionMethod {
|
|
|
27
27
|
ChangeLineSupplierArticleNumber = "changeLineSupplierArticleNumber",
|
|
28
28
|
ChangeLineReference = "changeLineReference",
|
|
29
29
|
ChangeLineCollectionCode = "changeLineCollectionCode",
|
|
30
|
-
ChangeLineWarehouse = "changeLineWarehouse"
|
|
30
|
+
ChangeLineWarehouse = "changeLineWarehouse",
|
|
31
|
+
GetGoodsReceiptStatusWithHistory = "getGoodsReceiptStatusWithHistory",
|
|
32
|
+
GetGoodsReceiptStatus = "getGoodsReceiptStatus",
|
|
33
|
+
ReceiveGoodsForPurchaseOrder = "receiveGoodsForPurchaseOrder",
|
|
34
|
+
ReceiveGoodsForPurchaseOrderCorrection = "receiveGoodsForPurchaseOrderCorrection"
|
|
31
35
|
}
|
|
@@ -29,4 +29,8 @@ export var TransactionMethod;
|
|
|
29
29
|
TransactionMethod["ChangeLineReference"] = "changeLineReference";
|
|
30
30
|
TransactionMethod["ChangeLineCollectionCode"] = "changeLineCollectionCode";
|
|
31
31
|
TransactionMethod["ChangeLineWarehouse"] = "changeLineWarehouse";
|
|
32
|
+
TransactionMethod["GetGoodsReceiptStatusWithHistory"] = "getGoodsReceiptStatusWithHistory";
|
|
33
|
+
TransactionMethod["GetGoodsReceiptStatus"] = "getGoodsReceiptStatus";
|
|
34
|
+
TransactionMethod["ReceiveGoodsForPurchaseOrder"] = "receiveGoodsForPurchaseOrder";
|
|
35
|
+
TransactionMethod["ReceiveGoodsForPurchaseOrderCorrection"] = "receiveGoodsForPurchaseOrderCorrection";
|
|
32
36
|
})(TransactionMethod || (TransactionMethod = {}));
|
|
@@ -24,6 +24,8 @@ import { ChangeLineSupplierArticleNumberRequest } from './model/change-line-supp
|
|
|
24
24
|
import { ChangeLineReferenceRequest } from './model/change-line-reference-request';
|
|
25
25
|
import { ChangeLineCollectionCodeRequest } from './model/change-line-collection-code-request';
|
|
26
26
|
import { TransactionSearchViewRequest } from './model/transaction-search-view-request';
|
|
27
|
+
import { ReceiveGoodsForPurchaseOrderRequest } from "./model/receive-goods-for-purchase-order-request.bo";
|
|
28
|
+
import { ReceiveGoodsForPurchaseOrderCorrectionRequest } from "./model/receive-goods-for-purchase-order-correction-request.bo";
|
|
27
29
|
export declare abstract class IoneApiTransaction {
|
|
28
30
|
readonly showLoader: Subject<boolean>;
|
|
29
31
|
readonly connectionAborted: Subject<void>;
|
|
@@ -93,5 +95,9 @@ export declare abstract class IoneApiTransaction {
|
|
|
93
95
|
abstract changeLineSupplierArticleNumber(request: ChangeLineSupplierArticleNumberRequest): Promise<DataServiceResponseData>;
|
|
94
96
|
abstract changeLineReference(request: ChangeLineReferenceRequest): Promise<DataServiceResponseData>;
|
|
95
97
|
abstract changeLineCollectionCode(request: ChangeLineCollectionCodeRequest): Promise<DataServiceResponseData>;
|
|
98
|
+
abstract getGoodsReceiptStatusWithHistory(transId: number, lineNr: number): Promise<DataServiceResponseData>;
|
|
99
|
+
abstract getGoodsReceiptStatus(transId: number, lineNr: number): Promise<DataServiceResponseData>;
|
|
100
|
+
abstract receiveGoodsForPurchaseOrder(request: ReceiveGoodsForPurchaseOrderRequest): Promise<DataServiceResponseData>;
|
|
101
|
+
abstract receiveGoodsForPurchaseOrderCorrection(request: ReceiveGoodsForPurchaseOrderCorrectionRequest): Promise<DataServiceResponseData>;
|
|
96
102
|
protected endPoint: string;
|
|
97
103
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BusinessObject } from "./business-object";
|
|
2
|
+
export declare class AcceptanceContainer extends BusinessObject {
|
|
3
|
+
containerId: number;
|
|
4
|
+
containerNo: string;
|
|
5
|
+
shippingDate: Date;
|
|
6
|
+
arrivalDateContainer: Date;
|
|
7
|
+
loadingDate: Date;
|
|
8
|
+
EtaAtPort: Date;
|
|
9
|
+
amountInContainer: number;
|
|
10
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
+
};
|
|
20
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
21
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22
|
+
};
|
|
23
|
+
import { BusinessObject } from "./business-object";
|
|
24
|
+
import { DateField } from "../factory/decorators/date-field.decorator";
|
|
25
|
+
var AcceptanceContainer = (function (_super) {
|
|
26
|
+
__extends(AcceptanceContainer, _super);
|
|
27
|
+
function AcceptanceContainer() {
|
|
28
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
29
|
+
}
|
|
30
|
+
__decorate([
|
|
31
|
+
DateField(),
|
|
32
|
+
__metadata("design:type", Date)
|
|
33
|
+
], AcceptanceContainer.prototype, "shippingDate", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
DateField(),
|
|
36
|
+
__metadata("design:type", Date)
|
|
37
|
+
], AcceptanceContainer.prototype, "arrivalDateContainer", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
DateField(),
|
|
40
|
+
__metadata("design:type", Date)
|
|
41
|
+
], AcceptanceContainer.prototype, "loadingDate", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
DateField(),
|
|
44
|
+
__metadata("design:type", Date)
|
|
45
|
+
], AcceptanceContainer.prototype, "EtaAtPort", void 0);
|
|
46
|
+
return AcceptanceContainer;
|
|
47
|
+
}(BusinessObject));
|
|
48
|
+
export { AcceptanceContainer };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
import { BusinessObject } from "./business-object";
|
|
15
|
+
var AcceptanceLine = (function (_super) {
|
|
16
|
+
__extends(AcceptanceLine, _super);
|
|
17
|
+
function AcceptanceLine() {
|
|
18
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
19
|
+
}
|
|
20
|
+
return AcceptanceLine;
|
|
21
|
+
}(BusinessObject));
|
|
22
|
+
export { AcceptanceLine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PriceListType } from
|
|
2
|
-
import { PriceType } from
|
|
3
|
-
import { TransactionKind } from
|
|
1
|
+
import { PriceListType } from '../enum/refcode/price-list-type.enum';
|
|
2
|
+
import { PriceType } from '../enum/refcode/price-type.enum';
|
|
3
|
+
import { TransactionKind } from '../enum/transaction-kind.enum';
|
|
4
4
|
export declare class GetArticlePriceRequest {
|
|
5
5
|
goodId: number;
|
|
6
6
|
relationId?: number;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BusinessObject } from './business-object';
|
|
2
|
+
export declare class GoodsReceiptHistory extends BusinessObject {
|
|
3
|
+
documentId: number;
|
|
4
|
+
lineNumber: number;
|
|
5
|
+
refDocumentId: number;
|
|
6
|
+
refDocumentLineNumber: number;
|
|
7
|
+
status: string;
|
|
8
|
+
receiptDate: Date;
|
|
9
|
+
quantity: number;
|
|
10
|
+
warehouseNumber: number;
|
|
11
|
+
locationNumber: string;
|
|
12
|
+
batchNumber: string;
|
|
13
|
+
serialNr: string;
|
|
14
|
+
username: string;
|
|
15
|
+
reference: string;
|
|
16
|
+
type: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
+
};
|
|
20
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
21
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22
|
+
};
|
|
23
|
+
import { BusinessObject } from './business-object';
|
|
24
|
+
import { DateField } from "../factory/decorators/date-field.decorator";
|
|
25
|
+
var GoodsReceiptHistory = (function (_super) {
|
|
26
|
+
__extends(GoodsReceiptHistory, _super);
|
|
27
|
+
function GoodsReceiptHistory() {
|
|
28
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
29
|
+
}
|
|
30
|
+
__decorate([
|
|
31
|
+
DateField(),
|
|
32
|
+
__metadata("design:type", Date)
|
|
33
|
+
], GoodsReceiptHistory.prototype, "receiptDate", void 0);
|
|
34
|
+
return GoodsReceiptHistory;
|
|
35
|
+
}(BusinessObject));
|
|
36
|
+
export { GoodsReceiptHistory };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
import { GoodsReceiptStatus } from "./goods-receipt-status.bo";
|
|
15
|
+
var GoodsReceiptStatusWithHistory = (function (_super) {
|
|
16
|
+
__extends(GoodsReceiptStatusWithHistory, _super);
|
|
17
|
+
function GoodsReceiptStatusWithHistory() {
|
|
18
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
19
|
+
}
|
|
20
|
+
return GoodsReceiptStatusWithHistory;
|
|
21
|
+
}(GoodsReceiptStatus));
|
|
22
|
+
export { GoodsReceiptStatusWithHistory };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
import { TransactionLineStatusBase } from "./transaction-line-status-base.bo";
|
|
15
|
+
var GoodsReceiptStatus = (function (_super) {
|
|
16
|
+
__extends(GoodsReceiptStatus, _super);
|
|
17
|
+
function GoodsReceiptStatus() {
|
|
18
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
19
|
+
}
|
|
20
|
+
return GoodsReceiptStatus;
|
|
21
|
+
}(TransactionLineStatusBase));
|
|
22
|
+
export { GoodsReceiptStatus };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
import { BusinessObject } from "./business-object";
|
|
15
|
+
var PurchaseOrderLineReceiptCorrectionDetails = (function (_super) {
|
|
16
|
+
__extends(PurchaseOrderLineReceiptCorrectionDetails, _super);
|
|
17
|
+
function PurchaseOrderLineReceiptCorrectionDetails() {
|
|
18
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
19
|
+
}
|
|
20
|
+
return PurchaseOrderLineReceiptCorrectionDetails;
|
|
21
|
+
}(BusinessObject));
|
|
22
|
+
export { PurchaseOrderLineReceiptCorrectionDetails };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BusinessObject } from "./business-object";
|
|
2
|
+
export declare class PurchaseOrderLineReceiptDetails extends BusinessObject {
|
|
3
|
+
lineNr: number;
|
|
4
|
+
warehouseNr: number;
|
|
5
|
+
locationNr: string;
|
|
6
|
+
batchNr: string;
|
|
7
|
+
serialNr: string;
|
|
8
|
+
quantityToReceive: number;
|
|
9
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
import { BusinessObject } from "./business-object";
|
|
15
|
+
var PurchaseOrderLineReceiptDetails = (function (_super) {
|
|
16
|
+
__extends(PurchaseOrderLineReceiptDetails, _super);
|
|
17
|
+
function PurchaseOrderLineReceiptDetails() {
|
|
18
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
19
|
+
}
|
|
20
|
+
return PurchaseOrderLineReceiptDetails;
|
|
21
|
+
}(BusinessObject));
|
|
22
|
+
export { PurchaseOrderLineReceiptDetails };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BusinessObject } from "./business-object";
|
|
2
|
+
import { AcceptanceLine } from "./acceptance-line.bo";
|
|
3
|
+
import { AcceptanceContainer } from "./acceptance-container.bo";
|
|
4
|
+
export declare class PurchaseOrderLine extends BusinessObject {
|
|
5
|
+
transId: number;
|
|
6
|
+
lineNr: number;
|
|
7
|
+
goodId: number;
|
|
8
|
+
acceptDate: Date;
|
|
9
|
+
keepStock: boolean;
|
|
10
|
+
warehouseNr: number;
|
|
11
|
+
acceptanceAmount: number;
|
|
12
|
+
changeOrderAmount: boolean;
|
|
13
|
+
split: boolean;
|
|
14
|
+
containers: AcceptanceContainer[];
|
|
15
|
+
acceptanceLines: AcceptanceLine[];
|
|
16
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
+
};
|
|
20
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
21
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22
|
+
};
|
|
23
|
+
import { BusinessObject } from "./business-object";
|
|
24
|
+
import { DateField } from "../factory/decorators/date-field.decorator";
|
|
25
|
+
var PurchaseOrderLine = (function (_super) {
|
|
26
|
+
__extends(PurchaseOrderLine, _super);
|
|
27
|
+
function PurchaseOrderLine() {
|
|
28
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
29
|
+
}
|
|
30
|
+
__decorate([
|
|
31
|
+
DateField(),
|
|
32
|
+
__metadata("design:type", Date)
|
|
33
|
+
], PurchaseOrderLine.prototype, "acceptDate", void 0);
|
|
34
|
+
return PurchaseOrderLine;
|
|
35
|
+
}(BusinessObject));
|
|
36
|
+
export { PurchaseOrderLine };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BusinessObject } from "./business-object";
|
|
2
|
+
import { PurchaseOrderLine } from "./purchase-order-line.bo";
|
|
3
|
+
export declare class PurchaseOrder extends BusinessObject {
|
|
4
|
+
actionKind: string;
|
|
5
|
+
transId: number;
|
|
6
|
+
transactionNr: number;
|
|
7
|
+
packingSlipNr: string;
|
|
8
|
+
isCorrection: boolean;
|
|
9
|
+
purchaseOrderLines: PurchaseOrderLine[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
import { BusinessObject } from "./business-object";
|
|
15
|
+
var PurchaseOrder = (function (_super) {
|
|
16
|
+
__extends(PurchaseOrder, _super);
|
|
17
|
+
function PurchaseOrder() {
|
|
18
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
19
|
+
}
|
|
20
|
+
return PurchaseOrder;
|
|
21
|
+
}(BusinessObject));
|
|
22
|
+
export { PurchaseOrder };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BusinessObject } from "./business-object";
|
|
2
|
+
import { PurchaseOrderLineReceiptCorrectionDetails } from "./purchase-order-line-receipt-correction-details.bo";
|
|
3
|
+
export declare class ReceiveGoodsForPurchaseOrderCorrectionRequest extends BusinessObject {
|
|
4
|
+
transId: number;
|
|
5
|
+
purchaseOrderLineReceiptCorrectionDetailsDTOS: PurchaseOrderLineReceiptCorrectionDetails[];
|
|
6
|
+
allowedToRemovePickedAllocations: boolean;
|
|
7
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
import { BusinessObject } from "./business-object";
|
|
15
|
+
var ReceiveGoodsForPurchaseOrderCorrectionRequest = (function (_super) {
|
|
16
|
+
__extends(ReceiveGoodsForPurchaseOrderCorrectionRequest, _super);
|
|
17
|
+
function ReceiveGoodsForPurchaseOrderCorrectionRequest() {
|
|
18
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
19
|
+
}
|
|
20
|
+
return ReceiveGoodsForPurchaseOrderCorrectionRequest;
|
|
21
|
+
}(BusinessObject));
|
|
22
|
+
export { ReceiveGoodsForPurchaseOrderCorrectionRequest };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BusinessObject } from "./business-object";
|
|
2
|
+
import { PurchaseOrderLineReceiptDetails } from "./purchase-order-line-receipt-details.bo";
|
|
3
|
+
export declare class ReceiveGoodsForPurchaseOrderRequest extends BusinessObject {
|
|
4
|
+
transId: number;
|
|
5
|
+
packingSlipNr: string;
|
|
6
|
+
receivedDate: Date;
|
|
7
|
+
purchaseOrderLineReceiptDetailsDTOS: PurchaseOrderLineReceiptDetails[];
|
|
8
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
+
};
|
|
20
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
21
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22
|
+
};
|
|
23
|
+
import { BusinessObject } from "./business-object";
|
|
24
|
+
import { DateField } from "../factory/decorators/date-field.decorator";
|
|
25
|
+
var ReceiveGoodsForPurchaseOrderRequest = (function (_super) {
|
|
26
|
+
__extends(ReceiveGoodsForPurchaseOrderRequest, _super);
|
|
27
|
+
function ReceiveGoodsForPurchaseOrderRequest() {
|
|
28
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
29
|
+
}
|
|
30
|
+
__decorate([
|
|
31
|
+
DateField(),
|
|
32
|
+
__metadata("design:type", Date)
|
|
33
|
+
], ReceiveGoodsForPurchaseOrderRequest.prototype, "receivedDate", void 0);
|
|
34
|
+
return ReceiveGoodsForPurchaseOrderRequest;
|
|
35
|
+
}(BusinessObject));
|
|
36
|
+
export { ReceiveGoodsForPurchaseOrderRequest };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { BusinessObject } from
|
|
2
|
-
import { TransactionKind } from
|
|
3
|
-
import { RelationSmallObject } from
|
|
4
|
-
import { PriceType } from
|
|
5
|
-
import { Address } from "./address.bo";
|
|
1
|
+
import { BusinessObject } from './business-object';
|
|
2
|
+
import { TransactionKind } from '../enum/transaction-kind.enum';
|
|
3
|
+
import { RelationSmallObject } from './relation-small-object.bo';
|
|
4
|
+
import { PriceType } from '../enum/refcode/price-type.enum';
|
|
6
5
|
export declare class TransactionInfo extends BusinessObject {
|
|
7
6
|
uuid: string;
|
|
7
|
+
id: number;
|
|
8
8
|
transactionDate: Date;
|
|
9
9
|
transactionKind: TransactionKind;
|
|
10
10
|
transactionNr: number;
|
|
@@ -15,14 +15,21 @@ export declare class TransactionInfo extends BusinessObject {
|
|
|
15
15
|
deliveryMethod: string;
|
|
16
16
|
deliveryDate: Date;
|
|
17
17
|
allowPartialDelivery: boolean;
|
|
18
|
+
deliveryDateDefinitive: boolean;
|
|
19
|
+
transactionDefinitive: boolean;
|
|
20
|
+
printDiscount: boolean;
|
|
21
|
+
releaseTransaction: boolean;
|
|
22
|
+
dontSendOrderForms: boolean;
|
|
18
23
|
preferredDeliveryDate: Date;
|
|
19
24
|
preferredDeliveryDate2: string;
|
|
20
25
|
remark: string;
|
|
21
26
|
marketingCode: string;
|
|
22
27
|
relationReference: string;
|
|
23
28
|
ownReference: string;
|
|
24
|
-
|
|
25
|
-
|
|
29
|
+
admCoordinator: number;
|
|
30
|
+
transactionAddress: number;
|
|
31
|
+
invoiceAddress: number;
|
|
32
|
+
relationTransactionDate: Date;
|
|
26
33
|
messages: string[];
|
|
27
34
|
deliveryOptions: string[];
|
|
28
35
|
canPlanDelivery: boolean;
|
|
@@ -20,11 +20,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
20
20
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
21
21
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22
22
|
};
|
|
23
|
-
import { BusinessObject } from
|
|
24
|
-
import { DateField } from
|
|
25
|
-
import { ComplexField } from
|
|
26
|
-
import { RelationSmallObject } from
|
|
27
|
-
import { NoDbField } from
|
|
23
|
+
import { BusinessObject } from './business-object';
|
|
24
|
+
import { DateField } from '../factory/decorators/date-field.decorator';
|
|
25
|
+
import { ComplexField } from '../factory/decorators/complex-field.decorator';
|
|
26
|
+
import { RelationSmallObject } from './relation-small-object.bo';
|
|
27
|
+
import { NoDbField } from '../factory/decorators/no-db-field.decorator';
|
|
28
28
|
var TransactionInfo = (function (_super) {
|
|
29
29
|
__extends(TransactionInfo, _super);
|
|
30
30
|
function TransactionInfo() {
|
|
@@ -61,6 +61,10 @@ var TransactionInfo = (function (_super) {
|
|
|
61
61
|
DateField(),
|
|
62
62
|
__metadata("design:type", Date)
|
|
63
63
|
], TransactionInfo.prototype, "preferredDeliveryDate", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
DateField(),
|
|
66
|
+
__metadata("design:type", Date)
|
|
67
|
+
], TransactionInfo.prototype, "relationTransactionDate", void 0);
|
|
64
68
|
__decorate([
|
|
65
69
|
NoDbField(),
|
|
66
70
|
__metadata("design:type", Boolean)
|
|
@@ -13,6 +13,10 @@ export declare class TransactionLineInfo extends BusinessObject {
|
|
|
13
13
|
articleFreeSupplier: boolean;
|
|
14
14
|
articleFreeDescription: boolean;
|
|
15
15
|
articleFreeCommissionCode: boolean;
|
|
16
|
+
isLocationRequired: boolean;
|
|
17
|
+
isBatchNrRequired: boolean;
|
|
18
|
+
isSerialNrRequired: boolean;
|
|
19
|
+
isWarehouseRequired: boolean;
|
|
16
20
|
amount: number;
|
|
17
21
|
price: number;
|
|
18
22
|
priceListCode: string;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
import { BusinessObject } from './business-object';
|
|
15
|
+
var TransactionLineStatusBase = (function (_super) {
|
|
16
|
+
__extends(TransactionLineStatusBase, _super);
|
|
17
|
+
function TransactionLineStatusBase() {
|
|
18
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
19
|
+
}
|
|
20
|
+
return TransactionLineStatusBase;
|
|
21
|
+
}(BusinessObject));
|
|
22
|
+
export { TransactionLineStatusBase };
|
|
@@ -23,6 +23,8 @@ import { ChangeLineSupplierArticleNumberRequest } from './model/change-line-supp
|
|
|
23
23
|
import { ChangeLineReferenceRequest } from './model/change-line-reference-request';
|
|
24
24
|
import { ChangeLineCollectionCodeRequest } from './model/change-line-collection-code-request';
|
|
25
25
|
import { TransactionSearchViewRequest } from './model/transaction-search-view-request';
|
|
26
|
+
import { ReceiveGoodsForPurchaseOrderRequest } from "./model/receive-goods-for-purchase-order-request.bo";
|
|
27
|
+
import { ReceiveGoodsForPurchaseOrderCorrectionRequest } from "./model/receive-goods-for-purchase-order-correction-request.bo";
|
|
26
28
|
export declare class TransactionAuth extends IoneApiTransaction {
|
|
27
29
|
private _boSerializer;
|
|
28
30
|
searchTransactions(request: TransactionSearchViewRequest): Promise<DataServiceResponseData>;
|
|
@@ -86,6 +88,10 @@ export declare class TransactionAuth extends IoneApiTransaction {
|
|
|
86
88
|
getPostalCodeRetrieval(postalCode: string, houseNumber: string): Promise<DataServiceResponseData>;
|
|
87
89
|
getRelationListObjects(relationRequest: RelationRequest): Promise<DataServiceResponseData>;
|
|
88
90
|
setRelationByUser(uuid: string, username: string, password: string): Promise<DataServiceResponseData>;
|
|
91
|
+
getGoodsReceiptStatusWithHistory(transId: number, lineNr: number): Promise<DataServiceResponseData>;
|
|
92
|
+
getGoodsReceiptStatus(transId: number, lineNr: number): Promise<DataServiceResponseData>;
|
|
93
|
+
receiveGoodsForPurchaseOrder(request: ReceiveGoodsForPurchaseOrderRequest): Promise<DataServiceResponseData>;
|
|
94
|
+
receiveGoodsForPurchaseOrderCorrection(request: ReceiveGoodsForPurchaseOrderCorrectionRequest): Promise<DataServiceResponseData>;
|
|
89
95
|
private _getDomainCollection;
|
|
90
96
|
private _getMultipleDomainCollection;
|
|
91
97
|
private callGetNodeData;
|
|
@@ -662,6 +662,50 @@ var TransactionAuth = (function (_super) {
|
|
|
662
662
|
};
|
|
663
663
|
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
664
664
|
};
|
|
665
|
+
TransactionAuth.prototype.getGoodsReceiptStatusWithHistory = function (transId, lineNr) {
|
|
666
|
+
var paramValues = {
|
|
667
|
+
transId: transId,
|
|
668
|
+
lineNr: lineNr
|
|
669
|
+
};
|
|
670
|
+
var data = {
|
|
671
|
+
moduleName: ModuleName.Transaction,
|
|
672
|
+
methodName: TransactionMethod.GetGoodsReceiptStatusWithHistory,
|
|
673
|
+
parameterValues: paramValues,
|
|
674
|
+
refCursorAsArray: true
|
|
675
|
+
};
|
|
676
|
+
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
677
|
+
};
|
|
678
|
+
TransactionAuth.prototype.getGoodsReceiptStatus = function (transId, lineNr) {
|
|
679
|
+
var paramValues = {
|
|
680
|
+
transId: transId,
|
|
681
|
+
lineNr: lineNr
|
|
682
|
+
};
|
|
683
|
+
var data = {
|
|
684
|
+
moduleName: ModuleName.Transaction,
|
|
685
|
+
methodName: TransactionMethod.GetGoodsReceiptStatus,
|
|
686
|
+
parameterValues: paramValues,
|
|
687
|
+
refCursorAsArray: true
|
|
688
|
+
};
|
|
689
|
+
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
690
|
+
};
|
|
691
|
+
TransactionAuth.prototype.receiveGoodsForPurchaseOrder = function (request) {
|
|
692
|
+
var data = {
|
|
693
|
+
moduleName: ModuleName.Logistics,
|
|
694
|
+
methodName: TransactionMethod.ReceiveGoodsForPurchaseOrder,
|
|
695
|
+
parameterValues: request,
|
|
696
|
+
refCursorAsArray: true
|
|
697
|
+
};
|
|
698
|
+
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
699
|
+
};
|
|
700
|
+
TransactionAuth.prototype.receiveGoodsForPurchaseOrderCorrection = function (request) {
|
|
701
|
+
var data = {
|
|
702
|
+
moduleName: ModuleName.Logistics,
|
|
703
|
+
methodName: TransactionMethod.ReceiveGoodsForPurchaseOrderCorrection,
|
|
704
|
+
parameterValues: request,
|
|
705
|
+
refCursorAsArray: true
|
|
706
|
+
};
|
|
707
|
+
return this._call(DataServiceMethod.ExecuteMethod, data);
|
|
708
|
+
};
|
|
665
709
|
TransactionAuth.prototype._getDomainCollection = function (languageCode, domainName) {
|
|
666
710
|
var params = {
|
|
667
711
|
domainName: domainName,
|
|
@@ -23,6 +23,8 @@ import { ChangeLineReferenceRequest } from './model/change-line-reference-reques
|
|
|
23
23
|
import { ChangeLineCollectionCodeRequest } from './model/change-line-collection-code-request';
|
|
24
24
|
import { ChangeLineQuantityRequest } from './model/change-line-quantity-request';
|
|
25
25
|
import { TransactionSearchViewRequest } from './model/transaction-search-view-request';
|
|
26
|
+
import { ReceiveGoodsForPurchaseOrderRequest } from "./model/receive-goods-for-purchase-order-request.bo";
|
|
27
|
+
import { ReceiveGoodsForPurchaseOrderCorrectionRequest } from "./model/receive-goods-for-purchase-order-correction-request.bo";
|
|
26
28
|
export declare class TransactionPublic extends IoneApiTransaction {
|
|
27
29
|
protected endPoint: string;
|
|
28
30
|
searchTransactions(request: TransactionSearchViewRequest): Promise<DataServiceResponseData>;
|
|
@@ -87,6 +89,10 @@ export declare class TransactionPublic extends IoneApiTransaction {
|
|
|
87
89
|
getPostalCodeRetrieval(postalCode: string, houseNumber: string): Promise<DataServiceResponseData>;
|
|
88
90
|
getRelationListObjects(relationRequest: RelationRequest): Promise<DataServiceResponseData>;
|
|
89
91
|
setRelationByUser(uuid: string, username: string, password: string): Promise<DataServiceResponseData>;
|
|
92
|
+
getGoodsReceiptStatusWithHistory(transId: number, lineNr: number): Promise<DataServiceResponseData>;
|
|
93
|
+
getGoodsReceiptStatus(transId: number, lineNr: number): Promise<DataServiceResponseData>;
|
|
94
|
+
receiveGoodsForPurchaseOrder(request: ReceiveGoodsForPurchaseOrderRequest): Promise<DataServiceResponseData>;
|
|
95
|
+
receiveGoodsForPurchaseOrderCorrection(request: ReceiveGoodsForPurchaseOrderCorrectionRequest): Promise<DataServiceResponseData>;
|
|
90
96
|
private createServiceRequestData;
|
|
91
97
|
private _getDomainCollection;
|
|
92
98
|
private _getMultipleDomainCollection;
|
|
@@ -666,6 +666,42 @@ var TransactionPublic = (function (_super) {
|
|
|
666
666
|
});
|
|
667
667
|
});
|
|
668
668
|
};
|
|
669
|
+
TransactionPublic.prototype.getGoodsReceiptStatusWithHistory = function (transId, lineNr) {
|
|
670
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
671
|
+
var data;
|
|
672
|
+
return __generator(this, function (_a) {
|
|
673
|
+
data = __assign({}, this.createServiceRequestData());
|
|
674
|
+
return [2, this._call(PublicServiceMethod.GetGoodsReceiptStatusWithHistory, data)];
|
|
675
|
+
});
|
|
676
|
+
});
|
|
677
|
+
};
|
|
678
|
+
TransactionPublic.prototype.getGoodsReceiptStatus = function (transId, lineNr) {
|
|
679
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
680
|
+
var data;
|
|
681
|
+
return __generator(this, function (_a) {
|
|
682
|
+
data = __assign({}, this.createServiceRequestData());
|
|
683
|
+
return [2, this._call(PublicServiceMethod.GetGoodsReceiptStatus, data)];
|
|
684
|
+
});
|
|
685
|
+
});
|
|
686
|
+
};
|
|
687
|
+
TransactionPublic.prototype.receiveGoodsForPurchaseOrder = function (request) {
|
|
688
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
689
|
+
var data;
|
|
690
|
+
return __generator(this, function (_a) {
|
|
691
|
+
data = __assign({}, this.createServiceRequestData());
|
|
692
|
+
return [2, this._call(PublicServiceMethod.ReceiveGoodsForPurchaseOrder, data)];
|
|
693
|
+
});
|
|
694
|
+
});
|
|
695
|
+
};
|
|
696
|
+
TransactionPublic.prototype.receiveGoodsForPurchaseOrderCorrection = function (request) {
|
|
697
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
698
|
+
var data;
|
|
699
|
+
return __generator(this, function (_a) {
|
|
700
|
+
data = __assign({}, this.createServiceRequestData());
|
|
701
|
+
return [2, this._call(PublicServiceMethod.ReceiveGoodsForPurchaseOrderCorrection, data)];
|
|
702
|
+
});
|
|
703
|
+
});
|
|
704
|
+
};
|
|
669
705
|
TransactionPublic.prototype.createServiceRequestData = function () {
|
|
670
706
|
var data = { languageCode: this.languageCode };
|
|
671
707
|
return data;
|
package/build/transaction.d.ts
CHANGED
|
@@ -26,6 +26,8 @@ import { ChangeLineSupplierArticleNumberRequest } from './model/change-line-supp
|
|
|
26
26
|
import { ChangeLineReferenceRequest } from './model/change-line-reference-request';
|
|
27
27
|
import { ChangeLineCollectionCodeRequest } from './model/change-line-collection-code-request';
|
|
28
28
|
import { TransactionSearchViewRequest } from './model/transaction-search-view-request';
|
|
29
|
+
import { ReceiveGoodsForPurchaseOrderRequest } from "./model/receive-goods-for-purchase-order-request.bo";
|
|
30
|
+
import { ReceiveGoodsForPurchaseOrderCorrectionRequest } from "./model/receive-goods-for-purchase-order-correction-request.bo";
|
|
29
31
|
export declare class Transaction {
|
|
30
32
|
readonly showLoader: Subject<boolean>;
|
|
31
33
|
readonly connectionAborted: Subject<void>;
|
|
@@ -104,6 +106,10 @@ export declare class Transaction {
|
|
|
104
106
|
getDeliveryOptions(): Promise<DataServiceResponseData>;
|
|
105
107
|
getPostalCodeRetrieval(postalCode: string, houseNumber: string): Promise<DataServiceResponseData>;
|
|
106
108
|
getRelationListObjects(relationRequest: RelationRequest): Promise<DataServiceResponseData>;
|
|
109
|
+
getGoodsReceiptStatusWithHistory(transId: number, lineNr: number): Promise<DataServiceResponseData>;
|
|
110
|
+
getGoodsReceiptStatus(transId: number, lineNr: number): Promise<DataServiceResponseData>;
|
|
111
|
+
receiveGoodsForPurchaseOrder(request: ReceiveGoodsForPurchaseOrderRequest): Promise<DataServiceResponseData>;
|
|
112
|
+
receiveGoodsForPurchaseOrderCorrection(request: ReceiveGoodsForPurchaseOrderCorrectionRequest): Promise<DataServiceResponseData>;
|
|
107
113
|
setRelationByUser(uuid: string, username: string, password: string): Promise<DataServiceResponseData>;
|
|
108
114
|
static createConnector(options: Options): IoneApiTransaction;
|
|
109
115
|
private _handleConnectionReset;
|
package/build/transaction.js
CHANGED
|
@@ -259,6 +259,18 @@ var Transaction = (function () {
|
|
|
259
259
|
Transaction.prototype.getRelationListObjects = function (relationRequest) {
|
|
260
260
|
return this.transaction.getRelationListObjects(relationRequest);
|
|
261
261
|
};
|
|
262
|
+
Transaction.prototype.getGoodsReceiptStatusWithHistory = function (transId, lineNr) {
|
|
263
|
+
return this.transaction.getGoodsReceiptStatusWithHistory(transId, lineNr);
|
|
264
|
+
};
|
|
265
|
+
Transaction.prototype.getGoodsReceiptStatus = function (transId, lineNr) {
|
|
266
|
+
return this.transaction.getGoodsReceiptStatus(transId, lineNr);
|
|
267
|
+
};
|
|
268
|
+
Transaction.prototype.receiveGoodsForPurchaseOrder = function (request) {
|
|
269
|
+
return this.transaction.receiveGoodsForPurchaseOrder(request);
|
|
270
|
+
};
|
|
271
|
+
Transaction.prototype.receiveGoodsForPurchaseOrderCorrection = function (request) {
|
|
272
|
+
return this.transaction.receiveGoodsForPurchaseOrderCorrection(request);
|
|
273
|
+
};
|
|
262
274
|
Transaction.prototype.setRelationByUser = function (uuid, username, password) {
|
|
263
275
|
return __awaiter(this, void 0, void 0, function () {
|
|
264
276
|
return __generator(this, function (_a) {
|
package/package.json
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare enum TransactionKind {
|
|
2
|
-
PurchaseConfirmation = "B",
|
|
3
|
-
SalesInvoice = "F",
|
|
4
|
-
PurchaseInvoice = "G",
|
|
5
|
-
PurchaseOrder = "I",
|
|
6
|
-
CashDesk = "K",
|
|
7
|
-
InternalDelivery = "L",
|
|
8
|
-
SalesQuotation = "O",
|
|
9
|
-
PurchaseQuotation = "P",
|
|
10
|
-
ServiceOrder = "S",
|
|
11
|
-
PeriodicSalesOrder = "T",
|
|
12
|
-
SalesOrder = "V"
|
|
13
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export var TransactionKind;
|
|
2
|
-
(function (TransactionKind) {
|
|
3
|
-
TransactionKind["PurchaseConfirmation"] = "B";
|
|
4
|
-
TransactionKind["SalesInvoice"] = "F";
|
|
5
|
-
TransactionKind["PurchaseInvoice"] = "G";
|
|
6
|
-
TransactionKind["PurchaseOrder"] = "I";
|
|
7
|
-
TransactionKind["CashDesk"] = "K";
|
|
8
|
-
TransactionKind["InternalDelivery"] = "L";
|
|
9
|
-
TransactionKind["SalesQuotation"] = "O";
|
|
10
|
-
TransactionKind["PurchaseQuotation"] = "P";
|
|
11
|
-
TransactionKind["ServiceOrder"] = "S";
|
|
12
|
-
TransactionKind["PeriodicSalesOrder"] = "T";
|
|
13
|
-
TransactionKind["SalesOrder"] = "V";
|
|
14
|
-
})(TransactionKind || (TransactionKind = {}));
|