@colijnit/transactionapi 1.1.67 → 1.1.68
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/model/purchase-order-line-receipt-details.bo.d.ts +2 -0
- package/build/model/receive-goods-for-purchase-order-request.bo.d.ts +3 -2
- package/build/model/receive-goods-for-purchase-order-request.bo.js +4 -16
- package/build/model/transaction-line-info.bo.d.ts +9 -0
- package/build/model/transaction-line-info.bo.js +34 -0
- package/package.json +1 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { BusinessObject } from '@colijnit/ioneconnector/build/model/business-object';
|
|
2
1
|
import { PurchaseOrderLineReceiptDetails } from './purchase-order-line-receipt-details.bo';
|
|
3
|
-
export declare class ReceiveGoodsForPurchaseOrderRequest
|
|
2
|
+
export declare class ReceiveGoodsForPurchaseOrderRequest {
|
|
4
3
|
transId: number;
|
|
5
4
|
packingSlipNr: string;
|
|
6
5
|
receivedDate: Date;
|
|
6
|
+
printerName: string;
|
|
7
|
+
reportId: number;
|
|
7
8
|
purchaseOrderLineReceiptDetailsDTOS: PurchaseOrderLineReceiptDetails[];
|
|
8
9
|
}
|
|
@@ -1,20 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
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;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
3
|
+
class ReceiveGoodsForPurchaseOrderRequest {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.purchaseOrderLineReceiptDetailsDTOS = [];
|
|
6
|
+
}
|
|
15
7
|
}
|
|
16
|
-
__decorate([
|
|
17
|
-
date_field_decorator_1.DateField(),
|
|
18
|
-
__metadata("design:type", Date)
|
|
19
|
-
], ReceiveGoodsForPurchaseOrderRequest.prototype, "receivedDate", void 0);
|
|
20
8
|
exports.ReceiveGoodsForPurchaseOrderRequest = ReceiveGoodsForPurchaseOrderRequest;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BusinessObject } from '@colijnit/ioneconnector/build/model/business-object';
|
|
2
2
|
import { TransactionLineType } from '../enum/transaction-line-type.enum';
|
|
3
3
|
import { TextKindType } from '../enum/text-kind-type.enum';
|
|
4
|
+
import { PurchasePortalLine } from './purchase-portal-line.bo';
|
|
4
5
|
export declare class TransactionLineInfo extends BusinessObject {
|
|
5
6
|
uuid: string;
|
|
6
7
|
lineNr: number;
|
|
@@ -93,5 +94,13 @@ export declare class TransactionLineInfo extends BusinessObject {
|
|
|
93
94
|
get isSelected(): boolean;
|
|
94
95
|
articleImageData: string;
|
|
95
96
|
purchaseOrderId: number;
|
|
97
|
+
locationNr: string;
|
|
98
|
+
quantityToReceive: number;
|
|
99
|
+
quantityReceived: number;
|
|
100
|
+
quantityToAllocate: number;
|
|
101
|
+
quantityAllocated: number;
|
|
102
|
+
quantityToDeliver: number;
|
|
103
|
+
quantityToInvoice: number;
|
|
104
|
+
purchasePortalLine: PurchasePortalLine;
|
|
96
105
|
private _configuration;
|
|
97
106
|
}
|
|
@@ -12,11 +12,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
const business_object_1 = require("@colijnit/ioneconnector/build/model/business-object");
|
|
13
13
|
const no_db_field_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/no-db-field.decorator");
|
|
14
14
|
const transaction_line_type_enum_1 = require("../enum/transaction-line-type.enum");
|
|
15
|
+
const purchase_portal_line_bo_1 = require("./purchase-portal-line.bo");
|
|
15
16
|
class TransactionLineInfo extends business_object_1.BusinessObject {
|
|
16
17
|
constructor() {
|
|
17
18
|
super(...arguments);
|
|
18
19
|
this.deliveryDate = new Date();
|
|
19
20
|
this.selected = false;
|
|
21
|
+
this.purchasePortalLine = new purchase_portal_line_bo_1.PurchasePortalLine();
|
|
20
22
|
}
|
|
21
23
|
get articleTestAsArray() {
|
|
22
24
|
return this.articleBoundConcatenatedText.split('\r\n');
|
|
@@ -112,4 +114,36 @@ __decorate([
|
|
|
112
114
|
no_db_field_decorator_1.NoDbField(),
|
|
113
115
|
__metadata("design:type", Number)
|
|
114
116
|
], TransactionLineInfo.prototype, "purchaseOrderId", void 0);
|
|
117
|
+
__decorate([
|
|
118
|
+
no_db_field_decorator_1.NoDbField(),
|
|
119
|
+
__metadata("design:type", String)
|
|
120
|
+
], TransactionLineInfo.prototype, "locationNr", void 0);
|
|
121
|
+
__decorate([
|
|
122
|
+
no_db_field_decorator_1.NoDbField(),
|
|
123
|
+
__metadata("design:type", Number)
|
|
124
|
+
], TransactionLineInfo.prototype, "quantityToReceive", void 0);
|
|
125
|
+
__decorate([
|
|
126
|
+
no_db_field_decorator_1.NoDbField(),
|
|
127
|
+
__metadata("design:type", Number)
|
|
128
|
+
], TransactionLineInfo.prototype, "quantityReceived", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
no_db_field_decorator_1.NoDbField(),
|
|
131
|
+
__metadata("design:type", Number)
|
|
132
|
+
], TransactionLineInfo.prototype, "quantityToAllocate", void 0);
|
|
133
|
+
__decorate([
|
|
134
|
+
no_db_field_decorator_1.NoDbField(),
|
|
135
|
+
__metadata("design:type", Number)
|
|
136
|
+
], TransactionLineInfo.prototype, "quantityAllocated", void 0);
|
|
137
|
+
__decorate([
|
|
138
|
+
no_db_field_decorator_1.NoDbField(),
|
|
139
|
+
__metadata("design:type", Number)
|
|
140
|
+
], TransactionLineInfo.prototype, "quantityToDeliver", void 0);
|
|
141
|
+
__decorate([
|
|
142
|
+
no_db_field_decorator_1.NoDbField(),
|
|
143
|
+
__metadata("design:type", Number)
|
|
144
|
+
], TransactionLineInfo.prototype, "quantityToInvoice", void 0);
|
|
145
|
+
__decorate([
|
|
146
|
+
no_db_field_decorator_1.NoDbField(),
|
|
147
|
+
__metadata("design:type", purchase_portal_line_bo_1.PurchasePortalLine)
|
|
148
|
+
], TransactionLineInfo.prototype, "purchasePortalLine", void 0);
|
|
115
149
|
exports.TransactionLineInfo = TransactionLineInfo;
|