@colijnit/transaction 12.1.16 → 12.1.17
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/bundles/colijnit-transaction.umd.js +205 -1441
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +98 -99
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +99 -100
- package/esm2015/lib/component/payment/payment.component.js +1 -1
- package/esm2015/lib/service/payment.service.js +5 -5
- package/esm2015/lib/service/transaction-connector.service.js +48 -13
- package/esm2015/lib/service/transaction.service.js +1 -1
- package/fesm2015/colijnit-transaction.js +72 -1012
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/service/payment.service.d.ts +2 -2
- package/lib/service/transaction-connector.service.d.ts +4 -1
- package/package.json +1 -1
- package/esm2015/lib/service/ione-connector-adapter.service.js +0 -1005
- package/lib/service/ione-connector-adapter.service.d.ts +0 -115
|
@@ -43,6 +43,7 @@ import { OnHoldCode } from '@colijnit/transactionapi/build/model/on-hold-code.bo
|
|
|
43
43
|
import { Warehouse } from '@colijnit/transactionapi/build/model/warehouse.bo';
|
|
44
44
|
import { CodeDescription } from '@colijnit/transactionapi/build/model/code-description';
|
|
45
45
|
import { GoodsReceiptStatusWithHistory } from '@colijnit/transactionapi/build/model/goods-receipt-status-with-history.bo';
|
|
46
|
+
import { PaymentMethod } from '@colijnit/transactionapi/build/model/payment-method.bo';
|
|
46
47
|
import { RelationStatus } from '@colijnit/transactionapi/build/enum/relation-status.enum';
|
|
47
48
|
import { ResolveLinePendingReasonRequest } from '@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo';
|
|
48
49
|
import { FormMasterService, FormComponent, CoDialogModule, ButtonModule, InputComboBoxModule, InputTextModule, FormModule, InputRadioButtonModule, IconModule, InputCheckboxModule, InputListboxModule, DropDownModule, InputNumberPickerModule, PriceDisplayPipeModule, InputDatePickerModule, CoDialogPromptModule, MultiSelectListModule, PopupModule, CoSidebarModule, CoGridModule, CoRichTextEditorModule, Carousel3dModule, InputTextareaModule, CollapsibleModule, ColumnAlign, SimpleGridColumnDirective, InputTextComponent, SimpleGridModule, GridToolbarButtonModule, InputSearchModule, FilterItemModule, InputDateRangePickerModule } from '@colijnit/corecomponents_v12';
|
|
@@ -65,7 +66,6 @@ import { StockStatus } from '@colijnit/transactionapi/build/enum/refcode/stock-s
|
|
|
65
66
|
import { RelationRequest } from '@colijnit/transactionapi/build/model/relation-request';
|
|
66
67
|
import { Sharedapi } from '@colijnit/sharedapi/build/sharedapi';
|
|
67
68
|
import { CoDocument } from '@colijnit/sharedapi/build/model/co-document.bo';
|
|
68
|
-
import { PaymentMethod } from '@colijnit/transactionapi/build/model/payment-method.bo';
|
|
69
69
|
import { KeyPadModule } from '@colijnit/sharedcomponents';
|
|
70
70
|
import { DiscountType } from '@colijnit/transactionapi/build/enum/discount-type.enum';
|
|
71
71
|
import { ReceiveGoodsForPurchaseOrderCorrectionRequest } from '@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-correction-request.bo';
|
|
@@ -1597,18 +1597,6 @@ class TransactionConnectorService {
|
|
|
1597
1597
|
});
|
|
1598
1598
|
});
|
|
1599
1599
|
}
|
|
1600
|
-
getDocumentContent(id, thumbnail = true) {
|
|
1601
|
-
return new Promise((resolve, reject) => {
|
|
1602
|
-
return this.connector.getDocumentContent(id, thumbnail).then((result) => {
|
|
1603
|
-
if (result.validationResult && result.validationResult.success) {
|
|
1604
|
-
resolve(result.resultObject.documentContent);
|
|
1605
|
-
}
|
|
1606
|
-
else {
|
|
1607
|
-
reject(result.validationMessagesAsString);
|
|
1608
|
-
}
|
|
1609
|
-
});
|
|
1610
|
-
});
|
|
1611
|
-
}
|
|
1612
1600
|
getCountries() {
|
|
1613
1601
|
if (this._countryList.length > 0) {
|
|
1614
1602
|
return new Promise((resolve) => {
|
|
@@ -2234,6 +2222,19 @@ class TransactionConnectorService {
|
|
|
2234
2222
|
});
|
|
2235
2223
|
});
|
|
2236
2224
|
}
|
|
2225
|
+
getPaymentMethods() {
|
|
2226
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2227
|
+
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
|
2228
|
+
const result = yield this.connector.getPaymentMethods();
|
|
2229
|
+
if (result.validationResult && result.validationResult.success) {
|
|
2230
|
+
resolve(this._boFactory.makeBOArrayFromRawBackendDataArray(PaymentMethod, result.resultObjects));
|
|
2231
|
+
}
|
|
2232
|
+
else {
|
|
2233
|
+
reject(result.validationMessagesAsString);
|
|
2234
|
+
}
|
|
2235
|
+
}));
|
|
2236
|
+
});
|
|
2237
|
+
}
|
|
2237
2238
|
changeTransactionLineCommissionCode(uuid, lineUuid, code) {
|
|
2238
2239
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2239
2240
|
const request = {
|
|
@@ -2460,6 +2461,39 @@ class TransactionConnectorService {
|
|
|
2460
2461
|
}
|
|
2461
2462
|
});
|
|
2462
2463
|
}
|
|
2464
|
+
createOutstandingEntry(uuid, amount) {
|
|
2465
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2466
|
+
const request = {
|
|
2467
|
+
transUUID: uuid,
|
|
2468
|
+
amount: amount
|
|
2469
|
+
};
|
|
2470
|
+
const response = yield this.connector.createOutstandingEntry(request);
|
|
2471
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
2472
|
+
console.log(response);
|
|
2473
|
+
}
|
|
2474
|
+
else {
|
|
2475
|
+
return Promise.reject(response.validationMessagesAsString);
|
|
2476
|
+
}
|
|
2477
|
+
});
|
|
2478
|
+
}
|
|
2479
|
+
registerSalesOrderPayment(uuid, amount, currencyCode, paymentMethod, cashRegisterGroupId) {
|
|
2480
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2481
|
+
const request = {
|
|
2482
|
+
transUUID: uuid,
|
|
2483
|
+
amount: amount,
|
|
2484
|
+
currencyCode: currencyCode,
|
|
2485
|
+
paymentMethodCode: paymentMethod,
|
|
2486
|
+
cashRegisterGroupId: cashRegisterGroupId
|
|
2487
|
+
};
|
|
2488
|
+
const response = yield this.connector.registerSalesOrderPayment(request);
|
|
2489
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
2490
|
+
console.log(response);
|
|
2491
|
+
}
|
|
2492
|
+
else {
|
|
2493
|
+
return Promise.reject(response.validationMessagesAsString);
|
|
2494
|
+
}
|
|
2495
|
+
});
|
|
2496
|
+
}
|
|
2463
2497
|
getGoodsReceiptStatus(transId, lineNr) {
|
|
2464
2498
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2465
2499
|
const response = yield this.connector.getGoodsReceiptStatus(transId, lineNr);
|
|
@@ -6782,1024 +6816,50 @@ DeliveryTypeTileModule.decorators = [
|
|
|
6782
6816
|
},] }
|
|
6783
6817
|
];
|
|
6784
6818
|
|
|
6785
|
-
class
|
|
6786
|
-
constructor(
|
|
6787
|
-
this.
|
|
6788
|
-
this._collectionService = _collectionService;
|
|
6789
|
-
this._boFactory = new BusinessObjectFactory();
|
|
6790
|
-
this._countryList = [];
|
|
6791
|
-
}
|
|
6792
|
-
connect() {
|
|
6793
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
6794
|
-
this.connector = new Transaction(this._optionsService.options);
|
|
6795
|
-
});
|
|
6819
|
+
class PaymentService {
|
|
6820
|
+
constructor(_connector) {
|
|
6821
|
+
this._connector = _connector;
|
|
6796
6822
|
}
|
|
6797
|
-
|
|
6823
|
+
createOutstandingEntry(uuid, amount) {
|
|
6798
6824
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
resolve(this._boFactory.makeWithRawBackendData(ArticleFullObject, result.resultObject));
|
|
6804
|
-
}
|
|
6805
|
-
}
|
|
6806
|
-
else {
|
|
6807
|
-
reject(result.validationMessagesAsString);
|
|
6808
|
-
}
|
|
6809
|
-
});
|
|
6810
|
-
});
|
|
6811
|
-
});
|
|
6812
|
-
}
|
|
6813
|
-
getGoodIdFromArticleNr(articleNr) {
|
|
6814
|
-
return new Promise((resolve, reject) => {
|
|
6815
|
-
return this.connector.getGoodIdFromArticleNr(articleNr).then((result) => {
|
|
6816
|
-
if (result.validationResult && result.validationResult.success) {
|
|
6817
|
-
resolve(result.resultObject);
|
|
6818
|
-
}
|
|
6819
|
-
else {
|
|
6820
|
-
reject(result.validationMessagesAsString);
|
|
6821
|
-
}
|
|
6822
|
-
});
|
|
6823
|
-
});
|
|
6824
|
-
}
|
|
6825
|
-
getSingleImage(nodeId, publication, includeMimetype, thumb) {
|
|
6826
|
-
return new Promise((resolve, reject) => {
|
|
6827
|
-
return this.connector.getSingleImage(nodeId, publication, includeMimetype, thumb).then((result) => {
|
|
6828
|
-
if (result.validationResult && result.validationResult.success) {
|
|
6829
|
-
if (result.resultObject && result.resultObject.filePath !== null && result.resultObject.filePath !== undefined && result.resultObject.filePath !== "") {
|
|
6830
|
-
return resolve(ImageUtils.getFixedImageFilepathUrl(result.resultObject.filePath));
|
|
6831
|
-
}
|
|
6832
|
-
else {
|
|
6833
|
-
if (result.resultObject) {
|
|
6834
|
-
if (includeMimetype) {
|
|
6835
|
-
return resolve(ImageUtils.getDocBodyWithMimeTypeDefinition(result.resultObject.fileName, thumb ? result.resultObject.thumbnailBody : result.resultObject.documentBody));
|
|
6836
|
-
}
|
|
6837
|
-
return resolve(thumb ? result.resultObject.thumbnailBody : result.resultObject.documentBody);
|
|
6838
|
-
}
|
|
6839
|
-
else { // no image
|
|
6840
|
-
resolve("");
|
|
6841
|
-
}
|
|
6842
|
-
}
|
|
6843
|
-
}
|
|
6844
|
-
else {
|
|
6845
|
-
reject(result.validationMessagesAsString);
|
|
6846
|
-
}
|
|
6847
|
-
});
|
|
6848
|
-
});
|
|
6849
|
-
}
|
|
6850
|
-
getCountries() {
|
|
6851
|
-
if (this._countryList.length > 0) {
|
|
6852
|
-
return new Promise((resolve) => {
|
|
6853
|
-
resolve(this._countryList);
|
|
6854
|
-
});
|
|
6855
|
-
}
|
|
6856
|
-
return new Promise((resolve, reject) => {
|
|
6857
|
-
return this.connector.getCountries().then((result) => {
|
|
6858
|
-
if (result.validationResult && result.validationResult.success) {
|
|
6859
|
-
this._countryList = result.resultObjects;
|
|
6860
|
-
resolve(result.resultObjects);
|
|
6861
|
-
}
|
|
6862
|
-
else {
|
|
6863
|
-
reject(result.validationMessagesAsString);
|
|
6864
|
-
}
|
|
6825
|
+
const response = yield this._connector.createOutstandingEntry(uuid, amount)
|
|
6826
|
+
.catch((error) => {
|
|
6827
|
+
// todo: do something with the error
|
|
6828
|
+
return false;
|
|
6865
6829
|
});
|
|
6866
|
-
|
|
6867
|
-
|
|
6868
|
-
getCustomerGroups() {
|
|
6869
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
6870
|
-
const response = yield this.connector.getCustomerGroups();
|
|
6871
|
-
if (response && response.validationResult && response.validationResult.success) {
|
|
6872
|
-
return response.resultObjects;
|
|
6873
|
-
}
|
|
6874
|
-
else {
|
|
6875
|
-
return [];
|
|
6830
|
+
if (response) {
|
|
6831
|
+
return true;
|
|
6876
6832
|
}
|
|
6833
|
+
return false;
|
|
6877
6834
|
});
|
|
6878
6835
|
}
|
|
6879
|
-
|
|
6880
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
6881
|
-
yield this.getCountries();
|
|
6882
|
-
return this._countryList.find(country => country.code === countryCode);
|
|
6883
|
-
});
|
|
6884
|
-
}
|
|
6885
|
-
getPrivacySettings() {
|
|
6886
|
-
return new Promise((resolve, reject) => {
|
|
6887
|
-
return this.connector.getPrivacySettings().then((result) => {
|
|
6888
|
-
if (result.validationResult && result.validationResult.success) {
|
|
6889
|
-
resolve(result.resultObjects);
|
|
6890
|
-
}
|
|
6891
|
-
else {
|
|
6892
|
-
reject(result.validationMessagesAsString);
|
|
6893
|
-
}
|
|
6894
|
-
});
|
|
6895
|
-
});
|
|
6896
|
-
}
|
|
6897
|
-
getRelationPrivacySettings() {
|
|
6836
|
+
registerSalesOrderPayment(uuid, amount, currencyCode, paymentMethod, cashRegisterGroupId) {
|
|
6898
6837
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6899
|
-
const
|
|
6900
|
-
|
|
6901
|
-
|
|
6902
|
-
|
|
6903
|
-
|
|
6904
|
-
|
|
6905
|
-
|
|
6838
|
+
const response = yield this._connector.registerSalesOrderPayment(uuid, amount, currencyCode, paymentMethod, cashRegisterGroupId);
|
|
6839
|
+
// .catch((error) => {
|
|
6840
|
+
// // todo: do something with the error
|
|
6841
|
+
// // return;
|
|
6842
|
+
// });
|
|
6843
|
+
if (response) {
|
|
6844
|
+
return true;
|
|
6906
6845
|
}
|
|
6907
|
-
return
|
|
6908
|
-
});
|
|
6909
|
-
}
|
|
6910
|
-
getMarketingCodes() {
|
|
6911
|
-
return new Promise((resolve, reject) => {
|
|
6912
|
-
return this.connector.getMarketingCodes().then((result) => {
|
|
6913
|
-
if (result.validationResult && result.validationResult.success) {
|
|
6914
|
-
resolve(result.resultObjects);
|
|
6915
|
-
}
|
|
6916
|
-
else {
|
|
6917
|
-
reject(result.validationMessagesAsString);
|
|
6918
|
-
}
|
|
6919
|
-
});
|
|
6920
|
-
});
|
|
6921
|
-
}
|
|
6922
|
-
createTransaction(kind, branchNr) {
|
|
6923
|
-
return new Promise((resolve, reject) => {
|
|
6924
|
-
return this.connector.createTransaction(kind, branchNr).then((result) => {
|
|
6925
|
-
if (result.validationResult && result.validationResult.success) {
|
|
6926
|
-
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
6927
|
-
}
|
|
6928
|
-
else {
|
|
6929
|
-
reject(result.validationMessagesAsString);
|
|
6930
|
-
}
|
|
6931
|
-
});
|
|
6846
|
+
return false;
|
|
6932
6847
|
});
|
|
6933
6848
|
}
|
|
6934
|
-
|
|
6849
|
+
getPaymentMethods() {
|
|
6935
6850
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6936
|
-
|
|
6937
|
-
if (result.validationResult && result.validationResult.success) {
|
|
6938
|
-
return this._boFactory.makeBOArrayFromRawBackendDataArray(TransactionLineInfo, result.resultObject);
|
|
6939
|
-
}
|
|
6940
|
-
else {
|
|
6941
|
-
return [];
|
|
6942
|
-
}
|
|
6943
|
-
});
|
|
6944
|
-
}
|
|
6945
|
-
getTransactionByNrAndKind(kind, transactionNo) {
|
|
6946
|
-
return new Promise((resolve, reject) => {
|
|
6947
|
-
return this.connector.getTransactionByNrAndKind(kind, transactionNo).then((result) => {
|
|
6948
|
-
if (result.validationResult && result.validationResult.success) {
|
|
6949
|
-
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
6950
|
-
}
|
|
6951
|
-
else {
|
|
6952
|
-
reject(result.validationMessagesAsString);
|
|
6953
|
-
}
|
|
6954
|
-
});
|
|
6955
|
-
});
|
|
6956
|
-
}
|
|
6957
|
-
getTransactionById(transactionId) {
|
|
6958
|
-
return new Promise((resolve, reject) => {
|
|
6959
|
-
return this.connector.getTransactionById(transactionId).then((result) => {
|
|
6960
|
-
if (result.validationResult && result.validationResult.success) {
|
|
6961
|
-
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
6962
|
-
}
|
|
6963
|
-
else {
|
|
6964
|
-
reject(result.validationMessagesAsString);
|
|
6965
|
-
}
|
|
6966
|
-
});
|
|
6967
|
-
});
|
|
6968
|
-
}
|
|
6969
|
-
commit() {
|
|
6970
|
-
return this.connector.commit();
|
|
6971
|
-
}
|
|
6972
|
-
saveTransaction(uuid) {
|
|
6973
|
-
return new Promise((resolve, reject) => {
|
|
6974
|
-
return this.connector.saveTransaction(uuid).then((result) => {
|
|
6975
|
-
if (result.validationResult && result.validationResult.success) {
|
|
6976
|
-
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
6977
|
-
}
|
|
6978
|
-
else {
|
|
6979
|
-
reject(result.validationMessagesAsString);
|
|
6980
|
-
}
|
|
6981
|
-
});
|
|
6982
|
-
});
|
|
6983
|
-
}
|
|
6984
|
-
getCustomerFullObject(relationNo) {
|
|
6985
|
-
return new Promise((resolve, reject) => {
|
|
6986
|
-
return this.connector.getCustomerFullObject(relationNo).then((result) => {
|
|
6987
|
-
if (result.validationResult && result.validationResult.success) {
|
|
6988
|
-
resolve(this._boFactory.makeWithRawBackendData(CustomerFullObject, result.resultObject));
|
|
6989
|
-
}
|
|
6990
|
-
else {
|
|
6991
|
-
reject(result.validationMessagesAsString);
|
|
6992
|
-
}
|
|
6993
|
-
});
|
|
6994
|
-
});
|
|
6995
|
-
}
|
|
6996
|
-
getCashRegisters(branch, group) {
|
|
6997
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
6998
|
-
const response = yield this.connector.getCashRegister(branch, group);
|
|
6999
|
-
if (response.validationResult && response.validationResult.success) {
|
|
7000
|
-
return this._boFactory.makeBOArrayFromRawBackendDataArray(CashRegister, response.resultObjects);
|
|
7001
|
-
}
|
|
7002
|
-
else {
|
|
7003
|
-
return [];
|
|
7004
|
-
}
|
|
7005
|
-
});
|
|
7006
|
-
}
|
|
7007
|
-
getRelationNumber(relationId) {
|
|
7008
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7009
|
-
return new Promise((resolve, reject) => {
|
|
7010
|
-
return this.connector.getRelationNumber(relationId).then((result) => {
|
|
7011
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7012
|
-
resolve(result.resultObject);
|
|
7013
|
-
}
|
|
7014
|
-
else {
|
|
7015
|
-
reject(result.validationMessagesAsString);
|
|
7016
|
-
}
|
|
7017
|
-
});
|
|
7018
|
-
});
|
|
7019
|
-
});
|
|
7020
|
-
}
|
|
7021
|
-
getPriceLists(code) {
|
|
7022
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7023
|
-
const response = yield this.connector.getPriceLists(code);
|
|
7024
|
-
if (response.validationResult && response.validationResult.success) {
|
|
7025
|
-
return this._boFactory.makeBOArrayFromRawBackendDataArray(PriceList, response.resultObjects);
|
|
7026
|
-
}
|
|
7027
|
-
else {
|
|
7028
|
-
return []; // todo: handle error messages in a good way
|
|
7029
|
-
}
|
|
7030
|
-
});
|
|
7031
|
-
}
|
|
7032
|
-
getVatList(onlyValid = false) {
|
|
7033
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7034
|
-
const response = yield this.connector.getVatList(onlyValid);
|
|
7035
|
-
if (response.validationResult && response.validationResult.success) {
|
|
7036
|
-
return this._boFactory.makeBOArrayFromRawBackendDataArray(Vat, response.resultObjects);
|
|
7037
|
-
}
|
|
7038
|
-
else {
|
|
7039
|
-
return []; // todo: handle error messages in a good way
|
|
7040
|
-
}
|
|
7041
|
-
});
|
|
7042
|
-
}
|
|
7043
|
-
searchTransactions(request) {
|
|
7044
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7045
|
-
const response = yield this.connector.searchTransactions(request);
|
|
7046
|
-
if (response.validationResult && response.validationResult.success) {
|
|
7047
|
-
return this._boFactory.makeBOArrayFromRawBackendDataArray(TransactionSearchView, response.resultObjects);
|
|
7048
|
-
}
|
|
7049
|
-
else {
|
|
7050
|
-
return []; // todo: handle error messages in a good way
|
|
7051
|
-
}
|
|
7052
|
-
});
|
|
7053
|
-
}
|
|
7054
|
-
getSequenceValue(sequenceName) {
|
|
7055
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7056
|
-
return new Promise((resolve, reject) => {
|
|
7057
|
-
return this.connector.getSequenceValue(sequenceName).then((result) => {
|
|
7058
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7059
|
-
resolve(result.resultObject);
|
|
7060
|
-
}
|
|
7061
|
-
else {
|
|
7062
|
-
reject(result.validationMessagesAsString);
|
|
7063
|
-
}
|
|
7064
|
-
});
|
|
7065
|
-
});
|
|
7066
|
-
});
|
|
7067
|
-
}
|
|
7068
|
-
insertCustomer(relation) {
|
|
7069
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7070
|
-
return new Promise((resolve, reject) => {
|
|
7071
|
-
return this.connector.insertCustomer(relation).then((result) => {
|
|
7072
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7073
|
-
resolve(this._boFactory.makeWithRawBackendData(CustomerFullObject, result.resultObject));
|
|
7074
|
-
}
|
|
7075
|
-
else {
|
|
7076
|
-
reject(result.validationMessagesAsString);
|
|
7077
|
-
}
|
|
7078
|
-
});
|
|
7079
|
-
});
|
|
7080
|
-
});
|
|
7081
|
-
}
|
|
7082
|
-
updateCustomer(relation) {
|
|
7083
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7084
|
-
return new Promise((resolve, reject) => {
|
|
7085
|
-
return this.connector.updateCustomer(relation).then((result) => {
|
|
7086
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7087
|
-
resolve(this._boFactory.makeWithRawBackendData(CustomerFullObject, result.resultObject));
|
|
7088
|
-
}
|
|
7089
|
-
else {
|
|
7090
|
-
reject(result.validationMessagesAsString);
|
|
7091
|
-
}
|
|
7092
|
-
});
|
|
7093
|
-
});
|
|
7094
|
-
});
|
|
7095
|
-
}
|
|
7096
|
-
getDeliveryMethods() {
|
|
7097
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7098
|
-
return new Promise((resolve, reject) => {
|
|
7099
|
-
return this.connector.getDeliveryMethods().then((result) => {
|
|
7100
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7101
|
-
resolve(this._boFactory.makeBOArrayFromRawBackendDataArray(DeliveryMethod, result.resultObjects));
|
|
7102
|
-
}
|
|
7103
|
-
else {
|
|
7104
|
-
reject(result.validationMessagesAsString);
|
|
7105
|
-
}
|
|
7106
|
-
});
|
|
7107
|
-
});
|
|
7108
|
-
});
|
|
7109
|
-
}
|
|
7110
|
-
getDeliveryOptions() {
|
|
7111
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7112
|
-
return new Promise((resolve, reject) => {
|
|
7113
|
-
return this.connector.getDeliveryOptions().then((result) => {
|
|
7114
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7115
|
-
resolve(this._boFactory.makeBOArrayFromRawBackendDataArray(DeliveryMethod, result.resultObjects));
|
|
7116
|
-
}
|
|
7117
|
-
else {
|
|
7118
|
-
reject(result.validationMessagesAsString);
|
|
7119
|
-
}
|
|
7120
|
-
});
|
|
7121
|
-
});
|
|
7122
|
-
});
|
|
7123
|
-
}
|
|
7124
|
-
addRelationToTransaction(uuid, relationId) {
|
|
7125
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7126
|
-
return new Promise((resolve, reject) => {
|
|
7127
|
-
return this.connector.addRelationToTransaction(uuid, relationId).then((result) => {
|
|
7128
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7129
|
-
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
7130
|
-
}
|
|
7131
|
-
else {
|
|
7132
|
-
reject(result.validationMessagesAsString);
|
|
7133
|
-
}
|
|
7134
|
-
});
|
|
7135
|
-
});
|
|
7136
|
-
});
|
|
7137
|
-
}
|
|
7138
|
-
setTransactionDeliveryOptions(transactionDeliveryOptionsRequest) {
|
|
7139
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7140
|
-
return new Promise((resolve, reject) => {
|
|
7141
|
-
return this.connector.setTransactionDeliveryOptions(transactionDeliveryOptionsRequest).then((result) => {
|
|
7142
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7143
|
-
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
7144
|
-
}
|
|
7145
|
-
else {
|
|
7146
|
-
reject(result.validationMessagesAsString);
|
|
7147
|
-
}
|
|
7148
|
-
});
|
|
7149
|
-
});
|
|
7150
|
-
});
|
|
7151
|
-
}
|
|
7152
|
-
getPostalCodeRetrieval(postcalCode, houseNo) {
|
|
7153
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7154
|
-
return new Promise((resolve, reject) => {
|
|
7155
|
-
return this.connector.getPostalCodeRetrieval(postcalCode, houseNo).then((result) => {
|
|
7156
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7157
|
-
const outputParams = new GetPostalCodeRetrievalOutputParams();
|
|
7158
|
-
outputParams.city = result.resultObject.city;
|
|
7159
|
-
outputParams.street = result.resultObject.street;
|
|
7160
|
-
outputParams.status = result.resultObject.status;
|
|
7161
|
-
outputParams.netNumber = result.resultObject.netNumber;
|
|
7162
|
-
resolve(outputParams);
|
|
7163
|
-
}
|
|
7164
|
-
else {
|
|
7165
|
-
reject(result.validationMessagesAsString);
|
|
7166
|
-
}
|
|
7167
|
-
});
|
|
7168
|
-
});
|
|
7169
|
-
});
|
|
7170
|
-
}
|
|
7171
|
-
getRelationListObjects(relationRequest) {
|
|
7172
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7173
|
-
return new Promise((resolve, reject) => {
|
|
7174
|
-
return this.connector.getRelationListObjects(relationRequest).then((result) => {
|
|
7175
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7176
|
-
resolve(this._boFactory.makeBOArrayFromRawBackendDataArray(RelationListObject, result.resultObjects));
|
|
7177
|
-
}
|
|
7178
|
-
else {
|
|
7179
|
-
reject(result.validationMessagesAsString);
|
|
7180
|
-
}
|
|
7181
|
-
});
|
|
7182
|
-
});
|
|
7183
|
-
});
|
|
7184
|
-
}
|
|
7185
|
-
addTransactionLine(uuid, articleLine, articleNo, amount, warehouseNo, commissionCode, isReturn, aboveLineNr, belowLineNr) {
|
|
7186
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7187
|
-
return new Promise((resolve, reject) => {
|
|
7188
|
-
return this.connector.addTransactionLine(uuid, articleLine, articleNo, amount, warehouseNo, commissionCode, isReturn, aboveLineNr, belowLineNr).then((result) => {
|
|
7189
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7190
|
-
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
7191
|
-
}
|
|
7192
|
-
else {
|
|
7193
|
-
reject(result.validationMessagesAsString);
|
|
7194
|
-
}
|
|
7195
|
-
});
|
|
7196
|
-
});
|
|
7197
|
-
});
|
|
7198
|
-
}
|
|
7199
|
-
addTextLineToTransaction(uuid, showOnDocuments, text, amount, articleBound, refArticleLineNr, aboveLineNr, belowLineNr) {
|
|
7200
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7201
|
-
return new Promise((resolve, reject) => {
|
|
7202
|
-
return this.connector.addTextLineToTransaction(uuid, showOnDocuments, text, amount, articleBound, refArticleLineNr, aboveLineNr, belowLineNr).then((result) => {
|
|
7203
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7204
|
-
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
7205
|
-
}
|
|
7206
|
-
else {
|
|
7207
|
-
reject(result.validationMessagesAsString);
|
|
7208
|
-
}
|
|
7209
|
-
});
|
|
7210
|
-
});
|
|
7211
|
-
});
|
|
7212
|
-
}
|
|
7213
|
-
changeLineSequence(uuid, lineUuid, aboveLineNr, belowLineNr) {
|
|
7214
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7215
|
-
return new Promise((resolve, reject) => {
|
|
7216
|
-
const request = {
|
|
7217
|
-
transactionUuid: uuid,
|
|
7218
|
-
lineUuid: lineUuid,
|
|
7219
|
-
aboveLineNr: aboveLineNr,
|
|
7220
|
-
belowLineNr: belowLineNr
|
|
7221
|
-
};
|
|
7222
|
-
return this.connector.changeLineSequence(request).then((result) => {
|
|
7223
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7224
|
-
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
7225
|
-
}
|
|
7226
|
-
else {
|
|
7227
|
-
reject(result.validationMessagesAsString);
|
|
7228
|
-
}
|
|
7229
|
-
});
|
|
7230
|
-
});
|
|
7231
|
-
});
|
|
7232
|
-
}
|
|
7233
|
-
cancelAddTransactionLine(lineUuid) {
|
|
7234
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7235
|
-
return new Promise((resolve, reject) => {
|
|
7236
|
-
return this.connector.cancelAddTransactionLine(lineUuid).then((result) => {
|
|
7237
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7238
|
-
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
7239
|
-
}
|
|
7240
|
-
else {
|
|
7241
|
-
reject(result.validationMessagesAsString);
|
|
7242
|
-
}
|
|
7243
|
-
});
|
|
7244
|
-
});
|
|
7245
|
-
});
|
|
7246
|
-
}
|
|
7247
|
-
deleteTransactionLine(uuid, lineUuid) {
|
|
7248
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7249
|
-
return new Promise((resolve, reject) => {
|
|
7250
|
-
return this.connector.deleteTransactionLine(uuid, lineUuid).then((result) => {
|
|
7251
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7252
|
-
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
7253
|
-
}
|
|
7254
|
-
else {
|
|
7255
|
-
reject(result.validationMessagesAsString);
|
|
7256
|
-
}
|
|
7257
|
-
});
|
|
7258
|
-
});
|
|
7259
|
-
});
|
|
7260
|
-
}
|
|
7261
|
-
changeTransactionLineQuantity(uuid, lineUuid, newQuantity) {
|
|
7262
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7263
|
-
return new Promise((resolve, reject) => {
|
|
7264
|
-
const request = {
|
|
7265
|
-
transactionUuid: uuid,
|
|
7266
|
-
lineUuid: lineUuid,
|
|
7267
|
-
newQuantity: newQuantity
|
|
7268
|
-
};
|
|
7269
|
-
return this.connector.changeTransactionLineQuantity(request).then((result) => {
|
|
7270
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7271
|
-
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
7272
|
-
}
|
|
7273
|
-
else {
|
|
7274
|
-
reject(result.validationMessagesAsString);
|
|
7275
|
-
}
|
|
7276
|
-
});
|
|
7277
|
-
});
|
|
7278
|
-
});
|
|
7279
|
-
}
|
|
7280
|
-
resolvePendingLineReason(pendingLineValues) {
|
|
7281
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7282
|
-
return new Promise((resolve, reject) => {
|
|
7283
|
-
return this.connector.resolvePendingLineReason(pendingLineValues).then((result) => {
|
|
7284
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7285
|
-
resolve(this._boFactory.makeWithRawBackendData(TransactionInfoResponse, result.resultObject));
|
|
7286
|
-
}
|
|
7287
|
-
else {
|
|
7288
|
-
reject(result.validationMessagesAsString);
|
|
7289
|
-
}
|
|
7290
|
-
});
|
|
7291
|
-
});
|
|
7292
|
-
});
|
|
7293
|
-
}
|
|
7294
|
-
getCommissionCodes(languageCode) {
|
|
7295
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7296
|
-
return new Promise((resolve, reject) => {
|
|
7297
|
-
return this.connector.getCommissionCodes(languageCode).then((result) => {
|
|
7298
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7299
|
-
resolve(result.resultObjects);
|
|
7300
|
-
}
|
|
7301
|
-
else {
|
|
7302
|
-
reject(result.validationMessagesAsString);
|
|
7303
|
-
}
|
|
7304
|
-
});
|
|
7305
|
-
});
|
|
7306
|
-
});
|
|
7307
|
-
}
|
|
7308
|
-
getInOutCollection(languageCode) {
|
|
7309
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7310
|
-
return new Promise((resolve, reject) => {
|
|
7311
|
-
return this.connector.getInOutCollection(languageCode).then((result) => {
|
|
7312
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7313
|
-
resolve(result.resultObjects);
|
|
7314
|
-
}
|
|
7315
|
-
else {
|
|
7316
|
-
reject(result.validationMessagesAsString);
|
|
7317
|
-
}
|
|
7318
|
-
});
|
|
7319
|
-
});
|
|
7320
|
-
});
|
|
7321
|
-
}
|
|
7322
|
-
getTransactionArticleWarehouses(goodId) {
|
|
7323
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7324
|
-
return new Promise((resolve, reject) => {
|
|
7325
|
-
return this.connector.getTransactionArticleWarehouses(goodId).then((result) => {
|
|
7326
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7327
|
-
resolve(result.resultObjects);
|
|
7328
|
-
}
|
|
7329
|
-
else {
|
|
7330
|
-
reject(result.validationMessagesAsString);
|
|
7331
|
-
}
|
|
7332
|
-
});
|
|
7333
|
-
});
|
|
7334
|
-
});
|
|
7335
|
-
}
|
|
7336
|
-
setRelationByUser(uuid, username, password) {
|
|
7337
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7338
|
-
return new Promise((resolve, reject) => {
|
|
7339
|
-
return this.connector.setRelationByUser(uuid, username, password).then((result) => {
|
|
7340
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7341
|
-
resolve(result.validationResult.success);
|
|
7342
|
-
}
|
|
7343
|
-
else {
|
|
7344
|
-
reject(result.validationMessagesAsString);
|
|
7345
|
-
}
|
|
7346
|
-
});
|
|
7347
|
-
});
|
|
7348
|
-
});
|
|
7349
|
-
}
|
|
7350
|
-
getTextTypes(languageCode) {
|
|
7351
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7352
|
-
return new Promise((resolve, reject) => {
|
|
7353
|
-
return this.connector.getTextTypes(languageCode).then((result) => {
|
|
7354
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7355
|
-
const texts = this._boFactory.makeBOArrayFromRawBackendDataArray(CoDomainValue, result.resultObjects);
|
|
7356
|
-
texts.sort((a, b) => a.sequence > b.sequence ? 1 : -1);
|
|
7357
|
-
resolve(texts);
|
|
7358
|
-
}
|
|
7359
|
-
else {
|
|
7360
|
-
reject(result.validationMessagesAsString);
|
|
7361
|
-
}
|
|
7362
|
-
});
|
|
7363
|
-
});
|
|
7364
|
-
});
|
|
7365
|
-
}
|
|
7366
|
-
getStandardTexts(languageCode) {
|
|
7367
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7368
|
-
return new Promise((resolve, reject) => {
|
|
7369
|
-
return this.connector.getStandardTexts(languageCode).then((result) => {
|
|
7370
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7371
|
-
resolve(this._boFactory.makeBOArrayFromRawBackendDataArray(StandardText, result.resultObject));
|
|
7372
|
-
}
|
|
7373
|
-
else {
|
|
7374
|
-
reject(result.validationMessagesAsString);
|
|
7375
|
-
}
|
|
7376
|
-
});
|
|
7377
|
-
});
|
|
7378
|
-
});
|
|
7379
|
-
}
|
|
7380
|
-
getBranches(branchNr) {
|
|
7381
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7382
|
-
return new Promise((resolve, reject) => {
|
|
7383
|
-
return this.connector.getBranches(branchNr).then((result) => {
|
|
7384
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7385
|
-
resolve(this._boFactory.makeBOArrayFromRawBackendDataArray(BranchLov, result.resultObjects));
|
|
7386
|
-
}
|
|
7387
|
-
else {
|
|
7388
|
-
reject(result.validationMessagesAsString);
|
|
7389
|
-
}
|
|
7390
|
-
});
|
|
7391
|
-
});
|
|
7392
|
-
});
|
|
7393
|
-
}
|
|
7394
|
-
getSalesPersons(date) {
|
|
7395
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7396
|
-
return new Promise((resolve, reject) => {
|
|
7397
|
-
return this.connector.getSalesPersons(date).then((result) => {
|
|
7398
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7399
|
-
resolve(this._boFactory.makeBOArrayFromRawBackendDataArray(SalesPerson, result.resultObjects));
|
|
7400
|
-
}
|
|
7401
|
-
else {
|
|
7402
|
-
reject(result.validationMessagesAsString);
|
|
7403
|
-
}
|
|
7404
|
-
});
|
|
7405
|
-
});
|
|
7406
|
-
});
|
|
7407
|
-
}
|
|
7408
|
-
getTags(category) {
|
|
7409
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7410
|
-
return new Promise((resolve, reject) => {
|
|
7411
|
-
const collection = this._collectionService.getCollection(Tag.name, [category]);
|
|
7412
|
-
if (collection) {
|
|
7413
|
-
return resolve(collection);
|
|
7414
|
-
}
|
|
7415
|
-
return this.connector.getTags(category).then((result) => {
|
|
7416
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7417
|
-
const collection = this._boFactory.makeBOArrayFromRawBackendDataArray(Tag, result.resultObjects);
|
|
7418
|
-
this._collectionService.cacheCollection(Tag.name, collection, [category]);
|
|
7419
|
-
resolve(collection);
|
|
7420
|
-
}
|
|
7421
|
-
else {
|
|
7422
|
-
reject(result.validationMessagesAsString);
|
|
7423
|
-
}
|
|
7424
|
-
});
|
|
7425
|
-
});
|
|
7426
|
-
});
|
|
7427
|
-
}
|
|
7428
|
-
getOnHoldCodes() {
|
|
7429
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7430
|
-
return new Promise((resolve, reject) => {
|
|
7431
|
-
const collection = this._collectionService.getCollection(OnHoldCode.name);
|
|
7432
|
-
if (collection) {
|
|
7433
|
-
return resolve(collection);
|
|
7434
|
-
}
|
|
7435
|
-
return this.connector.getOnHoldCodes().then((result) => {
|
|
7436
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7437
|
-
const collection = this._boFactory.makeBOArrayFromRawBackendDataArray(OnHoldCode, result.resultObjects);
|
|
7438
|
-
this._collectionService.cacheCollection(OnHoldCode.name, collection);
|
|
7439
|
-
resolve(collection);
|
|
7440
|
-
}
|
|
7441
|
-
else {
|
|
7442
|
-
reject(result.validationMessagesAsString);
|
|
7443
|
-
}
|
|
7444
|
-
});
|
|
7445
|
-
});
|
|
7446
|
-
});
|
|
7447
|
-
}
|
|
7448
|
-
getWarehouses(branchNr) {
|
|
7449
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7450
|
-
return new Promise((resolve, reject) => {
|
|
7451
|
-
return this.connector.getWarehouses(branchNr).then((result) => {
|
|
7452
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7453
|
-
resolve(this._boFactory.makeBOArrayFromRawBackendDataArray(Warehouse, result.resultObjects));
|
|
7454
|
-
}
|
|
7455
|
-
else {
|
|
7456
|
-
reject(result.validationMessagesAsString);
|
|
7457
|
-
}
|
|
7458
|
-
});
|
|
7459
|
-
});
|
|
7460
|
-
});
|
|
7461
|
-
}
|
|
7462
|
-
getHistoricStateValues() {
|
|
7463
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7464
|
-
return new Promise((resolve, reject) => {
|
|
7465
|
-
const result = this.connector.getHistoricStateValues();
|
|
7466
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7467
|
-
resolve(this._boFactory.makeBOArrayFromRawBackendDataArray(CodeDescription, result.resultObjects));
|
|
7468
|
-
}
|
|
7469
|
-
else {
|
|
7470
|
-
reject(result.validationMessagesAsString);
|
|
7471
|
-
}
|
|
7472
|
-
});
|
|
7473
|
-
});
|
|
7474
|
-
}
|
|
7475
|
-
getPaymentMethods() {
|
|
7476
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7477
|
-
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
|
|
7478
|
-
const result = yield this.connector.getPaymentMethods();
|
|
7479
|
-
if (result.validationResult && result.validationResult.success) {
|
|
7480
|
-
resolve(this._boFactory.makeBOArrayFromRawBackendDataArray(PaymentMethod, result.resultObjects));
|
|
7481
|
-
}
|
|
7482
|
-
else {
|
|
7483
|
-
reject(result.validationMessagesAsString);
|
|
7484
|
-
}
|
|
7485
|
-
}));
|
|
7486
|
-
});
|
|
7487
|
-
}
|
|
7488
|
-
changeTransactionLineCommissionCode(uuid, lineUuid, code) {
|
|
7489
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7490
|
-
const request = {
|
|
7491
|
-
transactionUuid: uuid,
|
|
7492
|
-
lineUuid: lineUuid,
|
|
7493
|
-
newCommissionCode: code
|
|
7494
|
-
};
|
|
7495
|
-
const response = yield this.connector.changeTransactionLineCommissionCode(request);
|
|
7496
|
-
if (response && response.validationResult && response.validationResult.success) {
|
|
7497
|
-
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
7498
|
-
}
|
|
7499
|
-
else {
|
|
7500
|
-
return Promise.reject(response.validationMessagesAsString);
|
|
7501
|
-
}
|
|
7502
|
-
});
|
|
7503
|
-
}
|
|
7504
|
-
changeTransactionLineWarehouse(uuid, lineUuid, warehouseNumber) {
|
|
7505
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7506
|
-
const request = {
|
|
7507
|
-
transactionUuid: uuid,
|
|
7508
|
-
lineUuid: lineUuid,
|
|
7509
|
-
newWarehouseNumber: warehouseNumber
|
|
7510
|
-
};
|
|
7511
|
-
const response = yield this.connector.changeTransactionLineWarehouse(request);
|
|
7512
|
-
if (response && response.validationResult && response.validationResult.success) {
|
|
7513
|
-
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
7514
|
-
}
|
|
7515
|
-
else {
|
|
7516
|
-
return Promise.reject(response.validationMessagesAsString);
|
|
7517
|
-
}
|
|
7518
|
-
});
|
|
7519
|
-
}
|
|
7520
|
-
changeTransactionLinePrice(uuid, lineUuid, price) {
|
|
7521
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7522
|
-
const request = {
|
|
7523
|
-
transactionUuid: uuid,
|
|
7524
|
-
lineUuid: lineUuid,
|
|
7525
|
-
newPrice: price
|
|
7526
|
-
};
|
|
7527
|
-
const response = yield this.connector.changeTransactionLinePrice(request);
|
|
7528
|
-
if (response && response.validationResult && response.validationResult.success) {
|
|
7529
|
-
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
7530
|
-
}
|
|
7531
|
-
else {
|
|
7532
|
-
return Promise.reject(response.validationMessagesAsString);
|
|
7533
|
-
}
|
|
7534
|
-
});
|
|
7535
|
-
}
|
|
7536
|
-
changeTransactionLinePriceList(uuid, lineUuid, priceList) {
|
|
7537
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7538
|
-
const request = {
|
|
7539
|
-
transactionUuid: uuid,
|
|
7540
|
-
lineUuid: lineUuid,
|
|
7541
|
-
newPriceListCode: priceList
|
|
7542
|
-
};
|
|
7543
|
-
const response = yield this.connector.changeTransactionLinePriceList(request);
|
|
7544
|
-
if (response && response.validationResult && response.validationResult.success) {
|
|
7545
|
-
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
7546
|
-
}
|
|
7547
|
-
else {
|
|
7548
|
-
return Promise.reject(response.validationMessagesAsString);
|
|
7549
|
-
}
|
|
7550
|
-
});
|
|
7551
|
-
}
|
|
7552
|
-
changeTransactionLineVat(uuid, lineUuid, id) {
|
|
7553
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7554
|
-
const request = {
|
|
7555
|
-
transactionUuid: uuid,
|
|
7556
|
-
lineUuid: lineUuid,
|
|
7557
|
-
newVatId: id
|
|
7558
|
-
};
|
|
7559
|
-
const response = yield this.connector.changeTransactionLineVat(request);
|
|
7560
|
-
if (response && response.validationResult && response.validationResult.success) {
|
|
7561
|
-
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
7562
|
-
}
|
|
7563
|
-
else {
|
|
7564
|
-
return Promise.reject(response.validationMessagesAsString);
|
|
7565
|
-
}
|
|
7566
|
-
});
|
|
7567
|
-
}
|
|
7568
|
-
changeTransactionLineLineDiscount(uuid, lineUuid, type, discount, reason, code) {
|
|
7569
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7570
|
-
const request = {
|
|
7571
|
-
transactionUuid: uuid,
|
|
7572
|
-
lineUuid: lineUuid,
|
|
7573
|
-
discountType: type,
|
|
7574
|
-
newDiscount: discount,
|
|
7575
|
-
newDiscountReason: reason,
|
|
7576
|
-
newDiscountCode: code
|
|
7577
|
-
};
|
|
7578
|
-
const response = yield this.connector.changeTransactionLineDiscount(request);
|
|
7579
|
-
if (response && response.validationResult && response.validationResult.success) {
|
|
7580
|
-
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
7581
|
-
}
|
|
7582
|
-
else {
|
|
7583
|
-
return Promise.reject(response.validationMessagesAsString);
|
|
7584
|
-
}
|
|
7585
|
-
});
|
|
7586
|
-
}
|
|
7587
|
-
changeTransactionLineDeliveryMethod(uuid, lineUuid, method) {
|
|
7588
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7589
|
-
const request = {
|
|
7590
|
-
transactionUuid: uuid,
|
|
7591
|
-
lineUuid: lineUuid,
|
|
7592
|
-
newDeliveryMethodCode: method
|
|
7593
|
-
};
|
|
7594
|
-
const response = yield this.connector.changeTransactionLineDeliveryMethod(request);
|
|
7595
|
-
if (response && response.validationResult && response.validationResult.success) {
|
|
7596
|
-
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
7597
|
-
}
|
|
7598
|
-
else {
|
|
7599
|
-
return Promise.reject(response.validationMessagesAsString);
|
|
7600
|
-
}
|
|
7601
|
-
});
|
|
7602
|
-
}
|
|
7603
|
-
changeTransactionLineDeliveryDate(uuid, lineUuid, date) {
|
|
7604
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7605
|
-
const request = {
|
|
7606
|
-
transactionUuid: uuid,
|
|
7607
|
-
lineUuid: lineUuid,
|
|
7608
|
-
newDeliveryDate: date
|
|
7609
|
-
};
|
|
7610
|
-
const response = yield this.connector.changeTransactionLineDeliveryDate(request);
|
|
7611
|
-
if (response && response.validationResult && response.validationResult.success) {
|
|
7612
|
-
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
7613
|
-
}
|
|
7614
|
-
else {
|
|
7615
|
-
return Promise.reject(response.validationMessagesAsString);
|
|
7616
|
-
}
|
|
7617
|
-
});
|
|
7618
|
-
}
|
|
7619
|
-
changeTransactionLineAssemblyTime(uuid, lineUuid, time) {
|
|
7620
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7621
|
-
const request = {
|
|
7622
|
-
transactionUuid: uuid,
|
|
7623
|
-
lineUuid: lineUuid,
|
|
7624
|
-
newAssemblyTime: time
|
|
7625
|
-
};
|
|
7626
|
-
const response = yield this.connector.changeTransactionLineAssemblyTime(request);
|
|
7627
|
-
if (response && response.validationResult && response.validationResult.success) {
|
|
7628
|
-
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
7629
|
-
}
|
|
7630
|
-
else {
|
|
7631
|
-
return Promise.reject(response.validationMessagesAsString);
|
|
7632
|
-
}
|
|
7633
|
-
});
|
|
7634
|
-
}
|
|
7635
|
-
changeTransactionLineEditTime(uuid, lineUuid, time) {
|
|
7636
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7637
|
-
const request = {
|
|
7638
|
-
transactionUuid: uuid,
|
|
7639
|
-
lineUuid: lineUuid,
|
|
7640
|
-
newEditTime: time
|
|
7641
|
-
};
|
|
7642
|
-
const response = yield this.connector.changeTransactionLineEditTime(request);
|
|
7643
|
-
if (response && response.validationResult && response.validationResult.success) {
|
|
7644
|
-
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
7645
|
-
}
|
|
7646
|
-
else {
|
|
7647
|
-
return Promise.reject(response.validationMessagesAsString);
|
|
7648
|
-
}
|
|
7649
|
-
});
|
|
7650
|
-
}
|
|
7651
|
-
changeTransactionLineSupplierArticleNumber(uuid, lineUuid, articleNumber) {
|
|
7652
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7653
|
-
const request = {
|
|
7654
|
-
transactionUuid: uuid,
|
|
7655
|
-
lineUuid: lineUuid,
|
|
7656
|
-
newSupplierArticleNumber: articleNumber
|
|
7657
|
-
};
|
|
7658
|
-
const response = yield this.connector.changeTransactionLineSupplierArticleNumber(request);
|
|
7659
|
-
if (response && response.validationResult && response.validationResult.success) {
|
|
7660
|
-
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
7661
|
-
}
|
|
7662
|
-
else {
|
|
7663
|
-
return Promise.reject(response.validationMessagesAsString);
|
|
7664
|
-
}
|
|
7665
|
-
});
|
|
7666
|
-
}
|
|
7667
|
-
changeTransactionLineReference(uuid, lineUuid, reference) {
|
|
7668
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7669
|
-
const request = {
|
|
7670
|
-
transactionUuid: uuid,
|
|
7671
|
-
lineUuid: lineUuid,
|
|
7672
|
-
newReference: reference
|
|
7673
|
-
};
|
|
7674
|
-
const response = yield this.connector.changeTransactionLineReference(request);
|
|
7675
|
-
if (response && response.validationResult && response.validationResult.success) {
|
|
7676
|
-
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
7677
|
-
}
|
|
7678
|
-
else {
|
|
7679
|
-
return Promise.reject(response.validationMessagesAsString);
|
|
7680
|
-
}
|
|
7681
|
-
});
|
|
7682
|
-
}
|
|
7683
|
-
changeHeaderTransactionDefinitive(uuid, definitive) {
|
|
7684
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7685
|
-
const request = {
|
|
7686
|
-
transactionUuid: uuid,
|
|
7687
|
-
newTransactionDefinitive: definitive
|
|
7688
|
-
};
|
|
7689
|
-
const response = yield this.connector.changeHeaderTransactionDefinitive(request);
|
|
7690
|
-
if (response && response.validationResult && response.validationResult.success) {
|
|
7691
|
-
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
7692
|
-
}
|
|
7693
|
-
else {
|
|
7694
|
-
return Promise.reject(response.validationMessagesAsString);
|
|
7695
|
-
}
|
|
7696
|
-
});
|
|
7697
|
-
}
|
|
7698
|
-
changeTransactionLineCollectionCode(uuid, lineUuid, code) {
|
|
7699
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7700
|
-
const request = {
|
|
7701
|
-
transactionUuid: uuid,
|
|
7702
|
-
lineUuid: lineUuid,
|
|
7703
|
-
newCollectionCode: code
|
|
7704
|
-
};
|
|
7705
|
-
const response = yield this.connector.changeTransactionLineCollectionCode(request);
|
|
7706
|
-
if (response && response.validationResult && response.validationResult.success) {
|
|
7707
|
-
return this._boFactory.makeWithRawBackendData(TransactionInfoResponse, response.resultObject);
|
|
7708
|
-
}
|
|
7709
|
-
else {
|
|
7710
|
-
return Promise.reject(response.validationMessagesAsString);
|
|
7711
|
-
}
|
|
7712
|
-
});
|
|
7713
|
-
}
|
|
7714
|
-
createOutstandingEntry(uuid, amount) {
|
|
7715
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7716
|
-
const request = {
|
|
7717
|
-
transUUID: uuid,
|
|
7718
|
-
amount: amount
|
|
7719
|
-
};
|
|
7720
|
-
const response = yield this.connector.createOutstandingEntry(request);
|
|
7721
|
-
if (response && response.validationResult && response.validationResult.success) {
|
|
7722
|
-
console.log(response);
|
|
7723
|
-
}
|
|
7724
|
-
else {
|
|
7725
|
-
return Promise.reject(response.validationMessagesAsString);
|
|
7726
|
-
}
|
|
7727
|
-
});
|
|
7728
|
-
}
|
|
7729
|
-
registerSalesOrderPayment(uuid, amount, currencyCode, paymentMethod, cashRegisterGroupId) {
|
|
7730
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7731
|
-
const request = {
|
|
7732
|
-
transUUID: uuid,
|
|
7733
|
-
amount: amount,
|
|
7734
|
-
currencyCode: currencyCode,
|
|
7735
|
-
paymentMethodCode: paymentMethod,
|
|
7736
|
-
cashRegisterGroupId: cashRegisterGroupId
|
|
7737
|
-
};
|
|
7738
|
-
const response = yield this.connector.registerSalesOrderPayment(request);
|
|
7739
|
-
if (response && response.validationResult && response.validationResult.success) {
|
|
7740
|
-
console.log(response);
|
|
7741
|
-
}
|
|
7742
|
-
else {
|
|
7743
|
-
return Promise.reject(response.validationMessagesAsString);
|
|
7744
|
-
}
|
|
7745
|
-
});
|
|
7746
|
-
}
|
|
7747
|
-
}
|
|
7748
|
-
IOneConnectorAdapterService.ɵprov = i0.ɵɵdefineInjectable({ factory: function IOneConnectorAdapterService_Factory() { return new IOneConnectorAdapterService(i0.ɵɵinject(OptionsService), i0.ɵɵinject(CollectionCacheService)); }, token: IOneConnectorAdapterService, providedIn: "root" });
|
|
7749
|
-
IOneConnectorAdapterService.decorators = [
|
|
7750
|
-
{ type: Injectable, args: [{
|
|
7751
|
-
providedIn: "root"
|
|
7752
|
-
},] }
|
|
7753
|
-
];
|
|
7754
|
-
IOneConnectorAdapterService.ctorParameters = () => [
|
|
7755
|
-
{ type: OptionsService },
|
|
7756
|
-
{ type: CollectionCacheService }
|
|
7757
|
-
];
|
|
7758
|
-
|
|
7759
|
-
class PaymentService {
|
|
7760
|
-
constructor(_connector) {
|
|
7761
|
-
this._connector = _connector;
|
|
7762
|
-
}
|
|
7763
|
-
createOutstandingEntry(uuid, amount) {
|
|
7764
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7765
|
-
const response = yield this._connector.createOutstandingEntry(uuid, amount)
|
|
7766
|
-
.catch((error) => {
|
|
7767
|
-
// todo: do something with the error
|
|
7768
|
-
return false;
|
|
7769
|
-
});
|
|
7770
|
-
if (response) {
|
|
7771
|
-
return true;
|
|
7772
|
-
}
|
|
7773
|
-
return false;
|
|
7774
|
-
});
|
|
7775
|
-
}
|
|
7776
|
-
registerSalesOrderPayment(uuid, amount, currencyCode, paymentMethod, cashRegisterGroupId) {
|
|
7777
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7778
|
-
const response = yield this._connector.registerSalesOrderPayment(uuid, amount, currencyCode, paymentMethod, cashRegisterGroupId);
|
|
7779
|
-
// .catch((error) => {
|
|
7780
|
-
// // todo: do something with the error
|
|
7781
|
-
// // return;
|
|
7782
|
-
// });
|
|
7783
|
-
if (response) {
|
|
7784
|
-
return true;
|
|
7785
|
-
}
|
|
7786
|
-
return false;
|
|
7787
|
-
});
|
|
7788
|
-
}
|
|
7789
|
-
getPaymentMethods() {
|
|
7790
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7791
|
-
return this._connector.getPaymentMethods();
|
|
6851
|
+
return this._connector.getPaymentMethods();
|
|
7792
6852
|
});
|
|
7793
6853
|
}
|
|
7794
6854
|
}
|
|
7795
|
-
PaymentService.ɵprov = i0.ɵɵdefineInjectable({ factory: function PaymentService_Factory() { return new PaymentService(i0.ɵɵinject(
|
|
6855
|
+
PaymentService.ɵprov = i0.ɵɵdefineInjectable({ factory: function PaymentService_Factory() { return new PaymentService(i0.ɵɵinject(TransactionConnectorService)); }, token: PaymentService, providedIn: "root" });
|
|
7796
6856
|
PaymentService.decorators = [
|
|
7797
6857
|
{ type: Injectable, args: [{
|
|
7798
6858
|
providedIn: "root"
|
|
7799
6859
|
},] }
|
|
7800
6860
|
];
|
|
7801
6861
|
PaymentService.ctorParameters = () => [
|
|
7802
|
-
{ type:
|
|
6862
|
+
{ type: TransactionConnectorService }
|
|
7803
6863
|
];
|
|
7804
6864
|
|
|
7805
6865
|
class PaymentViewmodel {
|
|
@@ -13242,5 +12302,5 @@ TransactionLineGridModule.decorators = [
|
|
|
13242
12302
|
* Generated bundle index. Do not edit.
|
|
13243
12303
|
*/
|
|
13244
12304
|
|
|
13245
|
-
export { CheckoutComponent, CheckoutModule, ShoppingCartComponent, ShoppingCartModule, ShoppingCartPreviewComponent, ShoppingCartPreviewModule, TransactionComponent, TransactionHeaderComponent, TransactionHeaderDeliveryComponent, TransactionHeaderDeliveryModule, TransactionHeaderModule, TransactionHeaderOrderComponent, TransactionHeaderOrderModule, TransactionHeaderRelationComponent, TransactionHeaderRelationModule, TransactionLineComponent, TransactionLineGridComponent, TransactionLineGridModule, TransactionLineModule, TransactionLinesComponent, TransactionLinesModule, TransactionModule, TransactionQuickAccessComponent, TransactionQuickAccessModule, TransactionQuickAccessOrderConfirmationComponent, TransactionQuickAccessOrderConfirmationModule, TransactionQuickAccessReceivedGoodsComponent, TransactionQuickAccessReceivedGoodsModule, TransactionSearchComponent, TransactionSearchModule, TransactionService, TransactionTotalsComponent, TransactionTotalsModule, PendingReasonService as ɵa, DialogService as ɵb, RelationAddressTileModule as ɵba, TileModule as ɵbb, TileComponent as ɵbc, RelationAddressTileComponent as ɵbd, RelationAddressSelectComponent as ɵbe, BusinessObjectFactory as ɵbf, StepperModule as ɵbg, StepperComponent as ɵbh, StepperStepComponent as ɵbi, TransactionArticleTextModule as ɵbj, TransactionArticleTextComponent as ɵbk, TransactionArticleTextOverviewModule as ɵbl, TransactionArticleTextOverviewComponent as ɵbm, TransactionImageService as ɵbn, AvatarModule as ɵbo, AvatarComponent as ɵbp, SharedService as ɵbq, SharedConnectorService as ɵbr, DeliveryTypeTileModule as ɵbs, DeliveryTypeTileComponent as ɵbt, PaymentModule as ɵbu, PaymentTileModule as ɵbv, PaymentTileComponent as ɵbw, PaymentComponent as ɵbx, PaymentService as ɵby,
|
|
12305
|
+
export { CheckoutComponent, CheckoutModule, ShoppingCartComponent, ShoppingCartModule, ShoppingCartPreviewComponent, ShoppingCartPreviewModule, TransactionComponent, TransactionHeaderComponent, TransactionHeaderDeliveryComponent, TransactionHeaderDeliveryModule, TransactionHeaderModule, TransactionHeaderOrderComponent, TransactionHeaderOrderModule, TransactionHeaderRelationComponent, TransactionHeaderRelationModule, TransactionLineComponent, TransactionLineGridComponent, TransactionLineGridModule, TransactionLineModule, TransactionLinesComponent, TransactionLinesModule, TransactionModule, TransactionQuickAccessComponent, TransactionQuickAccessModule, TransactionQuickAccessOrderConfirmationComponent, TransactionQuickAccessOrderConfirmationModule, TransactionQuickAccessReceivedGoodsComponent, TransactionQuickAccessReceivedGoodsModule, TransactionSearchComponent, TransactionSearchModule, TransactionService, TransactionTotalsComponent, TransactionTotalsModule, PendingReasonService as ɵa, DialogService as ɵb, RelationAddressTileModule as ɵba, TileModule as ɵbb, TileComponent as ɵbc, RelationAddressTileComponent as ɵbd, RelationAddressSelectComponent as ɵbe, BusinessObjectFactory as ɵbf, StepperModule as ɵbg, StepperComponent as ɵbh, StepperStepComponent as ɵbi, TransactionArticleTextModule as ɵbj, TransactionArticleTextComponent as ɵbk, TransactionArticleTextOverviewModule as ɵbl, TransactionArticleTextOverviewComponent as ɵbm, TransactionImageService as ɵbn, AvatarModule as ɵbo, AvatarComponent as ɵbp, SharedService as ɵbq, SharedConnectorService as ɵbr, DeliveryTypeTileModule as ɵbs, DeliveryTypeTileComponent as ɵbt, PaymentModule as ɵbu, PaymentTileModule as ɵbv, PaymentTileComponent as ɵbw, PaymentComponent as ɵbx, PaymentService as ɵby, CheckoutOverviewRelationEditComponent as ɵbz, OptionsService as ɵc, CheckoutOverviewDeliveryEditComponent as ɵca, CheckoutOverviewDeliveryAddressComponent as ɵcb, CheckOutRelationSuggestionsListComponent as ɵcc, CheckOutRelationSuggestionsListItemComponent as ɵcd, CheckoutLoginComponent as ɵce, TransactionHeaderModule$1 as ɵcf, TransactionHeaderBlockModule as ɵcg, TransactionHeaderBlockComponent as ɵch, TransactionBaseComponent as ɵci, TransactionHeaderPaymentModule as ɵcj, TransactionHeaderPaymentComponent as ɵck, TransactionHeaderComponent$1 as ɵcl, TransactionLinesGridModule as ɵcm, TransactionBaseGridModule as ɵcn, TransactionLineSidePanelModule as ɵco, TransactionLineSidePanelDefaultModule as ɵcp, TransactionLinePriceModule as ɵcq, TransactionLinePriceComponent as ɵcr, TransactionLineFieldsBaseComponent as ɵcs, TransactionLinePriceListModule as ɵct, TransactionLinePriceListComponent as ɵcu, TransactionLineVatModule as ɵcv, TransactionLineVatComponent as ɵcw, TransactionLineQuantityModule as ɵcx, TransactionLineQuantityComponent as ɵcy, TransactionLineLineDiscountModule as ɵcz, DictionaryService as ɵd, TransactionLineLineDiscountComponent as ɵda, TransactionLineDeliveryMethodModule as ɵdb, TransactionLineDeliveryMethodComponent as ɵdc, TransactionLineDeliveryDateModule as ɵdd, TransactionLineDeliveryDateComponent as ɵde, TransactionLineReferenceModule as ɵdf, TransactionLineReferenceComponent as ɵdg, TransactionLineCommissionCodeModule as ɵdh, TransactionLineCommissionCodeComponent as ɵdi, TransactionLineWarehouseModule as ɵdj, TransactionLineWarehouseComponent as ɵdk, TransactionLineDiscountAmountModule as ɵdl, TransactionLineDiscountAmountComponent as ɵdm, TransactionLineQuantumDiscountModule as ɵdn, TransactionLineQuantumDiscountComponent as ɵdo, TransactionLineSpecialDiscountModule as ɵdp, TransactionLineSpecialDiscountComponent as ɵdq, TransactionLineSidePanelDefaultComponent as ɵdr, TransactionReceivingGoodsHistoryModule as ɵds, TransactionHistoryGridModule as ɵdt, TransactionHistoryGridStatusModule as ɵdu, TransactionHistoryGridStatusComponent as ɵdv, TransactionHistoryGridComponent as ɵdw, TransactionReceivingGoodsHistoryComponent as ɵdx, TransactionReceivingGoodsDetailsModule as ɵdy, TransactionReceivingGoodsDetailsComponent as ɵdz, TransactionConnectorService as ɵe, ArticleService as ɵea, ArticleConnectorService as ɵeb, TransactionButtonBarModule as ɵec, TransactionButtonBarComponent as ɵed, TransactionMappingService as ɵee, TransactionButtonBarButtonComponent as ɵef, TransactionConfirmationHistoryModule as ɵeg, TransactionConfirmationHistoryComponent as ɵeh, TransactionLineSidePanelPurchaseModule as ɵei, TransactionLineSidePanelPurchaseComponent as ɵej, TransactionEventService as ɵek, TransactionLineSidePanelComponent as ɵel, TransactionBaseGridComponent as ɵem, TransactionGridBaseComponent as ɵen, TransactionLinesGridComponent as ɵeo, DiscountModule as ɵep, DiscountComponent as ɵeq, TransactionQuickAccessOverviewModule as ɵer, TransactionQuickAccessOverviewComponent as ɵes, TransactionOrderConfirmationGridModule as ɵet, TransactionOrderConfirmationGridComponent as ɵeu, TransactionReceivedGoodsGridModule as ɵev, TransactionReceivedGoodsGridComponent as ɵew, ViewModeButtonsModule as ɵex, ViewModeButtonsComponent as ɵey, TransactionGridModule as ɵez, CollectionCacheService as ɵf, TransactionGridComponent as ɵfa, TransactionSearchResultModule as ɵfb, TransactionTileModule as ɵfc, TransactionTileComponent as ɵfd, TransactionSearchGridModule as ɵfe, TransactionSearchGridComponent as ɵff, TransactionSearchResultComponent as ɵfg, TransactionSearchService as ɵfh, TransactionFilterModule as ɵfi, TransactionFilterCategoriesModule as ɵfj, TransactionFilterCategoriesComponent as ɵfk, TransactionFilterContentOrderModule as ɵfl, TransactionFilterContentOrderComponent as ɵfm, FilterRequestService as ɵfn, TransactionFilterContentLogisticsModule as ɵfo, TransactionFilterContentLogisticsComponent as ɵfp, TransactionFilterContentArticleModule as ɵfq, TransactionFilterContentArticleComponent as ɵfr, TransactionFilterComponent as ɵfs, CoreModule as ɵg, ConfirmationDialogModule as ɵh, PipeModule as ɵi, AppendPipe as ɵj, DeliveryTimePipe as ɵk, DateDurationPipe as ɵl, LocalizePipe as ɵm, CoCurrencyPipe as ɵn, SafeStylePipe as ɵo, SafeHtmlPipe as ɵp, ConfirmationDialogComponent as ɵq, DialogBaseComponent as ɵr, ImageDisplayComponent as ɵs, IconComponent as ɵt, IconCacheService as ɵu, CustomerGroupsComponent as ɵv, StockStatusIndicatorComponent as ɵw, RelationAddressModule as ɵx, RelationAddressComponent as ɵy, RelationAddressSelectModule as ɵz };
|
|
13246
12306
|
//# sourceMappingURL=colijnit-transaction.js.map
|