{
    "ObjectFields": [
        {
      "Name": "VoucherBillAllocationArray",
      "Type": "Grid",
      "RepeatNotAllowed": "AllocationLineId",
      "Width": 1100,
      "Height": 190,
      "Grid": [
        {
          "Label": "CashDiscount.Type",
          "value": "VoucherBillAllocationType",
          "width": 160,
          "Type": "ComboBox",
          "SNo": 3,
          "IsVisible": true,
          "DefaultValue": 0,
          "PickLists": [
            { "key": 0, "value": "New" },
            { "key": 1, "value": "Advance" },
            { "key": 2, "value": "Against" },
            { "key": 3, "value": "UnAdjusted" },
            { "key": 4, "value": "Batch" }
          ]
        },
        {
          "Label": "ShiftPattern.Date",
          "value": "VoucherBillAllocationDetailDate",
          "Type": "Date",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "IsVisible": true,
          "DefaultValue": "today",
          "width": 200,
          "SNo": 5
        },
        {
          "Label": "TDSReturnFilling.RefNo",
          "value": "VoucherBillAllocationReferenceNumber",
          "Type": "number",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "IsVisible": true,
          "Placeholder": "Enter Ref. No.",
          "DefaultValue": 0,
          "width": 100,
          "SNo": 6,
          "MaxLength": 18
        },
        {
          "Label": "AccountVoucher.RefDate",
          "value": "VoucherBillAllocationReferenceDate",
          "Type": "Date",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "IsVisible": true,
          "DefaultValue": "today",
          "width": 200,
          "SNo": 7
        },
        {
          "Label": "AccountVoucher.Amount",
          "value": "VoucherBillAllocationFullAmount",
          "Type": "number",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "IsVisible": true,
          "SetDefaultValue": true,
          "Mask": "0000000000000.0000",
          "DefaultValue": "0",
          "Placeholder": "Amount",
          "width": 100,
          "SNo": 8,
          "MaxLength": 18
        },
        {
          "Label": "BillAllocationLightBox.Alloted",
          "value": "VoucherBillAllocationAllocatedAmount",
          "Type": "number",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "IsVisible": true,
          "Mask": "0000000000000.0000",
          "DefaultValue": 0,
          "Placeholder": "Alloted Amt.",
          "width": 100,
          "SNo": 9,
          "MaxLength": 18
        },
        {
          "Label": "AssetDepreciation.Days",
          "value": "VoucherBillAllocationDueDays",
          "Type": "number",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "IsVisible": true,
          "DefaultValue": 1,
          "Placeholder": "Enter Days",
          "width": 100,
          "SNo": 10,
          "MaxLength": 18
        },
         {
          "Label": "MaterialManagement.DueDate",
          "value": "VoucherBillAllocationDueDate",
          "Type": "Date",
          "PostData": true,
          "Required": false,
          "ValidRegEx": "",
          "IsVisible": true,
          "DefaultValue": "today",
          "width": 200,
          "SNo": 11
        },
       {
          "Label": "",
          "value": "PriceCategoryId",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "SNo": 12,
          "DefaultValue": -1
        },
        {
          "Label": "CostCenterLightBox.Category",
          "value": "PriceCategoryName",
          "width": 250,
          "Type": "PickList",
          "PicklistDetail": {
            "Label": "",
            "Width": 175,
            "PicklistUrl": "PriceCategory",
            "PicklistDisplayText": "Code,Name",
            "PicklistSearchFields": "Name",
            "Multiple": false,
            "PicklistSelection": "Id",
            "PicklistTitle": "Name",
            "AddNew": false,
            "MaxLength": 20,
            "LinkId": "PriceCategoryId,PriceCategoryName",
            "ColumnWidth": "200,380",
            "ColumnType": "string,string",
            "PlaceHolder": "Select Category"
          },
          "IsVisible": true,
          "SNo": 13,
          "Required": false,
          "DefaultValue": ""
        },
        {
          "Label": "",
          "value": "InChargeId",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "SNo": 54,
          "DefaultValue": -1
        },
        {
          "Label": "ForcastData.Incharge",
          "value": "InChargeName",
          "width": 250,
          "Type": "PickList",
          "PicklistDetail": {
            "Label": "",
            "Width": 175,
            "PicklistUrl": "Incharge",
            "PicklistDisplayText": "Code,Name",
            "PicklistSearchFields": "Name",
            "Multiple": false,
            "PicklistSelection": "Id",
            "PicklistTitle": "Name",
            "AddNew": false,
            "MaxLength": 20,
            "LinkId": "InChargeId,InChargeName",
            "ColumnWidth": "200,380",
            "ColumnType": "string,string",
            "PlaceHolder": "Select Incharge"
          },
          "IsVisible": true,
          "SNo": 14,
          "Required": false,
          "DefaultValue": ""
        },
        {
          "Label": "BillAllocationLightBox.DueType",
          "value": "VoucherBillAllocationDueType",
          "width": 160,
          "Type": "ComboBox",
          "SNo": 15,
          "IsVisible": true,
          "DefaultValue": 0,
          "PickLists": [
            { "key": 0, "value": "Detail Date" },
            { "key": 1, "value": "Ref. Date" }
          ]
        },

          {
          "Label": "",
          "value": "RouteId",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "SNo": 11,
          "DefaultValue": -1
        },
        {
          "Label": "BillAllocationLightBox.Route",
          "value": "RouteName",
          "width": 250,
          "Type": "PickList",
          "PicklistDetail": {
            "Label": "",
            "Width": 175,
            "PicklistUrl": "Routes",
            "PicklistDisplayLabel": "RouteCode,RouteName",
            "PicklistDisplayText": "RouteCode,RouteName",
            "PicklistSearchFields": "RouteName",
            "Multiple": false,
            "PicklistSelection": "Id",
            "PicklistTitle": "RouteName",
            "AddNew": false,
            "MaxLength": 20,
            "LinkId": "RouteId,RouteName",
            "ColumnWidth": "300,380",
            "ColumnType": "string,string",
            "PlaceHolder": "Select Route"
          },
          "IsVisible": true,
          "SNo": 16,
          "Required": false,
          "DefaultValue": ""
        },
        {
          "Label": "",
          "value": "VoucherBillAllocationId",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "SNo": 50,
          "DefaultValue": 0
        },
        {
          "Label": "",
          "value": "AllocationLineId",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "SNo": 51,
          "DefaultValue": -1
        },
         
        
        {
          "Label": "AccountVoucher.no",
          "value": [
            "VoucherBillAllocationDetailNumber",
            "VoucherBillAllocationDetailNumber",
            "VoucherBillAllocationDetailNumber",
            "VoucherBillAllocationDetailNumber",
            "VoucherBillAllocationDetailNumber"
          ],
          "width": 200,
          "Type": "FieldBasedType",
          "DependendField": "VoucherBillAllocationType",
          "Placeholder": "Enter No.",
          "DependendValue": [2],
          "PicklistDetail": {
            "Label": "",
            "Width": 175,
            "PicklistUrl": "BillAllocation",
            "PicklistDisplayLabel": "DocNumber,Date,Bill/Ref. No.,Ref. Date,BillNumber,Full Amt.,Pend. Amt.,Date,OverDueDays,Type,Route,Incharge,Category",
            "PicklistDisplayText": "VoucherDocumentNumber,VoucherBillAllocationDetailDate,VoucherReferenceNumber,VoucherReferenceDate,VoucherBillAllocationPicklistDetailNumber,VoucherFullAmount,VoucherPendingAmount,VoucherBillAllocationDueDate,VoucherBillAllocationOverduedays,VoucherBillAllocationType,RouteName,InChargeName,PriceCategoryName",
            "PicklistSearchFields": "Number",
            "Multiple": false,
            "PicklistSelection": "VoucherBillAllocationPicklistId",
            "PicklistTitle": "VoucherDocumentNumber",
            "AddNew": false,
            "MaxLength": 20,
            "PicklistWidth": "1350px",
            "LinkId": "AllocationLineId,VoucherBillAllocationDetailNumber",
            "LinkValue": "VoucherBillAllocationPicklistId,VoucherBillAllocationPicklistDetailNumber",
            "ColumnWidth": "100,100,100,100,100,80,80,100,100,80,80,120,80",
            "ColumnType": "string,date,string,date,string,string,string,date,string,string,string,string,string",
            "PlaceHolder": "Select Document No.",
            "PicklistCriteria": "BillAllocation",
            "IsModuleBasedCriteria": "ModuleId",
            "IsModuleBasedCriteriaName": [{"withvalue":"BillAllocationAccountOnly"},{"withoutvalue":"BillAllocation"}]
          },
          "IsVisible": true,
          "SNo": 3,
          "Required": false,
          "DefaultValue": ""
        },
       
        
        {
          "Label": "",
          "value": "BillRowWise",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "SNo": 151,
          "DefaultValue": ""
        },
        {
          "Label": "",
          "value": "CurrencyId",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "SNo": 152,
          "DefaultValue": -1
        },
        {
          "Label": "",
          "value": "detailtypecalc",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "SNo": 153,
          "DefaultValue": 0
        },
        {
          "Label": "",
          "value": "VoucherBillAllocationDueDate",
          "Type": "Date",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "SNo": 157,
          "DefaultValue": "today"
        },
        {
          "Label": "",
          "value": "VoucherBillAllocationPlanDate",
          "Type": "Date",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "SNo": 159,
          "DefaultValue": "today"
        },
        {
          "Label": "",
          "value": "VoucherBillAllocationSlno",
          "Type": "SNo",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "SNo": 160,
          "DefaultValue": "3"
        },
        {
          "Label": "",
          "value": "VoucherBillAllocationCurrencyConversion",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "SNo": 161,
          "DefaultValue": "1"
        },
        {
          "Label": "",
          "value": "AllocatedAmountForCurrency",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "SNo": 161,
          "DefaultValue": "1"
        },
        {
          "Label": "",
          "value": "selectedconversions",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "IsVisible": false,
          "SNo": 161,
          "DefaultValue": "1"
        }
      ]
    }
    ]
}