{
    "ObjectFields": [
        {
            "Name": "SupplyGroupId",
            "Type": "number",
            "Required": true,
            "ValidRegEx": "",
            "DefaultValue": 0
        },
        {
            "Name": "SupplyGroupCode",
            "Type": "string",
            "Label": "Common.code",
            "PostData": true,
            "Required": true,
            "ValidRegEx": "",
            "DefaultValue": "",
            "LinkId": "SupplyGroupId",
            "PicklistJSON": "SupplyGroup",
            "Multiple": false,
            "PicklistTitle": "Code",
            "PlaceHolder": "Enter Code",
            "Width": 160,
            "AddNew": true,
            "IsFirstField": true,
            "MaxLength": 20
        },
        {
            "Name": "SupplyGroupName",
            "Type": "string",
            "Label": "Common.name",
            "PostData": true,
            "Required": true,
            "ValidRegEx": "",
            "DefaultValue": "",
            "LinkId": "SupplyGroupId",
            "PicklistJSON": "SupplyGroup",
            "Multiple": false,
            "PicklistTitle": "Name",
            "PlaceHolder": "Enter Name",
            "Width": 360,
            "MaxLength": 100,
            "AddNew": true
        },
        {
            "Name": "SupplyGroupRemarks",
            "Label": "Common.Remark",
            "Placeholder": "Enter the Remarks",
            "MaxLength": 1000,
            "Width":360,
            "Type": "string",
            "Required": false,
            "PostData": true,
            "ValidRegEx": "",
            "DefaultValue": ""
        },
        {
            "Name": "SupplyGroupCreatedOn",
            "Type": "string",
            "Required": false,
            "ValidRegEx": "",
            "DefaultValue": "/Date(1704475560000)/"
        },
        {
            "Name": "SupplyGroupModifiedOn",
            "Type": "string",
            "Required": false,
            "ValidRegEx": "",
            "DefaultValue": "/Date(1704475560000)/"
        },
        {
            "Name": "SupplyGroupVersion",
            "Type": "any",
            "Required": false,
            "ValidRegEx": "",
            "DefaultValue": 1
        },
        {
            "Name": "SupplyGroupStatus",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "DefaultValue": 1
        },
        {
            "Name": "SupplyGroupSourceType",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "DefaultValue": 5,
            "Width": 100
        },
        {
            "Name": "SupplyGroupCreatedById",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "DefaultValue": -1,
            "Width": 100
        },
        {
            "Name": "SupplyGroupModifiedById",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "DefaultValue": -1,
            "Width": 100
        },
        {
            "Name": "SupplyGroupSortOrder",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "DefaultValue": 9999
        },
        {
            "Name": "SupplyGroupDetailArray",
            "Type": "string",
            "Label": "SupplyGroup.SupplyGroupArray",
            "PostData": true,
            "SLNOField": "SupplyGroupDetailSlNo",
            "Required": true,
            "Grid": [
                {
                    "Label": "#",
                    "value": "SupplyGroupDetailSlNo",
                    "width": 50,
                    "Type": "SNo",
                    "IsVisible": true,
                    "SNo": 1,
                    "sticky": false,
                    "left": 0
                },
                {
                    "Label": "BOM.Particulars",
                    "value": "SupplyGroupDetailParticulars",
                    "Type": "string",
                    "Required": true,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "MaxLength": 1000,
                    "SNo": 2,
                    "DefaultValue": "",
                    "Placeholder": "Enter Particulars",
                    "width": 300
                },
                {
                    "Label": "",
                    "value": "SupplyGroupId",
                    "Type": "number",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": 0,
                    "SNo": 3
                },
                {
                    "Label": "",
                    "value": "SupplyGroupDetailId",
                    "Type": "number",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": -1,
                    "SNo":4
                },
               
                {
                    "Label": "",
                    "value": "OuId",
                    "Type": "number",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": -1,
                    "SNo":5
                },
                {
                    "Label": "SupplyGroup.OUName",
                    "value": "OuName",
                    "width": 340,
                    "Type": "Picklist",
                    "sticky": false,
                    "Required": true,
                    "PostData": true,
                    "PicklistDetail": {
                        "PicklistUrl": "OrganizationUnit",
                        "PicklistDisplayText": "Code,Name",
                        "PicklistSearchFields": "Code,Name",
                        "Multiple": false,
                        "DefaultValue": "",
                        "AddNew": false,
                        "PlaceHolder": "Select OU",
                        "LinkId": "OuId,OuName",
                        "PicklistSelection": "Id",
                        "PicklistTitle": "Name",
                        "Label": "",
                        "Width": 300,
                        "ColumnWidth": "200,400",
                        "ColumnType": "string,string"
                    },
                    "IsVisible": true,
                    "SNo": 6
                },
                {
                    "Label": "",
                    "value": "PartyBranchId",
                    "Type": "number",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": -1,
                    "SNo": 7
                },
                {
                    "Label": "ItemSchedule.PartyBranch",
                    "value": "PartyBranchName",
                    "width": 300,
                    "Type": "Picklist",
                    "sticky": false,
                    "Required": true,
                    "PostData": true,
                    "PicklistDetail": {
                        "PicklistUrl": "PartyBranch",
                        "PicklistDisplayText": "Code,Name",
                        "PicklistSearchFields": "Code,Name",
                        "Multiple": false,
                        "DefaultValue": "",
                        "AddNew": false,
                        "PlaceHolder": "Select Party Branch",
                        "LinkId": "PartyBranchId,PartyBranchName",
                        "PicklistSelection": "Id",
                        "PicklistTitle": "Name",
                        "Label": "",
                        "Width": 270,
                        "ColumnWidth": "200,400",
                        "ColumnType": "string,string"
                    },
                    "IsVisible": true,
                    "SNo": 8
                },
                {
                    "Label": "%",
                    "value": "SupplyGroupDetailSharePercent",
                    "Type": "percentage",
                    "Required": true,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "SNo": 9,
                    "MaxLength": 5,
                    "DefaultValue": "",
                    "Placeholder": "Enter Share %",
                    "width": 150
                }
            ]
        }
    ]
}