Variable Nonexistent errors in X3 Builder Mutation

Summary

I am adding a custom field to Purchase Receipts and testing the creation/update Mutation in X3 Builder and getting "Variable Nonexistent" errors.

Description

I have added a custom field to PORECEIPTD table and created a custom version of Import Template YIMPORTPTH to override standard  JSOPTHPTH Import Template - this new Template includes a reference to the custom field.

When I try to run a Mutation to create a new Purchase Receipt in the X3 Builder Sandbox, it fails and displays errors starting with

{
  "errors": [
    {
      "message": "The purchase receipt was not created.",
      "locations": [
        {
          "line": 39,
          "column": 13
        }
      ],
      "path": [
        "x3Purchasing",
        "purchaseReceipt",
        "create"
      ],
      "extensions": {
        "code": "operation-error",
        "diagnoses": [
          {
            "severity": 3,
            "path": [],
            "message": "LBOI : Variable nonexistent"

          },
          {
            "severity": 3,
            "path": [],
            "message": "GSTK_BASTAB : Variable nonexistent"
          },
          {
            "severity": 3,
            "path": [],
            "message": "GSTK_TRSTYP : Variable nonexistent"
          },

What's causing these errors?

Cause

This could be due to the custom Import Template not having the "Special template" field "ticked".

Resolution

Please "tick" the "Special template" field, and re-validate the Template and run the Mutation test again.

If the issue is not resolved, please report this to the relevant Support Team for further investigations.

Solution Properties

Solution ID
260106162949830
Last Modified Date
Tue Jan 06 16:51:37 UTC 2026
Views
0