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!
  • Verified answer
    Alok.kulshreshtha Profile Picture
    934 on at
    RE: RunPageView Syntax for either of 2 string options AL BC NAV

    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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June 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 > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans