Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Facing Issue while executing OData query to get Invoice Data with Payment and Payment Method.

$
0
0

The below-mentioned query is not working. Can someone help to resolve this issue?

OData Query:

https://<Environment>/api/data/v9.1/invoices?$select=_contactid_value,createdon,datedelivered,description&$expand=salesorderid($select=ordernumber),invoice_details($select=createdon,invoicedetailname,invoiceid),new_invoice_msdyn_payment_invoice($select=createdon,_msdyn_paymentmethod_value;$expand=msdyn_paymentmethod($select=msdyn_name))&$filter=_salesorderid_value eq <GUID> and _contactid_value eq <GUID>

Response:

{
    "error": {
        "code""0x0",
        "message""The navigation property 'msdyn_paymentmethod' cannot be expanded. Only many-to-one relationships are supported for nested expansion."
    }
}
The same query was working fine before.

Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images