@OlaN @Ankur Bawiskar 

Requirement is to 

  1. when agent is ordering the item from configurable workspace then write a logic as follows.
    1. On change of primary contact, fetch the primary contact's account and then go to RITM table and check for the catalog item and the account fetched from primary contact. If there is an existing record then restrict the agent from ordering and also display the alert message "You are not allowed to order as there is an existing request for this customer"