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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0008519
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 02. Master data managementmajoralways2009-04-08 18:252009-05-05 00:00
ReporterstalkerView Statuspublic 
Assigned Torajagopal 
PriorityhighResolutionfixedFixed in Version2.50MP1
StatusclosedFix in branchFixed in SCM revisiondeb017144310
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version1.6.0_0-b12
OS Version2.6.27-11-genericDatabase version8.3.5Ant version1.7.1
Product Version2.50betaSCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0008519: Create price list function fails

DescriptionHere: Master Data Management || Pricing || Price List || Price List >> Price List Version

Create Price List function fails to create prices for a new price list.

Please note, that is you're trying to reproduce this bug with Openbravo account (or whatever with user_id=0), the bug doesn't discloses itself. You need to use any account with get_uuid() generated user_id....
Steps To Reproduce1. create due pricelist shcema
2. create pricelist
3. fill it with prices
4. create pricelist version
5. Push "Create Price List" button
Proposed SolutionHere: 250beta/src-db/database/model/functions/M_PRICELIST_CREATE.xml
change type of var v_UpdatedBy from NUMBER to VARCHAR(32)



There are several same mistypes in DB model repository, by the way..
I think, it worth fixing all of them:

root@LinSrv:/opt/250beta/src-db/database/model/functions# grep "edBy.*NUM" *
C_ELEMENTVALUE_COPY.xml: v_xUpdatedBy NUMBER;
MA_COPY_VERSION.xml: v_UpdatedBy NUMBER;
MA_GLOBALUSE_DISTRIBUTE.xml: v_UpdatedBy NUMBER;
M_PRICELIST_CREATE.xml: v_UpdatedBy NUMBER;


Tags250MP1
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0008712 closedrajagopal Error when creating a new pricelist from a pricelist version and a pricelist schema 
blocks defect 0008668 closedrajagopal pl-function ./C_VALIDCOMBINATION_GET.xml: has uuid issue 

-  Notes
(0015410)
rajagopal (viewer)
2009-04-18 09:49
edited on: 2009-04-18 14:33

Hello Mr.Stalker,

Apart from the xml which you have specified for modification above, I have notice that one xml file (C_VALIDCOMBINATION_GET.xml) also requires the modification for CreatedBy column. Kindly correct me if I am wrong.

Thanks,
B.Rajagopal

(0015533)
stalker (viewer)
2009-04-22 13:49
edited on: 2009-04-22 13:49

Hello! please have a look at this issue: https://issues.openbravo.com/view.php?id=8169 [^]

I think, that it has a relation to your inquiery

Stas

(0015655)
hgbot (developer)
2009-04-24 09:02

Repository: erp/devel/pi
Changeset: deb017144310bace5c90845d50200c400291a9d0
Author: Rajagopal Baskaran <rajagopal.baskaran <at> openbravo.com>
Date: Fri Apr 24 12:27:06 2009 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/deb017144310bace5c90845d50200c400291a9d0 [^]

Fixes bug 8519: Create price list function fails has been fixed.

---
M src-db/database/model/functions/C_VALIDCOMBINATION_GET.xml
M src-db/database/model/functions/MA_COPY_VERSION.xml
M src-db/database/model/functions/MA_GLOBALUSE_DISTRIBUTE.xml
M src-db/database/model/functions/M_PRICELIST_CREATE.xml
---

- Issue History
Date Modified Username Field Change
2009-04-08 18:25 stalker New Issue
2009-04-08 18:25 stalker Assigned To => rafaroda
2009-04-09 10:28 rafaroda OBNetwork customer => No
2009-04-09 10:28 rafaroda Assigned To rafaroda => sathiyan
2009-04-09 10:28 rafaroda Priority normal => high
2009-04-09 10:28 rafaroda Status new => scheduled
2009-04-09 10:28 rafaroda Description Updated
2009-04-15 08:33 sathiyan Assigned To sathiyan => rajagopal
2009-04-18 09:49 rajagopal Note Added: 0015410
2009-04-18 09:53 rajagopal Note Edited: 0015410
2009-04-18 09:54 rajagopal File Added: 8519.png
2009-04-18 11:05 rajagopal File Deleted: 8519.png
2009-04-18 11:05 rajagopal Note Edited: 0015410
2009-04-18 14:33 rajagopal Note Edited: 0015410
2009-04-22 13:49 stalker Note Added: 0015533
2009-04-22 13:49 stalker Note Edited: 0015533
2009-04-23 16:04 psarobe Tag Attached: 250MP1
2009-04-23 16:53 rafaroda Relationship added related to 0008712
2009-04-23 16:58 psarobe Relationship replaced has duplicate 0008712
2009-04-24 09:02 hgbot Checkin
2009-04-24 09:02 hgbot Note Added: 0015655
2009-04-24 09:02 hgbot Status scheduled => resolved
2009-04-24 09:02 hgbot Resolution open => fixed
2009-04-24 09:02 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/deb017144310bace5c90845d50200c400291a9d0 [^]
2009-04-24 09:07 rajagopal Relationship added blocks 0008668
2009-05-04 18:55 psarobe Regression testing => No
2009-05-04 18:55 psarobe Status resolved => closed
2009-05-05 00:00 anonymous sf_bug_id 0 => 2786895


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker