function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Kevin ShivelyKevin Shively 

How can I assign statecode and country code to custom object fields?

We recently enabled statecode and countrycode picklists in our address fields. These populate to quotes and orders (which are automatically created from quotes) and then a custom object called Shipments are created from orders in a button-launched Flow. How do I pass the values of the value of a shippingcountrycode or shippingstatecode to a state and country field in the custom Shipment object?