In the version 9 the macro sc_redir(…) not working after update.
an urgent solution please
Hello!
The macho sc_redir(…) is working very well!
You just have to know that, the macro sc_redir doesn’t support variable as parameters to redirect.
r u saying parameters cant pass ? my parameters dont pass here
//REDIR WITH SERIAL NO OF TRANSACTION TO ANOTHER FORM
[serial_no_of_transaction]={serial_no_of_transaction};
$redir_app = ‘single_record_extra_sale_invoices’; // Application name
//$redir_test = {field1} == ‘some_value’; // Redirection test
$redir_target = ‘modal’; // Target window (_blank, _self, _parent or modal)
$redir_param = array( // Param list, add as many as needed
‘serial_no_of_transaction’ => ‘{serial_no_of_transaction}’,
//‘param_2’ => ‘value_2’,
);
// Redirection
//if ($redir_test)
{
sc_redir($redir_app, $redir_param, $redir_target);
}
this does not work (calling single record form from a multi record editable grid form)