Proforma invoice for sales order

hello,

When i go for proforma sales invoice it’s showing all the lines(including posted and nonposted lines) instead of non-posted lines. can anyone please help me how to stop the posted lines in proforma invoice,i.e i want to have only the non-posted lines in proforma invoice.

Thanks in advance!!!

How you are generating the proforma invoice? what parameter you have chosen while posting the generating proforma invoice?

what do you mean by posted and un posted lines?