Migrating from another system #9326
-
Hello, we currently are using Fishbowl inventory for our various needs. However, we're growing past our current 6 seat limit and do not want to switch to a subscription for our inventory control needs. As a test to see if Inventree would be a viable option to switch to, I wrote some JS code which talks to FB's api and Inventree's REST api to start copying over data.
If you're questioning why I want the data, it's so I can map against FB to apply changes. We want to have an environment like the demo but with our own data that's only a day stale kind of idea. Then once we've learned the new system and rebuilt tooling that was made around FB we'll actually switch. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hey @LqdBcnAtWork this is an interesting problem!
Can you please provide the full information on the API request you are making, and the full error message too.
The API calls should not be as slow as that. Pulling all the records (rather than using pagination) is time consuming but should not be taking multiple minutes. Can you compare how long a paginated call takes from your script, vs loading into a table in the UI? |
Beta Was this translation helpful? Give feedback.
-
Just FYI: This is not recommended as it might mess with the MPTT order of elements and lead to unforeseen issues down the line as the system assumes that correct tree_id's were assigned during import / creation. |
Beta Was this translation helpful? Give feedback.
I uncommented the condition and did all 29,885 api requests without any
tree_id
related issues.Note to self: don't have more than one request open at a time.