{
  "ObjectFields": [
    {
      "Name": "TDSCategoryName",
      "Type": "string",
      "DefaultValue": "",
      "PicklistJSON": "TDSCategoryVoucher",
      "LinkId": "TDSCategoryId",
      "Multiple": false,
      "PicklistTitle": "Name",
      "PlaceHolder": "Select Category",
      "Label": "PartyWithBranch.TDSCategory",
      "Width": 175,
      "AddNew": false,
      "MaxLength": 20,
      "LabelWidth": 132
    },
    {
      "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": "HeaderTDSFromDate",
      "Type": "Date",
      "Required": false,
      "ValidRegEx": "",
      "DefaultValue": "today",
      "PostData": true,
      "LabelWidth": 94,
      "Width": 160,
      "Label": "AccountVoucher.FromDate"
    },
    {
      "Name": "HeaderTDSToDate",
      "Type": "Date",
      "Required": false,
      "ValidRegEx": "",
      "DefaultValue": "today",
      "PostData": true,
      "LabelWidth": 94,
      "Width": 160,
      "Label": "AccountVoucher.ToDate"
    },
    {
      "Name": "VoucherTDSPaymentArray",
      "Type": "Grid",
      "Width": 2000,
      "Height": 190,
      "Grid": [
        {
          "Label": "#",
          "value": "SNo",
          "Type": "DefaultSNo",
          "Required": false,
          "PostData": true,
          "width": 50,
          "IsVisible": true,
          "SNo": 1,
          "DefaultValue": 1
        },
         {
            "Label": "",
            "value": "TDSPaymentCheckbox",
            "Type": "CheckBox",
            "Required": false,
            "ValidRegEx": "",
            "IsVisible": true,
            "DefaultValue": 1,
            "SNo": 1,
            "PostData": true
        },
                  
        {
          "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": ""
        }
      ]
    }
  ]
}
