Adding inventory items at PO or purchase/sales Invoice stage

Hello - is there a function where a new inventory item can be entered - especially at the purchase invoice stage, rather than entering the inventory items then going to PI to enter the invoice?

Same with adding new customers/suppliers - instead of going to customer or supplier, adding the customer/supplier then going to purchase or sales invoice…