Announcements
Hello Team,
I created a Credit Memo and paid it by Invoice.
Example:
But method GetReceivablesCreditMemoByKey doesn't return the Invoice that paid the Credit Memo.
How I can receive this allocation?
Derek, does GP have another method to receive allocations?
I didn't find another method.
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>
"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
André Arnaud de Cal...
294,217
Super User 2025 Season 1
Martin Dráb
232,978
Most Valuable Professional
nmaenpaa
101,158
Moderator