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

Sharan Foga updated OFBIZ-2583:
-------------------------------
    Sprint: Bug Crush Event - 21/2/2015

> datafile Import support for mapping categories
> ----------------------------------------------
>
>                 Key: OFBIZ-2583
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2583
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: product
>    Affects Versions: 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to