I'm adding a "Duplicate" button to a custom Estimate screen. Here is the process I've created:
1. Insert Records into Estimate Table (this copies the necessary values from screen and places them into a new Estimate. This part seems to work)
2. Loop through EstimateLine Grid
-- Insert Records into EstimateLine table. I insert what I believe are the necessary values from the rows. I also insert the EstimateRecordID as the screen's RecordID. I figure this is how it knows to associate the EstimateLine with the Estimate record.
When I go to the newly created Estimate, it is missing all of the EstimateLine rows. Am I looping through the wrong grid/table? I have unchecked options such as "Only include checked rows".