What relationship (if any) have you defined between these two tables?
What are the tables called? I see a reference to but one table here: Quote and no reference to any other table.
I also do not see how these scripts actually do anything. Usually, such a script set's up criteria to perform a find, finds the record or records and then uses a script parameter or a global fields--not variables to transmit the data to the second file. (Variables created in one file cannot be accessed from a second file).
In your case, the second script appears to pass data in a script parameter using $quotinfo, but does not assign any data to quote info until after the perform script call--which means that no data is passed to the first script shown.
Please note that you may find scripting this much simpler if in one of the two files, you add a table occurrence to the other file's table and a layout based on that table occurrence. That would allow you to manipulate the data all in one file without having to perform script to call a script in the other file.