prepayment sales invoice

hi my friend’s NAV

so my problem is this error message when i go to validate sales invoice in nav 2009 R2 (5.0) , so the message is ::

" you must specify groupe in sales line document type='order",document No =‘0000’ line No=“20000”.

After I posted the prepayment invoices to record the unearned revenue, I would like to post 100% sales invoice on sales order, but it’s not possible, system pop-up the error message “Gen Prod Posting Group must have a value in Sales Line:…Line No.=20000”. This Sales Order has only one sales line.

plaizzzzzzzzzzze it is urgentttt

Check line 20000 for Gen. Prod. Posting Group.

Hi abdelkrim,

Just like the warning said, you need to set an default Gen. Prod. Posting Group for your Sales Prepayment Account, then you can post the whole Invoice.

Best regards,