@colijnit/transactionapi 1.1.17 → 1.1.20
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/master-data-object-name.enum.d.ts +2 -0
- package/build/enum/master-data-object-name.enum.js +2 -0
- package/build/enum/public-service-method.d.ts +5 -0
- package/build/enum/public-service-method.js +5 -0
- package/build/enum/relation-object-name.enum.d.ts +1 -0
- package/build/enum/relation-object-name.enum.js +1 -0
- package/build/enum/tag-operation-name.enum.d.ts +3 -0
- package/build/enum/tag-operation-name.enum.js +4 -0
- package/build/ione-api-transaction.d.ts +32 -27
- package/build/ione-api-transaction.js +2 -2
- package/build/model/branch-lov.bo.d.ts +9 -0
- package/build/model/branch-lov.bo.js +25 -0
- package/build/model/code-description.d.ts +5 -0
- package/build/model/code-description.js +8 -0
- package/build/model/on-hold-code.bo.d.ts +6 -0
- package/build/model/on-hold-code.bo.js +42 -0
- package/build/model/sales-person.bo.d.ts +7 -0
- package/build/model/sales-person.bo.js +43 -0
- package/build/model/transaction-info.bo.d.ts +10 -3
- package/build/model/transaction-info.bo.js +4 -0
- package/build/model/transaction-line-info.bo.d.ts +4 -3
- package/build/model/transaction-line-info.bo.js +7 -3
- package/build/model/transaction-search-view-request.d.ts +78 -0
- package/build/model/transaction-search-view-request.js +10 -0
- package/build/model/transaction-search-view.bo.d.ts +67 -0
- package/build/model/transaction-search-view.bo.js +140 -0
- package/build/model/warehouse.bo.d.ts +15 -0
- package/build/model/warehouse.bo.js +71 -0
- package/build/transaction-auth.d.ts +31 -26
- package/build/transaction-auth.js +50 -18
- package/build/transaction-public.d.ts +31 -26
- package/build/transaction-public.js +68 -8
- package/build/transaction.d.ts +35 -29
- package/build/transaction.js +29 -4
- package/build/transaction.unit.test.js +79 -7
- package/package.json +2 -2
- package/build/model/search-transaction-request.d.ts +0 -43
- package/build/model/search-transaction-request.js +0 -38
|
@@ -7,11 +7,13 @@ export declare enum MasterDataObjectName {
|
|
|
7
7
|
DeliveryMethod = "DeliveryMethod",
|
|
8
8
|
DeliveryOption = "DeliveryOption",
|
|
9
9
|
MarketingCode = "MarketingCode",
|
|
10
|
+
OnHoldCode = "OnHoldCode",
|
|
10
11
|
PrivacySettingDTO = "PrivacySettingDTO",
|
|
11
12
|
CoDomainValue = "CoDomainValue",
|
|
12
13
|
WareHouse = "WareHouse",
|
|
13
14
|
CustomerGroup = "CustomerGroup",
|
|
14
15
|
CoMultipleValue = "CoMultipleValue",
|
|
15
16
|
PriceList = "PriceList",
|
|
17
|
+
SalesPerson = "SalesPerson",
|
|
16
18
|
Vat = "Vat"
|
|
17
19
|
}
|
|
@@ -8,11 +8,13 @@ export var MasterDataObjectName;
|
|
|
8
8
|
MasterDataObjectName["DeliveryMethod"] = "DeliveryMethod";
|
|
9
9
|
MasterDataObjectName["DeliveryOption"] = "DeliveryOption";
|
|
10
10
|
MasterDataObjectName["MarketingCode"] = "MarketingCode";
|
|
11
|
+
MasterDataObjectName["OnHoldCode"] = "OnHoldCode";
|
|
11
12
|
MasterDataObjectName["PrivacySettingDTO"] = "PrivacySettingDTO";
|
|
12
13
|
MasterDataObjectName["CoDomainValue"] = "CoDomainValue";
|
|
13
14
|
MasterDataObjectName["WareHouse"] = "WareHouse";
|
|
14
15
|
MasterDataObjectName["CustomerGroup"] = "CustomerGroup";
|
|
15
16
|
MasterDataObjectName["CoMultipleValue"] = "CoMultipleValue";
|
|
16
17
|
MasterDataObjectName["PriceList"] = "PriceList";
|
|
18
|
+
MasterDataObjectName["SalesPerson"] = "SalesPerson";
|
|
17
19
|
MasterDataObjectName["Vat"] = "Vat";
|
|
18
20
|
})(MasterDataObjectName || (MasterDataObjectName = {}));
|
|
@@ -28,14 +28,19 @@ export declare enum PublicServiceMethod {
|
|
|
28
28
|
GetSingleImage = "getSingleImage",
|
|
29
29
|
GetColors = "getColors",
|
|
30
30
|
GetCountries = "getCountries",
|
|
31
|
+
GetOnHoldCodes = "getOnHoldCodes",
|
|
31
32
|
GetPrivacySettings = "getPrivacySettings",
|
|
32
33
|
GetMarketingCodes = "getMarketingCodes",
|
|
34
|
+
GetSalesPersons = "getSalesPersons",
|
|
35
|
+
GetTags = "getTags",
|
|
33
36
|
GetTransactionByNrAndKind = "getTransactionByNrAndKind",
|
|
34
37
|
GetTransactionById = "getTransactionId",
|
|
35
38
|
GetArticleBoundTextLinesOfArticleLine = "getArticleBoundTextLinesOfArticleLine",
|
|
39
|
+
GetBranches = "getBranches",
|
|
36
40
|
GetDomainValues = "getDomainValue",
|
|
37
41
|
GetMultipleDomainValues = "getMultipleDomainValue",
|
|
38
42
|
GetTransactionArticleWarehouses = "getTransactionArticleWarehouses",
|
|
43
|
+
GetWarehouses = "getWarehouses",
|
|
39
44
|
CreateTransaction = "createTransaction",
|
|
40
45
|
SaveTransaction = "saveTransaction",
|
|
41
46
|
SetTransactionDeliveryOptions = "setTransactionDeliveryOptions",
|
|
@@ -29,14 +29,19 @@ export var PublicServiceMethod;
|
|
|
29
29
|
PublicServiceMethod["GetSingleImage"] = "getSingleImage";
|
|
30
30
|
PublicServiceMethod["GetColors"] = "getColors";
|
|
31
31
|
PublicServiceMethod["GetCountries"] = "getCountries";
|
|
32
|
+
PublicServiceMethod["GetOnHoldCodes"] = "getOnHoldCodes";
|
|
32
33
|
PublicServiceMethod["GetPrivacySettings"] = "getPrivacySettings";
|
|
33
34
|
PublicServiceMethod["GetMarketingCodes"] = "getMarketingCodes";
|
|
35
|
+
PublicServiceMethod["GetSalesPersons"] = "getSalesPersons";
|
|
36
|
+
PublicServiceMethod["GetTags"] = "getTags";
|
|
34
37
|
PublicServiceMethod["GetTransactionByNrAndKind"] = "getTransactionByNrAndKind";
|
|
35
38
|
PublicServiceMethod["GetTransactionById"] = "getTransactionId";
|
|
36
39
|
PublicServiceMethod["GetArticleBoundTextLinesOfArticleLine"] = "getArticleBoundTextLinesOfArticleLine";
|
|
40
|
+
PublicServiceMethod["GetBranches"] = "getBranches";
|
|
37
41
|
PublicServiceMethod["GetDomainValues"] = "getDomainValue";
|
|
38
42
|
PublicServiceMethod["GetMultipleDomainValues"] = "getMultipleDomainValue";
|
|
39
43
|
PublicServiceMethod["GetTransactionArticleWarehouses"] = "getTransactionArticleWarehouses";
|
|
44
|
+
PublicServiceMethod["GetWarehouses"] = "getWarehouses";
|
|
40
45
|
PublicServiceMethod["CreateTransaction"] = "createTransaction";
|
|
41
46
|
PublicServiceMethod["SaveTransaction"] = "saveTransaction";
|
|
42
47
|
PublicServiceMethod["SetTransactionDeliveryOptions"] = "setTransactionDeliveryOptions";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export var RelationObjectName;
|
|
2
2
|
(function (RelationObjectName) {
|
|
3
|
+
RelationObjectName["BranchLov"] = "BranchLov";
|
|
3
4
|
RelationObjectName["CustomerFullObject"] = "CustomerFullObject";
|
|
4
5
|
RelationObjectName["GetRelationNumber"] = "GetRelationNumber";
|
|
5
6
|
})(RelationObjectName || (RelationObjectName = {}));
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { Subject } from
|
|
2
|
-
import { TransactionKind } from
|
|
3
|
-
import { CustomerFullObject } from
|
|
4
|
-
import { SequenceName } from
|
|
5
|
-
import { TransactionLineType } from
|
|
6
|
-
import { SetTransactionDeliveryOptionsRequest } from
|
|
7
|
-
import { RelationRequest } from
|
|
8
|
-
import { ResolveLinePendingReasonRequest } from
|
|
9
|
-
import { Connector } from
|
|
10
|
-
import { DataServiceResponseData } from
|
|
11
|
-
import { ChangeLineSequenceRequest } from
|
|
12
|
-
import { ChangeLineQuantityRequest } from
|
|
13
|
-
import { ChangeLineCommissionCodeRequest } from
|
|
14
|
-
import { ChangeLineWarehouseRequest } from
|
|
15
|
-
import { ChangeLinePriceRequest } from
|
|
16
|
-
import { ChangeLinePriceListRequest } from
|
|
17
|
-
import { ChangeLineVatRequest } from
|
|
18
|
-
import { ChangeLineDiscountRequest } from
|
|
19
|
-
import { ChangeLineDeliveryMethodRequest } from
|
|
20
|
-
import { ChangeLineDeliveryDateRequest } from
|
|
21
|
-
import { ChangeLineAssemblyTimeRequest } from
|
|
22
|
-
import { ChangeLineEditTimeRequest } from
|
|
23
|
-
import { ChangeLineSupplierArticleNumberRequest } from
|
|
24
|
-
import { ChangeLineReferenceRequest } from
|
|
25
|
-
import { ChangeLineCollectionCodeRequest } from
|
|
26
|
-
import {
|
|
1
|
+
import { Subject } from 'rxjs';
|
|
2
|
+
import { TransactionKind } from './enum/transaction-kind.enum';
|
|
3
|
+
import { CustomerFullObject } from './model/customer-full-object.bo';
|
|
4
|
+
import { SequenceName } from './enum/sequence-name.enum';
|
|
5
|
+
import { TransactionLineType } from './enum/transaction-line-type.enum';
|
|
6
|
+
import { SetTransactionDeliveryOptionsRequest } from './model/set-transaction-delivery-options-request.bo';
|
|
7
|
+
import { RelationRequest } from './model/relation-request';
|
|
8
|
+
import { ResolveLinePendingReasonRequest } from './model/resolve-pending-reason-request.bo';
|
|
9
|
+
import { Connector } from '@colijnit/ioneconnector/build/connector';
|
|
10
|
+
import { DataServiceResponseData } from './model/data-service-response-data';
|
|
11
|
+
import { ChangeLineSequenceRequest } from './model/change-line-sequence-request';
|
|
12
|
+
import { ChangeLineQuantityRequest } from './model/change-line-quantity-request';
|
|
13
|
+
import { ChangeLineCommissionCodeRequest } from './model/change-line-commission-code-request';
|
|
14
|
+
import { ChangeLineWarehouseRequest } from './model/change-line-warehouse-request';
|
|
15
|
+
import { ChangeLinePriceRequest } from './model/change-line-price-request';
|
|
16
|
+
import { ChangeLinePriceListRequest } from './model/change-line-price-list-request';
|
|
17
|
+
import { ChangeLineVatRequest } from './model/change-line-vat-request';
|
|
18
|
+
import { ChangeLineDiscountRequest } from './model/change-line-discount-request';
|
|
19
|
+
import { ChangeLineDeliveryMethodRequest } from './model/change-line-delivery-method-request';
|
|
20
|
+
import { ChangeLineDeliveryDateRequest } from './model/change-line-delivery-date-request';
|
|
21
|
+
import { ChangeLineAssemblyTimeRequest } from './model/change-line-assembly-time-request';
|
|
22
|
+
import { ChangeLineEditTimeRequest } from './model/change-line-edit-time-request';
|
|
23
|
+
import { ChangeLineSupplierArticleNumberRequest } from './model/change-line-supplier-article-number-request';
|
|
24
|
+
import { ChangeLineReferenceRequest } from './model/change-line-reference-request';
|
|
25
|
+
import { ChangeLineCollectionCodeRequest } from './model/change-line-collection-code-request';
|
|
26
|
+
import { TransactionSearchViewRequest } from './model/transaction-search-view-request';
|
|
27
27
|
export declare abstract class IoneApiTransaction {
|
|
28
28
|
readonly showLoader: Subject<boolean>;
|
|
29
29
|
readonly connectionAborted: Subject<void>;
|
|
@@ -33,7 +33,7 @@ export declare abstract class IoneApiTransaction {
|
|
|
33
33
|
languageCode: string;
|
|
34
34
|
branchNr: string;
|
|
35
35
|
useGroups: boolean;
|
|
36
|
-
abstract searchTransactions(request:
|
|
36
|
+
abstract searchTransactions(request: TransactionSearchViewRequest): Promise<DataServiceResponseData>;
|
|
37
37
|
abstract getArticleFullObject(id: number): Promise<DataServiceResponseData>;
|
|
38
38
|
abstract getGoodIdFromArticleNr(skuOrId: string): Promise<DataServiceResponseData>;
|
|
39
39
|
abstract getSingleImage(nodeId: number | string, publication: number, includeMimetype: boolean, thumb: boolean): Promise<DataServiceResponseData>;
|
|
@@ -47,6 +47,11 @@ export declare abstract class IoneApiTransaction {
|
|
|
47
47
|
abstract getInOutCollection(languageCode: string): Promise<DataServiceResponseData>;
|
|
48
48
|
abstract getTextTypes(languageCode: string): Promise<DataServiceResponseData>;
|
|
49
49
|
abstract getStandardTexts(languageCode: any): Promise<DataServiceResponseData>;
|
|
50
|
+
abstract getBranches(branchNr: string): Promise<DataServiceResponseData>;
|
|
51
|
+
abstract getSalesPersons(date: Date): Promise<DataServiceResponseData>;
|
|
52
|
+
abstract getTags(category: number): Promise<DataServiceResponseData>;
|
|
53
|
+
abstract getOnHoldCodes(): Promise<DataServiceResponseData>;
|
|
54
|
+
abstract getWarehouses(branchNr: string): Promise<DataServiceResponseData>;
|
|
50
55
|
abstract getTransactionArticleWarehouses(goodId: number, branchNr?: string): Promise<DataServiceResponseData>;
|
|
51
56
|
abstract createTransaction(kind: TransactionKind, branchNr: string): Promise<DataServiceResponseData>;
|
|
52
57
|
abstract getTransactionByNrAndKind(kind: TransactionKind, transactionNo: number): Promise<DataServiceResponseData>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Subject } from
|
|
2
|
-
import { EndPoint } from
|
|
1
|
+
import { Subject } from 'rxjs';
|
|
2
|
+
import { EndPoint } from '@colijnit/ioneconnector/build/enum/end-point.enum';
|
|
3
3
|
var IoneApiTransaction = (function () {
|
|
4
4
|
function IoneApiTransaction() {
|
|
5
5
|
this.showLoader = new Subject();
|
|
@@ -0,0 +1,25 @@
|
|
|
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 BranchLov = (function (_super) {
|
|
16
|
+
__extends(BranchLov, _super);
|
|
17
|
+
function BranchLov() {
|
|
18
|
+
return _super.call(this) || this;
|
|
19
|
+
}
|
|
20
|
+
BranchLov.prototype.getId = function () {
|
|
21
|
+
return this.branchNo;
|
|
22
|
+
};
|
|
23
|
+
return BranchLov;
|
|
24
|
+
}(BusinessObject));
|
|
25
|
+
export { BranchLov };
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
import { BusinessObjectData } from '../factory/decorators/business-object-data.decorator';
|
|
21
|
+
import { DataMapping } from '../enum/data-mapping.enum';
|
|
22
|
+
import { BusinessObject } from './business-object';
|
|
23
|
+
var OnHoldCode = (function (_super) {
|
|
24
|
+
__extends(OnHoldCode, _super);
|
|
25
|
+
function OnHoldCode() {
|
|
26
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
27
|
+
}
|
|
28
|
+
OnHoldCode.prototype.getId = function () {
|
|
29
|
+
return this.onHoldCode;
|
|
30
|
+
};
|
|
31
|
+
OnHoldCode = __decorate([
|
|
32
|
+
BusinessObjectData({
|
|
33
|
+
name: "OnHoldCode",
|
|
34
|
+
mapping: DataMapping.Simplebasedata,
|
|
35
|
+
label: "ON_HOLD_CODE",
|
|
36
|
+
codeField: "code",
|
|
37
|
+
descriptionField: "description"
|
|
38
|
+
})
|
|
39
|
+
], OnHoldCode);
|
|
40
|
+
return OnHoldCode;
|
|
41
|
+
}(BusinessObject));
|
|
42
|
+
export { OnHoldCode };
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
import { BusinessObjectData } from '../factory/decorators/business-object-data.decorator';
|
|
21
|
+
import { DataMapping } from '../enum/data-mapping.enum';
|
|
22
|
+
import { BusinessObject } from './business-object';
|
|
23
|
+
var SalesPerson = (function (_super) {
|
|
24
|
+
__extends(SalesPerson, _super);
|
|
25
|
+
function SalesPerson() {
|
|
26
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
27
|
+
}
|
|
28
|
+
SalesPerson.prototype.getId = function () {
|
|
29
|
+
return (this.relationId);
|
|
30
|
+
};
|
|
31
|
+
SalesPerson = __decorate([
|
|
32
|
+
BusinessObjectData({
|
|
33
|
+
mapping: DataMapping.Simplebasedata,
|
|
34
|
+
name: "SalesPerson",
|
|
35
|
+
label: "SALES_PERSON",
|
|
36
|
+
labelPlural: "SALES_PERSONS",
|
|
37
|
+
codeField: "employeeNo",
|
|
38
|
+
descriptionField: "name"
|
|
39
|
+
})
|
|
40
|
+
], SalesPerson);
|
|
41
|
+
return SalesPerson;
|
|
42
|
+
}(BusinessObject));
|
|
43
|
+
export { SalesPerson };
|
|
@@ -2,9 +2,9 @@ import { BusinessObject } from "./business-object";
|
|
|
2
2
|
import { TransactionKind } from "../enum/refcode/transaction-kind";
|
|
3
3
|
import { RelationSmallObject } from "./relation-small-object.bo";
|
|
4
4
|
import { PriceType } from "../enum/refcode/price-type.enum";
|
|
5
|
-
import { Address } from "./address.bo";
|
|
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;
|
|
@@ -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)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BusinessObject } from
|
|
2
|
-
import { TransactionLineType } from
|
|
3
|
-
import { TextKindType } from
|
|
1
|
+
import { BusinessObject } from './business-object';
|
|
2
|
+
import { TransactionLineType } from '../enum/transaction-line-type.enum';
|
|
3
|
+
import { TextKindType } from '../enum/text-kind-type.enum';
|
|
4
4
|
export declare class TransactionLineInfo extends BusinessObject {
|
|
5
5
|
uuid: string;
|
|
6
6
|
lineNr: number;
|
|
@@ -67,4 +67,5 @@ export declare class TransactionLineInfo extends BusinessObject {
|
|
|
67
67
|
get decimalsForAmountChange(): number;
|
|
68
68
|
get displayNetLineTotal(): number;
|
|
69
69
|
get isSelected(): boolean;
|
|
70
|
+
articleImageData: string;
|
|
70
71
|
}
|
|
@@ -20,9 +20,9 @@ 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 { NoDbField } from
|
|
25
|
-
import { TransactionLineType } from
|
|
23
|
+
import { BusinessObject } from './business-object';
|
|
24
|
+
import { NoDbField } from '../factory/decorators/no-db-field.decorator';
|
|
25
|
+
import { TransactionLineType } from '../enum/transaction-line-type.enum';
|
|
26
26
|
var TransactionLineInfo = (function (_super) {
|
|
27
27
|
__extends(TransactionLineInfo, _super);
|
|
28
28
|
function TransactionLineInfo() {
|
|
@@ -120,6 +120,10 @@ var TransactionLineInfo = (function (_super) {
|
|
|
120
120
|
__metadata("design:type", Boolean),
|
|
121
121
|
__metadata("design:paramtypes", [])
|
|
122
122
|
], TransactionLineInfo.prototype, "isSelected", null);
|
|
123
|
+
__decorate([
|
|
124
|
+
NoDbField(),
|
|
125
|
+
__metadata("design:type", String)
|
|
126
|
+
], TransactionLineInfo.prototype, "articleImageData", void 0);
|
|
123
127
|
return TransactionLineInfo;
|
|
124
128
|
}(BusinessObject));
|
|
125
129
|
export { TransactionLineInfo };
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { PagingParameters } from './paging-parameters';
|
|
2
|
+
export declare class TransactionSearchViewRequest {
|
|
3
|
+
paging: PagingParameters;
|
|
4
|
+
general: string;
|
|
5
|
+
transId: number;
|
|
6
|
+
transType: string;
|
|
7
|
+
transTypes: string[];
|
|
8
|
+
transNr: number;
|
|
9
|
+
relationNrTr: number;
|
|
10
|
+
branchNr: string;
|
|
11
|
+
transDate: Date;
|
|
12
|
+
handledBy: number;
|
|
13
|
+
deliveryDate: Date;
|
|
14
|
+
confirmedDeliveryDateRange: string;
|
|
15
|
+
deliveryDateRange: string;
|
|
16
|
+
deliveryMethod: string;
|
|
17
|
+
rangeDeliveryMethod: string;
|
|
18
|
+
transactionKind: string;
|
|
19
|
+
active: boolean;
|
|
20
|
+
transactionDefinitive: string;
|
|
21
|
+
rangeTransNr: string;
|
|
22
|
+
rangeRelationNrTr: string;
|
|
23
|
+
rangeBranchId: string;
|
|
24
|
+
rangeTransDate: string;
|
|
25
|
+
maxNrResults: number;
|
|
26
|
+
relationReference: string;
|
|
27
|
+
userReference: string;
|
|
28
|
+
relationName: string;
|
|
29
|
+
streetTr: string;
|
|
30
|
+
houseNrTr: number;
|
|
31
|
+
postalCodeTr: string;
|
|
32
|
+
cityTr: string;
|
|
33
|
+
transactionShowInactive: boolean;
|
|
34
|
+
transKindList: string[];
|
|
35
|
+
serviceArticleNr: string;
|
|
36
|
+
articleNr: string;
|
|
37
|
+
serviceState: string;
|
|
38
|
+
rangeExecDate: string;
|
|
39
|
+
product: string;
|
|
40
|
+
productType: string;
|
|
41
|
+
rangeOnHoldCodes: string;
|
|
42
|
+
orderBy: string;
|
|
43
|
+
serviceSort: boolean;
|
|
44
|
+
rangeSalesPerson: string;
|
|
45
|
+
orderReaction: boolean;
|
|
46
|
+
rangeSupplier: string;
|
|
47
|
+
rangeCauseCode: string;
|
|
48
|
+
expectedConversionDateRange: string;
|
|
49
|
+
followUpDateRange: string;
|
|
50
|
+
arrivalDateRange: string;
|
|
51
|
+
batchNumber: string;
|
|
52
|
+
serialNumber: string;
|
|
53
|
+
tagRange: string;
|
|
54
|
+
supplierGroupId: string;
|
|
55
|
+
customerGroupId: string;
|
|
56
|
+
buyer: number;
|
|
57
|
+
partialDelivery: string;
|
|
58
|
+
deliveryDateDefinitive: string;
|
|
59
|
+
contactOption: string;
|
|
60
|
+
warehouse: number;
|
|
61
|
+
sourceWarehouse: number;
|
|
62
|
+
quantityAllocated: number;
|
|
63
|
+
quantityToBePicked: number;
|
|
64
|
+
quantityPicked: number;
|
|
65
|
+
quantityDelivered: number;
|
|
66
|
+
quantityInvoiced: number;
|
|
67
|
+
quantityReceived: number;
|
|
68
|
+
quantityConfirmed: number;
|
|
69
|
+
quotationStatus: boolean;
|
|
70
|
+
rangeSalesStage: string;
|
|
71
|
+
exceedanceCodes: string[];
|
|
72
|
+
orderCode: string;
|
|
73
|
+
commissionCodes: string[];
|
|
74
|
+
rangeTurnoverGroup: string;
|
|
75
|
+
mainArticleNrRange: string;
|
|
76
|
+
includingReturns: number;
|
|
77
|
+
containerNumber: string;
|
|
78
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
var TransactionSearchViewRequest = (function () {
|
|
2
|
+
function TransactionSearchViewRequest() {
|
|
3
|
+
this.transTypes = [];
|
|
4
|
+
this.transKindList = [];
|
|
5
|
+
this.exceedanceCodes = [];
|
|
6
|
+
this.commissionCodes = [];
|
|
7
|
+
}
|
|
8
|
+
return TransactionSearchViewRequest;
|
|
9
|
+
}());
|
|
10
|
+
export { TransactionSearchViewRequest };
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { BusinessObject } from './business-object';
|
|
2
|
+
import { TransactionKind } from '../enum/transaction-kind.enum';
|
|
3
|
+
import { PriorityType } from '../enum/priority-type.enum';
|
|
4
|
+
import { CoDocument } from './co-document';
|
|
5
|
+
export declare class TransactionSearchView extends BusinessObject {
|
|
6
|
+
transId: number;
|
|
7
|
+
transType: string;
|
|
8
|
+
transNr: number;
|
|
9
|
+
relationNr: number;
|
|
10
|
+
adres: string;
|
|
11
|
+
branchNr: string;
|
|
12
|
+
transDate: Date;
|
|
13
|
+
handledBy: number;
|
|
14
|
+
deliveryDate: Date;
|
|
15
|
+
deliveryMethod: string;
|
|
16
|
+
transactionKind: TransactionKind;
|
|
17
|
+
active: string;
|
|
18
|
+
deliveryDateDefinitive: string;
|
|
19
|
+
transactionDefinitive: boolean;
|
|
20
|
+
relationReference: string;
|
|
21
|
+
userReference: string;
|
|
22
|
+
relationName: string;
|
|
23
|
+
contactPerson: number;
|
|
24
|
+
deliveryDateConfirmed: string;
|
|
25
|
+
serviceStatus: string;
|
|
26
|
+
serviceReport: string;
|
|
27
|
+
servicePriority: PriorityType;
|
|
28
|
+
timeToFirstResponse: number;
|
|
29
|
+
execName: string;
|
|
30
|
+
execImage: CoDocument;
|
|
31
|
+
assProduct: string;
|
|
32
|
+
assProductType: string;
|
|
33
|
+
transitionDate: Date;
|
|
34
|
+
closed: boolean;
|
|
35
|
+
paused: boolean;
|
|
36
|
+
sourceGoodId: number;
|
|
37
|
+
sourceDocId: number;
|
|
38
|
+
createdBy: string;
|
|
39
|
+
customerResponse: string;
|
|
40
|
+
unreadResponse: boolean;
|
|
41
|
+
allowPartialDelivery: boolean;
|
|
42
|
+
amountToPayDown: number;
|
|
43
|
+
amountPaidDown: number;
|
|
44
|
+
personnelNo: number;
|
|
45
|
+
brancheName: string;
|
|
46
|
+
amountAcceptanceMessage: number;
|
|
47
|
+
levelAcceptanceMessage: number;
|
|
48
|
+
amountDelayedDelivery: number;
|
|
49
|
+
levelDelayedDelivery: number;
|
|
50
|
+
amountSalesDeliveryConfirmation: number;
|
|
51
|
+
levelSalesDeliveryConfirmation: number;
|
|
52
|
+
transactionMutationDate: Date;
|
|
53
|
+
invoiceSalesTransId: number;
|
|
54
|
+
get closedAsString(): string;
|
|
55
|
+
get statusOfSalesOrder(): string;
|
|
56
|
+
get isDefinitiveDate(): boolean;
|
|
57
|
+
constructor();
|
|
58
|
+
getId(): string;
|
|
59
|
+
getLettersForSearchResult(): string;
|
|
60
|
+
getRelationNr(): number;
|
|
61
|
+
getTransDate(): Date;
|
|
62
|
+
getDeliveryDate(): Date;
|
|
63
|
+
getIsDefinitive(): boolean;
|
|
64
|
+
getAdres(): string;
|
|
65
|
+
getHandledBy(): number;
|
|
66
|
+
getStatusForSalesOrder(): string;
|
|
67
|
+
}
|