{
    "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":200,
            "Label": ""
        },
        {
            "Name": "VoucherAccountName",
            "Type": "string",
            "Required": true,
            "ValidRegEx": "",
            "DefaultValue": "",
            "PostData": true,
            "ReadOnly": true,
            "Width":200,
            "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": "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": "CostCategoryId",
            "Type": "string",
            "Required": true,
            "ValidRegEx": "",
            "DefaultValue": "",
            "PostData": true,
            "ReadOnly": true,
            "Label": ""
        },
        {
            "Name":"VoucherCostCenterArray",
            "Type":"Grid",
            "IsAddrowRequired":false,
            "IsDeleterowRequired":false,
            "Grid":[
                {
                    "Label": "",
                    "value": "CostCategoryConditionId",
                    "Type": "ReadOnly",
                    "PostData": true,
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": "",
                    "width": 0,
                    "SNo": 0
                },
                {
                    "Label": "",
                    "value": "CostCenterId",
                    "Type": "ReadOnly",
                    "PostData": true,
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": "",
                    "width": 0,
                    "SNo": 0
                },
                {
                    "Label": "",
                    "value": "CostCategoryId",
                    "Type": "ReadOnly",
                    "PostData": true,
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": "",
                    "width": 0,
                    "SNo": 0
                },
                {
                    "Label": "",
                    "value": "CostCategoryCode",
                    "Type": "ReadOnly",
                    "PostData": true,
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": "",
                    "width": 0,
                    "SNo": 0
                },
                {
                    "Label": "",
                    "value": "CostCategoryShortName",
                    "Type": "ReadOnly",
                    "PostData": true,
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": "",
                    "width": 0,
                    "SNo": 0
                },
                {
                    "Label": "",
                    "value": "CostCategoryConditionType",
                    "Type": "ReadOnly",
                    "PostData": true,
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": "",
                    "width": 0,
                    "SNo": 0
                },
                {
                    "Label": "",
                    "value": "AccountGroupId",
                    "Type": "ReadOnly",
                    "PostData": true,
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": "",
                    "width": 0,
                    "SNo": 0
                },
                {
                    "Label": "",
                    "value": "AccountGroupCode",
                    "Type": "ReadOnly",
                    "PostData": true,
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": "",
                    "width": 0,
                    "SNo": 0
                },
                {
                    "Label": "",
                    "value": "AccountGroupName",
                    "Type": "ReadOnly",
                    "PostData": true,
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": "",
                    "width": 0,
                    "SNo": 0
                },
                {
                    "Label": "",
                    "value": "AccountGroupShortName",
                    "Type": "ReadOnly",
                    "PostData": true,
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": "",
                    "width": 0,
                    "SNo": 0
                },
                {
                    "Label": "",
                    "value": "AccountGroupNature",
                    "Type": "ReadOnly",
                    "PostData": true,
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": "",
                    "width": 0,
                    "SNo": 0
                },
                {
                    "Label": "",
                    "value": "AccountGroupAccountGroupAccountScheduleNature",
                    "Type": "ReadOnly",
                    "PostData": true,
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": "",
                    "width": 0,
                    "SNo": 0
                },
                {
                    "Label": "",
                    "value": "CostCategoryConditionNature",
                    "Type": "ReadOnly",
                    "PostData": true,
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": "",
                    "width": 0,
                    "SNo": 0
                },
                {
                    "Label": "CostCenterLightBox.Category",
                    "value": "CostCategoryName",
                    "Type": "ReadOnly",
                    "PostData": true,
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "DefaultValue": "",
                    "width": 300,
                    "SNo": 1
                },
                {
                    "Label": "AccountVoucher.Amount",
                    "value": "VoucherDetailAmount",
                    "Type": "ReadOnly",
                    "PostData": true,
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "SetDefaultValue": true,
                    "DefaultValue": "VoucherDetailAmountFC",
                    "width":200,
                    "SNo": 2
                },
                {
                    "Label": "BillAllocationLightBox.Alloted",
                    "value": "AllotAmount",
                    "Type": "ReadOnly",
                    "PostData": true,
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "DefaultValue": "0",
                    "width": 200,
                    "SNo": 3
                },
                {
                    "Label": "BillAllocationLightBox.Balance",
                    "value": "VoucherDetailAmountFC",
                    "Type": "ReadOnly",
                    "PostData": true,
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "DefaultValue": "0",
                    "width": 200,
                    "SNo": 4
                },
                {
                    "Label": "",
                    "value": "VoucherCostCenterDetailArray",
                    "Type": "Array",
                    "PostData": true,
                    "Required": false,
                    "IsVisible": false,
                    "Expansion":false,
                    "DefaultValue": 0,
                    "width": 0,
                    "SNo": 5
                }
            ]
        },
        {
            "Name":"VoucherCostCenterDetailArray",
            "Type":"Grid",
            "SLNOField": "VoucherCostCenterSlno",
            "Width":2500,
            "Height": 190,
            "Grid":[
                {
                    "Label": "",
                    "value":"CostCategoryId",
                    "Type": "number",
                    "Required": false,
                    "PostData": true,
                    "IsVisible": false,
                    "SNo":98,
                    "SetDefaultValue": true,
                    "DefaultValue": "CostCategoryId"
                },
                {
                    "Label": "",
                    "value":"CostCenterId",
                    "Type": "number",
                    "Required": false,
                    "PostData": true,
                    "SNo":99,
                    "IsVisible": false,
                    "DefaultValue": -1
                },
                {
                    "Label": "",
                    "value":"VoucherCostCenterSlno",
                    "Type": "SNo",
                    "Required": false,
                    "PostData": true,
                    "SNo":0,
                    "IsVisible": false,
                    "DefaultValue": 1
                },
                {
                    "Label": "Employee.CostCenterName",
                    "value": "CostCenterName",
                    "width": 400,
                    "Type": "PickList",
                    "PicklistDetail": {
                        "Label":"",
                        "Width": 360,
                        "PicklistUrl": "CostCenter",
                        "PicklistDisplayText": "Name",
                        "PicklistSearchFields": "Name",
                        "Multiple": false,
                        "PicklistSelection": "Id",
                        "PicklistTitle": "Name",
                        "AddNew": false,
                        "MaxLength": 20,
                        "LinkId": "CostCenterId,CostCenterName",
                        "ColumnWidth": "650",
                        "ColumnType": "string",
                        "PlaceHolder":"Select Cost Center",
                        "PicklistCriteria":"CostCenterName"
                        
                    },
                    "IsVisible": true,
                    "SNo": 1,
                    "Required":false,
                    "DefaultValue":""
                },
                {
                    "Label": "AccountVoucher.Amount",
                    "value": "VoucherCostCenterAllocatedAmount",
                    "Type": "number",
                    "PostData": true,
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "SetDefaultValue": true,
                    "DefaultValue": "",
                    "width": 200,
                    "SNo": 2
                }
            ]
        }
    ]
}