what is the best practice for Lookup search using MDM java api
I have a main table along with one lookup value as one of the fields, when i am trying to include the lookup value in into my search criteria along with the main table fields i am using the following two scenarios, in both the cases i am able to achieve the correct search functionality what i need to know from you is which one is the best practice for the search criteria for lookup values ?
1. Earlier i used to pass the RecordID to my PICLIST SEARCH CONSTRAINT of the lookup value to my i need to search.
2. where as in this scenario instead of passing RecordID of the lookup value simply i am passing the search string to my SEARCH CONSTRAINT entered by the user for lookup value to search