Copying PeopleCode with a Parent Definition
When you copy a Application Designer definition that contains PeopleCode, you can choose whether to copy all PeopleCode programs and the definition. Each copy of the definition receives a separate copy of the PeopleCode programs.
To copy a definition with its PeopleCode:
Open the definition you want to copy.
Select File, Save As.
The Save As dialog appears.
Type a name for the new definition in the dialog box.
Click OK, and then click Yes to copy the PeopleCode.
Click Yes to copy all PeopleCode associated with the definition.