Automatically create purchase order

Now user can automatically create Purchase Order for the vendor if the quantity of an item is below the minimum quantity for e.g. if item A is assigned to vendor xyx & if minimum qty of item A > = current qty then that item will be auto-added in the purchase order.

User needs to assign a vendor to each item while creating items. And while the user creates a purchase order and selects the vendor, all the items associated with that vendor have added if the quantity of the item is less than the minimum quantity.