Customer Item Detail record is a unique combination of Item and Customer This script does not allow the custom record to be saved of a duplicate combination of item and customer name exists.