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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0009862
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementminoralways2009-07-13 18:082012-04-28 02:31
Reportereduardo_ArgalView Statuspublic 
Assigned Tonaiaramartinez 
PriorityhighResolutionfixedFixed in Version3.0MP11
StatusclosedFix in branchFixed in SCM revision557136640cda
ProjectionnoneETAnoneTarget Versionpi
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0009862: Create New sub-account: Fields Account length and sub-account length are set as mandatory and should be optional

DescriptionFields Account length and sub-account length are set as mandatory and should be optional
Proposed SolutionFields 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.
Tags250MP3releasecandidate, arun, OB3-Reviewed, VMA-Reviewed
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0020353 closednaiaramartinez API CHANGE: Add a contraint in AD_ORG_ACCTSCHEMA 

-  Notes
(0018269)
vinothbabu (reporter)
2009-07-15 16:49

Removed the mandatory flag for both acct length field and sub account length field
(0018513)
psarobe (manager)
2009-07-21 20:10

Arun, I will take car of this one
(0018765)
sureshbabu (reporter)
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 (developer)
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 (developer)
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 (developer)
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 (manager)
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 (developer)
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

- Issue History
Date Modified Username Field Change
2009-07-13 18:08 eduardo_Argal New Issue
2009-07-13 18:08 eduardo_Argal Assigned To => vinothbabu
2009-07-14 09:53 eduardo_Argal Status new => scheduled
2009-07-14 09:53 eduardo_Argal fix_in_branch => pi
2009-07-15 16:49 vinothbabu Note Added: 0018269
2009-07-15 16:49 vinothbabu Status scheduled => resolved
2009-07-15 16:49 vinothbabu Fixed in SCM revision => 2876b361ffba
2009-07-15 16:49 vinothbabu fix_in_branch pi =>
2009-07-21 16:24 psarobe Fixed in Version => 2.50MP3
2009-07-21 16:26 psarobe Tag Attached: 250MP3releasecandidate
2009-07-21 19:25 psarobe Tag Attached: arun
2009-07-21 20:10 psarobe Note Added: 0018513
2009-07-31 13:19 sureshbabu Status resolved => new
2009-07-31 13:19 sureshbabu Note Added: 0018765
2009-07-31 13:19 sureshbabu Fixed in Version 2.50MP3 =>
2009-08-19 07:30 rafaroda Status new => scheduled
2011-10-31 10:57 psarobe Assigned To vinothbabu => jonalegriaesarte
2011-11-24 15:28 jonalegriaesarte Tag Attached: OB3-Reviewed
2012-02-15 19:03 iciordia Assigned To jonalegriaesarte => vmromanos
2012-02-16 13:49 vmromanos Tag Attached: VMA-Reviewed
2012-03-21 17:27 naiaramartinez Note Added: 0046609
2012-03-21 17:59 naiaramartinez Assigned To vmromanos => naiaramartinez
2012-03-22 17:35 naiaramartinez Note Added: 0046660
2012-04-25 17:59 naiaramartinez Relationship added related to 0020353
2012-04-26 17:16 hgbot Checkin
2012-04-26 17:16 hgbot Note Added: 0048051
2012-04-26 17:16 hgbot Status scheduled => resolved
2012-04-26 17:16 hgbot Resolution open => fixed
2012-04-26 17:16 hgbot Fixed in SCM revision 2876b361ffba => http://code.openbravo.com/erp/devel/pi/rev/557136640cdafd010bc3d6ac50eff339662d77f2 [^]
2012-04-26 17:41 vmromanos Note Added: 0048058
2012-04-26 17:41 vmromanos Status resolved => closed
2012-04-26 17:41 vmromanos Fixed in Version => 3.0MP11
2012-04-28 02:31 hudsonbot Checkin
2012-04-28 02:31 hudsonbot Note Added: 0048161


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker