Generating PeopleCode for a Business Interlink

After you create a business interlink definition, you use PeopleCode to instantiate an interlink object and activate the interlink plug-in. This PeopleCode can be long and complex. Rather than write it directly, you can drag and drop the business interlink definition from the Application Designer Project view into an open PeopleCode edit pane. PeopleCode Application Designer analyzes the definition and generates initial PeopleCode as a template, which you can modify to suit your purpose.

The following is a snippet of the code that is generated:

/* ===>
/* ===>
This is a dynamically generated PeopleCode template to be 
used only as a helper to the application developer.
You need to replace all references to '<*>' OR default values 
with  references to PeopleCode variables and/or a Rec.Fields.*/

/* ===> Declare and instantiate: */
Local Interlink &QE_AE_NONSSL__1;
Local BIDocs &inDoc;
Local BIDocs &outDoc;
Local boolean &RSLT;
Local number  &EXECRSLT;
&QE_AE_NONSSL__1 =  GetInterlink(INTERLINK.QE_AE_NONSSL_BI);
.
.
.
.