{
  "formId": "qualifiermethod",
  "entity": "QualifierMethod",
  "title": "Qualifier Method",

  "pages": [
    {
      "pageId": "Identity",
      "pageName": "Identity",
      "sections": [
        {
          "sectionId": "identityInfo",
          "sectionName": "Method",
          "layout": { "columns": 12 },
          "fields": [
            { "Name": "QualifierMethodId", "Type": "number", "PostData": true, "DefaultValue": 0, "IsVisible": false },
            { "Name": "QualifierId", "Type": "number", "PostData": true, "DefaultValue": 0, "IsVisible": false },
            {
              "Name": "ExecutionMode", "Type": "combobox",
              "Label": "Execution Mode", "Required": false,
              "PickLists": [
                { "key": 1, "value": "NCalc expression" },
                { "key": 2, "value": "DataSource query" },
                { "key": 3, "value": "Service dispatch" }
              ],
              "DefaultValue": 2, "Width": 240,
              "layout": { "colSpan": 4 }
            },
            {
              "Name": "Expression", "Type": "string",
              "Label": "NCalc Expression*", "Placeholder": "Enter NCalc Expression", "Required": true, "MaxLength": 2000, "Width": 240,
              "RequireBasedOnFieldName": "ExecutionMode", "RequireBasedOnFieldValue": [1],
              "DependendFieldName": "ExecutionMode", "DependendFieldValue": "1",
              "layout": { "colSpan": 8 }
            },
            {
              "Name": "QueryCode", "Type": "picklist",
              "Label": "Query Code*", "Placeholder": "Select DataSource Query", "Required": true, "MaxLength": 100, "Width": 240,
              "PicklistJSON": "configuredquerycode", "PicklistTitle": "QueryCode",
              "Multiple": false, "AddNew": false,
              "RequireBasedOnFieldName": "ExecutionMode", "RequireBasedOnFieldValue": [2],
              "DependendFieldName": "ExecutionMode", "DependendFieldValue": "2",
              "layout": { "colSpan": 8 }
            },
            {
              "Name": "ServiceCode", "Type": "string",
              "Label": "Service Code*", "Placeholder": "Enter Service Code", "DefaultValue": "", "Required": true, "MaxLength": 100, "Width": 240,
              "PostData": true,
              "RequireBasedOnFieldName": "ExecutionMode", "RequireBasedOnFieldValue": [3],
              "DependendFieldName": "ExecutionMode", "DependendFieldValue": "3",
              "layout": { "colSpan": 8 }
            },
            {
              "Name": "ReturnType", "Type": "string",
              "Label": "Return Type", "Placeholder": "Enter Return Type", "DefaultValue": "Object", "MaxLength": 50, "Width": 240,
              "layout": { "colSpan": 4 }
            },
            {
              "Name": "BatchSize", "Type": "number",
              "Label": "Batch Size", "Placeholder": "Enter Batch Size", "DefaultValue": 100, "PostData": true, "Width": 240,
              "layout": { "colSpan": 4 }
            },
            {
              "Name": "CanRunParallel", "Type": "number",
              "Label": "Can Run Parallel", "Placeholder": "Enter 0 or 1", "DefaultValue": 0, "PostData": true, "Width": 240,
              "layout": { "colSpan": 4 }
            },
            {
              "Name": "BulkFetchMode", "Type": "number",
              "Label": "Bulk Fetch Mode", "Placeholder": "Enter Bulk Fetch Mode", "DefaultValue": 0, "PostData": true, "Width": 240,
              "layout": { "colSpan": 4 }
            },
            {
              "Name": "CacheTier", "Type": "number",
              "Label": "Cache Tier", "Placeholder": "Enter Cache Tier", "DefaultValue": 0, "PostData": true, "Width": 240,
              "layout": { "colSpan": 4 }
            },
            {
              "Name": "InvalidationGroup", "Type": "string",
              "Label": "Invalidation Group", "Placeholder": "Enter Invalidation Group", "DefaultValue": "", "PostData": true, "MaxLength": 100, "Width": 240,
              "layout": { "colSpan": 4 }
            },
            {
              "Name": "SortOrder", "Type": "number",
              "Label": "Sort Order", "Placeholder": "Enter Sort Order", "DefaultValue": 0, "Width": 240,
              "layout": { "colSpan": 4 }
            }
          ]
        }
      ]
    }
  ],

  "quickActions": [],
  "rules": [],
  "serverValidations": [],

  "api": {
    "save":   "FrameWork.GOP.Qualifier.SaveMethod",
    "update": "FrameWork.GOP.Qualifier.SaveMethod",
    "delete": "FrameWork.GOP.Qualifier.DeleteMethod"
  }
}
