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

Notifications

Announcements

No record found.

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,397 on at

    hello

    try filtering them instead of selecting them

    DAniele

  • Verified answer
    YUN ZHU Profile Picture
    95,748 Super User 2025 Season 2 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,066

#2
YUN ZHU Profile Picture

YUN ZHU 658 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 595

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans