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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

AL: Clearing Document Amount on Purchase Journal

(0) ShareShare
ReportReport
Posted on by

Hi All,

I need to clear Document Amount on Purchase Journal Page. Despite the fact that I have cleared Amount, Credit Amount and Debit amount, i.e. Rec.clear(Amount) the document amount ain't clearing. There is no Field named Document Amount in General Journal line table.

Am clearing the fields based on OnAfterValidateEvent  on the Purchase Journal page

How can I clear it?.

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    152 on at

    I believe you have a validation relationship between the fields. If you validate it to zero rather than clearing it do you get an improved result?

  • Verified answer
    Suresh Kulla Profile Picture
    50,269 Super User 2026 Season 1 on at

    There is not Document Amount field, it is just a caption for the Amount field if you want to clear the value use Rec.Validate(Amount, 0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,926 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,158 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 533 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans