A sales order is automatically created when you make an item sale by using inventory from a project.