- Create generic mock templates for atom items:
- Location ids
- Jobs, Employees, Categories, Discounts, Voids, Items, etc. - all the config related entities
- Transaction items
- Create generic mock templates for container items:
- Create mappings for specific integrations
- Create rules for dependencies between atom items
- Create generic code for building the final schemas
- Generate the final json data based on the schemas
- Feed it to a plugabble-interface-based formatter like
--output=xml --output=csv --output=pdf
or whatever we need - Possibly include extension points in the process for injecting custom transformers/formatters if needed
- design it as a lib
- Think about how to pass arguments into the schemas/templates
- Employees require Jobs
- Items require Categories
- Transactions require Items, Employees
- Timeslips require Locations, Employees, Jobs but the Jobs should be assigned to the employees on the config level
- Many of the entities require calculations, I found using the virtual items useful for that