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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012347
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 02. Master data managementmajoralways2010-02-18 18:182011-10-29 16:09
ReporteradrianromeroView Statuspublic 
Assigned Tojonalegriaesarte 
PriorityurgentResolutionno change requiredFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabasePostgreSQLJava version
OS VersionDatabase versionAnt version
Product Version2.50MP9SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012347: If you try to import a product with multiple venders you get an error

DescriptionIf you try to import a product with multiple venders you get an error.
The csv is defined with the same product in different rows but with different vendors for each row in order to include more than one supplier for product,
wich can be done manually.

The i_product table is loaded via the csv file (attached), however when running the Import Products process the following
error is issued for any duplicate value. ERR=Value not unique
Not even the first row is imported so no m_product is created. If there is only one vendor or no vendor the record
processes correctly.

The issue here is that you are not allowed to have the duplicate i_product.value defined in your import file.

If you look at the Business Partner process this allows for multiple i_bpartner.value for each location and contact associated with the them.
You have to press the import business partner button twice. First to create the Business Partner and the second time created additional location or location/contact combination for the same Business Partner 'value'.

The Import Product process should work the same way. The first run should create the one m_product and one m_product_po if you have entered the vendor data. Then on the second run additional m_product_po should be created for the same m_product.
Steps To Reproduce-Try to import the attached csv with product on the Import File Loader process.
TagsNo tags attached.
Attached Files? file icon Issue_11988_PI_PATCH [^] (7,497 bytes) 2010-03-10 10:55 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00119882.50MP11 closedadrianromero Openbravo ERP If you try to import a product with multiple venders you get an error 
related to feature request 0012087 newjonalegriaesarte Modules IDL to support import of product vendors 

-  Notes
(0025204)
rafaroda (developer)
2010-03-10 10:55

Steps that describe the current behaviour:

* Create a product to import in Master Data Management || Import Data || Import Products:
** Search Key = npa
** Name = New Product A
** Business Partner = McGiver Supplies (select a vendor/provider)
* Click on Import Products button: product is imported successfully.
* Navigate to Product tab in Master Data Management || Product
* Look for New Product A
* Navigate to Purchasing tab: record has been created for McGiver Supplies (one could also expect that this record appears in Business Partner field of Product tab, not in Purchasing window).
* Taking into account the current behavior, create a second product to import in Master Data Management || Import Data || Import Products:
** Search Key = npb
** Name = New Product B
** Business Partner = McGiver Supplies (select a vendor/provider)
* Create a second record for the same product but select a different business partner:
** Search Key = npb
** Name = New Product B
** Business Partner = Turtle Logistics (select a vendor/provider)
* Click on Import Products button: error message displays: "No products could be imported. Products not imported: 2; Product inserted: 0; Product updated: 0; ProductPO inserted: 0; ProductPO updated: 0" and in Import Error Message ="ERR=Value not unique,"

You were expecting that because you created two records with the same product search key and name but different business partner, a single record would be created in the Product window (New Product B) with two records in the Purchasing tab (McGiver Supplies and Turtle Logistics).
(0025205)
rafaroda (developer)
2010-03-10 10:55

A diff that solves the problem to the partner is attached here, and a new clone of this issue has been created to track the issue.
(0042318)
psarobe (manager)
2011-10-29 16:09

This is the intended behaviour. In any case in 3.0 this has been discontinued from core and it has been created a new module that contains everything related to import cvs as it was in 2.50

- Issue History
Date Modified Username Field Change
2010-02-18 18:18 adrianromero New Issue
2010-02-18 18:18 adrianromero Assigned To => adrianromero
2010-02-18 18:18 adrianromero Issue generated from 0011988
2010-02-18 18:18 adrianromero Relationship added related to 0011988
2010-03-10 10:55 rafaroda Note Added: 0025204
2010-03-10 10:55 rafaroda Issue Monitored: rafaroda
2010-03-10 10:55 rafaroda File Added: Issue_11988_PI_PATCH
2010-03-10 10:55 rafaroda Note Added: 0025205
2010-03-10 12:20 rafaroda Relationship added related to 0012087
2011-06-03 11:00 dalsasua Assigned To adrianromero => dalsasua
2011-07-20 18:11 dalsasua Assigned To dalsasua => jonalegriaesarte
2011-10-29 16:09 psarobe Note Added: 0042318
2011-10-29 16:09 psarobe Status new => closed
2011-10-29 16:09 psarobe Resolution open => no change required


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker