Examples: Explorer_Add_Object


The following example creates a new Leads SmartList object for the sample integrating application. The IG_PROD_ID constant contains the product ID for the sample.

local integer l_error;

{Create the new SmartList object}
call with name "Explorer_Add_Object" in dictionary SMARTLIST,
	IG_PROD_ID,
	SMARTLIST_OBJECTTYPE_LEADS,
	"Leads",
	l_error;
if l_error <> OKAY and l_error <> DUPLICATE then
	error "Error creating Leads SmartList object";
end if;


Documentation Feedback