Storing selected fields in memory

I would like to be able to get the user to access a customer file and select their name. I would then like to store their serial number somewhere then bring up a product file so they can select products.

I would then use their serial number to link to their profile and make up an order file.

How do In save the customer serial number?

Mike

@mdsmith1 You can use temporary state variable or localStorage.