Skip to main content

Programmatically add/remove items ordered from a bundle

Comments

4 comments

  • Official comment
    Ben Rigby

    Hi Pim,

    Thanks for your query.  What happens if you add part with a quantity of 0?

    Ben

     

     

  • Pim Leys

    Update: I found an "AddPart" method which seems to for adding items to my basket but I cannot find the counterpart: "RemotePart" nmethod.

    0
  • Pim Leys

    Ben,

    I tried to add a part with quantity 0 but unfortunately that seems not t be allowd:

    Exception calling "AddPart" with "4" argument(s): "can not add a part with quantity '0' in requestId '19174'"

    This is quite an issue for me as I need to be able to clear parts from the shopping list when requesters appear not to be allowed to order them. Is there some other way to get that done?

    0
  • Ben Rigby

    Hi Pim,

    Unfortunately, there are currently no basket-related API calls we can leverage here.  We are reviewing what additional API methods we can add to Front Office and will add basket operations to the list.

    In the meantime, I will contact you directly to discuss possible workarounds for your specific requirement.

    Regards,

    Ben

    0

Please sign in to leave a comment.