{
  "name": "Procesos del Flujo",
  "body": [
    {
      "url": "quo/Engine?paquete=std&clase=Std&metodo=$(metodo)&data=&parametros=$(parametros)",
      "formData": {
        "metodo": "$(metodoUrl)",
        "parametros": {
          "tabla": "wfproc",
          "tablaHijo": "",
          "campoId": "ProcId",
          "cabe": "[$(resultData)]"
        }
      },
      "cantColumnasAncho": 3,
      "componente": "GenericForm",
      "cerrarAlConfirmarOK": true,
      "mensajeExitoso": "El Proceso fue $(accion) exitosamente",
      "mensajeError": "El Proceso no pude ser $(accion)",
      "fields": [
        {
            "visible": true,
            "esId": true,
            "name": "ProcId",
            "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"
          },
          {
            "visible": true,
            "name": "ProcNom",
            "disabled": false,
            "label": "Nombre",
            "validations": {
              "minLength": {
                "message": "El largo del valor ingresado debe ser mayor a 0",
                "value": 0
              },
              "required": "El campo Nombre es requerido",
              "maxLength": {
                "message": "El largo del valor ingresado debe ser menor a 254",
                "value": 254
              }
            },
            "type": "text"
          },
          {
            "visible": true,
            "name": "ProcTip",
            "disabled": false,
            "label": "Tipo",
            "type": "text"
          },
          {
            "visible": true,
            "name": "ProcResEst",
            "disabled": false,
            "label": "Resultado",
            "type": "number"
          },
          {
            "visible": true,
            "name": "ProcApl",
            "disabled": true,
            "label": "Aplicacion",
            "type": "text",
            "value": "CLI"
          },
          {
            "visible": true,
            "name": "ProcRel",
            "disabled": false,
            "label": "Relacion",
            "type": "text"
          },
          {
            "multiselect": false,
            "visible": true,
            "name": "EmpresaId",
            "tabla": "emp",
            "disabled": false,
            "label": "Empresa",
            "validations": { "required": "" },
            "text": "empNombre",
            "id": "empId",
            "type": "supercombobox"
          },
          {
            "visible": true,
            "name": "ProcPermWha",
            "disabled": false,
            "label": "WhatsApp",
            "type": "checkbox"
          },
          {
            "visible": true,
            "name": "ProcPermRea",
            "disabled": false,
            "label": "Reasignacion",
            "type": "checkbox"
          },
          {
            "visible": true,
            "name": "ProcPermSum",
            "disabled": false,
            "label": "Sumario",
            "type": "checkbox"
          },
          {
            "visible": true,
            "name": "ProcPermFir",
            "disabled": false,
            "label": "Firma electronica",
            "type": "checkbox"
          }
        ]
    }],
  "columnas": [
    {
      "visible": true,
      "esId": true,
      "name": "ProcId",
      "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"
    },
    {
      "visible": true,
      "name": "ProcNom",
      "disabled": false,
      "label": "Nombre",
      "validations": {
        "minLength": {
          "message": "El largo del valor ingresado debe ser mayor a 0",
          "value": 0
        },
        "required": "El campo Nombre es requerido",
        "maxLength": {
          "message": "El largo del valor ingresado debe ser menor a 80",
          "value": 80
        }
      },
      "type": "text"
    },
    {
      "visible": true,
      "name": "ProcTip",
      "disabled": false,
      "label": "Numero",
      "validations": {
        "minLength": {
          "message": "La cantidad de digitos debe ser mayor a 0",
          "value": 0
        },
        "required": "El campo Numero es requerido",
        "maxLength": {
          "message": "La cantidad de digitos debe ser menor a 11",
          "value": 11
        }
      },
      "type": "text"
    },
    {
      "visible": true,
      "name": "ProcResEst",
      "disabled": false,
      "label": "Resultado",
      "validations": {
        "minLength": {
          "message": "La cantidad de digitos debe ser mayor a 0",
          "value": 0
        },
        "required": "El campo CUIT es requerido",
        "maxLength": {
          "message": "La cantidad de digitos debe ser menor a 15",
          "value": 15
        }
      },
      "type": "number"
    },
    {
      "visible": true,
      "name": "ProcApl",
      "disabled": false,
      "label": "Aplicacion",
      "type": "text",
      "value": "CLI"
    },
    {
      "visible": true,
      "name": "ProcIco",
      "disabled": false,
      "label": "Icono",
      "type": "text"
    },
    {
      "visible": true,
      "name": "ProcRel",
      "disabled": false,
      "label": "Relacion",
      "type": "text"
    },
    {
      "visible": true,
      "name": "EmpresaId",
      "disabled": false,
      "label": "EmpresaId",
      "type": "text"
    }
  ]
}
