Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

{Power Automate} Error 400: You must specify an Id or a Document Id to get the lines

Posted on by 2
Hi,
 
When trying to get the data from Business Centeal/SalesOrderLines in Power Automate, I receive this error:
 
Action 'Find_records_(V3)' failed: ErrorCode: Application_DialogException You must specify an Id or a Document Id to get the lines. 
 
I have only just began using BC and PA today, but I'm already at a loss here. No idea what to do to fix.
 
Any ideas? 
  • SO-02121639-0 Profile Picture
    SO-02121639-0 2 on at
    {Power Automate} Error 400: You must specify an Id or a Document Id to get the lines
     
    Is there a way around that? I don't want to filter my sales orders, I want a regular dump of my sales orders for onward processing in QlikSense, our chosen BI platform.
     
    I can I pass a not equals operator and still return everything ??
     
    If I can't use PowerAutomate to get this data, do you know of a way I can get a full table dump of this data at specified periods of the day?
     
     
    Thanks
  • Suggested answer
    Amit Katariya007 Profile Picture
    Amit Katariya007 8,179 Super User 2024 Season 1 on at
    {Power Automate} Error 400: You must specify an Id or a Document Id to get the lines
    SalesOrderLines are related to a specific SalesOrder.
     
    You must first retrieve the SalesOrder and get its unique identifier (id or documentId), then use this identifier to fetch its lines.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,134 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,928 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans