Quantcast
Channel: Dynamics 365 Business Central/NAV User Group
Viewing all articles
Browse latest Browse all 11285

Forum Post: RE: Totals on RTC Pages

$
0
0
IF your page Source table is Item ledger entry then there you might see a lot of lines (if its an list page i assumed). So you may have made 2 groups 1st group contains filters and 2nd contains list(repeater group) .So if you got only one filter you can Make like Create a Global variable for filtering 1. "ItemNo" Of Code Datatype and make a table relation to Item Table As per your Example. 2. Onvalidate of this ItemNo Write Code likeBelow Rec.setrange("Item No", ItemNO); If Rec.FINDSET Then Sum := CALCSUMS(Rec.Quantity); Currpage.update; Soo All this should would be placed in Group 1 .i.e 1st Fast tab as filters .. NOTE: Initially all Entries/Records in Item Ledger Entries Will appear For That you have to calculate their Qty in OnOpenPage Trigger. Usually What every body will ask is Make present Month (use filter Posting Date) Filter and Item No. So make Sure Onfirst time How Many Records Should Display.

Viewing all articles
Browse latest Browse all 11285

Trending Articles