Skip to main content

Notifications

Community site session details

Community site session details

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

AL Code - Clear values previously stored in repeater

(0) ShareShare
ReportReport
Posted on by 5

Hi,

I have recently added a repeater in my sales order in business central instance. However, when a value is being inserted in a specific cell for a specific sales order.

The same values are being populated again in the repeater and is not getting cleared by any means. Any assistance would be appreciated.

This is done using AL. 

  • Suggested answer
    AdminArtworks Profile Picture
    5 on at
    RE: AL Code - Clear values previously stored in repeater

    Thanks Bilal, this worked for me. Have been using the wrong trigger to clear the values.

  • Suggested answer
    Bilal Haider Profile Picture
    248 on at
    RE: AL Code - Clear values previously stored in repeater

    Hi,

    Clear that variable in trigger OnAfterGetRecord of page.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 953

#2
YUN ZHU Profile Picture

YUN ZHU 921 Super User 2025 Season 1

#3
Mansi Soni Profile Picture

Mansi Soni 602

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans