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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Using a Function in Power Automate

(1) ShareShare
ReportReport
Posted on by 282
Dear All,
 
I am trying to use power automate with my D365 F&O , I wanted to check if there is any way that i can get the balance of a main account using power automate, i noticed that there is a function called "TrialBalanceFiscalYearSnapshotHeaders-calculateSnapshotBalance" under the Dynamics 365 Operation App, however i wasn't able to work with it and i didn't find any help related  to it,
any body can advise on it?
 
Best
HAYAN
I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    304,625 Super User 2026 Season 1 on at
    Hi Hayan,
     
    I haven't used this action myself. You will need to provide parameters where:
    _ledgerName = legal entity e.g. 'USMF'
    _fiscalYearName = fiscal year name for the fiscal calendar belonging to the Ledger record for the legal entity, e.g. '2024'.
    _externalTrackingId = generate your own GUID for unique reference.
    _postingLayer = posting layer to get values for, usually 'Current'.
    _dimensionArray = names of the dimension attributes, like 'MainAccount' or 'Department'.
     
    I think it will create balances for all dimension array combinations. In the next action, you can loop all records or set a range on e.g. the main account.
     
     
  • Farhad Malegam Profile Picture
    20 on at

    To retrieve the balance of a main account using Power Automate with D365 F&O, follow these steps:

    1. Create a Flow: Start a new flow in Power Automate.
    2. Add HTTP Action: Use the HTTP action to call the D365 Web API or OData endpoint, such as TrialBalanceFiscalYearSnapshotHeaders, to fetch balance data.
    3. Set Parameters: Configure the API request with the necessary parameters to specify the main account and fiscal year.
    4. Handle Response: Process the API response to extract and use the balance information.

    If the calculateSnapshotBalance function isn't working, consider using the direct Web API for balances.

     

    Kind regards,

    SYDNEY DIGITAL AGENCY

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 130

#2
André Arnaud de Calavon Profile Picture

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

#3
Martin Dráb Profile Picture

Martin Dráb 54 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans