Create connections

The following global variables are missing:frominv; toinv; cmadvanceId;

{var_str_message_conn}