Closed ccfrusano closed 6 months ago
Hello,
the function you use is desinged for "SalesBOMPosition" and not for "Sample BOM". You can use POST /Documents/{documentKey}/ArticleItem to add your list.
Regards
Hello Matthias, This item is of type "M". If we try to use the function you mention, we get the error: "Article line: "failure": "Diese Art von Stücklisten wird in dieser Funktion nicht unterstützt. Erlaubte Stücklisten hierfür sind K,P,R,Z".
As you can see, it has 2 subitems. That's why we tried the "SalesBOMPosition" function. How can we insert lines in documents for items type "M"? Thanks! Best,
Hello,
in your first post, you used an other type. For both types it is only possible to add the positions by "POST /Documents/{documentKey}/ArticleItem" in non storing document types.
It is only possible to transfer a document with such position types to an storing document.
Regards
Details
I have this item V500219, which contains 2 subitems inside:
When I add this item to a document, I expect both subitems to be added. Instead, this happens:
The lines 12 and 13 are correct, but I don't know why a SET is added. This makes that two pieces of stock of each item gets substracted. Does anybody know why? Thanks