The acquisition of the key depends on the setting in Mandatory keys dialog.
Identity=No: GeniusConnect will run the statement before insert
Identity=Yes: GeniusConnect will run the statement after insert
GeniusConnect can't use return parameter, your SP must return a result set with 1 row/value.
If you are using auto identity value you can use statements like select @@identity (SQL Server).
The statment to get last identity depends on your DB system.