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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Model driven app calculation

(0) ShareShare
ReportReport
Posted on by 142

I want to add accural qty month vise  per employee . Suppose i have accural qty for emp 1 is 5 and emp 2 is -7 and -15 so accural will be calculate based on employee.

For 1 employee accural will be 5 and for 2 employee acurral will be -22 .

var accural = 0;

accural = accural+am_accural;

First i fetch employee master table -- all employee fetch

Second fetch employee accural table -- filter - emp and  period from and  period to 

but it calculate all accural qty employee filter is not working

I have the same question (0)
  • Suggested answer
    Abdul Wahab Profile Picture
    12,119 Moderator on at

    Hi Sumedha,

    Can you please share the approach you are using to retrieve the employee accrual table where the employee filter is not working?

    If I answer your question then please mark it as verified.

    Let me know if I can provide you with more details.

    Thanks
    Regards,

    Abdul Wahab
    Power Platform & Customer Engagement Developer/Lead/Solution Architecture/Project Manager
    Direct/WhatsApp:+923323281237
    E-mail: abdulwahabubit@outlook.com
    Skype: abdul.wahabubit
    Linkedin: www.linkedin.com/.../

  • Sumedha Profile Picture
    142 on at

    On button click on Period Line Firstly I fetch all employee in employee master table and then fetch(retrieve multiple) employee accural table -- filter use in employee accural table is employee id, period from , period to .

    On Unpaid button click i have to calculate accural qty based on employee

    for ex. accural qty is EMP1 = 3 , 7

    EMP 2 = 5

    so calculation for emp 1 is 10 and emp2 is 5

  • Suggested answer
    Bipin D365 Profile Picture
    28,985 Moderator on at

    Hi,

    If possible please share the source code to help you better.

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 > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 128 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 97

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans