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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

How to wait the initialization until the retail server return response

(0) ShareShare
ReportReport
Posted on by 396

Hi All,

Hope all are doing well.

I am trying to fetch records from oracle data base, for this i have written a custom CRT and retail server. Inside this CRT, I am executing a web API.

I am able to fetch and show data in the front end but it initialize the whole page first and after 5 secs it is showing the value.

Is there any way to wait initialization until the value get from retail server?

I have the same question (0)
  • Xusheng Profile Picture
    Microsoft Employee on at

    This is not for RTS, right? Which page you used?

  • Pankaj_93 Profile Picture
    396 on at

    Hi Steven,

    Yes, This is not RTS. I have extended the RTS in the POS. I am using CustomerDetails Page. I am trying to show the "Available credit limit balance" for the customer.

  • Xusheng Profile Picture
    Microsoft Employee on at

    How long it is need to call the RTS? By my understand, it need a few seconds to call RTS to get the customer available limit amount.

  • Pankaj_93 Profile Picture
    396 on at

    I believe, it is taking almost 4-5 secs. Basically we are calling a web API, which is filtering data from the Oracle Data base. After deployment in the UAT, it is not working as expected. It is taking more than 5 mins or some times it is not showing the data also.

  • Xusheng Profile Picture
    Microsoft Employee on at

    Have you get the time out issue on the UAT ENV? Have you rebuild the index for these tables which RTS call will used? How long it need to run the SQL query at DB directly?

  • Pankaj_93 Profile Picture
    396 on at

    No, It is not showing the time out issue... When I go back and come again it is showing the correct value sometimes but not every time. By debugging in typescript, I found that it was getting response asynchronously. I have written a code if response.data.result is not equal 0 then set it's actual value else set as 0. Debugging is done in Dev server.

  • Verified answer
    Oksana Kovaliova Profile Picture
    3,597 on at

    Hi,

    You need to implement 'isBusy' indicator, while data is loading - then it will be clear for user, that something is loaded.

    Or are you trying to postpone POS from showing 'Customer details' page at all, while data is not loaded?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Mallesh Deshapaga Profile Picture

Mallesh Deshapaga 1,086

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 241 Super User 2026 Season 1

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 129 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans