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 :
Business Central forum

The field Job Task No. of table Job Planning Line contains a value (x) that cannot be found in the related table (Job Task)

(0) ShareShare
ReportReport
Posted on by

Hi,

I have managed to use Scribe online to create Jobs and Job tasks in Dynamics Financials using Web Services.

Now I am trying to create planning lines for each of the Job Task. 

On the new Planning line, I map the Job Task number and the Job number of the associated planning task but keep getting the following error:

Operation failed. Label: Create Job_Planning_Lines, Name: Job_Planning_LinesCreate, Message: Error Code: Description: The field Job Task No. of table Job Planning Line contains a value (1) that cannot be found in the related table (Job Task).

I have check the Job No is correct and the Job Task No is also correct. I using the web services Page Object 1007 Job Planning Lines.

Any ideas?

Categories:
  • AJAnsari Profile Picture
    5,754 on at

    Since you haven't received any responses, this may be one worth suggesting:

    In the record that you are pushing into D365 for Financials, does the Job No. column appear before or after Job Task No. field? It is possible that it is trying to validate/insert the Job Task No. value into the Job Planning Line record before validating/inserting the Job No. value.

    Another possibility is that your Job Task No. has leading zeros in the value "0001", and when Scribe is pushing the value from your file to D365, it is treating the value as a proper number and stripping the leading zeros out (inserting "1" instead of "0001").

    I hope this helps. If my response has answered your question, please verify by clicking Yes next to "Did this answer your question?"

  • Verified answer
    StuartLaw Profile Picture
    on at

    Thanks for the response. MS have now acknowledged this as an issue and I hope to have a fix by end of Dec 17.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans