Immeditely before it executes rp4Departure it executes
exec
[RUST].[sys].[sp_procedure_params_managed] @procedure_name=N'rp4Departures'
It returns information about the parameters Amongst others a column named Parameter_default who in turn hade the value null in all it's rows. It doesn't make sense however, since the other fields that actually get updated (when I put the code i the beginning of the report-procedure) also had null in that column
anniqa_2