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

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Unanswered

cannot be found in the related table

(1) ShareShare
ReportReport
Posted on by 5

From POSTMAN POST OPERATION:
 

<Soap:Envelope xmlns:Soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns="urn:microsoft-dynamics-schemas/page/serviceorder">
    <Soap:Body>
        <Create xmlns="urn:microsoft-dynamics-schemas/page/serviceorder">
            <serviceOrder>
                <Hour_Reading>0</Hour_Reading>
                <Work_Status_Code>IN PROCESS</Work_Status_Code>
                <Service_Person>EMP000176</Service_Person>
                <Status>Open</Status>
                <Mobile_No_for_SMS>980000000</Mobile_No_for_SMS>
                <Mobile_No_GSC_Recharge>980000000</Mobile_No_GSC_Recharge>
                <Select_Jobs>
                    <Select_Job_Types>
                        <General_Job_Category>REPAIRS JOB</General_Job_Category>
                        <Job_Type>ACCIDENTAL REPAIR</Job_Type>
                    </Select_Job_Types>
                </Select_Jobs>
            </serviceOrder>
        </Create>
    </Soap:Body>
</Soap:Envelope>


Error:


<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">

    <s:Body>

        <s:Fault>

            <faultcode xmlns:a="urn:microsoft-dynamics-schemas/error">a:Microsoft.Dynamics.Nav.Types.Exceptions.NavCSideValidateTableRelationException</faultcode>

            <faultstring xml:lang="en-US">The field Job Type of table Multiple Job Selections contains a value (ACCIDENTAL REPAIR) that cannot be found in the related table (Job Type Master).</faultstring>

            <detail>

                <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">The field Job Type of table Multiple Job Selections contains a value (ACCIDENTAL REPAIR) that cannot be found in the related table (Job Type Master).</string>

            </detail>

        </s:Fault>

    </s:Body>

</s:Envelope>





Note:
 This is in Microsoft Nav 2013 r2 and I do have ACCIDENTAL REPAIR in the Job Type Master. However, I’m still getting the above error when trying to post through the POSTMAN API. Also, multiple job selections will get assigned ACCIDENTAL REPAIR only after posting.

I have the same question (1)
  • Daniyal Khaleel Profile Picture
    721 Most Valuable Professional on at
    cannot be found in the related table
    The error message tells you exactly what’s wrong ,it’s a data validation issue in Microsoft Dynamics NAV (or Business Central) during your SOAP request,

    When you send the SOAP request:

    <Job_Type>ACCIDENTAL REPAIR</Job_Type>
    
    NAV tries to validate this value against the Job Type Master table (a lookup or related table).
    Since “ACCIDENTAL REPAIR” doesn’t exist there, NAV rejects the record creation and throws a NavCSideValidateTableRelationException
     
     
     
     

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 > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 60 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 52 Super User 2025 Season 2

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 36 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans