Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Web Service GetReceivablesCreditMemoByKey doesn't return the exchange rate and applied payments.

Posted on by 443

Hello Team,

I used the following web service to receive Credit Memos: GetReceivablesCreditMemoByKey


But this web service doesn't return applied payments. However, I see the applied document on UI.
Could you clarify how I can receive applied payment for Credit Memos using API?

pastedimage1633955283002v1.png

And the second question, service GetReceivablesCreditMemoByKey doesn't return exchange rates.

On UI:
pastedimage1633955377365v2.png

Service returns the following: <ExchangeRate xsi:nil="true"/>. But not that the rate is equal 2
How I can receive the correct exchange rate?


Categories:
  • Andrew1986 Profile Picture
    Andrew1986 443 on at
    RE: Web Service GetReceivablesCreditMemoByKey doesn't return the exchange rate and applied payments.

    Derek Albaugh

    Derek, did you have time to see this ticket?

    community.dynamics.com/.../receiving-sales-invoices-data-via-api-api-doesn-t-return-some-data

  • Andrew1986 Profile Picture
    Andrew1986 443 on at
    RE: Web Service GetReceivablesCreditMemoByKey doesn't return the exchange rate and applied payments.

    Derek Albaugh

    Thank you!

    Could you help me with this question?

    community.dynamics.com/.../receiving-sales-invoices-data-via-api-api-doesn-t-return-some-data

  • Suggested answer
    RE: Web Service GetReceivablesCreditMemoByKey doesn't return the exchange rate and applied payments.

    Looking in the Web Services Ref Help file, for this GetReceivablesCreditMemoByKey method, it shows the return value is the 'GetReceivablesCreditMemoByKeyResult which is of 'ReceivablesCreditMemo' type.

    When I run the sample code, it returns a customer ID and a credit memo amount, i.e. this example from the sample company:

        Customer Id: ADVANCED0001  Credit memo amount: $465.21

    This is what the method is stating it returns, when it mentions it is displaying the credit memo's customer ID and credit memo amount.

    Looking for Exchange Rate, I see some references to it for Web Services, but no methods that state anything like GetExchangeRate.... or anything like that.

    Being it's not that common of an ask that many users are pulling on transactions, probably explains why we don't have the methods like we do for getting customer lists, or customer addresses, accounts, GL transactions, etc.

    Usually we see Web Services more pulling the exchange rate from the transaction already entered.

    A GP query or report would be a better option to pull that type of information, based on what I can see.

    Others in the Community may have some other options they can share........

    Thanks

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

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans