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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011988
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 02. Master data managementmajoralways2010-01-18 11:272010-03-10 18:28
ReporternetworkbView Statuspublic 
Assigned Toadrianromero 
PriorityurgentResolutionno change requiredFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version2.50MP11
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

0011988: 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 Filescsv file icon i_test1.csv [^] (5,285 bytes) 2010-01-18 11:27
? file icon Issue_11988_PI_PATCH [^] (7,497 bytes) 2010-02-18 18:21 [Show Content]

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

-  Notes
(0023705)
rafaroda (developer)
2010-01-21 12:16

This feature is probably not implemented. It will take some time to implement if completely.

In the meanwhile you can consider using Initial Data Load module http://www.openbravo.com/product/exchange/modules/initial-data-load/ [^]
(0023849)
rafaroda (developer)
2010-01-28 14:46
edited on: 2010-01-28 14:58

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).

(0024612)
adrianromero (manager)
2010-02-18 18:23

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.

- Issue History
Date Modified Username Field Change
2010-01-18 11:27 networkb New Issue
2010-01-18 11:27 networkb Assigned To => rafaroda
2010-01-18 11:27 networkb File Added: i_test1.csv
2010-01-21 12:16 rafaroda Note Added: 0023705
2010-01-21 12:16 rafaroda Priority immediate => urgent
2010-01-21 12:16 rafaroda Status new => scheduled
2010-01-28 14:46 rafaroda Note Added: 0023849
2010-01-28 14:53 rafaroda Issue cloned 0012087
2010-01-28 14:53 rafaroda Relationship added related to 0012087
2010-01-28 14:58 rafaroda Note Edited: 0023849
2010-02-16 17:15 rafaroda Assigned To rafaroda => adrianromero
2010-02-18 18:18 adrianromero Issue cloned 0012347
2010-02-18 18:18 adrianromero Relationship added related to 0012347
2010-02-18 18:21 adrianromero File Added: Issue_11988_PI_PATCH
2010-02-18 18:23 adrianromero Note Added: 0024612
2010-02-18 18:23 adrianromero Status scheduled => closed
2010-02-18 18:23 adrianromero Resolution open => no change required
2010-02-19 00:01 anonymous sf_bug_id 0 =>
2010-03-10 18:28 anonymous sf_bug_id => 2967982


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker