Skip to main content
Solved

Odata issue when retrieving Payment


SadokHanini
Freshman II

Hello, 

I’m trying to retrieve Data using Odata from Sales-order with Expand Payment

 

 

Can anyone help ? thanks :) 

Best answer by Naveen Boga

Hi Sadok,

That is Sales Order number - SO005367

View original
Did this topic help you find an answer to your question?

5 replies

Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3412 replies
  • March 15, 2021

Hi Sadok,

 

Please use below URL to get the Sales Order details along with payment detils. Please find the screenshot for reference.

URL:  http://InstanceName/entity/EndpointName/EndpointVersion/SalesOrder/SO/SO005367?$expand=Payments

 

 

Hope this helps!!


SadokHanini
Freshman II
  • Author
  • Freshman II
  • 42 replies
  • March 15, 2021
Naveen B wrote:

Hi Sadok,

 

Please use below URL to get the Sales Order details along with payment detils. Please find the screenshot for reference.

URL:  http://InstanceName/entity/EndpointName/EndpointVersion/SalesOrder/SO/SO005367?$expand=Payments

 

 

Hope this helps!!

 

SO005367 this value refers to ? 
thanks

 

Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3412 replies
  • Answer
  • March 15, 2021

Hi Sadok,

That is Sales Order number - SO005367


SadokHanini
Freshman II
  • Author
  • Freshman II
  • 42 replies
  • March 16, 2021
Naveen B wrote:

Hi Sadok,

That is Sales Order number - SO005367

Works Fine, Thanks Naveen
Can u explain to me why it’s not working with my method?

 


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3412 replies
  • March 16, 2021

HI Sadok,

To get the particular Sales Order payment details, we need to pass the OrderType and Ordernbr to fetch the payment details of that Sales Order.

 

OrderType and Ordernbr fields are Key fields of the SOOrder table, to uniquely identify we need to pass these details.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings