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

Different COGS G/L posting based on location

(0) ShareShare
ReportReport
Posted on by 15,435

Hi

Is it possible to setup different COGS G/L for different locations? For example if we sell product A to Customer B from Location C then the COGS post to account 1 but post to account 2 if we sold it from Location D?

 Product A to Customer B from Location C -> COGS to G/L Account 1 

 Product A to Customer B from Location D -> COGS to G/L Account 2

Thanks

 

  • Robert Jolliffe Profile Picture
    Robert Jolliffe 859 on at
    RE: Different COGS G/L posting based on location

    I feel like you may be able to use Dimensions in some way to segregate the COGS - but they would all go to the Same GL account however reporting on them would be pretty easy.  Maybe a Required Dimension for the "Ship From Location" or something like that that a quick extension can fill in based on the Location selected on the sales order?

  • MahGah Profile Picture
    MahGah 15,435 on at
    RE: Different COGS G/L posting based on location

    Hi Tom 

    Thank you for detailed answer and providing guideline for how we can accomplish this. This is really helpful. I will work with our partner on this to follow your great guideline and build an extension for us. 

    Thanks 

  • Verified answer
    TWBlaisdell Profile Picture
    TWBlaisdell on at
    RE: Different COGS G/L posting based on location

    Hello MahGah,

    Thank you for posting. 

    It would definitely take some level of Extension to the Sales Line Page and change to standard Dyamics 365 Business Central.

    General Posting Setup is where General Business Posting Group and General Product Posting Group Codes are combined in a matrix Table to build out the combinations of each to detemine accounts such as Sales and Cost of Goods Sold.  The fields for General Business Posting Group and General Product Posting Group are stored in Table 37, but the standard Sales Line Page (Page 46) doesn't show these fields, so the Personalization to add these fields is not available. Thus, it would require a Page Extension be developed by a Partner.

    At the base level, you would have to make the Page Extension to show General Business Posting Group and/or General Product Posting and have the different Cost of Goods Sold Account identified for different combinations.  Then, a selection at the now presented Line > General Business Posting Group or General Product Posting Group to identify the change required to redirect the posting to the desired Cost of Goods Account. The challenge is that Location Code does not have any control over General Posting Group setup, so it would be a manual process without a more extensive extension possibly adding a General Busines Posting Group to the Location Card, for example. That would get a little challenging because General Business Posting Groups are exclusively tied to Customer and Vendor Records, so adding Locations could get a bit confusing.

    I hope this at least provides some level of guidance for options.

    Best Regards,

    Tom

  • Verified answer
    Samantha73 Profile Picture
    Samantha73 2,632 on at
    RE: Different COGS G/L posting based on location

    Good question  - I'm pretty sure this is not possible but love to hear other answers

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,489 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans