{
  "ObjectFields": [
    {
      "Name": "PackSetId",
      "Type": "number",
      "Required": true,
      "ValidRegEx": "",
      "DefaultValue": 0
    },
    {
      "Name": "PackSetStatus",
      "Type": "string",
      "Required": true,
      "ValidRegEx": "",
      "DefaultValue": 1
    },
    {
      "Name": "PackSetVersion",
      "Type": "string",
      "Required": true,
      "ValidRegEx": "",
      "DefaultValue": 1
    },
    {
      "Name": "PackSetCode",
      "Type": "string",
      "Tooltip": "",
      "Required": true,
      "ValidRegEx": "",
      "DefaultValue": "",
      "PicklistJSON":"PackSet",
      "LinkId": "PackSetId",
      "Multiple": false,
      "PicklistTitle": "Code",
      "Label": "Common.code",
      "PlaceHolder":"Enter Pack Code",
      "Width": 250,
      "AddNew": true,
      "MaxLength": 10,
      "IsFirstField": true,
      "isKeyField": true
    },
    {
      "Name": "PackSetName",
      "Type": "string",
      "Tooltip": "",
      "Required": true,
      "DefaultValue": "",
      "PicklistJSON":"PackSet",
      "LinkId":"PackSetId",
      "Multiple": false,
      "PicklistTitle": "Name",
      "Label": "Common.name",
      "PlaceHolder":"Enter Pack Name",
      "Width": 250,
      "AddNew": true,
      "MaxLength": 30
    },
    {
      "Name": "PackSetDetailConversionType",
      "Type": "string",
      "Label": "Instrument.Type",
      "Tooltip": "",
      "Required": false,
      "DefaultValue": 0,
      "ValidRegEx": "",
      "width": 100,
      "PickLists": [
        {
          "key": 0,
          "value": "NoConversion"
        },
        {
          "key": 1,
          "value": "Fixed"
        },
        {
          "key": 2,
          "value": "varying"
        }
      ]
    },
    {
      "Name": "PackSetDetailConversionFactor",
      "Type": "number",
      "Label": "Category.factor",
      "Tooltip": "",
      "Placeholder": "ConFactor",
      "Required": false
    },
    {
      "Name": "PackSetDetailArray",
      "Type": "string",
      "Label": "PackSet.PackSetDetailArray",
      "SLNOField": "PackSetDetailSlNo",
      "DefaultValue":[],
      "Required":true,
      "Grid": [
        {
          "Label": "PackSet.Id",
          "value": "PackId",
          "width": 0,
          "Type": "ReadOnly",
          "Required":false,
          "IsVisible": false,
          "DefaultValue":-1,
          "SNo": 9
        },
        {
          "Label": "#",
          "value": "PackSetDetailSlNo",
          "width": 50,
          "Type": "SNo",
          "IsVisible": true,
          "SNo": 1,
          "sticky": true,
          "left": 0
        },
        {
          "Label": "Pack.title",
          "value": "PackName",
          "width": 270,
          "Type": "Picklist",
          "sticky": false,
          "left": 50,
          "PicklistDetail": {
            "Label":"",
            "Width":240,
            "PicklistUrl": "Pack",
            "PicklistDisplayText": "Code,Name",
            "PicklistSearchFields": "Code,Name",
            "Multiple": false,
            "LinkId": "PackId,PackName",
            "PicklistSelection": "Id",
            "PicklistTitle": "Name",
            "AddNew": false,
            "PlaceHolder":"Select Pack Name",
            "MaxLength": 25,
            "ColumnWidth": "250,380",
            "ColumnType": "string,string"
          },
          "IsVisible": true,
          "Required":true,
          "DefaultValue":"",
          "SNo": 2
        },
        {
          "Label": "PackSet.ConversionType",
          "value": "PackSetDetailConversionType",
          "width": 240,
          "Type": "ComboBox",
          "IsVisible": true,
          "SNo": 3,
          "sticky": false,
          "DefaultValue":0,
          "left": 250,
          "PickLists": [
            {
              "key": 0,
              "value": "No Conversion"
            },
            {
              "key": 1,
              "value": "Fixed"
            },
            {
              "key": 2,
              "value": "Varying"
            }
          ]
        },
        {
          "Label": "PackSet.factor",
          "value": "PackSetDetailConversionFactor",
          "width": 190,
          "Type": "number",
          "Placeholder":"Factor Value",
          "DefaultValue":0,
          "IsVisible": true,
          "SNo": 4,
          "sticky": false,
          "Required":true,
          "MaxLength":14,
          "Mask":"0000000000000.",
          "left": 0
        }
      ]
    }
  ]
}