New Form Creation in linking with Sales Header

Dear All,

Can someone suggest me for the following:-

I have created a new Table and created a new form with linking of new table created.

Now i want to link the new form 3 Field with Sales Header. Like, Table ID, Document No. and Document Type.

Can someone suggest how to do.

I have created a new menu Item in Sales order and attached a new form

Thanx in advance

so you have to link with Document No. and Document Type. fields from sales header to new form

check RunFormLink and give the proper links…

I have given the following link in RunFormLink

Table ID=CONST(36),Document Type=FIELD(Document Type),Document No.=FIELD(No.)

My concept to create this form is that when i create anew Sales Order then few fields are their in the New Form , user will fill that form and that form should be linked witgh the Sales Header and when i will create other sales Order then previous entry in that for with previous order no. should be deleted

I have set the above property but Document No. and Document type is not coming with reference to Sales Order No.

Please guide