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

Calculate only selected lines

(0) ShareShare
ReportReport
Posted on by 50

Hi everyone,
I have a problem when I calculate payroll. The Action "Calculate Payroll" calculate the payroll for all the lines although I have selected only one line for calculate. Can anyone help me how to calculate or post payroll only for the lines that I select? 

pastedimage1670403835027v1.png

I have the same question (0)
  • Suggested answer
    DAnny3211 Profile Picture
    11,421 Super User 2026 Season 1 on at

    hello

    try filtering them instead of selecting them

    DAniele

  • Verified answer
    YUN ZHU Profile Picture
    100,392 Super User 2026 Season 1 on at

    Hi, This appears to be a custom function. It looks like the developer didn't use the method below, but instead looped through the entire table.
    I suggest you contact your partner.

    Page.SetSelectionFilter(var Record) Method

    https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/page/page-setselectionfilter-method

    Thanks.

    ZHU

  • Reni Profile Picture
    50 on at

    Thanks a lot

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,947 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 995 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 596 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans