how to call form 342 check availability form simply

Dear friends,

I had created a new customized sales invoice . and tried to call check availability form 342 in quantity fields trigger… how to call form 342 with item id and quantity…?

is it possible…? or i need to create a new warning form …?[^o)]