Posting groups error

Hi Friends

I get following error when I post the Sales Invoice " You muct specify gen.Prod. Posting group in Sales line document type = order , document no;002; and LINE NUMBER : 20000, the problem is the SO does not have any second line. I get this errro in Nav.5.0 sp1. can some one tell what is the actual error.

Thanks & Regards,

Vijay

Two options:

You do have a second line even though it does not contain an item - to check this just place the cusrsor into the second line and see if the arrow in front of the line additionally carries a star. If it does not have a star next to the arrow, you do have a second line.

Your first line is the second line (the one with the line number 20000 as the original first line has been deleted.