As part of ISBN processing we need to be able to capture additional information about the product ID which is technically separate from the ID itself.
For example, an instance might have the following ISBNs:
The entire string "9789654938860 (print)" will fail ISBN validation, so we need to strip it off in order to validate/convert the ISBN. However, we can't just throw the text after the ISBN number out as that information is needed to determine if you're ordering a particular volume, hard/soft cover, ebook, etc.
It's advantageous to store this qualifier separately from the ISBN for a few reasons, including searching and that if we're outputting the order (EDI, PDF, etc.) we'll need the ID-only version.
Add a field the poLine->details->productIds schema: "qualifier" - string, optional, no default.
The client (UI/GOBI/etc.) will be responsible for splitting ISBNs that include qualifiers into ID/qualifier and providing them as separate fields.
- Schema is updated
- Example data is updated (only if needed)
- Unit tests are updated
- Orders is updated to use the new version of the schema from acq-models
N.B. Separate stories will be handle the UI and GOBI aspects of this.