AI: Purchase Orders to Sales Orders Converter

Use the Purchase Orders to Sales Orders Converter to automatically convert a purchase order from a PDF file into a sales order. This AI agent will take the PDF files you upload that contain your purchase orders and convert them into sales orders.

Realize these benefits:

  • Let AI do the tedious work. You don't have to manually convert a sales order into a purchase order.
  • Increase efficiency. Reduce data entry errors and automatically fix errors.
  • Improve timeliness. Automatically fix errors and get the order into draft status instead failing.

Try It

  1. Go to the Setup and Maintenance work area, then use the Manage Administrator Profile Values task to set the Enable VBCS Progressive Web Application User Interface (ORA_HCM_VBCS_PWA_ENABLED) profile to Y at the site level.
  2. Go to Home > Tools > AI Agent Studio, then search for the Purchase Order to Sales Order Converter template.
  3. Click Actions > Copy Template, enter a suffix, then click Continue. We recommend that you use the suffix to indicate versions, such as 1, 2, 3. For this example, assume you enter 1 for the suffix.
  4. Click Publish, then confirm that the agent's status is Published.
  5. Click Agent Teams, then query for Purchase Order to Sales Order Converter 1.
  6. Copy the value that's in the Agent Team Code attribute. For this example, assume it's PURCHASEORDERTOSALESORDERCONVERTOR_1.
  7. Go to the Order Management work area, click Sales Orders, then click Settings and Actions > Edit Page in Visual Builder Studio.
  8. Set the convertPOtoSOAgentName attribute to PURCHASEORDERTOSALESORDERCONVERTOR_1.
  9. Verify that the Sales Order page displays the Create Sales Order from Purchase Order button.

To view a similar procedure that has screen prints, see AI Agent: Data Access Advisor for Sales Orders.

As an option, if you want to automatically fix errors, do steps 1 through 9 except use the Sales Order Correction Assistant template in step 3. In step 9, set salesOrderCorrectionAgentName to SALES_ORDER_CORRECTION_ASSISTANT.

Test:

  1. Go to the Order Management work area, then click Sales Orders > Create Sales Orders from Purchase Orders.
  2. Select your Business Unit, upload one or more PDF files that contain your purchase orders, then click Create Order.
  3. Notice the process ID in the message, such as 263153.
  4. Click Action Status, then click 263153 in the Process Id column.

Error Example

Assume you have a purchase order but its customer, item, and payment term aren't correct.

You use Create Sales Orders from Purchase Orders, click Action Status, then click 211297 in the Process Id column, then click 4 Errors on the Action Report.

Examine the warnings, then click the order number to examine the order.

You can also click Issues Needing Your Attention.

Guidelines

You must use Order Management's redesigned pages.

Your PDF must include values for these attributes:

  • Customer
  • Ordered Date
  • Purchase Order Number
  • Ship-to Address
  • Item
  • Quantity
  • Unit Price

As an option, you can include a value for any other order attribute.

Note

  • The purchase order can use a wide variety of formats, but it must clearly indicate the relationship between the attribute and its value. For example, the Customer cell on the purchase order's header must identify the customer.
  • We recommend that you use the same attribute text that Order Management's sales order uses. For example, use Payment Method. Don't use Method.
  • The values that you use for each attribute must meet Order Management's requirements. To get an idea of what's possible, look at the values in an existing sales order. For example, select Shipping Method, then scan the values that are available in the pick list.

Error Correction

If you set salesOrderCorrectionAgentName:

  • The Purchase Orders to Sales Orders Converter agent will automatically use the Sales Order Correction Assistant agent to fix any errors that it finds. Sales Order Correction Assistant uses smart matching to match the values in your purchase order to Oracle's master and set up data, such as Customer, Account, Address, Payment Term, Item, Item Description, Salesperson, Currency, FOB, Freight Terms, and Shipping Method. If its more than 80% confident that the match is correct, then it converts the purchase order.
  • If smart match doesn't work, then Sales Order Correction Assistant will examine the customer's most recent 20 sales orders to find the attribute values. If that fails, then the agent displays an error.
  • You must thoroughly test the Purchase Orders to Sales Orders Converter with correct and incorrect purchase orders in a test environment before you deploy it to your production environment.
  • If you import the sales order, then you must import through REST API.

For more, see AI Agent: Purchase Orders to Sales Orders Converter.