Hi,
I want to add navigation property to my oData services. I want to add two navigation property -
1. From Sales Order - to - Business Partner table
2. From Sales Order - to - Sales Order items table.
I can easily build one navigation. Let us say from Sales Order - to - Business Partner. What is the syntax to add the next navigation from Sales Order oData service ?
Example - to add one navigation ---
Filename - SalesOrder.xsodata
Code -
service {
"empdemo.data::SalesOrder" as "SalesOrders" navigates ("SalesOrderBusinessPartner" as "BusinessPartners");
"empdemo.data::BusinessPartner" as "BusinessPartners";
association "SalesOrderBusinessPartner" principal "SalesOrders"("BusinessPartnerID") multiplicity "1"
dependent "BusinessPartners"("BusinessPartnerID") multiplicity "1";
}
How do I add the next navigation (From SalesOrder to SalesOrderItem table) in the same file ?