Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

"COGS Account is missing in general posting setup" and "Sales Account is missing in general posting setup" error message when posting sales order

Posted on by 22

We have recently helped a new client to start using Business Central and when posting sales orders the receive the following error messages:

COGS Account is missing in general posting setup, Sales Account is missing in general posting setup

We have double checked the general posting setup and we are sure that COGS and Sales accounts are set on all rows.

The invoices are created and the posted transactions look ok.

What can be the reason for these error messages?

Thanks in advance,

Jim

Categories:
  • Jim Oskarsson Profile Picture
    Jim Oskarsson 22 on at
    RE: "COGS Account is missing in general posting setup" and "Sales Account is missing in general posting setup" error message when posting sales order

    Thank you so much!

    So nice to be able to get qualified help through this community.

  • Verified answer
    TabrezAjaz Profile Picture
    TabrezAjaz 190 on at
    RE: "COGS Account is missing in general posting setup" and "Sales Account is missing in general posting setup" error message when posting sales order

    Hi Jim Oskarsson,

    Answers for both the questions are as follows:

    Answer 1: Microsoft Dynamics 365 Business Central requires a Cost of Goods Sold (COGS) account for non-inventory items because it needs to track the cost of goods sold for those items. Although non-inventory items are not typically purchased for resale, they still have a cost associated with them that needs to be tracked for financial reporting purposes. By assigning a COGS account to non-inventory items, Business Central can accurately track the cost of goods sold and calculate the gross profit for your business.

    Answer 2: Business Central requires a row with an empty General Business Posting Group for non-inventory items because it needs a way to post the financial transactions for those items. The General Business Posting Group determines the default accounts used for different types of transactions in Business Central. By having a row with an empty General Business Posting Group, you can specify the accounts used for non-inventory transactions on a case-by-case basis. For example, you might use a different sales account or expense account for a non-inventory item depending on the specific transaction. Having an empty row for the General Business Posting Group allows you to specify the correct accounts for those transactions.

  • Suggested answer
    Dallefeld Profile Picture
    Dallefeld 11,425 User Group Leader on at
    RE: "COGS Account is missing in general posting setup" and "Sales Account is missing in general posting setup" error message when posting sales order

    Good questions.

    I think the code does not distinguish between inventory and non-inventory and it really should.

  • Jim Oskarsson Profile Picture
    Jim Oskarsson 22 on at
    RE: "COGS Account is missing in general posting setup" and "Sales Account is missing in general posting setup" error message when posting sales order

    Hello again,

    Thank you both for anwering my question. I think I have found the solution now.

    When we added the selected row on the image below the error messages disappeared. The Gen. Product Posting Group contains freight items used for freight charges.

    That leaves me with two questions:

    1. Why does BC require COGS account for non inventory items?
    2. Why does BC require this row with empty Gen. Bus. Posting Group for non inventory items?

    pastedimage1683217682397v1.png

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: "COGS Account is missing in general posting setup" and "Sales Account is missing in general posting setup" error message when posting sales order

    Adding more info. As you said, all the accounts and setups are in place, now you can go with the Developer to take help of him to debug the  case moreover please look this if you have put those account with the combination of posting groups.

    pastedimage1683163954658v1.png

  • Suggested answer
    Dallefeld Profile Picture
    Dallefeld 11,425 User Group Leader on at
    RE: "COGS Account is missing in general posting setup" and "Sales Account is missing in general posting setup" error message when posting sales order

    What Gen. Bus. Posting Group and Gen. Prod. Posting Group combination is it stating accounts are missing for?

    Add some screen shots of the message and these fields and their associated general posting setup.

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,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans