Reason to cancel a Supplier Order

I found a little issue. I’m using 16.0.4 version.

When I want to cancel or reject a supplier order, It asks me for a reason. So, I add a reason and accept.

After that, I can’t find the reason in card.php file or in database. So I found in file fournisseur.commande.class.php there are some lines commented:

|||//$sql .= fk_shipping_method=.(isset($this->shipping_method_id) ? $this->shipping_method_id : null).,;
|||//$sql .= fk_input_reason=.($this->demand_reason_id > 0 ? $this->demand_reason_id : null).,;

So, I want to know if they are deprecated or where I can activate these fields?
At last fk_input_reason. Because I think it’s necessary to display why an order was rejected or canceled.

16.0.4 is rather old, the latest release is 19.0.2 and soon it’ll be version 20. I would recommend that you make a new version 19 test installation on a different computer, and test if it is fixed in version 19, and then you take a backup of your old version 16 installation and upgrade it to version 19.