[ 
https://issues.apache.org/jira/browse/OFBIZ-2583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BJ Freeman updated OFBIZ-2583:
------------------------------

    Attachment: OFBIZ-2583ProdImportCategoryMatchEntity.patch

this is the right version.

> datafile Import support for mapping categories
> ----------------------------------------------
>
>                 Key: OFBIZ-2583
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2583
>             Project: OFBiz
>          Issue Type: New Feature
>    Affects Versions: Release Branch 9.04, Release Candidate Branch 10.04, SVN 
> trunk
>            Reporter: BJ Freeman
>            Priority: Minor
>         Attachments: OFBIZ-2583ProdImportCategoryMatchEntity.patch
>
>
> when  importing data using the datafile code, the data may have different 
> categories or a hierachy of categories that need to be translated to ofbiz 
> categories.
> this will augment the datafile code to match data catagories to the ofbiz 
> categories.
> first one will use a datafile record to create the ProdImportCategoryMatch 
> entity from the datafile with a default "auto" for the prodCategory field.
> when the data record is read, the service will see the auto and parse the 
> category string and create categories, not already created with the rollup. 
> as the last operation it will add the string with the last category as in the 
> string as the prodCategory field in the entity.
> next when the data is read in, it will look for the category string in the 
> ProdImportCategoryMatch entity and replace the ImportCategoryString with the 
> prodCategory  field 
> if there is more than one entry in the ProdImportCategoryMatch  it will walk 
> down the sequence and add the product to each category.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to