{
  "name": "Origen de Datos del Motor",
  "body": [
    {
      "url": "quo/Engine?paquete=std&clase=Std&metodo=$(metodo)&data=&parametros=$(parametros)",
      "formData": {
        "metodo": "$(metodoUrl)",
        "parametros": {
          "tabla": "tdat",
          "tablaHijo": "",
          "campoId": "TDatId",
          "cabe": "[$(resultData)]"
        }
      },
      "cantColumnasAncho": 3,
      "componente": "GenericForm",
      "cerrarAlConfirmarOK": true,
      "mensajeExitoso": "El Origen de datos fue $(accion) exitosamente",
      "mensajeError": "El Origen de datos no pude ser $(accion)",
      "fields": [
        {
          "visible": true,
          "esId": true,
          "name": "TDatId",
          "disabled": false,
          "label": "Identificador",
          "validations": {
            "minLength": {
              "message": "La cantidad de digitos debe ser mayor a 0",
              "value": 0
            },
            "required": "El campo Identificador es requerido",
            "maxLength": {
              "message": "La cantidad de digitos debe ser menor a 10",
              "value": 10
            }
          },
          "type": "number"
        },
        {
          "multiselect": false,
          "visible": true,
          "name": "TPrcId",
          "tabla": "tprc",
          "disabled": false,
          "label": "Proceso",
          "validations": { "required": "" },
          "text": "TPrcNom",
          "id": "TPrcId",
          "type": "supercombobox"
        },
        {
          "visible": true,
          "name": "TDatNom",
          "disabled": false,
          "label": "Nombre",
          "validations": {
            "minLength": {
              "message": "El largo del valor ingresado debe ser mayor a 0",
              "value": 0
            },
            "required": "",
            "maxLength": {
              "message": "El largo del valor ingresado debe ser menor a 40",
              "value": 40
            }
          },
          "type": "text"
        },
        {
          "multiselect": false,
          "visible": true,
          "dominio": "TIPTDA",
          "name": "TDatTip",
          "tabla": "dmn",
          "disabled": false,
          "label": "Tipo",
          "validations": { "required": "" },
          "text": "DmnDet",
          "id": "DmnAbr",
          "type": "supercombobox"
        },
        {
          "name": "TDatPaq",
          "disabled": false,
          "label": "Paquete",
          "type": "text",
          "visible": "'$(TDatTip)' === 'CLA'"
        },
        {
          "name": "TDatClase",
          "disabled": false,
          "label": "Clase",
          "type": "text",
          "visible": "'$(TDatTip)' === 'CLA'"
        },
        {
          "name": "TDatMet",
          "disabled": false,
          "label": "Método",
          "type": "text",
          "visible": "'$(TDatTip)' === 'CLA'"
        },
        {
          "multiselect": false,
          "visible": "'$(TDatTip)' === 'QUE'",
          "name": "QueId",
          "tabla": "que",
          "disabled": false,
          "label": "Query",
          "text": "QueNom",
          "id": "QueId",
          "type": "supercombobox"
        }]
    }],
  "columnas": [
    {
      "visible": true,
      "esId": true,
      "name": "TDatId",
      "disabled": false,
      "label": "Identificador",
      "validations": {
        "minLength": {
          "message": "La cantidad de digitos debe ser mayor a 0",
          "value": 0
        },
        "required": "El campo Identificador es requerido",
        "maxLength": {
          "message": "La cantidad de digitos debe ser menor a 10",
          "value": 10
        }
      },
      "type": "number"
    },
    {
      "multiselect": false,
      "visible": true,
      "name": "TPrcId",
      "tabla": "tprc",
      "disabled": false,
      "label": "Proceso",
      "validations": { "required": "" },
      "text": "TPrcNom",
      "id": "TPrcId",
      "type": "supercombobox"
    },
    {
      "visible": true,
      "name": "TDatNom",
      "disabled": false,
      "label": "Nombre",
      "validations": {
        "minLength": {
          "message": "El largo del valor ingresado debe ser mayor a 0",
          "value": 0
        },
        "required": "",
        "maxLength": {
          "message": "El largo del valor ingresado debe ser menor a 40",
          "value": 40
        }
      },
      "type": "text"
    },
    {
      "multiselect": false,
      "visible": true,
      "dominio": "TIPTDA",
      "name": "TDatTip",
      "tabla": "dmn",
      "disabled": false,
      "label": "Tipo",
      "validations": { "required": "" },
      "text": "DmnDet",
      "id": "DmnAbr",
      "type": "supercombobox"
    },
    {
      "visible": true,
      "name": "TDatPaq",
      "disabled": false,
      "label": "Paquete",
      "validations": {
        "minLength": {
          "message": "El largo del valor ingresado debe ser mayor a 0",
          "value": 0
        },
        "required": "El campo Paquete es requerido",
        "maxLength": {
          "message": "El largo del valor ingresado debe ser menor a 30",
          "value": 30
        }
      },
      "type": "text"
    },
    {
      "visible": true,
      "name": "TDatClase",
      "disabled": false,
      "label": "Clase",
      "validations": {
        "minLength": {
          "message": "El largo del valor ingresado debe ser mayor a 0",
          "value": 0
        },
        "required": "El campo Clase es requerido",
        "maxLength": {
          "message": "El largo del valor ingresado debe ser menor a 30",
          "value": 30
        }
      },
      "type": "text"
    },
    {
      "visible": true,
      "name": "TDatMet",
      "disabled": false,
      "label": "Método",
      "validations": {
        "minLength": {
          "message": "El largo del valor ingresado debe ser mayor a 0",
          "value": 0
        },
        "required": "El campo Método es requerido",
        "maxLength": {
          "message": "El largo del valor ingresado debe ser menor a 30",
          "value": 30
        }
      },
      "type": "text"
    },
    {
      "multiselect": false,
      "visible": true,
      "name": "QueId",
      "tabla": "que",
      "disabled": false,
      "label": "Query",
      "validations": { "required": "El campo Query es requerido" },
      "text": "QueNom",
      "id": "QueId",
      "type": "supercombobox"
    }
  ]
}
