{
    "ObjectFields": [
        {
            "Name": "CostCategoryCode",
            "Type": "string",
            "Required": true,
            "PostData": true,
            "ValidRegEx": "",
            "DefaultValue": "",
            "PicklistJSON": "CostCategoryName",
            "LinkId": "CostCategoryId",
            "Multiple": false,
            "PicklistTitle": "Code",
            "IsFirstField": true,
            "PlaceHolder": "Enter Code",
            "Label": "Common.code",
            "Width": 160,
            "AddNew": true,
            "isKeyField": true,
            "MaxLength": 10,
            "LabelWidth": 132
        },
        {
            "Name": "CostCategoryName",
            "Type": "string",
            "Required": true,
            "PostData": true,
            "ValidRegEx": "",
            "DefaultValue": "",
            "PicklistJSON": "CostCategoryName",
            "LinkId": "CostCategoryId",
            "Multiple": false,
            "PicklistTitle": "Name",
            "PlaceHolder": "Enter Name",
            "Label": "Common.name",
            "isKeyField": true,
            "Width": 360,
            "AddNew": true,
            "MaxLength": 35,
            "LabelWidth": 132
        },
        {
            "Name": "CostCategoryCostCenterTypeName",
            "Type": "string",
            "Required": true,
            "PostData": true,
            "ValidRegEx": "",
            "DefaultValue": "",
            "PicklistJSON": "CostCenterType",
            "LinkId": "CostCategoryCostCenterTypeId",
            "Multiple": false,
            "PicklistTitle": "Name",
            "PlaceHolder": "Select Cost Center Type",
            "Label": "Costcategory.CostCenterType",
            "Width": 360,
            "AddNew": false,
            "MaxLength": 100,
            "LabelWidth": 132
        },
        {
            "Name": "CostCategoryId",
            "Type": "number",
            "Required": true,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": 0,
            "Width": 100
        },
        {
            "Name": "CostCategoryShortName",
            "Type": "string",
            "Label": "Costcategory.shortname",
            "Placeholder": "Enter Short Name",
            "Required": true,
            "PostData": true,
            "ValidRegEx": "",
            "DefaultValue": "",
            "MaxLength": 15,
            "LabelWidth": 132,
            "Width": 360
        },
        {
            "Name": "CostCategoryCostCenterTypeId",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": 0,
            "Width": 100
        },
        {
            "Name": "CostCategoryCreatedOn",
            "Type": "string",
            "Required": false,
            "PostData": true,
            "ValidRegEx": "",
            "DefaultValue": "2026-06-21",
            "Width": 100
        },
        {
            "Name": "CostCategoryModifiedOn",
            "Type": "string",
            "Required": false,
            "PostData": true,
            "ValidRegEx": "",
            "DefaultValue": "2026-06-21",
            "Width": 100
        },
        {
            "Name": "CostCategoryModifiedByName",
            "Type": "string",
            "Required": false,
            "PostData": true,
            "ValidRegEx": "",
            "DefaultValue": "ADMIN",
            "Width": 100
        },
        {
            "Name": "CostCategoryCreatedByName",
            "Type": "string",
            "Required": false,
            "PostData": true,
            "ValidRegEx": "",
            "DefaultValue": "ADMIN",
            "Width": 100
        },
        {
            "Name": "CostCategoryVersion",
            "Type": "number",
            "Required": false,
            "PostData": true,
            "ValidRegEx": "",
            "DefaultValue": 1,
            "Width": 100
        },
        {
            "Name": "CostCategoryStatus",
            "Type": "number",
            "Required": false,
            "PostData": true,
            "ValidRegEx": "",
            "DefaultValue": 1,
            "Width": 100
        },
        {
            "Name": "CostCategoryConditionArray",
            "Type": "string",
            "Label": "",
            "Tooltip": "",
            "Placeholder": "",
            "Required": true,
            "RepeatNotAllowed": "AccountGroupId",
            "Grid": [
                {
                    "Label": "CashDiscount.Type",
                    "value": "CostCategoryConditionType",
                    "width": 230,
                    "Type": "ComboBox",
                    "sticky": false,
                    "SNo": 1,
                    "DefaultValue": 0,
                    "IsVisible": true,
                    "PickLists": [
                        {
                            "key": 0,
                            "value": "Group Include"
                        },
                        {
                            "key": 1,
                            "value": "Group Exclude"
                        },
                        {
                            "key": 2,
                            "value": "Account Nature Include"
                        },
                        {
                            "key": 3,
                            "value": "Account Nature Exclude"
                        }
                    ]
                },
                {
                    "value": [
                        "AccountGroupName",
                        "AccountGroupName",
                        "AccountGroupName",
                        "AccountGroupName"
                    ],
                    "width": 390,
                    "left": 0,
                    "Type": "FieldBasedPicklist",
                    "Required": false,
                    "sticky": false,
                    "PlaceHolder": "Select Group",
                    "DefaultValue": "",
                    "DependendField": "CostCategoryConditionType",
                    "DependentDefaultValue": 0,
                    "IsVisible": true,
                    "Label": "Costcategory.Group",
                    "SNo": 2,
                    "PicklistDetail": [
                        {
                            "PicklistUrl": "AccountGroup",
                            "PicklistDisplayText": "Code,Name",
                            "PicklistSearchFields": "Code,Name",
                            "Multiple": false,
                            "PicklistSelection": "Id",
                            "PicklistTitle": "Name",
                            "PlaceHolder": "Select Group",
                            "Label": "",
                            "Width": 360,
                            "DefaultValue": "NONE",
                            "LinkId": "AccountGroupId,AccountGroupName,CostCategoryConditionNature",
                            "LinkValue": "Id,Name,AccountSchedulNature",
                            "AddNew": false,
                            "MaxLength": 100,
                            "ColumnWidth": "200,400,200",
                            "ColumnType": "string,string,string"
                        },
                        {
                            "PicklistUrl": "AccountGroup",
                            "PicklistDisplayText": "Code,Name",
                            "PicklistSearchFields": "Code,Name",
                            "Multiple": false,
                            "PicklistSelection": "Id",
                            "PicklistTitle": "Name",
                            "PlaceHolder": "Select Group",
                            "Label": "",
                            "Width": 360,
                            "DefaultValue": "NONE",
                            "LinkId": "AccountGroupId,AccountGroupName,CostCategoryConditionNature",
                            "LinkValue": "Id,Name,AccountSchedulNature",
                            "AddNew": false,
                            "MaxLength": 100,
                            "ColumnWidth": "200,400",
                            "ColumnType": "string"
                        },
                        {
                            "PicklistUrl": "AccountGroup",
                            "PicklistDisplayText": "Code,Name",
                            "PicklistSearchFields": "Code,Name",
                            "Multiple": false,
                            "PicklistSelection": "Id",
                            "PicklistTitle": "Name",
                            "PlaceHolder": "Select Group",
                            "Label": "",
                            "Width": 360,
                            "DefaultValue": "NONE",
                            "LinkId": "AccountGroupId,AccountGroupName,CostCategoryConditionNature",
                            "LinkValue": "Id,Name,AccountSchedulNature",
                            "ReadOnly": true,
                            "AddNew": false,
                            "MaxLength": 100,
                            "ColumnWidth": "200,400",
                            "ColumnType": "string"
                        },
                        {
                            "PicklistUrl": "AccountGroup",
                            "PicklistDisplayText": "Code,Name",
                            "PicklistSearchFields": "Code,Name",
                            "Multiple": false,
                            "PicklistSelection": "Id",
                            "PicklistTitle": "Name",
                            "PlaceHolder": "Select Group",
                            "Label": "",
                            "Width": 360,
                            "DefaultValue": "NONE",
                            "LinkId": "AccountGroupId,AccountGroupName,CostCategoryConditionNature",
                            "LinkValue": "Id,Name,AccountSchedulNature",
                            "ReadOnly": true,
                            "AddNew": false,
                            "MaxLength": 100,
                            "ColumnWidth": "200,400",
                            "ColumnType": "string"
                        }
                    ]
                },
                {
                    "value": "AccountGroupId",
                    "Type": "number",
                    "Required": true,
                    "ValidRegEx": "",
                    "PostData": true,
                    "IsVisible": false,
                    "DefaultValue": -1,
                    "Width": 100
                },
                {
            "value": "CostCategoryId",
            "Type": "number",
            "Required": true,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": -1,
            "Width": 100
        },
                {
                    "value": "CostCategoryConditionId",
                    "Type": "number",
                    "Required": true,
                    "ValidRegEx": "",
                    "PostData": true,
                    "IsVisible": false,
                    "DefaultValue": 0,
                    "Width": 100
                },
                {
                    "Label": "AssetType.Nature",
                    "value": [
                        "CostCategoryConditionNature",
                        "CostCategoryConditionNature",
                        "CostCategoryConditionNature",
                        "CostCategoryConditionNature"
                    ],
                    "width": 230,
                    "Type": "FieldBasedCombobox",
                    "sticky": false,
                    "IsVisible": true,
                    "DependendField": "CostCategoryConditionType",
                    "SNo": 3,
                    "DefaultValue": 0,
                    "ComboBoxDetail": [
                        {
                            "ReadOnly": true,
                            "PickLists": [
                                {
                                    "key": 0,
                                    "value": "Liability"
                                },
                                {
                                    "key": 1,
                                    "value": "Asset"
                                },
                                {
                                    "key": 2,
                                    "value": "Direct Income"
                                },
                                {
                                    "key": 3,
                                    "value": "Direct Expense"
                                },
                                {
                                    "key": 4,
                                    "value": "Indirect Income"
                                },
                                {
                                    "key": 5,
                                    "value": "Indirect Expense"
                                }
                            ]
                        },
                        {
                            "ReadOnly": true,
                            "PickLists": [
                                {
                                    "key": 0,
                                    "value": "Liability"
                                },
                                {
                                    "key": 1,
                                    "value": "Asset"
                                },
                                {
                                    "key": 2,
                                    "value": "Direct Income"
                                },
                                {
                                    "key": 3,
                                    "value": "Direct Expense"
                                },
                                {
                                    "key": 4,
                                    "value": "Indirect Income"
                                },
                                {
                                    "key": 5,
                                    "value": "Indirect Expense"
                                }
                            ]
                        },
                        {
                            "ReadOnly": false,
                            "PickLists": [
                                {
                                    "key": 0,
                                    "value": "Liability"
                                },
                                {
                                    "key": 1,
                                    "value": "Asset"
                                },
                                {
                                    "key": 2,
                                    "value": "Direct Income"
                                },
                                {
                                    "key": 3,
                                    "value": "Direct Expense"
                                },
                                {
                                    "key": 4,
                                    "value": "Indirect Income"
                                },
                                {
                                    "key": 5,
                                    "value": "Indirect Expense"
                                }
                            ]
                        },
                        {
                            "ReadOnly": false,
                            "PickLists": [
                                {
                                    "key": 0,
                                    "value": "Liability"
                                },
                                {
                                    "key": 1,
                                    "value": "Asset"
                                },
                                {
                                    "key": 2,
                                    "value": "Direct Income"
                                },
                                {
                                    "key": 3,
                                    "value": "Direct Expense"
                                },
                                {
                                    "key": 4,
                                    "value": "Indirect Income"
                                },
                                {
                                    "key": 5,
                                    "value": "Indirect Expense"
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}