Receipt or payment reference bug for imported statements

I am using the latest desktop version. I have form defaults set to automatically apply the reference number for sales receipts or payments. When I create the transaction manually - I get a reference number. However, if I download a bank statement and apply the payment via the bank rules I do not get a number. I have to go into the payment and manually click on reference to generate the number Is this a feature or a fault? I looked at other forum receipt issues and could not see this one mentioned.

I can duplicate this. I have moved it to the bugs category.

Fixed in the latest version (19.2.9)