Replies: 1 comment
-
|
I have it working the way I want but would still like to hear if this is the most fast/efficient approach: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am writing a web page with react to be able to scan a stock qr code of a part (box in our case) that still needs to be assembled, and then getting the list of items that need to go in, and again using the qr code of a compatible stock component to allocate it. I have authentication to inventree working and the qr code scanner. I was wondering if someone could give some guidance with how to get the information via the api efficiently. It start with a stock pk number. There I can see if that part is being build. If so I want to retrieve the bom list for that item. But I believe when a build order is made the bom is copied (because if the bom is changed afterwards it is not reflected in the bom in the build order). how to get that bom list? And then I use endpoint
build_allocate_createto allocate items right? Using thebom_item pk(how to get this from the stock item pk?) and thestock_item pk(which is obtained from the scan because all our stock items are qr labeled).I hope this is a bit clear. Some help how to get the correct information via the initial stock pk of the item to be build is greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions