When posting the sales Order, i am getting the following error:
You must specify Gen.Prod.Posting Group in Sales Line Document of Type='Order' and Document No.='xxxx',Line No.='20000'.
As there is nothing to post in Line No. 20000.
When i used the debugger to find out where the error is coming from then in Codeunit 80 Sales-Post\OnRun(),SalesLine.TESTFIELD
("Gen. Prod. Posting Group");
Please advice the Solution. where do i need to modify the code.
0
Comments
can u show the image of error and sales order?
so dat we can help :-k
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
I have inserted the image.Pls check it out and help.
thats why u r getting that error,
open the sales line table and check how many lines are there for the presend sales header
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Do you have any modifications to add freight etc to a posted order automatically? In fact any modifications here at all, because there could be a setup here not configured correctly.
If this is true, you should check posting groups of a "Service Charge Acc." which is used for creation of this additional line. To do this you should open Customer Card (Invoicing Tab), click Lookup button on the Customer Posting Group text box. There you can find "Service Charge Acc." collumn.
Good luck.