Notifications

177 views

Description

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>/catalog_script_client.do?sys_id=bcbc1ac6732a0300f49d0690fdf6a797&sysparm_record_target=catalog_script_client&sysparm_record_row=1&sysparm_record_rows=1&sysparm_record_list=variable_set%3D395c16c6732a0300f49d0690fdf6a7f0%5EORDERBYorder
    to
    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.

 

Workaround

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
London

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-08-22 22:39:07
Published:2018-08-23
sys_remote_update_set_c0026a4a732a0300f49d0690fdf6a74f.xml