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
Josie FarrellJosie Farrell 

How can I create a new object from within an order and map fields from the order into the new object?

I have a custom object called "Sample Received". I want to create new ones from within the original order and have certain fields mapped over automtaically based on what is in the order. 
SwethaSwetha (Salesforce Developers) 
HI Josie,Can you elaborate on your question. Are you using any custom code?
Josie FarrellJosie Farrell
Basicall, I want to go into an order and down tot he related list for "Sample Received" create a new Sample Received and have some of the fields from the order to already map into the Sample Received object. Is that possible?