Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Could not find a property named 'eShopSalesOrderLines' on type 'Microsoft.NAV.eShopSalesOrder'.

(1) ShareShare
ReportReport
Posted on by 35
{"error":{"code":"BadRequest","message":"Could not find a property named 'eShopSalesOrderLines' on type 'Microsoft.NAV.eShopSalesOrder'.  CorrelationId:  5df17f26-4917-4a92-83a0-45627a49e097."}}


https://{standard}/OData_Test/api/dynamicseShop/eShop/v2.0/companies(dd053d13-2ca5-ec11-bf97-001dd8b71f1c)/eShopSalesOrder?$expand=eShopSalesOrderLines

Getting above error while accessing API page in browser with basic auth for BC onprem 20 version.

Using API page but in that part page is normal page(list page).
eShopSalesOrder is API page while eShopSalesOrderLines is normal list page using as a part page
although i have mentioned for part page
ApplicationArea = All;
EntityName = 'eShopSalesOrderLines';
EntitySetName = 'eShopSalesOrderLines';


Same scenario is working fine for cloud versions but not for onprem.


using https://{standard}/OData_Test/api/dynamicseShop/eShop/v2.0/companies(dd053d13-2ca5-ec11-bf97-001dd8b71f1c)/eShopSalesOrder url without part page working fine.

Need some suggestions thanks

  • Suggested answer
    CU09121327-0 Profile Picture
    CU09121327-0 35 on at
    RE: Could not find a property named 'eShopSalesOrderLines' on type 'Microsoft.NAV.eShopSalesOrder'.

    HI Alice,

    Yes issue is resolved.

    I have created an new API part pages with that names and used them in the main page as part page.

  • Suggested answer
    ALICE THOMAS Profile Picture
    ALICE THOMAS 65 on at
    RE: Could not find a property named 'eShopSalesOrderLines' on type 'Microsoft.NAV.eShopSalesOrder'.

    Hi did you resolve this what is the solution?

    I am facing the same issue on saas

  • CU09121327-0 Profile Picture
    CU09121327-0 35 on at
    RE: Could not find a property named 'eShopSalesOrderLines' on type 'Microsoft.NAV.eShopSalesOrder'.

    Hi marco thanks for you reply

    yes its customization. I am the one who is developing these API pages.

    I have already tested these changes in SAAS (Cloud sandbox) it working.

    I am facing issue while testing these API pages in On Prem 20 version

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: Could not find a property named 'eShopSalesOrderLines' on type 'Microsoft.NAV.eShopSalesOrder'.

    Hello,

    This looks like a customization. You need to contact your partner or developer  to help you with this issue.

    Thank you.

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans