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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

RunPageView Syntax for either of 2 string options AL BC NAV

(0) ShareShare
ReportReport
Posted on by

Hello,

I am translating my company's database from CAL code to AL code and trying to filter to either for these 2 strings, however I am getting an error on the OR in ('897 SHIPPI'|'' section. The error is "Syntax error, ')' expected AL AL0104"

RunPageView = SORTING("Document Type", "Type", "No.", "Variant Code", "Drop Shipment", "Location Code", "Shipment Date")
                              WHERE("Customer Blocked" = CONST(false),
                                    "Work Center" = CONST('897 SHIPPI'|''));
Thanks for your help!
I have the same question (0)
  • Verified answer
    Alok.kulshreshtha Profile Picture
    934 on at

    hi,

    Change CONST to FILTER than it should work.

    Regards,

    Alok

    Please Verify my answer if you find my post helpful.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,238

#2
YUN ZHU Profile Picture

YUN ZHU 773 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 630

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans