Scipt question : copying data from one field to another using a script
I am new to FM, trying to use a button with a script to add data from a field on a selected line in a list layout, and add then input that data into a specific field on a form layout. What is the best way to do this via a script ?
Example is I am looking at a Catalog item and want to copy the catalog number into a purchase sales form.
Any ideas would be greatly appreciated!