140 pending or not is not related to 485 status.
are you NIW? then your H1B extension is not relevant to 485 pending. new H1B I-797 will have same I-94 number from last entry.
are you NIW? then your H1B extension is not relevant to 485 pending. new H1B I-797 will have same I-94 number from last entry.