A Customer Purchase Order (PO) is a document that represents the initial offer of negotiated types, quantities, and prices for products or services. Customer Purchase Orders can be created by sales users or administrators as sales orders for long-term contracts.

Configuring Customer Purchase Orders and Purchase Order Items

Administrators are responsible for setting up Order Management to allow users to work with Customer Purchase Orders. To configure Order Management for Customer Purchase Orders, perform the following tasks in order.

To create a tab for managing Customer Purchase Orders and Items

  1. Log in to your Salesforce org.
  2. Go to Setup > Tabs.
  3. Under Visualforce, click New.
  4. Click the Visualforce Page drop-down and select ManageCustomerPO.
  5. Enter a label for the tab (for example, "Customer Purchase Orders").
  6. Press tab to autofill the tab API name.
  7. (Optional) Choose a tab style.

  8. Click Next.
  9. Select tab visibility for profiles and click Next.
  10. Select which apps will have access to this tab and click Save.

To enable default draft status for Customer Purchase Orders

Repeat this task for the Customer Purchase Order Items object.

  1. Go to Setup > Objects > Customer Purchase Order (In Lightning, Setup > Object Manager < Customer Purchase Order).
  2. From Custom Fields & Relationships, click Status.
  3. Click New. The Status Picklist Values page is displayed.
  4. In the picklist entry field, enter the values Draft. Click Save.
  5. Next to the Draft status, click Edit.
  6. From the Picklist Edit page click the check box Make this value default for the master picklist and click Save.

    The default status must be "Draft" to make the Edit PO button visible.

  7. Click Save.

To configure field sets for displaying information on Customer Purchase Orders

Configure field sets to display required fields in the PO Admin UI. For example, if a CPO needs to be validated against a quote, ensure that the quote and quote line item fields are present in the appropriate field set.

  1. Go to Setup > Objects > Customer Purchase Order.
  2. Under Field Sets, click Edit next to the field set you want to configure. Refer to the following table for the list of configurable field sets and their purpose:

    Field SetPurposeNotes
    Manage Customer PO Basic Info

    Add fields to this fields set to display field values in the "Order Basic" section of the New Purchase Order screen. 

    Fields are displayed in the order they are added to the field set.
    Manage Customer PO Additional Info

    Add fields to this field set to display field values in the "Order Customer" section of the New Purchase Order screen.

     

    Fields are displayed in the order they are added to the field set.
    Manage Customer PO List View

    Add fields to this field set to determine which columns are displayed in the list of purchase orders on the Customer Purchase Order screen.

    Customer Purchase Orders can be sorted or filtered by column.
  3. When you are done adding fields to the field set, click Save to save your changes. Click on the Customer Purchase Order tab to verify fields have been added correctly.

To configure field sets for displaying information on Customer Purchase Order Items

  1. Go to Setup > Objects > Customer PO Item.
  2. Under Field Sets, click Edit next to the field set you want to configure. Refer to the following table for the list of configurable field sets and their purpose:

    Field SetPurposeNotes
    Manage Customer PO Basic Info

    Add fields to this fields set to display field values in the "Basic" section of the PO Line Item Summary > Customer Purchase Order Detail screen. 

    Fields are displayed in the order they are added to the field set.
    Manage Customer PO Additional Info

    Add fields to this field set to display field values in the "Additional" section of the PO Line Item > Customer Purchase Order Detail screen.

    Fields are displayed in the order they are added to the field set.
    Manage Customer PO List View

    Add fields to this field set to determine which columns are displayed in the list of purchase order items on the Customer Purchase Order > Customer PO Items screen.

    Customer Purchase Order Items can be sorted or filtered by column.
  3. When you are done adding fields to the field set, click Save to save your changes. Click on the Customer Purchase Order tab to verify fields have been added correctly.