{
  "ObjectFields": [
    {
      "Name": "TDSCategoryName",
      "Type": "string",
      "Label": "PartyWithBranch.TDSCategory",
      "LinkId": "TDSCategoryId",
      "PicklistJSON": "TDSCategoryVoucher",
      "Multiple": false,
      "PicklistTitle": "Name",
      "PlaceHolder": "Select Category",
      "LabelWidth": 140,
      "Width": 360,
      "AddNew": false,
      "IsFirstField": true,
      "MaxLength": 20,
      "isKeyField": false
    },
    {
      "Name": "VoucherDetailId",
      "Type": "number",
      "Required": true,
      "PostData": true,
      "ValidRegEx": "",
      "DefaultValue": 0,
      "width": 100
    },
    {
      "Name": "TDSCategoryId",
      "Type": "number",
      "Required": true,
      "PostData": true,
      "ValidRegEx": "",
      "DefaultValue": -1,
      "width": 100
    },
    {
      "Name": "TDSCategoryName",
      "Type": "string",
      "Required": true,
      "ValidRegEx": "",
      "DefaultValue": "",
      "PostData": true,
      "ReadOnly": true,
      "Width": 120,
      "Label": ""
    },
    {
      "Name": "VoucherAccountId",
      "Type": "number",
      "Required": true,
      "PostData": true,
      "ValidRegEx": "",
      "DefaultValue": -1,
      "width": 100
    },
    {
      "Name": "VoucherAccountCode",
      "Type": "string",
      "Required": true,
      "ValidRegEx": "",
      "DefaultValue": "",
      "PostData": true,
      "ReadOnly": true,
      "Width": 120,
      "Label": ""
    },
    {
      "Name": "VoucherAccountName",
      "Type": "string",
      "Required": true,
      "ValidRegEx": "",
      "DefaultValue": "",
      "PostData": true,
      "ReadOnly": true,
      "Width": 200,
      "LabelWidth": 100,
      "Label": "TDSCategoryLightBox.TDSAccount"
    },
    {
      "Name": "VoucherDetailAmountFC",
      "Type": "string",
      "Required": true,
      "ValidRegEx": "",
      "DefaultValue": "",
      "PostData": true,
      "ReadOnly": true,
      "LabelWidth": 100,
      "Width": 100,
      "Label": "AccountVoucher.Amount"
    },
    {
      "Name": "AllotedAmount",
      "Type": "string",
      "Required": true,
      "ValidRegEx": "",
      "DefaultValue": 0,
      "PostData": true,
      "ReadOnly": true,
      "LabelWidth": 100,
      "Width": 100,
      "Label": "BillAllocationLightBox.AllotAmt"
    },
    {
      "Name": "VoucherBalanceAmount",
      "Type": "string",
      "Required": true,
      "ValidRegEx": "",
      "DefaultValue": 0,
      "PostData": true,
      "ReadOnly": true,
      "LabelWidth": 100,
      "Width": 100,
      "Label": "BillAllocationLightBox.Balance"
    },
    {
      "Name": "VoucherTDSTDSType",
      "Type": "number",
      "Label": "CashDiscount.Type",
      "DefaultValue": 0,
      "Width": 200,
      "Required": true,
      "LabelWidth": 100,
      "PostData": true,
      "ValidRegEx": "",
      "PickLists": [
        {
          "key": 0,
          "value": "Deducted"
        },
        {
          "key": 1,
          "value": "Suffered"
        }
      ]
    },
    {
      "Name": "VoucherTDSTDSNature",
      "Type": "number",
      "Label": "AssetType.Nature",
      "DefaultValue": 0,
      "Required": true,
      "LabelWidth": 100,
      "Width": 200,
      "PostData": true,
      "ValidRegEx": "",
      "PickLists": [
        {
          "key": 0,
          "value": "New"
        },
        {
          "key": 1,
          "value": "Alloted"
        }
      ]
    },
    {
      "Name": "AdvanceDetails",
      "Type": "string",
      "Required": false,
      "ValidRegEx": "",
      "DefaultValue": 1,
      "PostData": false,
      "LabelWidth": 107,
      "Width": 200,
      "Label": "AssetActivity.Advance"
    },
    {
      "Name": "VoucherTDSArray",
      "Type": "Grid",
      "SLNOField": "VoucherTDSTdsSlNo",
      "GridArray": ["VoucherTDSPaymentArray"],
      "Width": 1800,
      "Height": 190,
      "Grid": [
         {
          "Label": "",
          "value": "TDSRowwise",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "DefaultValue": "",
          "SNo": 101
        },
        {
          "Label": "",
          "value": "AllotedVoucherLineId",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "DefaultValue": -1,
          "SNo": 102
        },
        {
          "Label": "",
          "value": "VoucherTDSTdsSlNo",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "DefaultValue": 1,
          "SNo": 103
        },
        {
          "Label": "",
          "value": "AccountId",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "SetDefaultValue": true,
          "DefaultValue": "VoucherAccountId",
          "SNo": 104
        },
        {
          "Label": "Common.code",
          "value": "AccountCode",
          "width": 200,
          "Type": "ReadOnly",
          "IsVisible": true,
          "SNo": 1,
          "Required": false,
          "SetDefaultValue": true,
          "DefaultValue": "VoucherAccountCode"
        },
        {
          "Label": "Common.name",
          "value": "AccountName",
          "width": 200,
          "Type": "ReadOnly",
          "IsVisible": true,
          "SNo": 2,
          "Required": false,
          "SetDefaultValue": true,
          "DefaultValue": "VoucherAccountName"
        },
        {
          "Label": "",
          "value": "NewTDSNature",
          "width": 200,
          "Type": "number",
          "IsVisible": false,
          "SNo": 112,
          "Required": false,
          "SetDefaultValue": true,
          "DefaultValue": 0,
          "PostData": true
        },
        {
          "Label": "",
          "value": "VoucherTDSId",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "SNo": 153,
          "DefaultValue": -1
        },
         {
          "Label": "No",
          "value": [
            "VoucherTDSReferenceNumber",
            "VoucherTDSReferenceNumber"
          ],
          "width": 200,
          "Type": "FieldBasedType",
          "DependendField": "NewTDSNature",
          "Placeholder": "Enter No.",
           "DependendValue": [0],
          "PicklistDetail": {
            "Label": "",
            "Width": 175,
            "PicklistUrl": "tdsreference",
            "PicklistSearchFields": "Number",
            "PicklistDisplayText": "VoucherTDSReferenceNumber",
            "Multiple": false,
            "PicklistSelection": "VoucherTDSId",
            "PicklistTitle": "VoucherTDSReferenceNumber",
            "LinkId": "VoucherTDSId,VoucherTDSReferenceNumber",
            "AddNew": false,
            "MaxLength": 20,
            "PicklistWidth": "1350px",
            "ColumnWidth": "300",
            "ColumnType": "string",
            "PlaceHolder": "Select Document No."
          },
          "IsVisible": true,
          "SNo": 3,
          "Required": false,
          "DefaultValue": ""
        },
       
        {
          "Label": "AccountVoucher.RefDate",
          "value": "VoucherTDSReferenceDate",
          "Type": "Date",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "IsVisible": true,
          "DefaultValue": "today",
          "width": 200,
          "SNo": 5
        },
        {
          "Label": "AccountVoucher.Amount",
          "value": "VoucherTDSAmount",
          "Type": "number",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "IsVisible": true,
          "SetDefaultValue": true,
          "DefaultValue": "VoucherBalanceAmount",
          "width": 100,
          "SNo": 6,
          "MaxLength": 18
        },
        {
          "Label": "",
          "value": "TDSCategoryId",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "DefaultValue": -1,
          "SNo": 105
        },
        {
          "Label": "CostCenterLightBox.Category",
          "value": "TDSCategoryName",
          "width": 380,
          "Type": "PickList",
          "PicklistDetail": {
            "Label": "",
            "Width": 260,
            "PicklistUrl": "TDSCategoryMaster",
            "PicklistDisplayLabel": "Name",
            "PicklistDisplayText": "Name",
            "PicklistSearchFields": "Name",
            "Multiple": false,
            "PicklistSelection": "Id",
            "PicklistTitle": "Name",
            "AddNew": false,
            "MaxLength": 20,
            "Params": "/?FirstNumber=1&MaxResult=50",
            "LinkId": "TDSCategoryId,TDSCategoryCode,VoucherTDSTDSPercent,VoucherTDSScPercent,VoucherTDSCessPercent",
            "LinkValue": "Id,Code,TDSPercent,SCPercent,CessPercent",
            "LinkDefaultValue": "-1,,0,0,0",
            "ColumnWidth": "600",
            "ColumnType": "string",
            "PlaceHolder": "Select Category"
          },
          "IsVisible": true,
          "SNo":7,
          "Required": false,
          "DefaultValue": ""
        },
        {
          "Label": "TDSCategoryLightBox.TDS",
          "value": "VoucherTDSTDSPercent",
          "Type": "ReadOnly",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "Placeholder": "TDS %",
          "IsVisible": true,
          "DefaultValue": 0,
          "width": 100,
          "SNo": 8,
          "MaxLength": 18
        },
        {
          "Label": "TDSCategoryLightBox.SC",
          "value": "VoucherTDSScPercent",
          "Type": "ReadOnly",
          "PostData": true,
          "Required": false,
          "Placeholder": "SC %",
          "ValidRegEx": "",
          "IsVisible": true,
          "DefaultValue": 0,
          "width": 100,
          "SNo": 9,
          "MaxLength": 18
        },
        {
          "Label": "TDSCategoryLightBox.CESS",
          "value": "VoucherTDSCessPercent",
          "Type": "ReadOnly",
          "PostData": true,
          "Required": false,
          "Placeholder": "CESS %",
          "ValidRegEx": "",
          "IsVisible": true,
          "DefaultValue": 0,
          "width": 100,
          "SNo":10,
          "MaxLength": 18
        },
        {
          "Label": "TDSCategoryLightBox.TDSAmt",
          "value": "VoucherTDSTDSAmount",
          "Type": "ReadOnly",
          "PostData": true,
          "Required": false,
          "Placeholder": "TDS Amt",
          "ValidRegEx": "",
          "IsVisible": true,
          "DefaultValue": 0,
          "width": 100,
          "SNo": 11,
          "MaxLength": 18
        },
        {
          "Label": "TDSCategoryLightBox.SCAmt",
          "value": "VoucherTDSScAmount",
          "Type": "ReadOnly",
          "PostData": true,
          "Required": false,
          "Placeholder": "SC Amt",
          "ValidRegEx": "",
          "IsVisible": true,
          "DefaultValue": 0,
          "DependendFieldName": "AdvanceDetails",
          "DependendFieldValue": 0,
          "width": 100,
          "SNo": 12,
          "MaxLength": 18
        },
        {
          "Label": "TDSCategoryLightBox.CESSAmt",
          "value": "VoucherTDSCessAmount",
          "Type": "ReadOnly",
          "PostData": true,
          "Required": false,
          "Placeholder": "CESS Amt",
          "ValidRegEx": "",
          "IsVisible": true,
          "DefaultValue": 0,
          "DependendFieldName": "AdvanceDetails",
          "DependendFieldValue": 0,
          "width": 100,
          "SNo": 13,
          "MaxLength": 18
        },
        {
          "Label": "TDSCategoryLightBox.IntAmt",
          "value": "VoucherTDSInterestAmount",
          "Type": "Number",
          "PostData": true,
          "Required": false,
          "Placeholder": "Enter Int. Amt",
          "ValidRegEx": "",
          "IsVisible": true,
          "DefaultValue": 0,
          "DependendFieldName": "AdvanceDetails",
          "DependendFieldValue": 0,
          "width": 100,
          "SNo": 14,
          "MaxLength": 18
        },
        {
          "Label": "TDSCategoryLightBox.OthAmt",
          "value": "VoucherTDSOtherAmount",
          "Type": "Number",
          "PostData": true,
          "Required": false,
          "Placeholder": "Enter Oth Amt",
          "ValidRegEx": "",
          "IsVisible": true,
          "DefaultValue": 0,
          "DependendFieldName": "AdvanceDetails",
          "DependendFieldValue": 0,
          "width": 100,
          "SNo": 15,
          "MaxLength": 18
        },
        {
          "Label": "TDSCategoryLightBox.PenaltyAmt",
          "value": "VoucherTDSPenaltyAmount",
          "Type": "Number",
          "PostData": true,
          "Required": false,
          "Placeholder": "Enter Penalty",
          "ValidRegEx": "",
          "IsVisible": true,
          "DefaultValue": 0,
          "DependendFieldName": "AdvanceDetails",
          "DependendFieldValue": 0,
          "width": 120,
          "SNo": 16,
          "MaxLength": 18
        },
        {
          "Label": "TDSCategoryLightBox.TotalAmt",
          "value": "VoucherTDSTotalAmount",
          "Type": "ReadOnly",
          "PostData": true,
          "Required": false,
          "Placeholder": "Total Amt",
          "ValidRegEx": "",
          "IsVisible": true,
          "DefaultValue": 0,
          "width": 100,
          "SNo": 17,
          "MaxLength": 18
        },
        {
          "Label": "TDSCategoryLightBox.RoundedAmt",
          "value": "VoucherTDSRoundedAmount",
          "Type": "ReadOnly",
          "PostData": true,
          "Required": false,
          "Placeholder": "Rounded Amt",
          "ValidRegEx": "",
          "IsVisible": true,
          "DefaultValue": 0,
          "width": 130,
          "SNo": 18,
          "MaxLength": 18
        },
        {
          "Label": "",
          "value": "VoucherTDSPaidTDSAmount",
          "Type": "Number",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "IsVisible": false,
          "DefaultValue": 0,
          "DependendFieldName": "AdvanceDetails",
          "DependendFieldValue": 0,
          "width": 100,
          "SNo": 73,
          "MaxLength": 18
        },
        {
          "Label": "",
          "value": "VoucherTDSPaidScAmount",
          "Type": "ReadOnly",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "IsVisible": false,
          "DefaultValue": 0,
          "width": 100,
          "SNo": 74,
          "MaxLength": 18
        },
        {
          "Label": "",
          "value": "VoucherTDSPaidCessAmount",
          "Type": "ReadOnly",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "IsVisible": false,
          "DefaultValue": 0,
          "width": 100,
          "SNo": 75,
          "MaxLength": 18
        },
        {
          "Label": "",
          "value": "VoucherTDSTDSNature",
          "Type": "ReadOnly",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "IsVisible": false,
          "DefaultValue": "0",
          "width": 100,
          "SNo": 71,
          "MaxLength": 18
        },
        {
          "Label": "",
          "value": "VoucherTDSTDSType",
          "Type": "ReadOnly",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "IsVisible": false,
          "SetDefaultValue": true,
          "DefaultValue": "VoucherTDSTDSType",
          "width": 100,
          "SNo": 72,
          "MaxLength": 18
        },
        {
          "Label": "",
          "value": "VoucherTDSPaymentArray",
          "Type": "Array",
          "PostData": true,
          "Required": false,
          "IsVisible": false,
          "DefaultValue": "",
          "width": 100,
          "SNo": 73
        }
      ]
    },
    {
      "Name": "VoucherTDSPaymentArray",
      "Type": "Grid",
      "IsAddrowRequired": false,
      "IsCheckBoxRequired": true,
      "IsDeleterowRequired": false,
      "CheckBoxField": "CheckBox",
      "Width": 88,
      "Height": 190,
      "Grid": [
        {
          "Label": "#",
          "value": "SNo",
          "Type": "DefaultSNo",
          "Required": false,
          "PostData": true,
          "width": 50,
          "IsVisible": true,
          "SNo": 1,
          "DefaultValue": 1
        },
        {
          "Label": "CostCenterLightBox.Category",
          "value": "TDSCategoryName",
          "Type": "ReadOnly",
          "Required": false,
          "PostData": true,
          "width": 160,
          "IsVisible": true,
          "SNo": 2,
          "DefaultValue": ""
        },
        {
          "Label": "MaterialManagement.RefNo",
          "value": "VoucherTDSReferenceNumber",
          "Type": "ReadOnly",
          "Required": false,
          "PostData": true,
          "width": 160,
          "IsVisible": true,
          "SNo": 3,
          "DefaultValue": ""
        },
        {
          "Label": "AccountVoucher.RefDate",
          "value": "VoucherTDSReferenceDate",
          "Type": "Date",
          "Required": false,
          "PostData": true,
          "width": 160,
          "IsVisible": true,
          "SNo": 4,
          "DefaultValue": ""
        },
        {
          "Label": "Party.PartyIsAccount",
          "value": "AccountName",
          "Type": "ReadOnly",
          "Required": false,
          "PostData": true,
          "width": 160,
          "IsVisible": true,
          "SNo": 5,
          "DefaultValue": ""
        },
        {
          "Label": "TDSCategoryLightBox.CreditDate",
          "value": "VoucherTDSCreditDate",
          "Type": "Date",
          "Required": false,
          "PostData": true,
          "width": 160,
          "IsVisible": true,
          "SNo": 6,
          "DefaultValue": ""
        },
        {
          "Label": "AccountVoucher.Amount",
          "value": "VoucherTDSTotalAmount",
          "Type": "ReadOnly",
          "Required": false,
          "PostData": true,
          "width": 160,
          "IsVisible": true,
          "SNo": 7,
          "DefaultValue": ""
        },
        {
          "Label": "TDSCategoryLightBox.RoundedAmount",
          "value": "VoucherTDSRoundedAmount",
          "Type": "ReadOnly",
          "Required": false,
          "PostData": true,
          "width": 160,
          "IsVisible": true,
          "SNo": 8,
          "DefaultValue": ""
        }
      ]
    }
  ]
}
