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

For a given Job Number ,how can i extract all its Job Planning Lines?

(0) ShareShare
ReportReport
Posted on by 625

Hi All,

For a given Job Number from Job table ,how can i extract all its related records Job Planning Lines table?

My code is : 

jobNum := 'J00008';
jobPlanningLine.SetRange("Job No.", jobNum);
But its not filtering : 
pastedimage1583153721973v2.png
Please Help!
  • Verified answer
    Saurav.Dhyani Profile Picture
    14,481 User Group Leader on at

    After Setrange do

    IF JobPlanning.FindSET THEN

  • Suggested answer
    keoma Profile Picture
    32,729 on at

    did you add findfirst or findset after setrange?

    if no, then add it, if yes, then there seems no job planning line for the given job no., check the job no.

  • AXBOY Profile Picture
    625 on at

    Double checked.. planning lines exist.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 631 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 409 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 222 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans