web
You’re offline. This is a read only version of the page.
close
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...
Suggested Answer

"Gen. Prod. Posting Group must have a value in G/L Account..."

(0) ShareShare
ReportReport
Posted on by 3,510

Hi:

In the Customer Posting Groups window, I'm trying to place an account within the "Service Charge Acct." field.

I have placed a value within the "Gen. Prod. Posting Group" and "Gen Bus. Posting Group" fields within the account itself in the Chart of Accounts.

Also, I have placed this account within the General Posting Setup's "Sales Account" field.

So, why in the world am I still getting the error message "Gen. Prod. Posting Group must have a value in G/L Account..." within the Customer Posting Groups window?  Have I not covered all contingencies?

Thanks!

John

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    133 on at

    Has some specific validation:

    Validate("Service Charge Acc.");

               end;

               trigger OnValidate()

               begin

                   if "View All Accounts on Lookup" then

                       GLAccountCategoryMgt.CheckGLAccountWithoutCategory("Service Charge Acc.", true, true)

                   else

                       GLAccountCategoryMgt.CheckGLAccount(

                         "Service Charge Acc.", true, true, GLAccountCategory."Account Category"::Income, GLAccountCategoryMgt.GetIncomeService);

               end;

    I’d check the account category and turn off the view all accounts lookup feature

  • Suggested answer
    john.ellis Profile Picture
    3,510 on at

    Below is the answer.  I needed to go into the G/L account for the Customer Posting Group and fill in the three fields shown below.

    pastedimage1636667113179v1.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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,135

#2
YUN ZHU Profile Picture

YUN ZHU 733 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 612

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans