In that field you can only select the ref. # of previously created Purchase orders. If you select a Purchase order ref. # there then the Order # field at the top disappears. But it seems that the ref. # in that field is only shown in the Order # column when the Purchase invoice is created from a Purchase order. In the Order # field at the top you can enter whatever ref. # you want and it will show in the Order # column.