Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

Question for MS GP Engineers. Is it possible to modify web service GetCashReceiptByKey to return the amount remaining of the payment?

(0) ShareShare
ReportReport
Posted on by 63

Is it possible to modify web service GetCashReceiptByKey to return the amount remaining of the payment?

Categories:
  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,957 Most Valuable Professional on at
    RE: Question for MS GP Engineers. Is it possible to modify web service GetCashReceiptByKey to return the amount remaining of the payment?

    You can with GP Power Tools.

    Just install it, activate the trial period and try it.

  • Andrew1986 Profile Picture
    Andrew1986 63 on at
    RE: Question for MS GP Engineers. Is it possible to modify web service GetCashReceiptByKey to return the amount remaining of the payment?

    As I understood, we cannot receive the amount remaining via API (

  • Verified answer
    RE: Question for MS GP Engineers. Is it possible to modify web service GetCashReceiptByKey to return the amount remaining of the payment?

    Same answer as the other forum you have open that I just answered, RE: community.dynamics.com/.../microsoft-dynamics-gp-doesn-t-return-gltransactionbykey-and-glpostedtransactionbykey

    If you look at the GetCashReceiptByKey method in the Help file mentioned previously, it shows the Return Value as this:

    Return Value:

    Value                                               Type                                       Description

    GetCashReceiptByKeyResult        CashReceipt                          A cash receipt object.

    Click on the 'CashReceipt' link and it shows a list of properties. This is what this method is able to display/show.

    From this, it appears that the only Amount we can get from this method is the Amount/MoneyAmount, which is the cash receipt transaction amount.

    CustomerKey

    CustomerKey

    N/A

    N/A

    The customer key object that uniquely identifies the customer for the cash receipt.

    CorporateAccountKey

    CustomerKey

    N/A

    Empty

    If the customer is part of a corporate (national) account, the customer key that specifies the parent account.

    Key

    ReceivablesDocumentKey

    N/A

    N/A

    The receivables document key object that uniquely identifies the receivables document for the cash receipt.

    CheckCardNumber

    string

    20

    Empty

    The check or payment card number.

    PaymentCardTypeKey

    PaymentCardTypeKey

    N/A

    N/A

    The payment card type key object that uniquely identifies the type of payment card for the transaction.

    BatchKey

    BatchKey

    N/A

    N/A

    The batch key object that uniquely identifies the batch to use for the cash receipt.

    AuditTrailCode

    string

    N/A

    N/A

    The internally assigned audit trail code that gets saved on the record at the time the transaction is posted. This property is read-only.

    Type

    CashReceiptType

    N/A

    N/A

    Indicates whether the cash receipt type is check, cash or payment card.

    BankAccountKey

    BankAccountKey

    N/A

    N/A

    The bank account key object that uniquely identifies the bank account for the transaction.

    Date

    dateTime

    N/A

    If not provided, defaults to the system date.

    The date of the cash receipt.

    PostedDate

    dateTime

    N/A

    N/A

    The date the cash receipt was posted.

    PostedBy

    string

    N/A

    N/A

    The user who posted the cash receipt.

    GeneralLedgerPosting

    Date

    dateTime

    N/A

    If not provided, defaults to the system date.

    The general ledger posting date of the cash receipt.

    ModifiedDate

    dateTime

    N/A

    N/A

    The date the cash receipt document was last modified. This property is read-only.

    ModifiedBy

    string

    N/A

    N/A

    The user who last modified the cash receipt document. This property is read-only.

    Amount

    MoneyAmount

    N/A

    N/A

    The cash receipt transaction amount.

    Description

    string

    30

    Empty

    The description of the cash receipt transaction.

    CurrencyKey

    CurrencyKey

    N/A

    N/A

    The currency key object that uniquely identifies the ISO code used for the cash receipt.

    ExchangeRate

    decimal

    N/A

    0

    The exchange rate for the cash receipt transaction.

    ExchangeDate

    dateTime

    N/A

    N/A

    The exchange date associated with the exchange rate provided.

    IsVoided

    boolean

    N/A

    N/A

    Indicates whether the cash receipt has been voided.

    VoidDate

    dateTime

    N/A

    N/A

    The date the cash receipt was voided.

    Distributions

    ArrayOfCashReceiptDistribution

    N/A

    N/A

    A collection of cash receipt distributions for the cash receipt.

  • Andrew1986 Profile Picture
    Andrew1986 63 on at
    RE: Question for MS GP Engineers. Is it possible to modify web service GetCashReceiptByKey to return the amount remaining of the payment?

    Derek Albaugh

    Derek, do you have any updates as to the amount remaining of payments?

  • Andrew1986 Profile Picture
    Andrew1986 63 on at
    RE: Question for MS GP Engineers. Is it possible to modify web service GetCashReceiptByKey to return the amount remaining of the payment?

    Derek Albaugh

    Derek, if the API doesn't support the amount remaining of payment, is it possible to:

    - add the amount remaining to the response for service GetCashReceiptByKey and patch it?

    - use another alternative to receive the amount remaining? If yes, what alternatives and how to use them.

    - extend the web service GetCashReceiptByKey? If yes, how to do it?

    Thank you!

  • Andrew1986 Profile Picture
    Andrew1986 63 on at
    RE: Question for MS GP Engineers. Is it possible to modify web service GetCashReceiptByKey to return the amount remaining of the payment?

    Derek,

    Thank you a lot!

    I will wait impatiently because without remaining we cannot handle payments correctly (

  • Suggested answer
    RE: Question for MS GP Engineers. Is it possible to modify web service GetCashReceiptByKey to return the amount remaining of the payment?

    Looks like this method returns a Cash Receipt. The only 'amount' value I see mentioned is the cash receipt transaction amount.

    It doesn't appear to return the amount remaining on the payment, testing this method, it returns the customer id and then an amount value, which from the sample code for this method, would be the customer id and amount value for the cashReceiptKey.Id value mentioned in the method code.

    If I find anything more I'll update this forum, but taking a quick look, I don't seem to find anything in the list of Web Services methods nor eConnect procedures.

    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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,476 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans