Hi Tricia,
Thank you for your patience, we wanted to address your question regarding your invoice screen.
In order to get the desired result, you would have to select the following options in the Go To Screen action:
Screens: *Name of your custom invoice screen*
The Screen: Has a specified Active Record ID
Specify Record ID: Action Result -> ResultInvoiceRecordID
To elaborate on how this works, let’s say there is a sales order with some data, clicking the "Next" button inserts data from the sales order as a new record in the invoice table and returns the Record ID (the Invoice number). This Record ID becomes the action result “resultInvoiceRecordID” and is used to reference that same data in the invoice table (essentially to create a link between the new screen and the data in the sales order). The Go To Screen action then takes you to the Invoice Screen and shows you the correct invoice as it references the correct Record ID.
Hope this helps,
Michael.