Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009862Openbravo ERP09. Financial managementpublic2009-07-13 18:082024-08-19 06:57
eduardo_Argal 
naiaramartinez 
highminoralways
closedfixed 
5
pi 
pi3.0MP11 
Core
No
0009862: Create New sub-account: Fields Account length and sub-account length are set as mandatory and should be optional
Fields Account length and sub-account length are set as mandatory and should be optional
Fields Account length and sub-account length are set as mandatory while they should be fulfilled just when we flag the check-box create a new account. This should also be modified to non-mandatory fields and the default value can be removed.
250MP3releasecandidate, arun, OB3-Reviewed, VMA-Reviewed
related to defect 0020353 closed naiaramartinez API CHANGE: Add a contraint in AD_ORG_ACCTSCHEMA 
Issue History
2009-07-13 18:08eduardo_ArgalNew Issue
2009-07-13 18:08eduardo_ArgalAssigned To => vinothbabu
2009-07-14 09:53eduardo_ArgalStatusnew => scheduled
2009-07-14 09:53eduardo_Argalfix_in_branch => pi
2009-07-15 16:49vinothbabuNote Added: 0018269
2009-07-15 16:49vinothbabuStatusscheduled => resolved
2009-07-15 16:49vinothbabuFixed in SCM revision => 2876b361ffba
2009-07-15 16:49vinothbabufix_in_branchpi =>
2009-07-21 16:24psarobeFixed in Version => 2.50MP3
2009-07-21 16:26psarobeTag Attached: 250MP3releasecandidate
2009-07-21 19:25psarobeTag Attached: arun
2009-07-21 20:10psarobeNote Added: 0018513
2009-07-31 13:19sureshbabuStatusresolved => new
2009-07-31 13:19sureshbabuNote Added: 0018765
2009-07-31 13:19sureshbabuFixed in Version2.50MP3 =>
2009-08-19 07:30rafarodaStatusnew => scheduled
2011-10-31 10:57psarobeAssigned Tovinothbabu => jonalegriaesarte
2011-11-24 15:28jonalegriaesarteTag Attached: OB3-Reviewed
2012-02-15 19:03iciordiaAssigned Tojonalegriaesarte => vmromanos
2012-02-16 13:49vmromanosTag Attached: VMA-Reviewed
2012-03-21 17:27naiaramartinezNote Added: 0046609
2012-03-21 17:59naiaramartinezAssigned Tovmromanos => naiaramartinez
2012-03-22 17:35naiaramartinezNote Added: 0046660
2012-04-25 17:59naiaramartinezRelationship addedrelated to 0020353
2012-04-26 17:16hgbotCheckin
2012-04-26 17:16hgbotNote Added: 0048051
2012-04-26 17:16hgbotStatusscheduled => resolved
2012-04-26 17:16hgbotResolutionopen => fixed
2012-04-26 17:16hgbotFixed in SCM revision2876b361ffba => http://code.openbravo.com/erp/devel/pi/rev/557136640cdafd010bc3d6ac50eff339662d77f2 [^]
2012-04-26 17:41vmromanosNote Added: 0048058
2012-04-26 17:41vmromanosStatusresolved => closed
2012-04-26 17:41vmromanosFixed in Version => 3.0MP11
2012-04-28 02:31hudsonbotCheckin
2012-04-28 02:31hudsonbotNote Added: 0048161
2024-08-19 06:57arethaknopNote Added: 0168188

Notes
(0018269)
vinothbabu   
2009-07-15 16:49   
Removed the mandatory flag for both acct length field and sub account length field
(0018513)
psarobe   
2009-07-21 20:10   
Arun, I will take car of this one
(0018765)
sureshbabu   
2009-07-31 13:19   
i kept blank for both the fields Account length & sub account length field and then i tried to create a BP, but system throws error as " NotNullError: C_ELEMENTVALUE - VALUE "
(0046609)
naiaramartinez   
2012-03-21 17:27   
In organization window, inside tab org schema there are two mandatory fields which should not be mandatory. they have a display logic so they are not displayed by default, but as they are mandatory they are taking values when saving and that's wrong.
(0046660)
naiaramartinez   
2012-03-22 17:35   
Test Plan:
  Go to General Setup || Enterprise Model || Organization
  Select 'F&A EspaƱa, S.A.' organization.
  Go to 'Org Schema' tab.
  Create new record:
     Select an accounting schema and save the record.
  If you see the newly create record in grid view, you will be able to see that there are no values for 'Sequence for Business Partner' and 'Sequence for Product'.
(0048051)
hgbot   
2012-04-26 17:16   
Repository: erp/devel/pi
Changeset: 557136640cdafd010bc3d6ac50eff339662d77f2
Author: Naiara Martinez <naiara.martinez <at> openbravo.com>
Date: Thu Apr 26 12:01:48 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/557136640cdafd010bc3d6ac50eff339662d77f2 [^]

fixed issue 9862 Not mandatory product and bp sequence(Org schema window)
create a constraint to check: if create new account for bp then
sequence for bp,account and sub account lengths and mandatory.
The same for create new account for product.
Callout: if create new account is not selected, the rest of the fields are null.

---
M src-db/database/model/tables/AD_ORG_ACCTSCHEMA.xml
M src-db/database/sourcedata/AD_CALLOUT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
A src/org/openbravo/erpCommon/ad_callouts/SL_RefreshSequenceAndLength.java
---
(0048058)
vmromanos   
2012-04-26 17:41   
Alternative test plan I:
1. Set Create New Account for Business Partner = Y
2. Try to save the record. An error should be displayed
3. Enter a sequence and save. An error should be displayed
4. Enter a length and save. An error should be displayed
5. Enter a sublength and save. No error is displayed

Alternative test plan II:
1. Set Create New Account for Products = Y
2. Try to save the record. An error should be displayed
3. Enter a sequence and save. No error is displayed

Alternative test plan III:
1. Set Create New Account for Products = N and save
2. The sequence for product should be automatically set to null

Alternative test plan IV:
1. Set Create New Account for Business Partner = N and save
2. The sequence for bp, length and sublength should be automatically set to null
(0048161)
hudsonbot   
2012-04-28 02:31   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cd923b317af4 [^]

Maturity status: Test
(0168188)
arethaknop   
2024-08-19 06:57   
test ok
https://slope3.com [^]