Yes, they ask if an immigration petition has ever been filed (I129, Part4, (g) ).
Check the 'Yes'. Additionally, my lawyer had provided notes in the addendum section with the reecipt #s dor the 140 and 485 notices.
Do not misrepresent - they can look up your entire file from your A#, in any case.
H1 is a dual intent visa - it's not an issue.