Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Smart Lists Running slow after Year End Close

Posted on by Microsoft Employee

User reports that smart lists are running slow after year close. I discovered that an index that was somehow dropped in the process. I recreated it but that did not fix the isssue. The smartlist starts off fast but the numbers refresh slower as time goes on. 

This keeps getting invoked. 

SELECT TOP 25  HSTYEAR, JRNENTRY, RCTRXSEQ, SOURCDOC, REFRENCE, DSCRIPTN, TRXDATE, ACTINDX, TRXSORCE, POLLDTRX, LASTUSER, LSTDTEDT, USWHPSTD, ORGNTSRC, ORGNATYP, QKOFSET, SERIES, ORTRXTYP, ORCTRNUM, ORMSTRID, ORMSTRNM, ORDOCNUM, ORPSTDDT, ORTRXSRC, OrigDTASeries, OrigSeqNum, SEQNUMBR, DTA_GL_Status, DTA_Index, CURNCYID, CURRNIDX, RATETPID, EXGTBLID, XCHGRATE, EXCHDATE, TIME1, RTCLCMTD, NOTEINDX, ICTRX, ORCOMID, ORIGINJE, PERIODID, DEBITAMT, CRDTAMNT, ORDBTAMT, ORCRDAMT, DOCDATE, PSTGNMBR, PPSGNMBR, DENXRATE, MCTRXSTT, CorrespondingUnit, VOIDED, Back_Out_JE, Back_Out_JE_Year, Correcting_JE, Correcting_JE_Year, Original_JE, Original_JE_Seq_Num, Original_JE_Year, Ledger_ID, Adjustment_Transaction, APRVLUSERID, APPRVLDT, DEX_ROW_TS, DEX_ROW_ID FROM .GL30000 WHERE HSTYEAR = @HSTYEAR_RS AND TRXDATE BETWEEN @TRXDATE_RS AND @TRXDATE_RE AND ACTINDX BETWEEN @ACTINDX_RS AND @ACTINDX_RE AND ( HSTYEAR = @HSTYEAR AND TRXDATE = @TRXDATE AND ACTINDX = @ACTINDX AND DEX_ROW_ID > @DEX_ROW_ID OR HSTYEAR = @HSTYEAR AND TRXDATE = @TRXDATE AND ACTINDX > @ACTINDX OR HSTYEAR = @HSTYEAR AND TRXDATE > @TRXDATE OR HSTYEAR > @HSTYEAR ) ORDER BY HSTYEAR ASC, TRXDATE ASC, ACTINDX ASC, DEX_ROW_ID ASC

Missing Index. 

CREATE NONCLUSTERED INDEX [ix_SmartList] ON [dbo].[GL30000]
(
[TRXDATE] ASC
)
INCLUDE ( [HSTYEAR],
[JRNENTRY],
[RCTRXSEQ],
[REFRENCE],
[SOURCDOC],
[DSCRIPTN],
[ACTINDX],
[SEQNUMBR],
[PERIODID]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
GO

Has anyone seen this issue? 

Categories:
  • Suggested answer
    PBoor Profile Picture
    PBoor 70 on at
    RE: Smart Lists Running slow after Year End Close

    All, we will have a manual work around for this, a manual query that can be run in Management Studio. Thanks to everyone who responded.

  • Suggested answer
    RE: Smart Lists Running slow after Year End Close

    Hello Patrick,

    I took a second look at the index, and it doesn't look like one of the default indexes.

    By "after year end close" do you mean after the GP year End Update?

    My thoughts would be that this could be SLB functionality, or it could be a custom index added manually.

    For both of these, it would need to be re-added after an upgrade as the upgrade would effectively drop and recreate the table.

    Thanks!

  • Suggested answer
    RE: Smart Lists Running slow after Year End Close

    Haven't seen this type of issue yet, as far as any cases we've seen or at least that has come to us, nor have I seen this mentioned in Forums yet.

    Maybe others in the Community have?

    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans