Configuration Key VI_ITShop_AllowRequestWithMissingDependencies without function in Angular?

Hi there,

we have some AccProduct dependencies active. Is the dependent AccProduct set as Mandatory, it will be ordered together with the Parent AccProduct. But if the child AccProduct is already assigned, the parent AccProduct can't be ordered.

There is a configuration key VI_ITShop_AllowRequestWithMissingDependencies in the Administration Portal. But even when it is activated, the order is not possible. I get a message, that a product can't be ordered, because it is already ordered by the user.

Does the configuration key have a function in the new Angular Web?

We use actually OI 9.1.1.

Parents
  • Hi Paul,

    The key VI_ITShop_AllowRequestWithMissingDependencies is used during the shopping cart check which happens on the server, which is why you're not seeing any use of the key in the HTML5 code. (The key bypasses the check for missing mandatory items, which does not help in your scenario.)

    You cannot request a service item (AccProduct) that has already been assigned (unless it is multi-requestable of course). This rule applies regardless of service item dependencies.

    Regards
    Hanno

Reply
  • Hi Paul,

    The key VI_ITShop_AllowRequestWithMissingDependencies is used during the shopping cart check which happens on the server, which is why you're not seeing any use of the key in the HTML5 code. (The key bypasses the check for missing mandatory items, which does not help in your scenario.)

    You cannot request a service item (AccProduct) that has already been assigned (unless it is multi-requestable of course). This rule applies regardless of service item dependencies.

    Regards
    Hanno

Children
  • Hi Hanno, thank you. Is there any other possibility to solve it? I have the following scenario:

    We habe 3 ADSGroups: A, B, C

    Group B and C need the ADSGroup A to work properly.

    Group A can be ordered stand alone too.

    Case 1: So if I order B, and A is not assigned, A must be ordered too.

    Case 2: If I order C, and A is already assigned, A must not be ordered.

    Case 3: It I order C, A will still be assigned.

  • Hi Paul,

    Unfortunately the service item dependencies model does not support conditional requests along the lines of "request this unless it's already assigned". Maybe system roles for B+A and C+A could be used instead?

  • But with system roles AB/AC I can not terminate the order, but leave the Group A.

    As a workaround I changed the dependency from Mandatory to Optional. Now it will be offered in shopping cart, but it must noch be selected. It is better than mandatory.

    Is it possible to give it to the development? In my opinion the check in shopping cart is not optimal now. If a AccProduct is dependent as mandatory AND it is already assigned, the result of the check should be POSITIV.