@hitsoft/e-donusum 100.1.4-edo-prod → 100.1.5-edo-prod

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.
Files changed (28) hide show
  1. package/esm2020/lib/components/hit-inbound-invoices/hit-inbound-invoice.component.mjs +296 -51
  2. package/esm2020/lib/components/hit-inbound-invoices/hit-inbound-invoice.module.mjs +15 -5
  3. package/esm2020/lib/components/hit-params-generals/hit-params-generals-part2/hit-params-general-part2.component.mjs +7 -15
  4. package/esm2020/lib/components/hit-params-integrators/hit-params-integrator.component.mjs +61 -50
  5. package/esm2020/lib/components/hit-setup-wizard/hit-setup-wizard.component.mjs +2 -2
  6. package/esm2020/lib/hit-proxy/hit-inbound-invoices/hit-inbound-invoice.service.mjs +37 -3
  7. package/esm2020/lib/hit-proxy/hit-inbound-invoices/models.mjs +1 -1
  8. package/esm2020/lib/params-companies/params-company/components/params-company.component.mjs +5 -4
  9. package/esm2020/lib/params-generals/params-general/components/params-general.component.mjs +6 -5
  10. package/esm2020/lib/params-integrators/params-integrator/components/params-integrator.component.mjs +9 -4
  11. package/esm2020/lib/proxy/params-companies/models.mjs +1 -1
  12. package/esm2020/lib/proxy/params-generals/models.mjs +1 -1
  13. package/esm2020/lib/proxy/params-integrators/models.mjs +1 -1
  14. package/fesm2015/hitsoft-e-donusum.mjs +445 -144
  15. package/fesm2015/hitsoft-e-donusum.mjs.map +1 -1
  16. package/fesm2020/hitsoft-e-donusum.mjs +430 -131
  17. package/fesm2020/hitsoft-e-donusum.mjs.map +1 -1
  18. package/lib/components/hit-inbound-invoices/hit-inbound-invoice.component.d.ts +24 -6
  19. package/lib/components/hit-inbound-invoices/hit-inbound-invoice.module.d.ts +2 -1
  20. package/lib/components/hit-params-generals/hit-params-generals-part2/hit-params-general-part2.component.d.ts +0 -1
  21. package/lib/components/hit-params-integrators/hit-params-integrator.component.d.ts +3 -0
  22. package/lib/hit-proxy/hit-inbound-invoices/hit-inbound-invoice.service.d.ts +7 -1
  23. package/lib/hit-proxy/hit-inbound-invoices/models.d.ts +63 -0
  24. package/lib/params-integrators/params-integrator/components/params-integrator.component.d.ts +1 -0
  25. package/lib/proxy/params-companies/models.d.ts +3 -0
  26. package/lib/proxy/params-generals/models.d.ts +3 -0
  27. package/lib/proxy/params-integrators/models.d.ts +12 -0
  28. package/package.json +1 -1
@@ -6,7 +6,7 @@ import { HitInvoiceService } from '../../hit-proxy/hit-invoices/hit-invoice.serv
6
6
  import { FormBuilder, FormGroup } from '@angular/forms';
7
7
  import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
8
8
  import { HitBusinessPartnerGroupService } from '../../hit-proxy/hit-business-partner-groups/hit-business-partner-group.service';
9
- import { OpenDocumentDto } from '../../hit-proxy/hit-inbound-invoices/models';
9
+ import { CatalogMatchLineDto, ManualLineDto, OpenDocumentDto, SapTaxGroupDto } from '../../hit-proxy/hit-inbound-invoices/models';
10
10
  import { HitBranchesService } from '../../hit-proxy/hit-branches/hit-branch.service';
11
11
  import { HitParamsGeneralsService } from '../../hit-proxy/hit-params-generals/hit-params-general.service';
12
12
  import { HitSharedService } from '../../hit-proxy/shared/hit-shared.service';
@@ -50,8 +50,11 @@ export declare class HitInboundInvoiceComponent implements OnInit {
50
50
  openDocumentsForPartner: [];
51
51
  invoiceObjectsEnumLookup: any;
52
52
  invoiceFilesDataSource: any;
53
- userCommentMap: Record<string, string>;
54
- isSavingComment: Record<string, boolean>;
53
+ bulkCommentPopupVisible: boolean;
54
+ bulkCommentText: string;
55
+ bulkCommentSelectedCount: number;
56
+ isBulkCommentSaving: boolean;
57
+ private bulkCommentSelectedIds;
55
58
  purchaseOrderDocuments: [];
56
59
  documentLines: OpenDocumentDto[];
57
60
  purchaseDespatchDocuments: [];
@@ -96,6 +99,15 @@ export declare class HitInboundInvoiceComponent implements OnInit {
96
99
  selectedBranchId: number;
97
100
  invoiceFileNameLookup: any;
98
101
  isFileModalBusy: boolean;
102
+ isModalOpenForManualLine: boolean;
103
+ isModalBusyForManualLine: boolean;
104
+ manualLines: ManualLineDto[];
105
+ itemsGridStore: any;
106
+ taxGroupsGridStore: any;
107
+ taxGroups: SapTaxGroupDto[];
108
+ isModalOpenForCatalog: boolean;
109
+ isModalBusyForCatalog: boolean;
110
+ catalogMatchLines: CatalogMatchLineDto[];
99
111
  constructor(list: ListService, service: HitInboundInvoiceService, invoiceService: HitInvoiceService, hitBranchesService: HitBranchesService, hitParamsGeneralsService: HitParamsGeneralsService, formBuilder: FormBuilder, formBuilderForPartner: FormBuilder, formBuilderForDocument: FormBuilder, toasterService: ToasterService, businessPartnerGroupService: HitBusinessPartnerGroupService, ref: ChangeDetectorRef, confirmation: ConfirmationService, hitSharedService: HitSharedService, fileDocumentTypeService: HitFileDocumentTypeService);
100
112
  countryGridBox_displayExpr(): string;
101
113
  stateGridBox_displayExpr(): string;
@@ -111,9 +123,8 @@ export declare class HitInboundInvoiceComponent implements OnInit {
111
123
  getInboundInvoice(): void;
112
124
  getInvoicePreview(record: any): void;
113
125
  viewPDFsMultiple(): void;
114
- getRowComment(record: any): string;
115
- onUserCommentChanged(value: string, record: any): void;
116
- saveUserComment(record: any): void;
126
+ openBulkCommentPopup(): void;
127
+ confirmBulkComment(): void;
117
128
  openResponseModal(record: any): void;
118
129
  buildForm(record: any): void;
119
130
  sendInvoiceResponse(response: boolean): void;
@@ -133,6 +144,13 @@ export declare class HitInboundInvoiceComponent implements OnInit {
133
144
  sendDocument(documentGridLines: any[]): void;
134
145
  createDraftDocument(): void;
135
146
  processManual(record: any): void;
147
+ openManualLineModal(): void;
148
+ onItemGridSelectionChanged(event: any, lineIndex: number): void;
149
+ onTaxGroupGridSelectionChanged(event: any, lineIndex: number): void;
150
+ toggleAllManualLines(event: any): void;
151
+ openCatalogMatchModal(): void;
152
+ addCatalogLinesToDocument(): void;
153
+ addManualLinesToDocument(): void;
136
154
  checkBoxChanged(event: any): void;
137
155
  changeRowsColor(e: any): void;
138
156
  getReceiverResponseName(responseId: any): any;
@@ -8,9 +8,10 @@ import * as i6 from "@ng-bootstrap/ng-bootstrap";
8
8
  import * as i7 from "devextreme-angular";
9
9
  import * as i8 from "@abp/ng.components/page";
10
10
  import * as i9 from "./hit-inbound-invoice-routing.module";
11
+ import * as i10 from "@angular/forms";
11
12
  export declare class HitInboundInvoiceModule {
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<HitInboundInvoiceModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<HitInboundInvoiceModule, [typeof i1.HitInboundInvoiceComponent], [typeof i2.CoreModule, typeof i3.ThemeSharedModule, typeof i4.CommercialUiModule, typeof i5.NgxValidateCoreModule, typeof i6.NgbCollapseModule, typeof i6.NgbDatepickerModule, typeof i6.NgbDropdownModule, typeof i7.DxDataGridModule, typeof i7.DxTextAreaModule, typeof i7.DxTextBoxModule, typeof i7.DxHtmlEditorModule, typeof i7.DxSelectBoxModule, typeof i7.DxLookupModule, typeof i7.DxTabPanelModule, typeof i8.PageModule, typeof i9.HitInboundInvoiceRoutingModule, typeof i7.DxRadioGroupModule, typeof i7.DxDateBoxModule, typeof i7.DxTemplateModule, typeof i7.DxDropDownBoxModule, typeof i7.DxPopupModule], never>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HitInboundInvoiceModule, [typeof i1.HitInboundInvoiceComponent], [typeof i2.CoreModule, typeof i3.ThemeSharedModule, typeof i4.CommercialUiModule, typeof i5.NgxValidateCoreModule, typeof i6.NgbCollapseModule, typeof i6.NgbDatepickerModule, typeof i6.NgbDropdownModule, typeof i7.DxDataGridModule, typeof i7.DxTextAreaModule, typeof i7.DxTextBoxModule, typeof i7.DxHtmlEditorModule, typeof i7.DxSelectBoxModule, typeof i7.DxLookupModule, typeof i7.DxTabPanelModule, typeof i8.PageModule, typeof i9.HitInboundInvoiceRoutingModule, typeof i7.DxRadioGroupModule, typeof i7.DxDateBoxModule, typeof i7.DxTemplateModule, typeof i7.DxDropDownBoxModule, typeof i7.DxPopupModule, typeof i7.DxNumberBoxModule, typeof i7.DxCheckBoxModule, typeof i10.FormsModule], never>;
14
15
  static ɵinj: i0.ɵɵInjectorDeclaration<HitInboundInvoiceModule>;
15
16
  }
16
17
  export declare function loadHitInboundInvoiceModuleAsChild(): Promise<typeof HitInboundInvoiceModule>;
@@ -18,7 +18,6 @@ export declare class HitParamsGeneralPart2Component implements OnInit {
18
18
  valid: EventEmitter<boolean>;
19
19
  submitButtonDisabled: boolean;
20
20
  integratorDataSource: any;
21
- downloadTokenSecret: string;
22
21
  constructor(service: ParamsGeneralService, fb: FormBuilder, hitParamsGeneralsService: HitParamsGeneralsService, toasterService: ToasterService, hitEntegratorsService: HitEntegratorsService);
23
22
  ngOnInit(): void;
24
23
  buildForm(): void;
@@ -16,6 +16,7 @@ export declare class HitParamsIntegratorComponent implements OnInit {
16
16
  private readonly hitParamsIntegratorsService;
17
17
  private readonly toasterService;
18
18
  private readonly hitEntegratorsService;
19
+ private readonly URL_PATTERN;
19
20
  formParamsIntegrator: FormGroup;
20
21
  paramsIntegratorDtoWithNavigationPropertiesDto?: ParamsIntegratorWithNavigationPropertiesDto;
21
22
  submitButtonDisabled: boolean;
@@ -29,6 +30,8 @@ export declare class HitParamsIntegratorComponent implements OnInit {
29
30
  ngOnInit(): Promise<void>;
30
31
  buildForm(): void;
31
32
  submitForm(): Promise<void>;
33
+ private saveParamsIntegrator;
34
+ private runConnectionTest;
32
35
  getParamsIntegrator(buildForm: boolean, branchId: any): Promise<void>;
33
36
  changedBranch(data: ParamsGeneralDto): void;
34
37
  branchOnChange(): void;
@@ -11,7 +11,7 @@ export declare class HitInboundInvoiceService {
11
11
  getInboundInvoice: (startDate: string, endDate: string) => import("rxjs").Observable<any>;
12
12
  getInboundInvoiceView: (invoiceGUID: string) => import("rxjs").Observable<any>;
13
13
  getBankAccountByCurrency: (actCurr: string) => import("rxjs").Observable<any>;
14
- checkBusinessPartnerExist: (tcknVkn: string) => import("rxjs").Observable<any>;
14
+ checkBusinessPartnerExist: (tcknVkn: string, cardType?: string) => import("rxjs").Observable<any>;
15
15
  getPartnerNumberingSeries: () => import("rxjs").Observable<any>;
16
16
  getPartnerDetails: (invoiceGuid: string) => import("rxjs").Observable<any>;
17
17
  saveInvoiceUserComment: (invoiceID: string, comment: string) => import("rxjs").Observable<any>;
@@ -24,10 +24,16 @@ export declare class HitInboundInvoiceService {
24
24
  processManual: (invoiceID: string) => import("rxjs").Observable<any>;
25
25
  createMultipleEmptyDrafts: (requestDto: ConnectorMultipleEmptyDraftDto[]) => import("rxjs").Observable<any>;
26
26
  getIncomingInvoicePdfsMultiple: (invoiceIds: string[]) => import("rxjs").Observable<Blob>;
27
+ getInvoiceXmlLines: (invoiceId: string) => import("rxjs").Observable<any>;
28
+ getItems: (searchText: string) => import("rxjs").Observable<any>;
29
+ itemsGridStore: import("devextreme-aspnet-data-nojquery").CustomStore;
30
+ taxGroupsGridStore: (category: string) => import("devextreme-aspnet-data-nojquery").CustomStore;
31
+ getTaxGroups: (category: string) => import("rxjs").Observable<any>;
27
32
  LoadInboundInvoiceFiles: (invoiceGUID: string) => import("devextreme-aspnet-data-nojquery").CustomStore;
28
33
  downloadFileById: (blobID: string) => import("rxjs").Observable<any>;
29
34
  getInboundInvoicePdfsMultiple: (invoiceIds: string[]) => import("rxjs").Observable<any>;
30
35
  getInboundInvoicePdfsMerged: (invoiceIds: string[]) => import("rxjs").Observable<any>;
36
+ getCatalogMatchLines: (invoiceId: string) => import("rxjs").Observable<any>;
31
37
  constructor(restService: RestService, devexService: DevexpressRestService);
32
38
  static ɵfac: i0.ɵɵFactoryDeclaration<HitInboundInvoiceService, never>;
33
39
  static ɵprov: i0.ɵɵInjectableDeclaration<HitInboundInvoiceService>;
@@ -27,6 +27,14 @@ export interface ConnectorDraftDocumentLineDto {
27
27
  baseType: number | null;
28
28
  baseEntry: number | null;
29
29
  baseLine: number | null;
30
+ itemCode?: string;
31
+ itemDescription?: string;
32
+ unitPrice?: number | null;
33
+ taxCode?: string;
34
+ vatGroup?: string;
35
+ currency?: string;
36
+ uomCode?: string;
37
+ discPrcnt?: number | null;
30
38
  }
31
39
  export interface ConnectorDraftDocumentDto {
32
40
  docEntry: number | null;
@@ -58,6 +66,7 @@ export interface OpenDocumentDto {
58
66
  text: string;
59
67
  freeTxt: string;
60
68
  lineNum: number;
69
+ unitPrice?: number | null;
61
70
  objType: number;
62
71
  openQty: number;
63
72
  selectedQty: number;
@@ -84,11 +93,65 @@ export interface ConnectorPurchaseInvoiceDocumentLineDto {
84
93
  baseType: number | null;
85
94
  baseEntry: number | null;
86
95
  baseLine: number | null;
96
+ itemCode?: string;
97
+ itemDescription?: string;
98
+ unitPrice?: number | null;
99
+ taxCode?: string;
100
+ vatGroup?: string;
101
+ currency?: string;
102
+ uomCode?: string;
103
+ discPrcnt?: number | null;
87
104
  }
88
105
  export interface ConnectorMultipleEmptyDraftDto {
89
106
  invoiceID: string;
90
107
  draftDocument: ConnectorDraftDocumentDto;
91
108
  }
109
+ export interface InvoiceXmlLineDto {
110
+ lineNumber: number;
111
+ itemName: string;
112
+ quantity: number | null;
113
+ unitPrice: number | null;
114
+ taxPercent: number | null;
115
+ currencyCode: string;
116
+ }
117
+ export interface SapItemDto {
118
+ itemCode: string;
119
+ itemName: string;
120
+ }
121
+ export interface SapTaxGroupDto {
122
+ code: string;
123
+ name: string;
124
+ rate: number;
125
+ category: string;
126
+ }
127
+ export interface ManualLineDto {
128
+ lineNumber: number;
129
+ itemCode: string;
130
+ itemName: string;
131
+ quantity: number | null;
132
+ unitPrice: number | null;
133
+ taxCode: string;
134
+ currencyCode: string;
135
+ selected: boolean;
136
+ itemBoxOpened?: boolean;
137
+ taxBoxOpened?: boolean;
138
+ }
139
+ export interface CatalogMatchLineDto {
140
+ lineNumber: number;
141
+ xmlItemName: string;
142
+ matchedItemCode: string;
143
+ matchedItemName: string;
144
+ catalogSubstitute: string;
145
+ catalogItemCode: string;
146
+ isMatched: boolean;
147
+ quantity: number | null;
148
+ unitPrice: number | null;
149
+ discountPercent: number | null;
150
+ taxPercent: number | null;
151
+ unitCode: string;
152
+ currencyCode: string;
153
+ taxCode: string;
154
+ }
92
155
  export interface ConnectorMultipleEmptyDraftResponseDto {
93
156
  invoiceID: string;
94
157
  EFATNO: string;
@@ -11,6 +11,7 @@ export declare class ParamsIntegratorComponent implements OnInit {
11
11
  readonly service: ParamsIntegratorService;
12
12
  private confirmation;
13
13
  private fb;
14
+ private readonly URL_PATTERN;
14
15
  data: PagedResultDto<ParamsIntegratorWithNavigationPropertiesDto>;
15
16
  filters: GetParamsIntegratorsInput;
16
17
  form: FormGroup;
@@ -46,6 +46,7 @@ export interface ParamsCompanyCreateDto {
46
46
  setupIndex?: number;
47
47
  setupCompleted?: boolean;
48
48
  isTestCompany?: boolean;
49
+ sendErrorNotificationMail?: boolean;
49
50
  }
50
51
  export interface ParamsCompanyDto extends FullAuditedEntityDto<string> {
51
52
  companyName: string;
@@ -69,6 +70,7 @@ export interface ParamsCompanyDto extends FullAuditedEntityDto<string> {
69
70
  setupIndex?: number;
70
71
  setupCompleted?: boolean;
71
72
  isTestCompany?: boolean;
73
+ sendErrorNotificationMail?: boolean;
72
74
  }
73
75
  export interface ParamsCompanyExcelDownloadDto {
74
76
  downloadToken?: string;
@@ -97,4 +99,5 @@ export interface ParamsCompanyUpdateDto {
97
99
  setupIndex?: number;
98
100
  setupCompleted?: boolean;
99
101
  isTestCompany?: boolean;
102
+ sendErrorNotificationMail?: boolean;
100
103
  }
@@ -20,6 +20,7 @@ export interface ParamsGeneralCreateDto {
20
20
  eInvoiceStartDate?: string;
21
21
  eDespatchStartDate?: string;
22
22
  eProducerReceiptStartDate?: string;
23
+ isEntegratorErrorMailActive?: boolean;
23
24
  }
24
25
  export interface ParamsGeneralDto extends FullAuditedEntityDto<string> {
25
26
  connector?: number;
@@ -28,6 +29,7 @@ export interface ParamsGeneralDto extends FullAuditedEntityDto<string> {
28
29
  eInvoiceStartDate?: string;
29
30
  eDespatchStartDate?: string;
30
31
  eProducerReceiptStartDate?: string;
32
+ isEntegratorErrorMailActive?: boolean;
31
33
  }
32
34
  export interface ParamsGeneralExcelDownloadDto {
33
35
  downloadToken?: string;
@@ -41,4 +43,5 @@ export interface ParamsGeneralUpdateDto {
41
43
  eInvoiceStartDate?: string;
42
44
  eDespatchStartDate?: string;
43
45
  eProducerReceiptStartDate?: string;
46
+ isEntegratorErrorMailActive?: boolean;
44
47
  }
@@ -25,6 +25,10 @@ export interface ParamsIntegratorCreateDto {
25
25
  eArchivePKLabel?: string;
26
26
  emmGBLabel?: string;
27
27
  emmPKLabel?: string;
28
+ eInvoiceApiUrl?: string;
29
+ eDespatchApiUrl?: string;
30
+ eArchiveApiUrl?: string;
31
+ emmApiUrl?: string;
28
32
  branchId?: string;
29
33
  }
30
34
  export interface ParamsIntegratorDto extends FullAuditedEntityDto<string> {
@@ -38,6 +42,10 @@ export interface ParamsIntegratorDto extends FullAuditedEntityDto<string> {
38
42
  eArchivePKLabel?: string;
39
43
  emmGBLabel?: string;
40
44
  emmPKLabel?: string;
45
+ eInvoiceApiUrl?: string;
46
+ eDespatchApiUrl?: string;
47
+ eArchiveApiUrl?: string;
48
+ emmApiUrl?: string;
41
49
  branchId?: string;
42
50
  concurrencyStamp?: string;
43
51
  }
@@ -57,6 +65,10 @@ export interface ParamsIntegratorUpdateDto {
57
65
  eArchivePKLabel?: string;
58
66
  emmGBLabel?: string;
59
67
  emmPKLabel?: string;
68
+ eInvoiceApiUrl?: string;
69
+ eDespatchApiUrl?: string;
70
+ eArchiveApiUrl?: string;
71
+ emmApiUrl?: string;
60
72
  branchId?: string;
61
73
  concurrencyStamp?: string;
62
74
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hitsoft/e-donusum",
3
- "version": "100.1.4-edo-prod",
3
+ "version": "100.1.5-edo-prod",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=9",
6
6
  "@angular/core": ">=9",