Commerce Purchase Order Manager (commerce_pom)

Component ID

2878419

Component name

Commerce Purchase Order Manager (commerce_pom)

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

123

Component created

Component changed

Component body

About Commerce POM

Essentially, the Commerce Purchase Order Manager is a feature that allows a seller to create a list of products, along with their quantities, that they can send to vendors or suppliers as a request for purchase. As the product lists are compiled, the module also understands the different quantity types that some products are packaged in, for example, some products might be ordered in cases or lots, where a single case might, in actuality, be 12 of the item. Commerce POM automatically calculates the number and sends the supplier the correct quantity.

Furthermore, the module also provides an easy interface to track and receive the ordered products and promptly changes the stock field for each individual product as they are updated.

Commerce POM Dependencies

The Commerce POM Architecture

Purchase Order

A custom entity which stores the following fields:

Purchase Order Number

- A field that is manually entered by the buyer when ordering products.

Supplier Taxonomy Reference Field

- This is a list of terms from the supplier vocabulary.

Purchase Order Manager Line Item Reference

- Each purchase order can consist of multiple line items.

Supplier Email Override

- This field will pre-populated from the supplier taxonomy reference field, however, can be overridden by the user for each purchase order.

Status

- A select list, denoting the current status of the purchase order. It can be in any of the following statuses at any one time: Draft, Ordered, Partially Received, Completed, Completed with Discrepancies, Cancelled.

Date Created

- When the purchase order was created.

Date Ordered

- When the purchase order was sent to the supplier.

uid

- The person that created the PO.

Purchase Order Line Item

A custom entity. A purchase order can consist of many line items. A line item has the following fields:

Product Reference

- The Commerce product reference field.

Order Quantity

- The number ordered of a product.

Quantity Received

A custom entity. This records the number of items received of a product at a particular date and time. This is needed as suppliers might send the items in a purchase order in multiple shipments. A product might only be fulfilled in multiple shipments. So, this entity tracks how many are received each time. It consists of the following fields:

Quantity Received

uid

Date Received

Purchase Order Line Item Entity Reference

Invoice Number

- The invoice number provided by the supplier when products are received.

Supplier

A simple taxonomy vocabulary entity of all the vendors of the buyer. The supplier has a 1 to many relationship with a Purchase Order, so there can be many purchase orders, overtime, that are sent to the same supplier. Consists of the following fields:

Name

Email

Purchase Order Manager Log Entry

A message entity. Every time a purchase order is updated, we automatically make a log of the changes. The buyer can also add manual log entries to a purchase order.

Emails and PDF

  • Every time the buyer clicks to a send a purchase order, an email is sent to the supplier listing the items ordered along with a PDF attatchment, which can be printed by the supplier.

Custom Settings and Configurations

  • Lots Field - this field must be added to each product variation to denote the type of packaging that the product comes in. Some products are shipped in packages of 12, consequently, the lots quantity must be configured for them, so that, when a buyer adds that item to a purchase order, they can only be ordered in multiples of 12. Then, when we send the purchase order to the supplier, the quantity ordered would show as 1 (if 12 was ordered). For most products, the lot quantity would just be 1.
  • Supplier Vocabulary - on installation of the Commerce POM module, a supplier taxonomy vocabulary will be created. However, the user can go to the settings page and change which vocabulary it should use, as perhaps, the site already has a vocabulary for the suppliers.