{
    "ObjectFields": [
        {
            "Name": "ForeCastId",
            "Type": "number",
            "Required": true,
            "ValidRegEx": "",
            "DefaultValue": 0
        },
        {
            "Name": "ForeCastName",
            "Type": "string",
            "Label": "Forecast*",
            "PostData": true,
            "Required": true,
            "ValidRegEx": "",
            "DefaultValue": "",
            "LinkId": "ForeCastId",
            "PicklistJSON": "ForecastData",
            "Multiple": false,
            "PicklistTitle": "Name",
            "PlaceHolder": "Select the Forecast",
            "Width": 250,
            "LabelWidth": 150,
            "AddNew": true,
            "IsFirstField": true,
            "MaxLength": 10,
            "isKeyField": true
        },
        {
            "Name": "ItemId",
            "Type": "number",
            "Required": true,
            "ValidRegEx": "",
            "DefaultValue": 0
        },
        {
            "Name": "ItemCode",
            "Type": "string",
            "Label": "Item Code*",
            "PostData": true,
            "Required": false,
            "ValidRegEx": "",
            "DefaultValue": "",
            "LinkId": "ItemId",
            "PicklistJSON": "ItemCode",
            "Multiple": false,
            "PicklistTitle": "Code",
            "PlaceHolder": "Select the Item Code",
            "Width": 200,
            "LabelWidth": 150,
            "AddNew": true,
            "IsFirstField": false,
            "MaxLength": 200,
            "isKeyField": true
        },
        {
            "Name": "ItemName",
            "Type": "string",
            "Label": "Item*",
            "PostData": true,
            "Required": true,
            "ValidRegEx": "",
            "DefaultValue": "",
            "LinkId": "ItemId",
            "PicklistJSON": "ItemName",
            "Multiple": false,
            "PicklistTitle": "Name",
            "PlaceHolder": "Select the Item Name",
            "Width": 250,
            "LabelWidth": 150,
            "AddNew": false,
            "IsFirstField": true,
            "MaxLength": 200,
            "isKeyField": true
        },
        {
            "Name": "SKUId",
            "Type": "number",
            "Required": true,
            "ValidRegEx": "",
            "DefaultValue": 0
        },
        {
            "Name": "SKUName",
            "Type": "string",
            "Label": "SKU",
            "PostData": true,
            "Required": true,
            "ValidRegEx": "",
            "DefaultValue": "",
            "LinkId": "SKUId",
            "PicklistJSON": "Sku",
            "Multiple": false,
            "PicklistTitle": "Name",
            "PlaceHolder": "Select the SKU",
            "Width": 200,
            "LabelWidth": 150,
            "AddNew": false,
            "IsFirstField": false,
            "MaxLength": 200,
            "isKeyField": true
        },
        {
            "Name": "ForeCastDataPeriodType",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "DefaultValue": 0,
            "Width": 100,
            "Label": "Period Type",
            "PickLists": [
                {
                    "key": 0,
                    "value": "Day"
                },
                {
                    "key": 1,
                    "value": "Week"
                },
                {
                    "key": 2,
                    "value": "Month"
                }
            ]
        },
        {
            "Name": "ForeCastDataFromDate",
            "Type": "Date",
            "Label": "Period From",
            "Required": false,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": "today"
        },
        {
            "Name": "ForeCastDataToDate",
            "Type": "Date",
            "Label": "Period To",
            "Required": false,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": "today"
        },
        {
            "Name": "ForeCastDataQuantity",
            "Type": "number",
            "LabelWidth": 150,
            "Required": true,
            "Placeholder": "Quantity",
            "ValidRegEx": "",
            "MaxLength": 25,
            "PostData": true,
            "Width": 150,
            "DefaultValue": "",
            "Label": "Quantity"
        },
        {
            "Name": "ForeCastDataConsumedQuantity",
            "Type": "number",
            "LabelWidth": 150,
            "Required": false,
            "Placeholder": "Enter Consumed Quantity",
            "ValidRegEx": "",
            "MaxLength": 5,
            "PostData": true,
            "Width": 200,
            "ReadOnly": true,
            "DefaultValue": "",
            "Label": "Consumed Quantity"
        },
        {
            "Name": "ForeCastDataBalanceQuantity",
            "Type": "number",
            "LabelWidth": 150,
            "Required": true,
            "Placeholder": "Enter Balance Quantity",
            "ValidRegEx": "",
            "MaxLength": 150,
            "PostData": false,
            "Width": 200,
            "DefaultValue": "",
            "Label": "Balance Quantity"
        },
        {
            "Name": "ForeCastDataConfidencePercent",
            "Type": "number",
            "LabelWidth": 150,
            "Required": true,
            "Placeholder": "Percent",
            "ValidRegEx": "",
            "MaxLength": 25,
            "PostData": true,
            "Width": 150,
            "DefaultValue": "",
            "Label": "Percentage"
        },
        {
            "Name": "ForeCastDataRemarks",
            "Type": "string",
            "LabelWidth": 150,
            "Required": true,
            "Placeholder": "Enter Remarks",
            "ValidRegEx": "",
            "MaxLength": 250,
            "PostData": true,
            "Width": 200,
            "DefaultValue": "",
            "Label": "Remarks"
        },
        {
            "Name": "PartyId",
            "Type": "number",
            "Required": true,
            "ValidRegEx": "",
            "DefaultValue": 0
        },
        {
            "Name": "PartyName",
            "Type": "string",
            "Label": "Party",
            "PostData": true,
            "Required": true,
            "ValidRegEx": "",
            "DefaultValue": "",
            "LinkId": "PartyId",
            "PicklistJSON": "MachineParty",
            "Multiple": false,
            "PicklistTitle": "Name",
            "PlaceHolder": "Select the Party",
            "Width": 200,
            "LabelWidth": 150,
            "AddNew": true,
            "IsFirstField": false,
            "MaxLength": 150,
            "isKeyField": true
        },
        {
            "Name": "AllocationId",
            "Type": "number",
            "Required": true,
            "ValidRegEx": "",
            "DefaultValue": 0
        },
        {
            "Name": "AllocationName",
            "Type": "string",
            "Label": "Allocation",
            "PostData": true,
            "Required": true,
            "ValidRegEx": "",
            "DefaultValue": "",
            "LinkId": "AllocationId",
            "PicklistJSON": "PayrollAcctAllocationName",
            "Multiple": false,
            "PicklistTitle": "Name",
            "PlaceHolder": "Select the Allocation",
            "Width": 250,
            "LabelWidth": 150,
            "AddNew": true,
            "IsFirstField": false,
            "MaxLength": 200,
            "isKeyField": true
        },
        {
            "Name": "ForecastDataArray",
            "Type": "string",
            "Label": "Forecast Data",
            "PostData": true,
            "SLNOField": "ForecastDataSlNo",
            "Required": false,
            "Grid": [
                {
                    "Label": "#",
                    "value": "ForecastDataSlNo",
                    "width": 50,
                    "Type": "SNo",
                    "IsVisible": true,
                    "SNo": 1,
                    "sticky": false
                },
                {
                    "Label": "",
                    "value": "ItemId",
                    "Type": "number",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": -1,
                    "SNo": 2
                },
                {
                    "Label": "Item Code",
                    "value": "ItemCode",
                    "width": 150,
                    "Type": "Picklist",
                    "sticky": false,
                    "Required": true,
                    "PostData": true,
                    "PicklistDetail": {
                        "PicklistUrl": "Items",
                        "PicklistDisplayText": "Code",
                        "PicklistSearchFields": "Code",
                        "Multiple": false,
                        "DefaultValue": "",
                        "AddNew": false,
                        "PlaceHolder": "Select the Item Code",
                        "LinkId": "ItemId,ItemCode",
                        "PicklistSelection": "Id",
                        "PicklistTitle": "Code",
                        "Label": "",
                        "Width": 160,
                        "ColumnWidth": "250,470",
                        "ColumnType": "string"
                    },
                    "IsVisible": true,
                    "SNo": 3
                },
                {
                    "Label": "Item Name",
                    "value": "ItemName",
                    "width": 160,
                    "Type": "Picklist",
                    "sticky": false,
                    "Required": true,
                    "PostData": true,
                    "PicklistDetail": {
                        "PicklistUrl": "Items",
                        "PicklistDisplayText": "Name",
                        "PicklistSearchFields": "Name",
                        "Multiple": false,
                        "DefaultValue": "",
                        "AddNew": false,
                        "PlaceHolder": "Select the Item Name",
                        "LinkId": "ItemId,ItemName",
                        "PicklistSelection": "Id",
                        "PicklistTitle": "Name",
                        "Label": "",
                        "Width": 160,
                        "ColumnWidth": "600",
                        "ColumnType": "string"
                    },
                    "IsVisible": true,
                    "SNo": 4
                },
                {
                    "Label": "",
                    "value": "SKUId",
                    "Type": "number",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": -1,
                    "SNo": 5
                },
                {
                    "Label": "SKU",
                    "value": "SKUName",
                    "width": 160,
                    "Type": "Picklist",
                    "sticky": false,
                    "Required": true,
                    "PostData": true,
                    "PicklistDetail": {
                        "PicklistUrl": "sku",
                        "PicklistDisplayText": "Name",
                        "PicklistSearchFields": "Name",
                        "Multiple": false,
                        "DefaultValue": "",
                        "AddNew": false,
                        "PlaceHolder": "Select the SKU",
                        "LinkId": "SKUId,SKUName",
                        "PicklistSelection": "Id",
                        "PicklistTitle": "Name",
                        "Label": "",
                        "Width": 250,
                        "ColumnWidth": "720",
                        "ColumnType": "string"
                    },
                    "IsVisible": true,
                    "SNo": 6
                },
                {
                    "Label": "Period Type",
                    "value": "ForeCastDataPeriodType",
                    "width": 130,
                    "Type": "ComboBox",
                    "SNo": 7,
                    "DefaultValue": 0,
                    "sticky": true,
                    "left": 355,
                    "IsVisible": true,
                    "PickLists": [
                        {
                            "key": 0,
                            "value": "Day"
                        },
                        {
                            "key": 1,
                            "value": "Week"
                        },
                        {
                            "key": 2,
                            "value": "Month"
                        }
                    ]
                },
                {
                    "Label": "Period From",
                    "value": "ForeCastDataFromDate",
                    "Type": "Date",
                    "Required": false,
                    "ValidRegEx": "",
                    "SNo": 8,
                    "IsVisible": "true",
                    "DefaultValue": "today",
                    "MaxLength": 14,
                    "sticky": true,
                    "width": 160
                },
                {
                    "Label": "Period To",
                    "value": "ForeCastDataToDate",
                    "Type": "Date",
                    "Required": false,
                    "ValidRegEx": "",
                    "SNo": 9,
                    "IsVisible": "true",
                    "DefaultValue": "today",
                    "MaxLength": 14,
                    "sticky": true,
                    "width": 160
                },
                {
                    "Label": "Quantity",
                    "value": "ForeCastDataQuantity",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "PostData": true,
                    "sticky": true,
                    "DefaultValue": "",
                    "width": 100,
                    "SNo": 10,
                    "Placeholder": "0"
                },
                {
                    "Label": "Consume Qty",
                    "value": "ForeCastDataConsumedQuantity",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "PostData": true,
                    "sticky": true,
                    "DefaultValue": "",
                    "width": 100,
                    "SNo": 11,
                    "Placeholder": "0"
                },
                {
                    "Label": "Balance Qty",
                    "value": "ForeCastDataBalanceQuantity",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "PostData": true,
                    "sticky": true,
                    "DefaultValue": "",
                    "width": 100,
                    "SNo": 12,
                    "Placeholder": "0"
                },
                {
                    "Label": "Per%",
                    "value": "ForeCastDataConfidencePercent",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "PostData": true,
                    "sticky": true,
                    "DefaultValue": "",
                    "width": 100,
                    "SNo": 13,
                    "Placeholder": "0"
                },
                {
                    "Label": "Remarks",
                    "value": "ForeCastDataRemarks",
                    "Type": "string",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "DefaultValue": "",
                    "SNo": 18,
                    "Placeholder": "Enter Remarks"
                },
                {
                    "Label": "",
                    "value": "PartyId",
                    "Type": "number",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": -1,
                    "SNo": 14
                },
                {
                    "Label": "Party",
                    "value": "PartyName",
                    "width": 160,
                    "Type": "Picklist",
                    "sticky": false,
                    "Required": true,
                    "PostData": true,
                    "PicklistDetail": {
                        "PicklistUrl": "Party",
                        "PicklistDisplayText": "Name",
                        "PicklistSearchFields": "Name",
                        "Multiple": false,
                        "DefaultValue": "",
                        "AddNew": false,
                        "PlaceHolder": "Select the Party",
                        "LinkId": "PartyId,PartyName",
                        "PicklistSelection": "Id",
                        "PicklistTitle": "Name",
                        "Label": "",
                        "Width": 200,
                        "ColumnWidth": "720",
                        "ColumnType": "string"
                    },
                    "IsVisible": true,
                    "SNo": 15
                },
                {
                    "Label": "",
                    "value": "AllocationId",
                    "Type": "number",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": -1,
                    "SNo": 16
                },
                {
                    "Label": "Allocation",
                    "value": "AllocationName",
                    "width": 180,
                    "Type": "Picklist",
                    "sticky": false,
                    "Required": true,
                    "PostData": true,
                    "PicklistDetail": {
                        "PicklistUrl": "Allocation",
                        "PicklistDisplayText": "Name",
                        "PicklistSearchFields": "Name",
                        "Multiple": false,
                        "DefaultValue": "",
                        "AddNew": false,
                        "PlaceHolder": "Select the Allocation",
                        "LinkId": "AllocationId,AllocationName",
                        "PicklistSelection": "Id",
                        "PicklistTitle": "Name",
                        "Label": "",
                        "Width": 200,
                        "ColumnWidth": "720",
                        "ColumnType": "string"
                    },
                    "IsVisible": true,
                    "SNo": 17
                }
            ]
        }
    ]
}