{
  "ObjectFields": [
    {
      "Name": "OrganizationUnitName",
      "Type": "string",
      "Label": "WareHouse.OU",
      "Required": true,
      "ValidRegEx": "",
      "PostData": false,
      "DefaultValue": "",
      "LinkId": "OrganizationUnitId",
      "PicklistJSON": "OrgUnit",
      "Multiple": false,
      "PicklistTitle": "Name",
      "PlaceHolder": "Select OU",
      "LabelWidth": 132,
      "Width": 360,
      "AddNew": false,
      "IsFirstField": true,
      "MaxLength": 35,
      "isKeyField": false
    },
    {
      "Name": "PriceCategoryName",
      "Type": "string",
      "Label": "DiscountPrice.ProductPriceCategory",
      "Required": false,
      "ValidRegEx": "",
      "PostData": false,
      "DefaultValue": "",
      "LinkId": "PriceCategoryId",
      "PicklistJSON": "PartyPriceCategory",
      "Multiple": false,
      "PicklistTitle": "Name",
      "PlaceHolder": "Select Product Price Category",
      "LabelWidth": 132,
      "Width": 360,
      "AddNew": false,
      "MaxLength": 35,
      "isKeyField": false
    },
    {
      "Name": "PartyPriceCategoryName",
      "Type": "string",
      "Label": "DiscountPrice.PartyPriceCategory",
      "Required": false,
      "ValidRegEx": "",
      "PostData": false,
      "DefaultValue": "",
      "LinkId": "PartyPriceCategoryId",
      "PicklistJSON": "PartyPriceCategory",
      "Multiple": false,
      "PicklistTitle": "Name",
      "PlaceHolder": "Select Party Price Category",
      "LabelWidth": 132,
      "Width": 360,
      "AddNew": false,
      "MaxLength": 35,
      "isKeyField": false
    },

    {
      "Name": "OrganizationUnitName",
      "Type": "string",
      "Required": true,
      "PostData": false,
      "ValidRegEx": "",
      "DefaultValue": "",
      "Width": 360,
      "Label": "WareHouse.OU"
    },
    {
      "Name": "OrganizationUnitId",
      "Type": "number",
      "Required": false,
      "PostData": true,
      "ValidRegEx": "",
      "DefaultValue": -1,
      "Width": 360,
      "Label": ""
    },
    {
      "Name": "PriceCategoryName",
      "Type": "string",
      "Required": false,
      "postData": false,
      "ValidRegEx": "",
      "DefaultValue": "",
      "Width": 360,
      "Label": "DiscountPrice.ProductPriceCategory"
    },
    {
      "Name": "PriceCategoryId",
      "Type": "number",
      "Required": false,
      "PostData": false,
      "ValidRegEx": "",
      "DefaultValue": -1,
      "Width": 360
    },
    {
      "Name": "PartyPriceCategoryName",
      "Type": "string",
      "Required": false,
      "postData": false,
      "ValidRegEx": "",
      "DefaultValue": "",
      "Width": 360,
      "Label": "DiscountPrice.ProductPriceCategory"
    },
    {
      "Name": "PartyPriceCategoryId",
      "Type": "number",
      "Required": false,
      "PostData": false,
      "ValidRegEx": "",
      "DefaultValue": "-1",
      "Width": 360
    },
    {
      "Name": "LoadGridButton",
      "Type": "string",
      "Required": false,
      "PostData": false,
      "ValidRegEx": "",
      "DefaultValue": "",
      "Width": 360,
      "ReadOnly": true
    },
    {
      "Name": "displayProducttoggle",
      "Type": "number",
      "Required": false,
      "PostData": false,
      "ValidRegEx": "",
      "DefaultValue": 1,
      "Width": 110,
      "Label": "",
      "LabelWidth": 178
    },
    {
      "Name": "displaypartytoggle",
      "Type": "number",
      "Required": false,
      "PostData": false,
      "ValidRegEx": "",
      "DefaultValue": 1,
      "Width": 110,
      "Label": "",
      "LabelWidth": 178
    },
    {
      "Name": "DiscountPriceId",
      "Type": "number",
      "Required": false,
      "PostData": false,
      "ValidRegEx": "",
      "DefaultValue": 0,
      "Width": 100
    },
    {
      "Name": "DiscountPriceLoadArray",
      "Type": "string",
      "IsAddrowRequired": false,
      "IsDeleterowRequired": false,
      "IsFieldRequired": false,
      "Required": true,
      "SLNOField": "DefaultSNo",
      "Grid": [
        {
          "value": "DiscountPriceId",
          "Type": "number",
          "PostData": true,
          "DefaultValue": 0,
          "ValidRegEx": "",
          "Width": 100,
          "IsVisible": false
        },
        {
          "Label": "#",
          "value": "Slno",
          "width": 50,
          "Type": "DefaultSNo",
          "IsVisible": true,
          "SNo": 1,
          "sticky": false,
          "Required": false,
          "PostData": false,
          "left": 0
        },
        {
          "Label": "DiscountPrice.PartyPriceCategory",
          "value": "PartyPriceCategoryName",
          "Type": "string",
          "PostData": true,
          "SNo": 2,
          "sticky": false,
          "width": 390,
          "Required": true,
          "IsVisible": true,
          "DependendFieldName": "displaypartytoggle",
          "DependendFieldValue": 1
        },
        {
          "Label": "DiscountPrice.ProductPriceCategory",
          "value": "PriceCategoryName",
          "Type": "string",
          "PostData": true,
          "sticky": false,
          "SNo": 3,
          "width": 390,
          "Required": true,
          "IsVisible": true,
          "DependendFieldName": "displayProducttoggle",
          "DependendFieldValue": 1
        },
        {
          "Label": "DiscountPrice.Discount",
          "value": "DiscountPriceDiscountPercentage",
          "Type": "number",
          "Required": true,
          "SNo": 4,
          "IsVisible": true,
          "SetDefaultValue": true,
          "DefaultValue": "DiscountPriceDiscountPercentage",
          "width": 200,
          "MaxLength": 8,
          "Mask": "000.00000",
          "PostData": true
        },
        {
          "value": "OrganizationUnitId",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "SetDefaultValue": true,
          "DefaultValue": "OrganizationUnitId",
          "Width": 360,
          "Label": "",
          "IsVisible": false
        },
        {
          "value": "PartyPriceCategoryId",
          "Type": "number",
          "PostData": true,
          "DefaultValue": "PartyPriceCategoryId",
          "DefaultId": true,
          "ValidRegEx": "",
          "Width": 100
        },
        {
          "value": "PriceCategoryId",
          "Type": "number",
          "PostData": true,
          "DefaultValue": "PriceCategoryId",
          "DefaultId": true,
          "SetDefaultValue": true,
          "ValidRegEx": "",
          "Width": 100
        },

        {
          "Label": "",
          "value": "DiscountPriceStatus",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "DefaultValue": 1,
          "width": 100
        },
        {
          "Label": "",
          "value": "DiscountPriceVersion",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "DefaultValue": 1,
          "width": 100
        }
      ]
    }
  ]
}
