web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Method GetReceivablesCreditMemoByKey doesn't return Invoice allocations

(0) ShareShare
ReportReport
Posted on by 63

Hello Team,

I created a Credit Memo and paid it by Invoice.

Example:

pastedimage1634547082082v3.png

pastedimage1634547103732v4.png

pastedimage1634547123670v5.png


But method GetReceivablesCreditMemoByKey doesn't return the Invoice that paid the Credit Memo.
How I can receive this allocation?

Categories:
I have the same question (0)
  • Suggested answer
    Derek Albaugh Profile Picture
    on at

    "This method is designed to retrieve a single receivables credit memo object based on the specified receivables document key, the value returned by this method can be affected by entity ID filtering." as per the Web Services Reference help file.

    Looking at it in a tester, running the sample code for the method, it returns a customer id and credit memo amount, by default.

    I'm thinking the GetReceivablesCreditmemoList method may be more what you're looking at for a return?

    Try that method and let us know.... thanks

  • Andrew1986 Profile Picture
    63 on at

    Derek Albaugh

    I tried to use the method GetReceivablesCreditmemoList. It returns only general information.

    Example:

    <ReceivablesCreditMemoSummary>

                       <Key>

                           <CompanyKey>

                               <Id xmlns="schemas.microsoft.com/.../Id>

                           </CompanyKey>

                           <Id>CREDT000000000002</Id>

                       </Key>

                       <CustomerKey>

                           <CompanyKey>

                               <Id xmlns="schemas.microsoft.com/.../Id>

                           </CompanyKey>

                           <Id>AARONFIT0001</Id>

                       </CustomerKey>

                       <CustomerPONumber/>

                       <CustomerName>Aaron Fitz Electrical</CustomerName>

                       <Date>2027-04-12T00:00:00</Date>

                       <CurrencyKey>

                           <ISOCode>USD</ISOCode>

                       </CurrencyKey>

                       <BatchKey>

                           <CompanyKey>

                               <Id xmlns="schemas.microsoft.com/.../Id>

                           </CompanyKey>

                           <Source>XRM_Sales</Source>

                           <Id>sa</Id>

                           <CreatedDateTime>1900-01-01T00:00:00</CreatedDateTime>

                       </BatchKey>

                       <TradeDiscountAmount>

                           <Currency>USD</Currency>

                           <Value>0.00000</Value>

                           <DecimalDigits>2</DecimalDigits>

                       </TradeDiscountAmount>

                       <FreightAmount>

                           <Currency>USD</Currency>

                           <Value>0.00000</Value>

                           <DecimalDigits>2</DecimalDigits>

                       </FreightAmount>

                       <MiscellaneousAmount>

                           <Currency>USD</Currency>

                           <Value>0.00000</Value>

                           <DecimalDigits>2</DecimalDigits>

                       </MiscellaneousAmount>

                       <TaxAmount>

                           <Currency>USD</Currency>

                           <Value>21.00000</Value>

                           <DecimalDigits>2</DecimalDigits>

                       </TaxAmount>

                       <DocumentAmount>

                           <Currency>USD</Currency>

                           <Value>321.00000</Value>

                           <DecimalDigits>2</DecimalDigits>

                       </DocumentAmount>

                       <ModifiedDate>2021-10-11T09:59:38.29</ModifiedDate>

                       <TransactionState>Open</TransactionState>

                   </ReceivablesCreditMemoSummary>

  • Andrew1986 Profile Picture
    63 on at

    I didn't find another method.

  • Andrew1986 Profile Picture
    63 on at

    Derek Albaugh

    Derek, does GP have another method to receive allocations?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 592 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 478 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 305 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans