Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Genericode List Doctypes #24899

Open
blaggacao opened this issue Feb 15, 2024 · 0 comments
Open

Genericode List Doctypes #24899

blaggacao opened this issue Feb 15, 2024 · 0 comments

Comments

@blaggacao
Copy link
Contributor

blaggacao commented Feb 15, 2024

Is your feature request related to a problem? Please describe.

As a system administrator, I want to stop bothering with loading or updating code list data, such as UOM, Country Lists, Tax Lists or similar, manually into Frappe. Instead, I want to fetch and auto-create doctype and data them from a reliable schema and data source.

The OASIS Code List Representation format, “genericode”[1], is a single semantic model of code lists and accompanying XML serialization (supported by a W3C XML Schema) that can encode a broad range of code list information. The serialization is designed to IT-enable the interchange or distribution of machine-readable code list information between systems. Note that genericode is not designed as a run-time format for accessing code list information, and is not optimized for such usage. Rather, it is designed as an interchange format that can be transformed into formats suitable for run-time usage, or loaded into systems that perform run-time processing using code list information.

Describe the solution you'd like

  1. Create Doctype
  2. Upload Genericode file or set Genericode Link e.g. http://docs.oasis-open.org/ubl/os-UBL-2.1/cl/gc/default/UnitOfMeasureCode-2.1.gc
  3. Have Doctype automatically created and data populated

Describe alternatives you've considered
Do it manually

Additional context
Many code lists are readily available here: https://docs.oasis-open.org/ubl/os-UBL-2.1/cva/UBL-DefaultDTQ-2.1.html

Many of the from the United Nations Economic Commission for Europe

Agency/LongName (xml:lang="en")	=	United Nations Economic Commission for Europe
Agency/Identifier (Identifier="http://www.unece.org/trade/untdid/d11a/tred/tred3055.htm")	=	6

cc @barredterra fyi re UN/ECE data for the european single market

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant