a:2:{i:0;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:21:"fv2_greige_grpcs_grid";s:4:"nome";s:10:"create_ngo";s:4:"tipo";s:1:"M";s:5:"parms";s:0:"";s:6:"codigo";s:520:"/**
 * Insert a record on another table
 */

// SQL statement parameters
$po='[var_po]';
$invoice='dummy'+$po;
$insert_table  = 'ngo';      // Table name
$insert_fields = array(   // Field list, add as many as needed
     'p_o_number' => $po,
     'invoice' =>$invoice,
 );

// Insert record
$insert_sql = 'INSERT INTO ' . $insert_table
    . ' ('   . implode(', ', array_keys($insert_fields))   . ')'
    . ' VALUES ('    . implode(', ', array_values($insert_fields)) . ')';

sc_exec_sql($insert_sql);";}i:1;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:21:"fv2_greige_grpcs_grid";s:4:"nome";s:8:"onRecord";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:32:"{LbsOpen}={lbs_recd}-{lbs_used};";}}