Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

general prod posting error in sale order

Posted on by 50

Hi!

I have this error " General product posting group must have value in sale line :Document type = order, Document No= Cus000077, Line No. = 20000.  It cannot be zero or empty"

Even the line 20000 is empty and there is value in line 10000.

  • Adeel Amjad Profile Picture
    Adeel Amjad 50 on at
    RE: general prod posting error in sale order

    Subham

    As you mentioned i can  update my order amount to whole nos. and then try to do posting preview or post but i sees the same error.

    in addition when i run the purchase order type with prepayment it can post without error . but when i tried in sale order it will then give an error.

  • Suggested answer
    Gulshan Shubham Profile Picture
    Gulshan Shubham 2,200 on at
    RE: general prod posting error in sale order

    Just set the Rounding Account in the Posting Setup. Your Sales Order Value must be in decimal places. Here, you can't see an actual line, but NAV takes the rounding value to the next line.

    Now, you can do one thing just try to update your order amount to whole nos. and then try to do posting preview or post. If this error doesn't show, then you can affirm that what I have stated is what causing you this error.

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: general prod posting error in sale order

    Adeel,

    Do you know how to run the debugger, if not please check this link, it should give you the Item No. or G/L Account which is missing that setup on that card.

    docs.microsoft.com/.../activating-the-debugger

    dynamicsuser.net/.../tips-and-tricks-using-the-dynamics-nav-debugger

  • ManishS Profile Picture
    ManishS 6,578 on at
    RE: general prod posting error in sale order

    Check if rounding account is getting hit, that might be one of the reason.

  • Adeel Amjad Profile Picture
    Adeel Amjad 50 on at
    RE: general prod posting error in sale order

    I am creating sale order with prepayment Type after making prepayment invoice and try to post the document it shows the above error.

  • Adeel Amjad Profile Picture
    Adeel Amjad 50 on at
    RE: general prod posting error in sale order

    I am tried delete the line also comment it out then the error show with the next line of Sale  order. its only happen when i am creating sale order with Prepayment Type.

  • Suggested answer
    TWBlaisdell Profile Picture
    TWBlaisdell on at
    RE: general prod posting error in sale order

    Hello Adeel Amjad,

    Thank you for posting on the Forum.

    Have you tried deleting Line 20000 prior to posting? If the Line is in fact a blank line, then try deleting it and see if the error is removed. It would seem that the 2nd line of the order was in fact validated fully by entering through the line, but the system is trying to validate setup of a General Product Posting Group, as if an Item, Resource, or some other record is requiring the setting. Of course, this validation is erroneous if it is a blank line.

    The alternative to deleting the line would be to make sure that the Line Type is Comment if in fact information is trying to be presented on this line.

    I hope this helps move you forward.

    Best Regards,
    Tom

  • gvol10110 Profile Picture
    gvol10110 105 on at
    RE: general prod posting error in sale order

    Adeel, what are you doing to get this error? Are you trying to post? release? anything else? are there any addons in this system?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans