Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

SQLJoinType Not Working as expected

(1) ShareShare
ReportReport
Posted on by 26
Why in below code SQL Join now working when I add DataItemTableFilter Property.
 
Please some one explain. and what is the workaround for same.
 
dataitem(CGST_LE; "Detailed GST Ledger Entry")
                {
                    DataItemLink = "Document Line No." = Purch__Inv__Line."Line No.",
                                   "Document No." = Purch__Inv__Line."Document No.",
                                   "GST Group Code" = Purch__Inv__Line."GST Group Code";
                    SqlJoinType = LeftOuterJoin;
                    // DataItemTableFilter = "GST Component Code" = Const('CGST');
                    column(GST_Amount; "GST Amount") { Method = Sum; }
 
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    Khushbu Rajvi. 5,954 Moderator on at
  • Alexander Drogin Profile Picture
    Alexander Drogin 123 on at
    SQLJoinType Not Working as expected
    You need to give more information for anyone to be able to help. What is the expected result and what happens when you add the filter?

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! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,414 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans