Openbravo Issue Tracking System - Openbravo Localizations
View Issue Details
0048119Openbravo LocalizationsLocalization Portugalpublic2021-11-22 11:142021-11-22 11:45
jetxarri 
psanjuan 
highmajoralways
newopen 
5
 
 
OBPS
0048119: Create an endpoint to check if the user is inserting duplicated tax id or not to the business partner
Create an endpoint to check if the user is inserting duplicated tax id or not to the business partner.

Right now the validation exists in an eventhandler "SaftBPartnerFieldsHandler" but this is not the best approach to notify to the user when it is creating a business partner and he is including a duplicated tax id.
-Go to web pos
-Create a bp with duplicated tax id
-The error goes to import entry table
Attached you will find 2 patches to create the endpoint.

In case of the client of the issue, this endpoint is used inside the DQM to verify if the user is including duplicated tax id

P.D.:Force the user to create a preference "Root organization to verify duplicated NIF" to check only the correct part of the Tree. For example the check is done at Spain level and not US
NOR
diff saftpt.diff (9,350) 2021-11-22 11:43
https://issues-new.openbravo.com/file_download.php?file_id=16380&type=bug
diff saftpt.retail.diff (5,645) 2021-11-22 11:43
https://issues-new.openbravo.com/file_download.php?file_id=16381&type=bug
Issue History
2021-11-22 11:14jetxarriNew Issue
2021-11-22 11:14jetxarriAssigned To => psanjuan
2021-11-22 11:14jetxarriOBNetwork customer => OBPS
2021-11-22 11:14jetxarriTag Attached: NOR
2021-11-22 11:43jetxarriProposed Solution updated
2021-11-22 11:43jetxarriFile Added: saftpt.diff
2021-11-22 11:43jetxarriFile Added: saftpt.retail.diff
2021-11-22 11:45jetxarriProposed Solution updated

There are no notes attached to this issue.