{
    "ObjectFields": [
        {
            "Name": "ResourceTypeName",
            "Type": "string",
            "Label": "AssetActivity.ResourceType",
            "Required": true,
            "ValidRegEx": "",
            "PostData": false,
            "PicklistJSON": "ResourceType",
            "Multiple": false,
            "LinkId": "ResourceTypeId",
            "PicklistTitle": "Name",
            "PlaceHolder": "Select Resource Type",
            "Width": 160,
            "AddNew": false,
            "MaxLength": 10,
            "DefaultValue": "",
            "LabelWidth": 115,
            "isKeyField":true
        },
      
        {
            "Name": "ResourceTypeId",
            "Type": "number",
            "PostData": false,
            "Required": false,
            "ValidRegEx": "",
            "DefaultValue": 0,
            "Width": 200
        },
        {
            "Name": "ResourceTypeCostId",
            "Type": "number",
            "PostData": false,
            "Required": false,
            "ValidRegEx": "",
            "DefaultValue": 0,
            "Width": 200
        },
 
        {
            "Name": "ResourceTypeCostPeriodFrom",
            "Type": "string",
            "Label": "CopyNameType.FromDate",
            "Required": true,
            "Placeholder": "",
            "PostData": false,
            "ValidRegEx": "",
            "DefaultValue": "today",
            "Width": 100,
            "LabelWidth": 102
        },
        {
            "Name": "ResourceTypeCostPeriodTo",
            "Type": "string",
            "Label": "CopyNameType.ToDate",
            "Required": true,
            "Placeholder": "",
            "PostData": false,
            "ValidRegEx": "",
            "DefaultValue": "today",
            "Width": 100,
            "LabelWidth": 102
        },
        {
            "Name": "ResourceTypeCostType",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "DefaultValue": 0,
            "PostData":false,
            "LabelWidth": 135,
            "Width": 510,
            "Label": "Goal.Status",
            "PickLists": [
                {
                    "key": 0,
                    "value": "Standard"
                },
                {
                    "key": 1,
                    "value": "Estimate"
                },
                {
                    "key": 2,
                    "value": "Actual"
                }
            ]
        },
        {
            "Name": "ResourceTypeCostArray",
            "Type": "string",
            "Label": "",
            "Tooltip": "",
            "SLNOField": "ResourceTypeCostSlNo",
            "Placeholder": "",
            "Required": true,
            "Grid": [
                {
                    "Label": "#",
                    "value": "ResourceTypeCostSlNo",
                    "width": 50,
                    "Type": "SNo",
                    "IsVisible": true,
                    "SNo": 1,
                    "PostData": true,
                    "sticky": true
                                },
                {
                    "Label": "Qty",
                    "value": "ResourceTypeCostQuantity",
                    "Type": "number",
                    "Required": true,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "PostData": true,
                    "SNo": 2,
                    "MaxLength": 7,
                    "DefaultValue": "0",
                    "Placeholder": "Enter Cost",
                    "width": 190
                },
                {
                    "Label": "Activity.UOM",
                    "value": "UOMName",
                    "width": 220,
                    "Type": "Picklist",
                    "sticky": false,
                    "Required": true,
                    "PostData": false,
                    "left": 50,
                    "PicklistDetail": {
                        "PicklistUrl": "UOM",
                        "PicklistDisplayText": "Name",
                        "PicklistSearchFields": "Name",
                        "Multiple": false,
                        "AddNew": false,
                        "PlaceHolder": "Select UOM",
                        "LinkId": "UOMId,UOMName",
                        "PicklistSelection": "Id",
                        "PicklistTitle": "Name",
                        "Label": "",
                        "Width": 200,
                        "MaxLength": 20,
                        "IsVisible": true,
                        "ColumnWidth": "600",
                        "ColumnType": "string"
                    },
                    "IsVisible": true,
                    "SNo": 3
                },
                
                {
                    "Label": "ResourceType.Cost",
                    "value": "ResourceTypeCostCost",
                    "Type": "number",
                    "Required": true,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "PostData": true,
                    "SNo": 4,
                    "MaxLength": 7,
                    "DefaultValue": "0",
                    "Placeholder": "Enter Cost",
                    "width": 190
                },
                {
                    "Label": "ItemTemplatePart.UOMId",
                    "value": "UOMId",
                    "Type": "number",
                    "Required": false,
                    "PostData": true,
                    "ValidRegEx": "",
                    "DefaultValue": 1
                },
                {
                    "value": "ResourceTypeCostType",
                    "Type": "number",
                    "Required": false,
                    "PostData": true,
                    "ValidRegEx": "",
                    "SetDefaultValue": true,
                    "DefaultValue": "ResourceTypeCostType"
                },
                {
                    "value": "ResourceTypeId",
                    "Type": "number",
                    "Required": false,
                    "PostData": true,
                    "ValidRegEx": "",
                    "SetDefaultValue": true,
                    "DefaultValue": "ResourceTypeId"
                },
                {
                    "value": "ResourceTypeCostId",
                    "Type": "number",
                    "Required": false,
                    "PostData": true,
                    "ValidRegEx": "",
                    "SetDefaultValue": true,
                    "DefaultValue": "ResourceTypeCostId"
                },
                {
                    "value": "ResourceTypeCostPeriodFrom",
                    "Type": "Date",
                    "Required": false,
                    "PostData": true,
                    "ValidRegEx": "",
                    "SetDefaultValue": true,
                    "DefaultValue": "TLeaveDetailLeaveDate"
                },
                {
                    "value": "ResourceTypeCostPeriodTo",
                    "Type": "Date",
                    "Required": false,
                    "PostData": true,
                    "ValidRegEx": "",
                    "SetDefaultValue": true,
                    "DefaultValue": "TLeaveDetailValidTill"
                }
              
            ]
        },
        {
            "Name": "ResourceTypeCostArraynew",
            "Type": "string",
            "Label": "",
            "Tooltip": "",
            "IsAddrowRequired": false,
            "IsDeleterowRequired": false,
            "SLNOField": "ResourceTypeCostSlNo",
            "Placeholder": "",
            "ReadOnly": true,
            "Required": true,
            "PostData": false,
            "Grid": [
               
       
                {
                    "Label": "ResourceTypeName",
                    "value": "ResourceTypeName",
                    "Type": "ReadOnly",
                    "Required": true,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "SNo": 1,
                    "MaxLength": 3,
                    "DefaultValue": "0",
                    "width": 200
                },
                {
                    "Label": "PeriodFrom",
                    "value": "ResourceTypeCostPeriodFrom",
                    "Type": "ReadOnly",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "SNo":2,
                    "MaxLength": 3,
                    "DefaultValue": "0",
                    "width": 200
                },
                {
                    "Label": "PeriodTo",
                    "value": "ResourceTypeCostPeriodTo",
                    "Type": "ReadOnly",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "SNo": 3,
                    "MaxLength": 3,
                    "DefaultValue": "0",
                    "width": 200
                },
                {
                    "Label": "Quantity",
                    "value": "ResourceTypeCostQuantity",
                    "Type": "ReadOnly",
                    "Required": true,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "SNo": 4,
                    "width": 200
                },
              
                {
                    "Label": "Cost",
                    "value": "ResourceTypeCostCost",
                    "Type": "ReadOnly",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "SNo": 6,
                    "width": 200
                }
            ]
        }
    ]
}