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...
Suggested Answer

fetching job id in sales invoice list

(0) ShareShare
ReportReport
Posted on by 980

I want a new field job Id which would populate the job id associated with the sales invoice .

How could this be achieved.

Appreciate the help

Indira

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    I believe you can just create that field and add it to the list. Check this post that describes how you can do it - www.inogic.com/.../

  • Indira88 Profile Picture
    980 on at

    I added the field but the job number associated with the sales order is not populating.I want the job no. to show

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    How this field has to be populated and after which event?

  • Indira88 Profile Picture
    980 on at

    the job id has to be populated once the job is associated with the sales invoice or at the sales invoice creation

  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    What do you mean by "job is associated with the sales invoice or at the sales invoice creation" - I'm sorry, I still don't understand your scenario. Can you please describe your scenario step by step like:

    1. User (or integration or whatever) creates Invoice.

    2. User (or integration or whatever) populates the "Job" lookup field in the form of an Invoice.

    3. Automatic process triggers on that event and updates an Invoice's "Job Id" field with "Job Id" field from the "Job".

  • Indira88 Profile Picture
    980 on at

    I create an invoice from sales invoice page.

    go to jobs then jobs planning lines

    select the jobs planning lines and try t associate the job line with the sales invoice

    Now in my sales invoice page there is a new field job Id that has to be populated with the job id of the job table

  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    I'm sorry. It's not clear. Can you make a few screenshots that describe your process?

  • Indira88 Profile Picture
    980 on at

    The below page is where I want to add the Job id field.Which would populate the Job id from the job table.JobId of the corresponding job line

    0602.pastedimage1607637211354v2.png

    How could this be achieved.

    [quote user="Indira88"]

    I want a new field job Id which would populate the job id associated with the sales invoice .

    How could this be achieved.

    Appreciate the help

    Indira

    [/quote]
  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Can you please provide screenshots or a detailed description of what you mean with "associate the job line with the sales invoice?

  • Indira88 Profile Picture
    980 on at

    The screenshot above is a new field Jobid that I need to add in the Sales invoice page.

    This jobId should automatically populate the job Id that is there in the Job planning Lines.

    7167.pastedimage1607978663340v1.png

    This value from the job planning Lines I need to pass into each record of the newly created jobid field.

    i.e. I have to fetch the corresponding job Id of each row and set in the job Id field

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,577

#2
YUN ZHU Profile Picture

YUN ZHU 888 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 778 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans