Query on using can_build via API #9044
-
In the BOM I can see the field can_build and at the bottom it gives you a total number of items that can be built. If this value available via a API? I can see the can_build values per part on the API but cannot find the final value of zero anywhere as per the example above. Running Inventree 0.17.5 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Yes the API include the |
Beta Was this translation helpful? Give feedback.
-
Still can't see it. In the network activity I can see this being called: http://inventree/api/bom/?search=&part=319&ordering=name&sub_part_detail=true and it then returns all 5 parts from the photo above with can_build for each part. I'm looking for the final can_build=0 , not the can build for each part. |
Beta Was this translation helpful? Give feedback.
Oh, ok. No, that's calculated on the frontend - basically the minimum of each value