Skip to main content

Notifications

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

  • Suggested answer
    huijij Profile Picture
    huijij 19,811 on at
    RE: replacing main account in ledger dimension

    Hi ChahrazadK,

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

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

  • L Profile Picture
    L 31 on at
    RE: replacing main account in ledger dimension

    Hi André,

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

    thank you in advance

    kind regards,

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,111 Super User 2025 Season 1 on at
    RE: replacing main account in ledger dimension

    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
    L 31 on at
    RE: replacing main account in ledger dimension

    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
    André Arnaud de Cal... 292,111 Super User 2025 Season 1 on at
    RE: replacing main account in ledger dimension

    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
    L 31 on at
    RE: replacing main account in ledger dimension

    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
    André Arnaud de Cal... 292,111 Super User 2025 Season 1 on at
    RE: replacing main account in ledger dimension

    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
    L 31 on at
    RE: replacing main account in ledger dimension

    Hi André,

    for Sales Order

    kind regards,

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,111 Super User 2025 Season 1 on at
    RE: replacing main account in ledger dimension

    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?

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…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,111 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,934 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans