Openbravo Issue Tracking System - Openbravo Localizations
View Issue Details
0052770Openbravo LocalizationsLocalization Belgiumpublic2023-06-16 14:152023-07-10 16:48
psanjuan 
frank_gonzalez 
urgentmajoralways
closedfixed 
30Openbravo Appliance 14.04
 
 
0052770: BE Fiscalization - Last MTS data is not correctly manage.
BE Fiscalization - Last MTS data is not correctly manage, because:
1.- It is not shown in the field "Last MTS" in the channel touchpoint window
2.- It is not take into account to calculate "next" MTS
3.- It is not included in the MTS report
see images attached.
Install the module:
Follow this document https://docs.google.com/document/d/1XcA_-_RRkVdYDEc3m6RKQmTyRs04pTvnxDTyjUerJ3w/edit [^] for configuration.

You can use in any case this machine:
https://country-compliance.rm.openbravo.com/openbravo/security/Login [^]

Make a sale in the POS, and realize that the last MTS calculated that it is shown both in the order and in the invoice, it is not being filled in the field "Last MTS" of the terminal

Make another sale, and realize that the new MTS calculates does not have into account the previous one, not saved.

Launch the "Belgium Security Amount Execution process" and verify it is not included in the first columm.
The last MTS calculated needs to be:
* saved in the field Last MTS of the Channel touchpoint window
* taking into account in the calculation of the next one
* included in the csv generated by the "Belgium Security Amount Execution process", in the first column.
No tags attached.
related to defect 0052801 closed frank_gonzalez BE Fiscalization - MTS report is empty 
related to defect 0052928 closed jlopez Belgium Fiscal MTS: Calculation is wrong 
related to defect 0052817 closed frank_gonzalez [BE] MTS appears empty in Sales Order 
png Last MTS.png (175,069) 2023-06-16 14:15
https://issues.openbravo.com/file_download.php?file_id=18652&type=bug
png

png MTS-Report.png (6,654) 2023-06-16 14:27
https://issues.openbravo.com/file_download.php?file_id=18653&type=bug
png

png MTS-calculation_1.png (28,084) 2023-06-16 14:28
https://issues.openbravo.com/file_download.php?file_id=18654&type=bug
png

png MTS-calculation-2.png (28,130) 2023-06-16 14:29
https://issues.openbravo.com/file_download.php?file_id=18656&type=bug
png
Issue History
2023-06-16 14:15psanjuanNew Issue
2023-06-16 14:15psanjuanFile Added: Last MTS.png
2023-06-16 14:16psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=26275#r26275
2023-06-16 14:22psanjuanAssigned To => Triage Omni OMS
2023-06-16 14:27psanjuanSummaryBE Fiscalization - Last MTS information is not shown in the terminal. See image attached. => BE Fiscalization - Last MTS data is not correctly manage.
2023-06-16 14:27psanjuanDescription Updatedbug_revision_view_page.php?rev_id=26277#r26277
2023-06-16 14:27psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=26278#r26278
2023-06-16 14:27psanjuanProposed Solution updated
2023-06-16 14:27psanjuanFile Added: MTS-Report.png
2023-06-16 14:28psanjuanProposed Solution updated
2023-06-16 14:28psanjuanFile Added: MTS-calculation_1.png
2023-06-16 14:28psanjuanFile Added: MTSCalculation_2.png
2023-06-16 14:29psanjuanFile Deleted: MTSCalculation_2.png
2023-06-16 14:29psanjuanFile Added: MTS-calculation-2.png
2023-06-22 09:40aferrazAssigned ToTriage Omni OMS => frank_gonzalez
2023-06-28 18:06aferrazRelationship addedrelated to 0052817
2023-06-28 18:08aferrazRelationship addedrelated to 0052801
2023-06-29 10:45hgbotNote Added: 0151814
2023-06-29 11:37hgbotNote Added: 0151829
2023-06-29 11:37hgbotResolutionopen => fixed
2023-06-29 11:37hgbotStatusnew => closed
2023-06-29 11:37hgbotNote Added: 0151830
2023-07-10 16:48rafarodaRelationship addedrelated to 0052928

Notes
(0151814)
hgbot   
2023-06-29 10:45   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.belgium.securityamount/-/merge_requests/4 [^]
(0151829)
hgbot   
2023-06-29 11:37   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.belgium.securityamount/-/merge_requests/4 [^]
(0151830)
hgbot   
2023-06-29 11:37   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.belgium.securityamount [^]
Changeset: a13c54240a64e3a1751347c2b74abcbd84ef6361
Author: Frank González <frank.gonzalez@openbravo.com>
Date: 29-06-2023 09:37:09
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.belgium.securityamount/-/commit/a13c54240a64e3a1751347c2b74abcbd84ef6361 [^]

Fixes ISSUE-52770: BE Fiscalization - Last MTS data is not correctly manage.

---
M src/org/openbravo/localization/belgium/securityamount/mts/SaveLastMTSHook.java
---