Openbravo Issue Tracking System - POS2
View Issue Details
0057072POS2POSpublic2024-11-12 13:192024-11-20 08:28
fermin_ostivar 
kousalya_r 
highmajoralways
closedfixed 
5
 
 
No
0057072: Duplicate unique value customer ID Saft if NIF typed on the name
If in an order the nif is set on the customer name, and previously was an order with the same nif set on the nif property, the SAFT Validator throws the error Duplicate unique value.
[BOS]
Configure SAFT

[POS]
Create an order setting a valid NIF on the "Nif do Cliente" property, pay and close
Create an order setting a valid NIF(same as previous step) on the "Nome do Cliente" property, pay and close

[BOS]
Get the xml saft document thorugh e-factura

Execute the Saft validator, the following error is thrown:
SCHEMA_ERROR,1,1408,"cvc-identity-constraint.4.1: Duplicate unique value [********] declared for identity constraint ""CustomerIDConstraint"" of element ""AuditFile""."

 
Implement a control to avoid the duplicate customer on the xml document
No tags attached.
png 57072_01.png (19,523) 2024-11-12 13:22
https://issues.openbravo.com/file_download.php?file_id=20461&type=bug
png

png 57072_02.png (9,712) 2024-11-12 13:23
https://issues.openbravo.com/file_download.php?file_id=20462&type=bug
png

png 57072_03.png (104,712) 2024-11-12 13:59
https://issues.openbravo.com/file_download.php?file_id=20464&type=bug
png
Issue History
2024-11-12 13:19fermin_ostivarNew Issue
2024-11-12 13:19fermin_ostivarAssigned To => Retail
2024-11-12 13:19fermin_ostivarTriggers an Emergency Pack => No
2024-11-12 13:22fermin_ostivarFile Added: 57072_01.png
2024-11-12 13:23fermin_ostivarFile Added: 57072_02.png
2024-11-12 13:34fermin_ostivarPrioritynormal => high
2024-11-12 13:34fermin_ostivarSeverityminor => major
2024-11-12 13:58fermin_ostivarFile Added: 57072_03.png
2024-11-12 13:58fermin_ostivarFile Deleted: 57072_03.png
2024-11-12 13:59fermin_ostivarFile Added: 57072_03.png
2024-11-12 14:00guillermogilAssigned ToRetail => Triage Omni OMS
2024-11-19 07:40jonaeAssigned ToTriage Omni OMS => kousalya_r
2024-11-19 07:40jonaeNote Added: 0172206
2024-11-19 10:32jonaeNote Edited: 0172206bug_revision_view_page.php?bugnote_id=0172206#r28795
2024-11-19 11:41hgbotNote Added: 0172222
2024-11-20 08:28hgbotResolutionopen => fixed
2024-11-20 08:28hgbotStatusnew => closed
2024-11-20 08:28hgbotNote Added: 0172269
2024-11-20 08:28hgbotNote Added: 0172270

Notes
(0172206)
jonae   
2024-11-19 07:40   
(edited on: 2024-11-19 10:32)
https://openbravo.atlassian.net/browse/RM-19045 [^]

(0172222)
hgbot   
2024-11-19 11:41   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.portugal.fiscalization/-/merge_requests/119 [^]
(0172269)
hgbot   
2024-11-20 08:28   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.portugal.fiscalization [^]
Changeset: 97cedcb7dc8fe7ad89999b819728619756390984
Author: Kousalya Ramasamy <k.ramasamy@external.orisha.com>
Date: 20-11-2024 07:28:17
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.portugal.fiscalization/-/commit/97cedcb7dc8fe7ad89999b819728619756390984 [^]

Fixed ISSUE-57072: Checks customer name is taxid and it is exist

---
M src/org/openbravo/localization/portugal/fiscalization/data/ExportMFCustomer.java
---
(0172270)
hgbot   
2024-11-20 08:28   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.portugal.fiscalization/-/merge_requests/119 [^]