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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0015127
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementmajoralways2010-11-08 15:402012-03-07 12:30
ReporterzardiView Statuspublic 
Assigned ToSandrahuguet 
PriorityhighResolutionout of dateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava versionSun SE 1.6.0_20
OS VersionUbuntu 9.10Database version8.3.8Ant version1.7.1
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

0015127: Copy product template in simple sales order does not work

DescriptionWhen clicking Copy product template the following error is thrown :

ERROR: invalid input syntax for type numeric "......"

The problem is in the PL/SQL function m_copy_product_template.
Steps To Reproduce- Create a simpe sale order
- Select a Business Partner with 'Product template'
- Copy products from the business partner's template
Proposed SolutionI checked the function 'src-db/database/model/functions/M_COPY_PRODUCT_TEMPLATE.xml'and found

- Line 41: v_BillTo has data type numeric and should be a character variable.
- Line 43: v_PriceList has data type character variable and should be a numeric.
- Line 47 : v_Discount has data type character variable and should be a numeric.
- Line 128 : if a model product is not in the selected price list, v_Pricelist is set to zero and an error "division by zero" will be raised. Execute statement, only if Pricelist<> 0

TagsOB3-Reviewed, UUID project, VMA-Reviewed
Attached Filestxt file icon m_copy_product_template.txt [^] (7,729 bytes) 2011-05-10 17:44 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0036648)
rashid (reporter)
2011-05-10 17:44

Here is a fixed version of the M_COPY_PRODUCT_TEMPLATE
(0046128)
Sandrahuguet (developer)
2012-03-07 12:30

This window was removed in 3.0 in cleanup project

- Issue History
Date Modified Username Field Change
2010-11-08 15:40 zardi New Issue
2010-11-08 15:40 zardi Assigned To => adrianromero
2011-05-10 17:44 rashid File Added: m_copy_product_template.txt
2011-05-10 17:44 rashid Note Added: 0036648
2011-05-11 16:05 shuehner Issue Monitored: shuehner
2011-05-11 16:05 shuehner Tag Attached: UUID project
2011-06-03 10:58 dalsasua Assigned To adrianromero => dalsasua
2011-07-20 18:16 dalsasua Assigned To dalsasua => jonalegriaesarte
2011-09-19 11:14 psarobe Priority normal => high
2011-09-19 11:14 psarobe Severity minor => major
2011-09-19 11:14 psarobe Status new => scheduled
2011-09-19 11:14 psarobe version 2.50MP23 => pi
2011-10-29 21:44 psarobe Tag Attached: OB3-Reviewed
2012-02-15 19:04 iciordia Assigned To jonalegriaesarte => vmromanos
2012-02-16 17:31 vmromanos Tag Attached: VMA-Reviewed
2012-03-07 12:15 Sandrahuguet Assigned To vmromanos => Sandrahuguet
2012-03-07 12:30 Sandrahuguet Note Added: 0046128
2012-03-07 12:30 Sandrahuguet Status scheduled => closed
2012-03-07 12:30 Sandrahuguet Resolution open => out of date


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker