{
    "ObjectFields": [
        {
            "Name": "LineAllocationId",
            "Type": "number",
            "Required": true,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": 0
        },
        {
            "Name": "ProductionPlanDetailId",
            "Type": "number",
            "Required": true,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": -1
        },
        {
            "Name": "ProductionPlanDetailCode",
            "Type": "string",
            "Label": "Plan Detail*",
            "PostData": false,
            "Required": true,
            "ValidRegEx": "",
            "DefaultValue": "",
            "LinkId": "ProductionPlanDetailId",
            "PicklistJSON": "ProductionPlanDetail",
            "Multiple": false,
            "PicklistTitle": "Code",
            "PlaceHolder": "Select Plan / Item / Qty / Dates",
            "Width": 295,
            "LabelWidth": 185
        },
        {
            "Name": "ProductionLineId",
            "Type": "number",
            "Required": true,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": -1
        },
        {
            "Name": "ProductionLineName",
            "Type": "string",
            "Label": "Line Name*",
            "PostData": false,
            "Required": true,
            "ValidRegEx": "",
            "DefaultValue": "",
            "LinkId": "ProductionLineId",
            "PicklistJSON": "productionline",
            "Multiple": false,
            "PicklistTitle": "Name",
            "PlaceHolder": "Select Line Name",
            "Width": 295,
            "LabelWidth": 135
        },
        {
            "Name": "ShiftId",
            "Type": "number",
            "Required": true,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": -1
        },
        {
            "Name": "ShiftCode",
            "Type": "string",
            "Label": "Shift*",
            "PostData": false,
            "Required": true,
            "ValidRegEx": "",
            "DefaultValue": "",
            "LinkId": "ShiftId",
            "PicklistJSON": "shiftmaster",
            "Multiple": false,
            "PicklistTitle": "Code",
            "PlaceHolder": "Select Shift",
            "Width": 295,
            "LabelWidth": 185
        },
        {
            "Name": "AllocationDate",
            "Type": "string",
            "Label": "Allocation Date*",
            "Width": 100,
            "Required": true,
            "LabelWidth": 150,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": "today"
        },
        {
            "Name": "IsWholeLine",
            "Type": "boolean",
            "Label": "Whole Line (no specific workstation)",
            "Required": false,
            "PostData": false,
            "DefaultValue": true
        },
        {
            "Name": "WorkStationId",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": -1
        },
        {
            "Name": "WorkStationName",
            "Type": "string",
            "Label": "Workstation",
            "PostData": false,
            "Required": false,
            "ValidRegEx": "",
            "DefaultValue": "",
            "LinkId": "WorkStationId",
            "PicklistJSON": "workstation",
            "Multiple": false,
            "PicklistTitle": "WorkstationName",
            "PlaceHolder": "Select Workstation",
            "Width": 295,
            "LabelWidth": 135
        },
        {
            "Name": "IsWholeShift",
            "Type": "boolean",
            "Label": "Whole Shift (no specific time window)",
            "Required": false,
            "PostData": false,
            "DefaultValue": true
        },
        {
            "Name": "StartMinutes",
            "Type": "number",
            "Label": "Start (minutes from shift start)",
            "Required": false,
            "PostData": true,
            "DefaultValue": null,
            "Width": 200,
            "LabelWidth": 185
        },
        {
            "Name": "EndMinutes",
            "Type": "number",
            "Label": "End (minutes from shift start)",
            "Required": false,
            "PostData": true,
            "DefaultValue": null,
            "Width": 200,
            "LabelWidth": 185
        },
        {
            "Name": "AllocatedQuantity",
            "Type": "number",
            "Label": "Allocated Quantity",
            "Required": false,
            "PostData": true,
            "DefaultValue": null,
            "Width": 200,
            "LabelWidth": 185
        },
        {
            "Name": "Remarks",
            "Type": "string",
            "Label": "Remarks",
            "Required": false,
            "ValidRegEx": "",
            "Placeholder": "Enter Remarks",
            "MaxLength": 400,
            "Width": 371,
            "PostData": true,
            "DefaultValue": ""
        }
    ]
}
