Notifications
Announcements
No record found.
pageextension 50122 MyExtension7 extends "Vendor Ledger Entries" { layout { addafter("Posting Date") { field(TotalVAT; TotalVAT) { Caption = 'Total VAT'; ApplicationArea = All; } } } trigger OnAfterGetRecord() var PurchInvHeader: Record "Purch. Inv. Header"; begin TotalVAT := 0; if Rec."Document Type" = Rec."Document Type"::Invoice then if PurchInvHeader.Get(Rec."Document No.") then begin PurchInvHeader.CalcFields(Amount, "Amount Including VAT"); TotalVAT := PurchInvHeader."Amount Including VAT" - PurchInvHeader.Amount; end; end; var TotalVAT: Decimal; }
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 2,577
YUN ZHU 888 Super User 2025 Season 2
Jainam M. Kothari 778 Super User 2025 Season 2