Add optional inventory_owner_code to add_scan call