Notifications

449 views

Description

When a user orders an item with Requested for variable populated as the same user, the sc_request record has a different user in the requested_for field.

Cause

  1. The issue is occurring because the sc_cart table has many carts called DEFAULT created by users with a different requested for user.
  2. These records might have been created by users who intended to order an item of someone else, added the item to the cart, but then changed their mind and did not complete the order. Hence the sc_cart record was created with requested for as that different user.
  3. Check here: /sc_cart_list.do?sysparm_query=nameSTARTSWITHDEFAULT%5Erequested_forNSAMEASuser
  4. Note the User and Requested for in the cart record.
  5. Impersonate the user in the "user" field of the sc_cart record and order the item, you will see that the Request will have the different requested_for as noted in the sc_cart record earlier.

Resolution

  1. Delete the SC_cart records seen in the URL above.
  2. This will not affect your instance in any way, the sc_cart records will be created again when the user orders the item.
  3. The users who might have intentionally saved the items in their carts will notice the item doesn't exist in their cart, they will simply have to re-order the item.

Article Information

Last Updated:2020-07-22 03:10:52
Published:2020-07-22