production_updateJob

WRITE

Update an existing job - handles priority recalculation when deadline changes.

Parameters

idstringrequired
quantitynumberoptional
dueDatestringnulloptional
startDatestringnulloptional
statusstringoptional
prioritynumberoptional
deadlineTypestringoptional
locationIdstringoptional
storageUnitIdstringoptional
unitOfMeasureCodestringoptional
customerIdstringnulloptional
salesOrderIdstringnulloptional
salesOrderLineIdstringnulloptional
quoteIdstringnulloptional
quoteLineIdstringnulloptional
parentJobIdstringnulloptional
modelUploadIdstringnulloptional
notesstringnulloptional
customFieldsanyoptional
scrapQuantitynumberoptional
itemIdstringoptional

Call it

Invoke it through the call_tool meta-tool with its arguments:

call_tool
call_tool({
  "name": "production_updateJob",
  "arguments": {
    "id": "string"
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "quantity": {
      "type": "number"
    },
    "dueDate": {
      "type": [
        "string",
        "null"
      ]
    },
    "startDate": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": "string"
    },
    "priority": {
      "type": "number"
    },
    "deadlineType": {
      "type": "string"
    },
    "locationId": {
      "type": "string"
    },
    "storageUnitId": {
      "type": "string"
    },
    "unitOfMeasureCode": {
      "type": "string"
    },
    "customerId": {
      "type": [
        "string",
        "null"
      ]
    },
    "salesOrderId": {
      "type": [
        "string",
        "null"
      ]
    },
    "salesOrderLineId": {
      "type": [
        "string",
        "null"
      ]
    },
    "quoteId": {
      "type": [
        "string",
        "null"
      ]
    },
    "quoteLineId": {
      "type": [
        "string",
        "null"
      ]
    },
    "parentJobId": {
      "type": [
        "string",
        "null"
      ]
    },
    "modelUploadId": {
      "type": [
        "string",
        "null"
      ]
    },
    "notes": {
      "type": [
        "string",
        "null"
      ]
    },
    "customFields": {},
    "scrapQuantity": {
      "type": "number"
    },
    "itemId": {
      "type": "string"
    }
  },
  "required": [
    "id"
  ]
}