Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019500Openbravo ERP02. Master data managementpublic2012-01-16 11:482012-01-27 12:11
xabiermerino 
jecharri 
urgentmajoralways
closedfixed 
5
2.50MP37 
2.50MP39 
Core
No
0019500: Error when you create a BP with the functionality 'Create Account for Business Partner' checked
With the functionality 'Create Account for Business Partner' checked you have the following error when you try to create a BP:

There is already a Account Element with the same (Accounting Element, Search Key). (Accounting Element, Search Key) must be unique. You must change the values entered.

This is why fields Account Length and Sub Account Length have incorrect values. The message should inform about the configuration's problem.
-As admin go to organization International Main >> Org Schema
-check 'Create Account for Business Partner'
-Select a sequence
-Account Length: 0
-Subaccount Length: 10
- Create a new partner with this organization
No tags attached.
blocks defect 00194993.0MP8 closed jecharri Error when you create a BP with the functionality 'Create Account for Business Partner' checked 
Issue History
2012-01-16 11:59xabiermerinoTypedefect => backport
2012-01-16 11:59xabiermerinofix_in_branch => 2.50
2012-01-16 12:00xabiermerinoversion3.0MP7.1 => 2.50MP37
2012-01-16 12:00xabiermerinoTarget Version3.0MP8 => 2.50MP39
2012-01-16 12:00xabiermerinoDescription Updatedbug_revision_view_page.php?rev_id=3059#r3059
2012-01-16 12:00xabiermerinoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=3061#r3061
2012-01-16 12:00xabiermerinoIssue Monitored: networkb
2012-01-25 18:29jonalegriaesarteAssigned Tojonalegriaesarte => jecharri
2012-01-26 11:17hgbotCheckin
2012-01-26 11:17hgbotNote Added: 0044599
2012-01-26 11:17hgbotStatusscheduled => resolved
2012-01-26 11:17hgbotResolutionopen => fixed
2012-01-26 11:17hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/dcba55a8cf75362b85db63441a952a5f61148399 [^]
2012-01-27 12:11xabiermerinoNote Added: 0044635
2012-01-27 12:11xabiermerinoStatusresolved => closed

Notes
(0044599)
hgbot   
2012-01-26 11:17   
Repository: erp/stable/2.50
Changeset: dcba55a8cf75362b85db63441a952a5f61148399
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Thu Jan 26 10:52:55 2012 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/dcba55a8cf75362b85db63441a952a5f61148399 [^]

Fixes issue 19500: Error when you create a BP
with the functionality 'Create Account for Business Partner' checked.
Now the application check if the account exists and put a clear message.

---
M src-db/database/model/functions/C_VALIDCOMBINATION_CLONE.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0044635)
xabiermerino   
2012-01-27 12:11   
verified