web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

replacing main account in ledger dimension

(1) ShareShare
ReportReport
Posted on by 31

Hi all!

is there a (Class, Method) we can put conditions to link to the article to change the account at time invoice validation.

Suppose I have a ledger dimension 401100-001---audio and I want to replace just the Main account segment and make it 601100-001---audio

kind regard

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    303,269 Super User 2026 Season 1 on at

    Hi ChahrazadK,

    What type of invoice is your question related to? Sales order, Free text, Purchase order, Vendor cost invoice, or project invoice?

    What is the exact business requirement to change the main account?

  • L Profile Picture
    31 on at

    Hi André,

    for Sales Order

    kind regards,

  • André Arnaud de Calavon Profile Picture
    303,269 Super User 2026 Season 1 on at

    Hi ChahrazadK,

    If the ledger account is the revenue account, you can specify another account on the sales order lines. This needs to be done before you post the invoice.

    Still, I wonder about the exact business scenario to think if there is a better option for your requirement.

  • L Profile Picture
    31 on at

    Hi André,
    Exactly, 

    for example, all orders have a posting type "Sales order revenue" Capture21.png_2D00_640x480.pngand I want to change it to a different posting type with conditions.
    Kind regards.

  • André Arnaud de Calavon Profile Picture
    303,269 Super User 2026 Season 1 on at

    Hi Chahrazad,

    In that case, you would need a customization, but also ensure you will not break the application behavior where logic is dependent on the posting type. What is the exact reason for another posting type?

  • L Profile Picture
    31 on at

    Hi,

    I just want to know if it is possible! and what class or method I can use for this customization.

    kind regards,

  • André Arnaud de Calavon Profile Picture
    303,269 Super User 2026 Season 1 on at

    Hi Chahrazad,

    It will require an impact analysis if there are dependencies on the current posting type. Just another main account has less impact and would be feasible. To check where to interact, you would need to find the place which retrieves the current main account for the sales order.

  • L Profile Picture
    31 on at

    Hi André,

    Which method can I use to combine the main account with the financial dimension?

    thank you in advance

    kind regards,

  • Suggested answer
    huijij Profile Picture
    19,811 on at

    Hi ChahrazadK,

    The method of replacement is mentioned in this link, have you checked?

    community.dynamics.com/.../replacing-main-account-in-ledger-dimension

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 545 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 408

#3
Adis Profile Picture

Adis 267 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans