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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Query to Dynmaics 365 ...
Power Apps
Unanswered

Query to Dynmaics 365 for Operations SalesStatus

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I'm would like to query the SalesOrderLine Data Entity from my PowerApp. There is the field SalesOrderLineStatus in the entity.

I can query the valid values using DataSource.AllowedValues, this returns the Values from these enumeration: None, Backorder, Delieverd, Invoiced as expected.

If if use SalesOrderLineStatus in an Filter Formula it only works if i use it as Text(SalesOrderLineStatus). But with this expression Delegation fails. How can use SalesOrderLineStatus in a Filter Expression to work with Delegation?

 

The same behavour is also in PurchaseLineStatus.

Categories:
I have the same question (0)
  • v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi Anra,

     

    From this blog https://dynamics365.wordpress.com/tag/microsoft-powerapps/, we could see that you should be able to query Sales order number, order status, etc. using Entities in PowerApps. Follow the steps there to see if there is anything wrong. Also try to create a new entity/app to test if this is specific issue.

     

    Regards,

    Mona 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks a lot Mona, i'm not quite happy with your reply. i'm not sure whether i have to use a CMD data entity.

    i connect my PowerApp direct to my Dynamics 365 for Operation datasource and query the available data entities without any CMD between.

    if i use CMD, i can create a structure for the entiies, but how do i get the live data queried from my Operations Tenant then to my PowerApp?

    Furtermore i see the data entity "Sales Order Line" in CMD  is not as wide as i'm used from Dynmaics for Operations Sales Order Line Data Entity.

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 Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 428

#2
Haque Profile Picture

Haque 338

#3
timl Profile Picture

timl 333 Super User 2026 Season 1

Last 30 days Overall leaderboard