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

Custom "Quick Add' feature

Taking over SFDC for a company who had a text field on the quote called "product quick add" which when a product code is entered, will automatically create the quote line items based on the ';' separated values in the product quick add field. 


The issue is that these are being orded alphanumerically based on the product record IDs and not the order they were entered by the user. 


Short of changing all the code and forcing the user to set an order, is there any way change the order in which records are inserted from a map? 




No.  You can not guarantee order in a map.