{
    "ObjectFields": [
        {
            "Name": "AssetPoolId",
            "Type": "number",
            "Required": true,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": 0
        },
        {
            "Name": "PoolCode",
            "Type": "string",
            "Label": "AssetPool.PoolCode",
            "Required": true,
            "ValidRegEx": "",
            "PostData": true,
            "PicklistJSON": "assetpool",
            "Multiple": false,
            "LinkId": "AssetPoolId",
            "PicklistTitle": "Code",
            "PlaceHolder": "Enter Pool Code",
            "Width": 200,
            "AddNew": true,
            "MaxLength": 30,
            "DefaultValue": "",
            "IsFirstField": true,
            "LabelWidth": 100,
            "isKeyField": true
        },
        {
            "Name": "PoolName",
            "Type": "string",
            "Label": "AssetPool.PoolName",
            "Required": true,
            "ValidRegEx": "",
            "PostData": true,
            "PicklistJSON": "assetpool",
            "Multiple": false,
            "LinkId": "AssetPoolId",
            "PicklistTitle": "Name",
            "PlaceHolder": "Enter Pool Name",
            "Width": 360,
            "AddNew": true,
            "MaxLength": 100,
            "DefaultValue": "",
            "LabelWidth": 100,
            "isKeyField": true
        },
        {
            "Name": "PartyBranchLocationName",
            "Type": "string",
            "Label": "AssetPool.PartyBranchLocation",
            "Required": false,
            "ValidRegEx": "",
            "PostData": true,
            "PicklistJSON": "PartyBranchLocationName",
            "Multiple": false,
            "LinkId": "PartyBranchLocationId",
            "PicklistTitle": "Name",
            "PlaceHolder": "Select Party Branch Location",
            "Width": 295,
            "LabelWidth": 150,
            "AddNew": false,
            "DefaultValue": ""
        },
        {
            "Name": "PartyBranchLocationId",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": -1
        },
        {
            "Name": "TargetCount",
            "Type": "number",
            "Label": "AssetPool.TargetCount",
            "Required": false,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": null,
            "Placeholder": "Enter Target Count",
            "Width": 200,
            "LabelWidth": 150,
            "MaxLength": 9
        },
        {
            "Name": "Description",
            "Type": "string",
            "Label": "AssetPool.Description",
            "Required": false,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": "",
            "Placeholder": "Enter Description",
            "MaxLength": 500,
            "Width": 500,
            "LabelWidth": 150
        },
        {
            "Name": "SortOrder",
            "Type": "number",
            "Label": "AssetPool.SortOrder",
            "Required": false,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": 9999,
            "Placeholder": "Enter Sort Order",
            "Width": 150,
            "LabelWidth": 150,
            "MaxLength": 5
        },
        {
            "Name": "Status",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": 1,
            "width": 100
        },
        {
            "Name": "AssetPoolDetailArray",
            "Type": "grid",
            "Label": "AssetPool.MemberDetails",
            "Required": false,
            "PostData": true,
            "IsAddrowRequired": true,
            "IsDeleterowRequired": true,
            "SLNOField": "AssetPoolDetailSlNo",
            "Grid": [
                {
                    "Label": "#",
                    "value": "AssetPoolDetailSlNo",
                    "width": 60,
                    "Type": "SNo",
                    "IsVisible": true,
                    "SNo": 1,
                    "sticky": false
                },
                {
                    "Label": "",
                    "value": "AssetPoolDetailId",
                    "Type": "number",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": 0,
                    "SNo": 2
                },
                {
                    "Label": "",
                    "value": "AssetPoolId",
                    "Type": "number",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": 0,
                    "SNo": 3
                },
                {
                    "Label": "",
                    "value": "AssetId",
                    "Type": "number",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": -1,
                    "SNo": 4
                },
                {
                    "Label": "AssetPool.Asset",
                    "value": "AssetName",
                    "Type": "Picklist",
                    "width": 300,
                    "IsVisible": true,
                    "Required": true,
                    "PostData": true,
                    "sticky": false,
                    "SNo": 5,
                    "PicklistDetail": {
                        "PicklistUrl": "Asset",
                        "PicklistDisplayText": "Code,Name",
                        "PicklistSearchFields": "AssetName",
                        "PicklistSelection": "Id",
                        "ColumnWidth": "250,470",
                        "ColumnType": "string,string",
                        "LinkId": "AssetId,AssetName",
                        "PicklistTitle": "Name",
                        "Multiple": false,
                        "AddNew": false,
                        "PlaceHolder": "Select Asset",
                        "Width": 300
                    }
                },
                {
                    "Label": "Asset.AssetCode",
                    "value": "AssetCode",
                    "Type": "ReadOnly",
                    "width": 180,
                    "IsVisible": true,
                    "Required": false,
                    "PostData": true,
                    "DefaultValue": "",
                    "sticky": false,
                    "SNo": 6
                },
                {
                    "Label": "AssetPool.ValidFrom",
                    "value": "ValidFrom",
                    "Type": "Date",
                    "width": 170,
                    "DefaultValue": "today",
                    "IsVisible": true,
                    "Required": true,
                    "sticky": false,
                    "SNo": 7,
                    "Placeholder": "Select Valid From"
                },
                {
                    "Label": "AssetPool.ValidTo",
                    "value": "ValidTo",
                    "Type": "Date",
                    "width": 170,
                    "DefaultValue": "",
                    "IsVisible": true,
                    "Required": false,
                    "sticky": false,
                    "SNo": 8,
                    "Placeholder": "Currently Active"
                }
            ]
        }
    ]
}
