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:
  • 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard