You can use this feature to lock the cart for all the Sales reps with concurrent access except the one currently editing the cart. The other Sales reps can only view the cart in read-only mode. The cart is unlocked when the Sales rep currently editing the cart saves, finalizes, abandons, or closes the cart, the Sales reps in read-only mode can gain edit access only after these operations are performed. Cart locking helps prevent data loss while a Sales rep is working on a configuration. You can use Enable Cart Locking for Concurrent Access in Config System Properties to enable cart locking.
If the cart is left idle by the Sales rep currently in edit mode for a predefined time limit, the cart is unlocked automatically. The cart is considered idle if the Sales rep is not performing changes to the line items, the changes include updating a value, deleting line items, or adding line items. Other actions on the cart such as updating cart views, viewing the totals, or applying filters are not considered modifications to the line items, and time spent is counted as idle time. The time limit is defined in Cart Edit Access Idle Timeout in Minutes Config System Properties. After the time limit is exceeded the cart is unlocked allowing any Sales rep can open the cart in edit mode, the cart is locked again for the other Sales reps. If you do not define a time limit the cart remains locked until the Sales rep in edit mode does not save, finalize, abandon, or close the cart.
To enable cart locking for concurrent access and setting a time limit for idle cart
- Go to Setup > App Setup > Develop > Custom Settings > Config System Properties > Manage
- Select Enable Cart Locking for Concurrent Access.
- Enter a number of minutes in Cart Edit Access Idle Timeout in Minutes.
- Click Save.
The field Current User in the Product Configuration object contains the ID of the user accessing the cart in the edit mode.