-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Current structure dynamically created the model once the requested model is sent through the queueTransaction method which are coming from the reSync method. So currently if someone wanted to ONLY use the Customer data from QuickBooks they would be fish in the water.
This project was created to accomplish a goal for a clients project we had, as of now (the time of this post) its strictly setup for gathering the required data our client needed. Its time to support the needs of the developers now instead of the client.
So to start this issue will be my first matter of business, refactoring the current structure and logic of the connector to enable the ability to define what QuickBooks data they want, by creating the model within their loopback project and extending the built in models provided by this connector.
Heres a step by step guide of what it might look like from start to finish if a developer wants to get ONLY Customer's, someone please feel free to step in with any suggestions.
- run
npm install loopback-connector-quickbooks - setup the connector inside the
datasource.json - create the
CustomerLoopbackJS Model, and set itsbaseModel asQBCustomer - extend upon the Model as needed....