Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Unanswered

What Request/Response pair is generating the credit limit exceeded message that can be overridden

(0) ShareShare
ReportReport
Posted on by 1,447

Our custom in the full client (D365 for Finance) allows for a sales order to be created and payment taken even if the customer exceeds the credit limit. It just doesn't allow the order to be picked, packed or invoiced.

In POS the credit checking seems to happen when I click on Conclude Transaction (operation 139).

Under "PosApi/Consume/Cart", I see only the request/response pair for conclude transaction:

export import ConcludeTransactionClientRequest = Commerce.ConcludeTransactionClientRequest;
export import ConcludeTransactionClientResponse = Commerce.ConcludeTransactionClientResponse;

It looks like the credit checking is done using a realtime service call. I would have loved to by pass the credit limit message on the realtime service call on the AX side, thus extending RetailTransactionService.getcustomerBalance(), because it is a lot easier to work with AX where I can see the code, even though I can only change with extensions. However it doesn't receive anything of the transaction so that I can validate if it is a new order or not.

So I need to either do it on the CRT level or in POS, or maybe both because the record is created in the channel DB in the [crt].SalesTransaction table. I cannot find the record in [ax].RetailTransactionSalesTrans or in [ax].RetailTransactionTable.

However the credit limit exceed message shows a salesOrderID as can be seen below which I cannot find on [crt].SalesTransaction unless it is part of the encrypted data in the field": transactionData.

pastedimage1583794961576v1.png

Any suggestions on a handler that I can override in the POS or CRT to skip the credit checking for a new customer order? I'll appreciate any suggestions.

  • PramodM Profile Picture
    on at
    RE: What Request/Response pair is generating the credit limit exceeded message that can be overridden

    Hello Retha,

    Thank you for raising the extensibility request. I'm closing this thread now.

  • Retha Profile Picture
    1,447 on at
    RE: What Request/Response pair is generating the credit limit exceeded message that can be overridden

    Hi Pramod, I contacted Microsoft and we can't do what we want to do without an extensibility request. So I logged one

    From Microsoft:

    ***

    The rough outline of the flow for how this Limit Check process works is:    POS > Payment service > AuthorizePaymentServiceRequest > CheckIfPaymentExceedsBalance > GetCustomerBalanceServiceRequest > GetCustomerBalanceRealtimeRequest

    ***

    "CheckIfPaymentExceedsBalance" is closed code that do not have an extension point currently. So we have to wait and see if Microsoft will add it with my extensibility request.

  • Retha Profile Picture
    1,447 on at
    RE: What Request/Response pair is generating the credit limit exceeded message that can be overridden

    Have you found anything Pramod? Do you know what all the Request/Response pairs are that Conclude transaction is calling? If so, can you tell me so that I can call all except the realtime request/response pair for credit checking.

  • PramodM Profile Picture
    on at
    RE: What Request/Response pair is generating the credit limit exceeded message that can be overridden

    Hi Retha,

    I will leave this question for community to respond and I'll will do some research internally to find a solution or work around for you. If I have any information, I will respond to you later.

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Zain Mehmood Profile Picture

Zain Mehmood 462 Moderator

#2
Danny Bilodeau Profile Picture

Danny Bilodeau 156 Moderator

#3
Laurens vd Tang Profile Picture

Laurens vd Tang 120 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans