Error: getServiceItem - service item not found buying dependent products

Hello community,

I am working on configuring the purchase of a product that depends on the new Angular web portal, version 9.2. When the user selects only the parent product, which contains 6 dependent products, and submits the purchase by pressing "Add to Cart," the application generates the error "Error: getServiceItem - service item not found" but opens the side view that contains the child products to be purchased along with the parent.

Even if I ignore the error and select the products and press the new "Add to Cart," the application no longer responds and I have to reload the page.

Do you have any idea what might be happening and how to resolve this critical issue?

Thank you in advance
Alberto

  • The product, published on the new Angular portal, has optional dependencies. When I try to add the product to the ShoppingCart, and a side window should open to allow me to select the dependent products as well, the error occurs.

  • I suggest contacting support. It appears that the details of your scenario (the structure of the dependencies and potential existing requests) may contribute to this issue. You might also mention that #472959 might be similar.


  • Thank you Markus, I will do as you advise. In any case, I am sure that there are NO PWO or existing requests. I am performing these tests on a completely empty development environment; there are only 12 PWOs, all assigned and related to completely different products.

    The problem is with this API:

    ../ApiServer/portal/shop/serviceitems?filter=[{"ColumnName":"UID_AccProduct","Type":0,"CompareOp":0,"Value1":"6c72c96c-8d8a-4684-995d-045974149125"}]. This is the call made by the portal's getServiceItem, but it returns nothing!

    The same API, launched from the API Explorer, if I add UID_Person

    ../ApiServer/portal/shop/serviceitems?UID_Person=952b4ce1-1ba7-4884-9732-0caecca31f28&filter=[{"ColumnName":"UID_AccProduct","Type":0,"CompareOp":0,"Value1":"6c72c96c-8d8a-4684-995d-045974149125"}],

    returns the product.

    Furthermore, the following API works even without UID_Person

    ../ApiServer/portal/serviceitems?filter=[{"ColumnName":"UID_AccProduct","Type":0,"CompareOp":0,"Value1":"6c72c96c-8d8a-4684-995d-045974149125"}]

    but it is not the one made by the portal when I insert the parent into the shopping cart.

    I thought it might be a caching issue or similar, but in any case, I can't solve it. I will contact support.

    Thank you again

    a