[ 
https://issues.apache.org/jira/browse/OFBIZ-2583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847937#action_12847937
 ] 

BJ Freeman commented on OFBIZ-2583:
-----------------------------------

the only way I can provide patches is against a relative stable code, and the 
code I work with.
So I will submit them as working with 9.04 so if someone want to add them, they 
may.
also if someone want submit them to the trunk they are aware that they will 
have to check it out first.

the only other way I know of is to put these patches on my site.



> 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