Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054946
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo Localizations] Localization Portugalminorhave not tried2024-03-13 15:502024-05-14 17:23
ReporterjonaeView Statuspublic 
Assigned Tojonae 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Regression introduced in release
Summary

0054946: A series should only have one validation code assigne, therefore that relationship is unique. Enchancements (Q&A - 41-4696)

DescriptionA series/prefix should only have one validation code assigned, therefore if the series is changed, it should be mandatory to also change the validation code.

Navigate to the Organization window, search for the legal entity configured as “Portuguese” verify that there is a tab named “SAFT-T PT Terminal Prefix”.

This tab relates each prefix with a validation code. That relationship should be unique, that means that the same validation code can not be related to different prefix.

The document series identifier cannot contain more than 35 characters, which cannot include characters that violate the validation scheme associated with SAF-T (PT) or that can be interpreted as XML operators. The characters that make up the series identifier must be identically representable in both UTF-8 and Windows-1252 encoding, to guarantee system interoperability and avoid conversion problems. In this sense, the following characters are accepted:

   [A-Z] - Capital letters (does not include accented characters or “Ç”);

   [a-z] - Lowercase letters (does not include accented characters or “ç”);

   [0-9] - Numbers from 0 to 9;

   [._-] - Period, underscore and dash (referred to below as separators).

It should also be added that it is not possible to use:

a separator at the beginning and/or end;

two or more consecutive separators; (spaces)

series with an identifier starting with “AT” – are reserved for attribution to issuers of documents in programs made available by AT.
Steps To Reproduce- Add prefixes and val codes to the touchpoint
- Once accepted and set, try to change the prefix of one of them.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0162104)
hgbot (developer)
2024-03-13 15:59

Merge Request created: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/merge_requests/133 [^]
(0162115)
hgbot (developer)
2024-03-13 22:32

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.portugal.fiscalization/-/merge_requests/60 [^]
(0164500)
hgbot (developer)
2024-05-13 12:50

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.portugal.fiscalization/-/merge_requests/60 [^]
(0164501)
hgbot (developer)
2024-05-13 12:50

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.portugal.fiscalization [^]
Changeset: 647424506615280770c5b9e65e504a2353f21b19
Author: Jon Alegría <jon.alegria@openbravo.com>
Date: 13-05-2024 10:50:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.portugal.fiscalization/-/commit/647424506615280770c5b9e65e504a2353f21b19 [^]

Fixes ISSUE-54946: Adding validation to the combination serie and validation code

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/localization/portugal/fiscalization/SaftUtility.java
M src/org/openbravo/localization/portugal/fiscalization/handler/SaftrChangePrefixesHandler.java
---
(0164508)
hgbot (developer)
2024-05-13 13:54

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail [^]
Changeset: 73d1aad7de18f36884d7a44ce6bc19cba26b6f75
Author: Jon Alegría <jon.alegria@openbravo.com>
Date: 13-05-2024 11:54:43
URL: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/commit/73d1aad7de18f36884d7a44ce6bc19cba26b6f75 [^]

Fixes ISSUE-54946: Adding validation to the combination serie and validation code

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/OBUIAPP_PARAMETER.xml
M src/com/practicsbs/saftpt/retail/SaftrInitialValidations.java
M src/com/practicsbs/saftpt/retail/SaftrUtility.java
M src/com/practicsbs/saftpt/retail/ad_actionhandler/SaftrChangePrefixesHandler.java
M src/com/practicsbs/saftpt/retail/event/TerminalEvent.java
---
(0164509)
hgbot (developer)
2024-05-13 13:54

Merge request merged: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/merge_requests/133 [^]
(0164530)
hgbot (developer)
2024-05-14 07:16

Merge Request created: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/merge_requests/140 [^]
(0164567)
hgbot (developer)
2024-05-14 17:23

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail [^]
Changeset: deb5fec93abe05f0ac7d408ab2f2b994f29a7c12
Author: jonalegria <jon.alegria@openbravo.com>
Date: 14-05-2024 07:15:08
URL: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/commit/deb5fec93abe05f0ac7d408ab2f2b994f29a7c12 [^]

Fixes ISSUE-54946: Adding validation to the combination serie and validation code

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/OBUIAPP_PARAMETER.xml
M src/com/practicsbs/saftpt/retail/SaftrInitialValidations.java
M src/com/practicsbs/saftpt/retail/SaftrUtility.java
M src/com/practicsbs/saftpt/retail/ad_actionhandler/SaftrChangePrefixesHandler.java
M src/com/practicsbs/saftpt/retail/event/TerminalEvent.java
---
(0164568)
hgbot (developer)
2024-05-14 17:23

Merge request merged: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/merge_requests/140 [^]

- Issue History
Date Modified Username Field Change
2024-03-13 15:50 jonae New Issue
2024-03-13 15:50 jonae Assigned To => jonae
2024-03-13 15:56 hgbot Note Added: 0162103
2024-03-13 15:59 hgbot Note Added: 0162104
2024-03-13 22:32 hgbot Note Added: 0162115
2024-04-05 12:20 jonae Summary A series should only have one validation code assigne, therefore that relationship is unique => A series should only have one validation code assigne, therefore that relationship is unique. Enchancements (Q&A - 41-4696)
2024-04-05 12:20 jonae Description Updated View Revisions
2024-05-13 12:29 hgbot Note Added: 0164488
2024-05-13 12:41 aferraz Note Deleted: 0162103
2024-05-13 12:41 aferraz Note Deleted: 0164488
2024-05-13 12:50 hgbot Note Added: 0164500
2024-05-13 12:50 hgbot Resolution open => fixed
2024-05-13 12:50 hgbot Status new => closed
2024-05-13 12:50 hgbot Note Added: 0164501
2024-05-13 13:54 hgbot Note Added: 0164508
2024-05-13 13:54 hgbot Note Added: 0164509
2024-05-14 07:16 hgbot Note Added: 0164530
2024-05-14 17:23 hgbot Note Added: 0164567
2024-05-14 17:23 hgbot Note Added: 0164568


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker