Removed duplicated query to get variable for objectRegisty ID for udo_Customer.