Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Gen. Prod. Posting Group must have a value in Purchase Line for empty line

(0) ShareShare
ReportReport
Posted on by 247

Hi, 

The PO only consist 1 posting line, but when posting it deducted 2 Posting Lines.

Thus, the additional encounter error due to the "Gen. Prod. Posting Group must have a value in Purchase Line: Document Type=Order, Document No.=3367/20/PROD, Line No.=60000. It cannot be zero or empty."

I tried to delete all comment line only consist Item Line and the error will be "Gen. Prod. Posting Group must have a value in Purchase Line: Document Type=Order, Document No.=3367/20/PROD, Line No.=20000. It cannot be zero or empty."

Before post to shipment and invoice, I had posted prepayment invoice.

Anyone encounter the same issue ? Any Solution ? Seek for advice, you advice are highly appreciated. 

Enclosed herewith the Screenshot attached :- 

pastedimage1595991102316v1.png

pastedimage1595991394486v2.png

  • Atif Shafique Profile Picture
    Atif Shafique 5 on at
    RE: Gen. Prod. Posting Group must have a value in Purchase Line for empty line

    Thanks for sharing

  • Suggested answer
    Hasnain Ali Profile Picture
    Hasnain Ali 132 on at
    RE: Gen. Prod. Posting Group must have a value in Purchase Line for empty line

    The problem was solved by assigning a Gen. Prod. Posting Group code to the G/L Account that I was using for Sales Prepayment, as defined in General Posting Setup.

    pastedimage1624431874414v1.png

    pastedimage1624431902544v2.png

  • Verified answer
    I Gusti Made Ari Profile Picture
    I Gusti Made Ari 3,594 on at
    RE: Gen. Prod. Posting Group must have a value in Purchase Line for empty line

    Go to General Posting Setup, then take note the account of Purch. Prepayment Account  , then go to G/L Account card for that account.

    Make sure Gen. Prod. Posting Group is filled.

    pastedimage1595994899469v1.png

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,375 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans