To support configure EDIFACT export details per account, we need to separate EDI config from organization level.
- Remove EDI configuration from organization record to separate configuration model
- Save the configuration in a separate table
1.1. Copy field "edi" from ramls/acq-models/mod-orgs/schemas/organization.json to separate model "account_orders_export_config.json" and place in in the swagger.api/schemas/acquisitions.
1.2. Add schema "vendor_edi_orders_export_config.json" as option parameter to swagger.api/schemas/exportTypeSpecificParameters.json
1.3. Remove field "edi" from ramls/acq-models/mod-orgs/schemas/organization.json. Also store reference on the organization to which account is connected.
1.4. Verify that all needed information in the configuration is present
- New model with samples defined
- Table created