1. clear all the custom fields when you enter the flavor using onLoad
2. in your "Copy Values" script, also put the values of custom fields into session.utils.put()
3. For SALES A tab, you can activate the script using onActivate event for this tab.
Your onActivate script will paste the values from session.utils.get() into the custom fields