Pete Fowler
07/21/2025, 9:06 PMCeligo AI
07/21/2025, 9:06 PMAI generated answer (using internal Slack threads):In order to create a child job with a parent job using the REST API, you need to ensure that the parent job exists in NetSuite and that you have the correct internal ID or external ID of the parent job. The error message you're seeing, "netsuite Invalid Field Value 12345 for the following field: parent", suggests that the value you're providing for the parent field is not recognized by NetSuite. This could be because the parent job with the ID you're providing does not exist, or because you're providing an incorrect ID. Here are the steps you should follow: 1. Ensure that the parent job exists in NetSuite. You can do this by searching for the job in the NetSuite UI or by using the REST API to retrieve the job. 2. Get the correct internal ID or external ID of the parent job. If you're using the internal ID, it should be a number. If you're using the external ID, it could be a string or a number, depending on how you've set up your system. 3. When creating the child job, set the parent field to the internal ID or external ID of the parent job. Make sure to use the correct field name for the parent field. In the REST API, the field names are case-sensitive. Here's an example of how you might create a child job with a parent job using the REST API:
json
{
"recordType": "job",
"fields": {
"title": "Child Job",
"parent": {
"id": "12345"
}
}
}
In this example, replace "12345" with the internal ID or external ID of the parent job.
Remember, the parent job must exist in NetSuite before you can create a child job with it as the parent. If the parent job does not exist, you will need to create it first.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
07/21/2025, 9:06 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.828406513
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.824676931
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.819396436
Celigo AI
07/21/2025, 9:06 PM