cillion

Create new person if he dont exist

Discussion created by cillion on May 15, 2016
Latest reply on May 25, 2016 by cillion

Hi.

I have a layout called "Project", on this layout I have a portal that shows a list of persons that have been added to this project. "Person" is a related table.

 

I need a script that when the user is trying to create a new person from "project" check if the person first and lastname already exist, if not he create the person and adds him to the portal-list on "project". If the person hi is trying create exist, I can just show an custom message.

 

Here is the view on "Project":

addnewperson.jpg

Do somebody have and example of this kind of script?

Outcomes