Hi @TSQTINAMCF ,
The end goal of restricting the place lookup only to show Customer's Place will be to save the new request with Place Id which only belongs to customers place as whos place. If this is what you are looking for, following is the process.
In order to achieve this objective, you can write a client script for the save button in the request screen.
var place_id = getControlValue('place','place_id');
if(isNullOrEmptyString(place_id) != true){
var whos_place = getDBValue('GET_WHOSPLACE_FROM_PLACE_ID',place_id);
if(whos_place != 'CUST'){
alert('Please select a place which has whos place as customers place');
}
}
Following is the DB script used for the above script.
SELECT whos_place FROM place WHERE place_id = '{0}'
As another approach , you can trigger a validation business rule on the request table by keeping the execution point Before Save.
Hope this answer helps.
Best Regards,
Atheeq