Post Install Notes
  • 27 Oct 2023
  • 1 Minute to read
  • Dark
    Light

Post Install Notes

  • Dark
    Light

Article Summary

Upgrading from a version below 1.134 to above

In version 1.134 we introduced the ability to create multiple shipments per order. By doing so the information be entered during checkout is being stored on the Shipment object. This means when upgrading from a version below 1.134 to a version above custom fields (like PO Numbers, etc.) that were being set on the Web Order records are now being set on the Shipment object. In the future we will re-add the capability to have specific Web Order fields to be set. But for now 2 things need to be done to set Web Order fields again:

  1. The custom fields that exists on the Web Order need to be created on the Shipment object as well. Be sure to use the same api name.
    2. Build a flow or apex trigger that copies the field entered on the Shipment to the Web Order.
    1. Trigger should be on update
    2. Detect if the shipment has a related Web Order 
    3. Copy the value to the related Web Order

The example flow definition below can be used to upload to Salesforce. Be sure to replace all occurrences of Reference_Number__c to the correct field api name.