@colijnit/transactionapi 1.1.102 → 1.1.103
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.
|
@@ -4,11 +4,12 @@ import { TextKindType } from '../enum/text-kind-type.enum';
|
|
|
4
4
|
import { PurchasePortalLine } from './purchase-portal-line.bo';
|
|
5
5
|
import { ArticleLineStatus } from './article-line-status.bo';
|
|
6
6
|
export declare class TransactionRefTransaction {
|
|
7
|
+
refTransactionId: number;
|
|
7
8
|
refTransactionNr: string;
|
|
8
9
|
refTransactionType: string;
|
|
9
10
|
refRelationId: number;
|
|
10
11
|
refRelationName: string;
|
|
11
|
-
constructor(transNr: string, transType: string, relationId: number, relationName: string);
|
|
12
|
+
constructor(transId: number, transNr: string, transType: string, relationId: number, relationName: string);
|
|
12
13
|
}
|
|
13
14
|
export declare class TransactionLineInfo extends BusinessObject {
|
|
14
15
|
uuid: string;
|
|
@@ -17,7 +17,8 @@ const purchase_portal_line_bo_1 = require("./purchase-portal-line.bo");
|
|
|
17
17
|
const article_line_status_bo_1 = require("./article-line-status.bo");
|
|
18
18
|
const complex_field_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/complex-field.decorator");
|
|
19
19
|
class TransactionRefTransaction {
|
|
20
|
-
constructor(transNr, transType, relationId, relationName) {
|
|
20
|
+
constructor(transId, transNr, transType, relationId, relationName) {
|
|
21
|
+
this.refTransactionId = transId;
|
|
21
22
|
this.refTransactionNr = transNr;
|
|
22
23
|
this.refTransactionType = transType;
|
|
23
24
|
this.refRelationId = relationId;
|
|
@@ -448,7 +448,7 @@ describe("TransactionAPI", () => {
|
|
|
448
448
|
});
|
|
449
449
|
it('getMaxConfirmedDeliveryDateForPurchaseOrder', async () => {
|
|
450
450
|
await transaction.connect();
|
|
451
|
-
const transId =
|
|
451
|
+
const transId = 66958;
|
|
452
452
|
const result = await transaction.getMaxConfirmedDeliveryDateForPurchaseOrder(transId);
|
|
453
453
|
expect(result).toBeDefined();
|
|
454
454
|
});
|