FOLIO-FSE / FOLIO-FSE/folio_migration_tools

Handle a list of multi-field delimited lists of category names in a single legacy_field when mapping organizations

Open
#660 0 comments 0 reactions 0 assignees View on GitHub
Organizations
Dominant language
Python
Stars
14
Forks
10
Avg merge
55m
Merged PRs (30d)
7

Description

The current implementation of category mapping does not allow you to supply categories to sub-delimited addresses, phone number, and email addresses when mapping organizations. For example (`<^>` is the multi-field delimiter):

| address_line1 | address_line2 | address_city | address_state_province | address_postal_code | address_categories |
|--------|--------|--------|--------|--------|--------|
| 123 N Main St.<^>Fulfillment Center | <^>Pier 13 | Springfield<^>San Francisco | MO<^>CA | 65807<^>94133 | [Payments, Billing, Orders, Custom Support]<^>[Shipping, Sales] |
| Accounts Payable<^>Returns Center | PO Box 12345<^>543 Copa Cabana Ave | Springfield<^>Miami | MO<^>FL | 65803<^>33101 | [Payments, Billing, Orders, Shipping]<^>[Custom Support, Sales, Returns] |

The tools should recognize the `[]`-wrapped lists as lists and iterate through them to map the category names to FOLIO reference data. This would better support mapping from Alma vendor data.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.