Yeah, that’s the way to do it. If you want to record order number but don’t want to use Sales Orders
/ Purchase Orders
tabs, then just create custom field.
I need to make it so the hidden field is converted into custom field. Then you will be able to search by order number across older invoices too.