Skip to main content

Notifications

Community site session details

Community site session details

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

Variants - Production Order Gen. Prod. Posting Group must have a value in Item Journal Line: Journal Template Name=, Journal Batch Name=, Line No.=0. It cannot be zero or empty.

(0) ShareShare
ReportReport
Posted on by 10

Hi,

We are using variants for our BOMS and when ever we try to receipt (change status to "finished) the production for an item with a variant code we get the below error:

"Gen. Prod. Posting Group must have a value in Item Journal Line: Journal Template Name=, Journal Batch Name=, Line No.=0. It cannot be zero or empty."

We do not get this error when the production orders are for items with no variants.  Is there a setting with variants that we have missed

  • Suggested answer
    KasparsSemjonovs Profile Picture
    4,250 Super User 2025 Season 1 on at
    RE: Variants - Production Order Gen. Prod. Posting Group must have a value in Item Journal Line: Journal Template Name=, Journal Batch Name=, Line No.=0. It cannot be zero or empty.

    Gen. Prod. Posting group in production can come from 3 places:

    1) Item card

    2) Resource Card

    3) Machine center/Work center card

    Please check if all related cards in those production orders have the field filled in.

    Also on the Production Header there is a field Gen.Prod.Posting group - try to fill that in, and see if it solves the issue (but this should be filled from the Item card - the one that is being produced)

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans