If a reference field is populated via a client script on the Service Portal, it does not update the price in the cart as expected.

Steps to Reproduce

  1. Download the attached update set and commit the update set.

    Item: 711d1ec6732a0300f49d0690fdf6a7bd
    variable1: run onChange (checkbox)
    variable2: reference to "reference_variable_price_test" table (reference, pricing implications set to true)
    onChange script on variable1: clicking it will clear the value of variable2.

  2. Create a few records in the reference_variable_price_test table.

    Note the sys_id of any one record.

  3. Change the following "g_form.setValue()" in  <instance>/
    g_form.setValue("ref_price", "<sys_id>");

  4. Open the item in Service Portal (/sp?id=sc_cat_item&sys_id=711d1ec6732a0300f49d0690fdf6a7bd).

  5. Click the "run onchange" checkbox.

    Note that the price is not updated.



This issue is under review. To receive notifications when more information is available, subscribe to this Known Error article by clicking the Subscribe button at the top right of the article. If you are able to upgrade, review the Fixed In or Intended Fix Version fields to determine whether any versions have a planned or permanent fix.


Related Problem: PRB1240285

Seen In

There is no data to report.

Fixed In

Kingston Patch 9

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-05-21 11:41:33