{
  "ObjectFields": [
    {
      "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": 170,
      "Label": ""
    },
    {
      "Name": "VoucherAccountName",
      "Type": "string",
      "Required": true,
      "ValidRegEx": "",
      "DefaultValue": "",
      "PostData": true,
      "ReadOnly": true,
      "Width": 250,
      "LabelWidth": 107,
      "Label": "BillAllocationLightBox.BankAccount"
    },
    {
      "Name": "VoucherDetailAmountFC",
      "Type": "string",
      "Required": true,
      "ValidRegEx": "",
      "DefaultValue": "",
      "PostData": true,
      "ReadOnly": true,
      "LabelWidth": 107,
      "Width": 100,
      "Label": "AccountVoucher.Amount"
    },
    {
      "Name": "VoucherDetailCurrencyConversion",
      "Type": "string",
      "Required": true,
      "ValidRegEx": "",
      "DefaultValue": "",
      "PostData": true,
      "LabelWidth": 107,
      "Width": 100,
      "Label": "AccountVoucher.Conversion"
    },
    {
      "Name": "VoucherDetailAmount",
      "Type": "string",
      "Required": true,
      "ValidRegEx": "",
      "DefaultValue": "",
      "PostData": true,
      "LabelWidth": 107,
      "Width": 100,
      "Label": "CostCenterLightBox.Value"
    },
    {
      "Name": "CurrencyId",
      "Type": "number",
      "Required": true,
      "PostData": true,
      "ValidRegEx": "",
      "DefaultValue": -1,
      "width": 100
    },
    {
      "Name": "ShowMoreDetails",
      "Type": "string",
      "Required": false,
      "ValidRegEx": "",
      "DefaultValue": 1,
      "PostData": false,
      "LabelWidth": 107,
      "Width": 200,
      "Label": "InstrumentLightBox.More"
    },
    {
      "Name": "ShowMorehide",
      "Type": "string",
      "Required": false,
      "ValidRegEx": "",
      "DefaultValue": 1,
      "PostData": false,
      "LabelWidth": 107,
      "Width": 200,
      "Label": "InstrumentLightBox.More"
    },
    {
      "Name": "CurrencyCode",
      "Type": "string",
      "Required": true,
      "ValidRegEx": "",
      "DefaultValue": "",
      "PostData": true,
      "ReadOnly": true,
      "LabelWidth": 107,
      "Width": 100,
      "Label": "Employee.Currency"
    },
    {
      "Name": "CurrencyName",
      "Type": "string",
      "Required": true,
      "ValidRegEx": "",
      "DefaultValue": "",
      "PostData": true,
      "ReadOnly": true,
      "Label": "BillAllocationLightBox.BankAccount"
    },
    {
      "Name": "VoucherInstrumentArray",
      "Type": "string",
      "Label": "InstrumentLightBox.VoucherInstrumentArray",
      "IsFieldRequired": false,
      "Width": 1800,
      "DefaultValue": [],
      "Required": true,
      "SLNOField": "VoucherInstrumentSlno",
      "Grid": [
        {
          "Label": "#",
          "value": "VoucherInstrumentSlno",
          "Type": "SNo",
          "width": 50,
          "Required": false,
          "PostData": true,
          "SNo": 1,
          "IsVisible": true
        },
        {
          "Label": "InstrumentLightBox.InstrumentId",
          "value": "VoucherInstrumentId",
          "Type": "number",
          "Required": false,
          "PostData": false,
          "IsVisible": false,
          "DefaultValue": -1,
          "SNo": 50
        },
        {
          "Label": "InstrumentLightBox.Instrument",
          "value": "InstrumentId",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "SNo": 49,
          "DefaultValue": -1
        },
        {
          "Label": "CashDiscount.Type",
          "value": "InstrumentName",
          "width": 250,
          "Type": "PickList",
          "PicklistDetail": {
            "Label": "",
            "Width": 175,
            "PicklistUrl": "Instrument",
            "PicklistDisplayText": "Name",
            "PicklistSearchFields": "Name",
            "Multiple": false,
            "PicklistSelection": "Id",
            "PicklistTitle": "Name",
            "AddNew": false,
            "MaxLength": 20,
            "LinkId": "InstrumentId,InstrumentName,Instrumenttype",
            "LinkValue": "Id,Name,InstrumentType",
            "ColumnWidth": "580",
            "ColumnType": "string",
            "PicklistCriteria": "InstrumentGrid",
            "PlaceHolder": "Select Instrument"
          },
          "IsVisible": true,
          "SNo": 2,
          "Required": false,
          "DefaultValue": ""
        },
        {
          "Label": "",
          "value": "InstrumentType",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "SNo": 53,
          "DefaultValue": 0
        },
         
        {
          "Label": "InstrumentLightBox.InstrumentNumber",
          "value": [
            "VoucherInstrumentNumber",
            "VoucherInstrumentNumber"
          ],
          "width": 250,
          "Type": "FieldBasedType",
          "IsVisible": true,
          "SNo": 3,
          "DependendField": "InstrumentType",
          "DependendValue": [
            1
          ],
          "PicklistDetail": {
            "Label": "",
            "Width": 160,
            "PicklistUrl": "VoucherInstrumentCheque",
            "PicklistDisplayText": "ChequeNo",
            "PicklistSearchFields": "ChequeNo",
            "Multiple": false,
            "PicklistSelection": "Id",
            "PicklistTitle": "Name",
            "AddNew": false,
            "MaxLength": 20,
            "LinkId": "VoucherInstrumentNumber",
            "LinkValue": "ChequeNo",
            "ColumnWidth": "580",
            "ColumnType": "string",
            "PlaceHolder": "Select Instrument",
            "PicklistCriteria": "InstrumentNumberFilter"
          },
          "Required": false,
          "PostData": true
        },
        {
          "Label": "ShiftPattern.Date",
          "value": "VoucherInstrumentDate",
          "Type": "Date",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "IsVisible": true,
          "DefaultValue": "today",
          "width": 200,
          "SNo": 4
        },
        {
          "Label": "AccountVoucher.Amount",
          "value": "VoucherInstrumentFCAmount",
          "Type": "number",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "IsVisible": true,
          "SetDefaultValue": true,
          "Mask": "0000000000000.0000",
          "DefaultValue": "VoucherDetailAmount",
          "Placeholder": "Enter Amount",
          "width": 100,
          "SNo": 5,
          "MaxLength": 18
        },
        {
          "Label": "CostCenterLightBox.Value",
          "value": "VoucherInstrumentAmount",
          "Type": "number",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "IsVisible": true,
          "Mask": "0000000000000.0000",
          "DependendFieldName": "ShowMoreDetails",
          "DependendFieldValue": 0,
          "SetDefaultValue": true,
          "DefaultValue": "VoucherDetailAmount",
          "Placeholder": "Enter Value",
          "width": 100,
          "SNo": 8,
          "MaxLength": 18
        },
        {
          "Label": "AccountVoucher.Conversion",
          "value": "VoucherInstrumentCurrencyConversion",
          "Type": "number",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "IsVisible": true,
          "Mask": "0000000000000.0000",
          "SetDefaultValue": true,
          "DefaultValue": "VoucherDetailCurrencyConversion",
          "DependendFieldName": "ShowMoreDetails",
          "DependendFieldValue": 0,
          "Placeholder": "Enter Cur. Conv.",
          "width": 100,
          "SNo": 7,
          "MaxLength": 18
        },
        {
          "Label": "Employee.Currency",
          "value": "CurrencyId",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "SNo": 47,
          "DefaultValue": -1
        },
        {
          "Label": "Employee.Currency",
          "value": "CurrencyName",
          "width": 250,
          "Type": "PickList",
          "PicklistDetail": {
            "Label": "",
            "Width": 175,
            "PicklistUrl": "Currency",
            "PicklistDisplayText": "Code,Name",
            "PicklistSearchFields": "Name",
            "Multiple": false,
            "PicklistSelection": "Id",
            "PicklistTitle": "Code",
            "AddNew": false,
            "MaxLength": 20,
            "LinkId": "CurrencyId,CurrencyName",
            "LinkValue": "Id,Name",
            "ColumnWidth": "200,380",
            "ColumnType": "string,string",
            "PlaceHolder": "Select Currency"
          },
          "IsVisible": true,
          "SNo": 6,
          "Required": false,
          "DefaultValue": ""
        },
        {
          "Label": "Employee.Bank",
          "value": "BankAccountId",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "SetDefaultValue": true,
          "SNo": 46,
          "DefaultValue": "VoucherAccountId"
        },
        
        {
          "Label": "Employee.Bank",
          "value": "VoucherInstrumentDrawnOnBank",
          "width": 250,
          "Type": "PickList",
          "PicklistDetail": {
            "Label": "",
            "Width": 175,
            "PicklistUrl": "GCMPicklist",
            "PicklistDisplayText": "Code,Name",
            "PicklistSearchFields": "Name",
            "Multiple": false,
            "PicklistSelection": "Id",
            "PicklistTitle": "Name",
            "AddNew": false,
            "MaxLength": 20,
            "LinkId": "VoucherInstrumentDrawnOnBank",
            "LinkValue": "Name",
            "ColumnWidth": "250,470",
            "ColumnType": "string,string",
            "PlaceHolder": "Select Bank",
            "PicklistCriteria": "BankName"
          },
          "IsVisible": true,
          "DependendFieldName": "ShowMorehide",
          "DependendFieldValue": 0,
          "SNo": 9,
          "Required": false,
          "DefaultValue": ""
        },
        {
          "Label": "Employee.Bank",
          "value": "SubAccountId",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "SNo": 45,
          "DefaultValue": -1
        },
        {
          "Label": "Employee.Branch",
          "value": "VoucherInstrumentDrawnOnBranch",
          "width": 250,
          "Type": "PickList",
          "PicklistDetail": {
            "Label": "",
            "Width": 175,
            "PicklistUrl": "GCMPicklist",
            "PicklistDisplayText": "Name",
            "PicklistSearchFields": "Name",
            "Multiple": false,
            "PicklistSelection": "Id",
            "PicklistTitle": "Name",
            "AddNew": false,
            "MaxLength": 20,
            "LinkId": "VoucherInstrumentDrawnOnBranch",
            "LinkValue": "Name",
            "ColumnWidth": "750",
            "ColumnType": "string",
            "PicklistCriteria": "BankBranch",
            "PlaceHolder": "Select Branch"
          },
          "IsVisible": true,
          "DependendFieldName": "ShowMorehide",
          "DependendFieldValue": 0,
          "SNo": 10,
          "Required": false,
          "DefaultValue": ""
        },
        {
          "Label": "Party.PartyIsAccount",
          "value": "AccountId",
          "Type": "ComboBox",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "IsVisible": true,
          "DefaultValue": "",
          "DependendFieldName": "ShowMoreDetails",
          "DependendFieldValue": 0,
          "width": 200,
          "SNo": 11
        },
        {
          "Label": "InstrumentLightBox.Favouring",
          "value": "VoucherInstrumentParticulars",
          "Type": "string",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "IsVisible": true,
          "DefaultValue": "",
          "Placeholder": "Enter Particulars",
          "width": 150,
          "SNo": 12,
          "MaxLength": 200
        },
        {
          "Label": "",
          "value": "VoucherInstrumentAccountVoucherId",
          "Type": "string",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "IsVisible": false,
          "DefaultValue": -1,
          "width": 150,
          "SNo": 44
        },
        {
          "Label": "",
          "value": "INSRowWise",
          "Type": "string",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "IsVisible": false,
          "DefaultValue": "1",
          "width": 150,
          "SNo": 42,
          "MaxLength": 200
        },
        {
          "Label": "Goal.Status",
          "value": "VoucherInstrumentStatus",
          "width": 160,
          "Type": "ComboBox",
          "SNo": 13,
          "IsVisible": true,
          "DefaultValue": 0,
          "PickLists": [
            {
              "key": 0,
              "value": "Pending"
            },
            {
              "key": 1,
              "value": "Deposit"
            },
            {
              "key": 2,
              "value": "Realised"
            },
            {
              "key": 3,
              "value": "Bounced"
            },
            {
              "key": 4,
              "value": "Hold"
            },
            {
              "key": 5,
              "value": "Cancelled"
            }
          ]
        },
        {
          "Label": "AssetActivity.Date",
          "value": "VoucherInstrumentDepositDate",
          "Type": "Date",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "IsVisible": true,
          "DefaultValue": "/Date(1719014400000)/",
          "width": 150,
          "SNo": 14
        },
        {
          "Label": "AssetActivity.Date",
          "value": "VoucherInstrumentRealisedDate",
          "Type": "Date",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "IsVisible": false,
          "DefaultValue": "/Date(-2240524800000)/",
          "width": 150,
          "SNo": 41
        },
        {
          "Label": "ShiftPattern.Date",
          "value": "VoucherInstrumentBouncedDate",
          "Type": "Date",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "IsVisible": false,
          "DefaultValue": "/Date(-2240524800000)/",
          "width": 150,
          "SNo": 40
        },
        {
          "Label": "ShiftPattern.Date",
          "value": "VoucherInstrumentCancelDate",
          "Type": "Date",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "IsVisible": false,
          "DefaultValue": "/Date(-2240524800000)/",
          "width": 150,
          "SNo": 39
        },
        {
          "Label": "",
          "value": "InstrumentGridId",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "SNo": 50,
          "DefaultValue": -1
        },
        {
          "Label": "",
          "value": "InstrumentApplicable",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "SNo": 51,
          "DefaultValue": -1
        },
        {
          "Label": "",
          "value": "InstrumentOuIds",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "SNo": 52,
          "DefaultValue": -1
        },
        {
          "Label": "",
          "value": "InstrumentTypes",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "SNo": 53,
          "DefaultValue": -1
        }
      ]
    }
  ]
}