{
    "ObjectFields": [
        {
            "Name": "JobCardNumber",
            "Type": "string",
            "Label": "Common.code",
            "Required": true,
            "PostData": true,
            "PicklistJSON": "JobCard",
            "Multiple": false,
            "LinkId": "JobCardId",
            "PicklistTitle": "Number",
            "PlaceHolder": "Enter Job Card Number",
            "Width": 210,
            "AddNew": true,
            "MaxLength": 20,
            "DefaultValue": "",
            "IsFirstField": true,
            "LabelWidth": 140,
            "isKeyField": true
        },
        { "Name": "JobCardId",              "Type": "number", "Required": false, "PostData": true,  "DefaultValue": 0        },
        { "Name": "JobCardDate",            "Type": "date",   "Label": "Common.date",               "Required": true,  "PostData": true,  "DefaultValue": "", "Width": 150, "LabelWidth": 140 },
        { "Name": "BizTransactionTypeId",   "Type": "number", "Required": false, "PostData": true,  "DefaultValue": -1       },
        { "Name": "BizTransactionTypeName", "Type": "string", "Label": "Common.bizTransactionType", "Required": true,  "PostData": false, "PicklistJSON": "BIZTransactionType", "LinkId": "BizTransactionTypeId", "Width": 210, "LabelWidth": 140 },
        { "Name": "OUId",                   "Type": "number", "Required": false, "PostData": true,  "DefaultValue": "OUId"   },
        { "Name": "OUName",                 "Type": "string", "Label": "Common.organizationUnit",   "Required": true,  "PostData": false, "PicklistJSON": "OrganizationUnit", "LinkId": "OUId", "Width": 210, "LabelWidth": 140 },
        { "Name": "PeriodId",               "Type": "number", "Required": false, "PostData": true,  "DefaultValue": "StateId"},
        { "Name": "PeriodName",             "Type": "string", "Label": "Common.period",             "Required": true,  "PostData": false, "PicklistJSON": "Period", "LinkId": "PeriodId", "Width": 210, "LabelWidth": 140 },
        { "Name": "IndentDetailId",         "Type": "number", "Required": false, "PostData": true,  "DefaultValue": -1       },
        { "Name": "WorkOrderNumber",        "Type": "string", "Label": "Production.workOrder",      "Required": true,  "PostData": false, "PicklistJSON": "WorkOrder", "LinkId": "IndentDetailId", "Width": 210, "LabelWidth": 140 },
        { "Name": "WorkCenterId",           "Type": "number", "Required": false, "PostData": true,  "DefaultValue": -1       },
        { "Name": "WorkCenterName",         "Type": "string", "Label": "Production.workCenter",     "Required": true,  "PostData": false, "PicklistJSON": "WorkCenter", "LinkId": "WorkCenterId", "Width": 210, "LabelWidth": 140 },
        { "Name": "InChargeId",             "Type": "number", "Required": false, "PostData": true,  "DefaultValue": -1       },
        { "Name": "InChargeName",           "Type": "string", "Label": "Production.inCharge",       "Required": false, "PostData": false, "PicklistJSON": "Employee", "LinkId": "InChargeId", "Width": 210, "LabelWidth": 140 },
        { "Name": "PlannedStartDate",       "Type": "date",   "Label": "Common.startDate",          "Required": false, "PostData": true,  "DefaultValue": "", "Width": 150, "LabelWidth": 140 },
        { "Name": "PlannedEndDate",         "Type": "date",   "Label": "Common.endDate",            "Required": false, "PostData": true,  "DefaultValue": "", "Width": 150, "LabelWidth": 140 },
        { "Name": "Remarks",                "Type": "string", "Label": "Common.remarks",            "Required": false, "PostData": true,  "DefaultValue": "", "Width": 420, "MaxLength": 200, "LabelWidth": 140 },
        {
            "Name": "JobCardDetailArray",
            "Type": "grid",
            "Required": true,
            "PostData": true,
            "Grid": [
                { "Name": "SlNo",                "Label": "Common.slNo",         "Type": "number",  "Width": 50,  "PostData": true,  "DefaultValue": 0  },
                { "Name": "ItemId",              "Label": "",                    "Type": "number",  "Width": 0,   "PostData": true,  "DefaultValue": -1 },
                { "Name": "ItemName",            "Label": "Common.item",         "Type": "string",  "Width": 180, "PostData": false, "DefaultValue": "", "PicklistJSON": "Item", "LinkId": "ItemId" },
                { "Name": "PlannedQuantity",     "Label": "Common.quantity",     "Type": "decimal", "Width": 110, "PostData": true,  "DefaultValue": 0  },
                { "Name": "CompletedQuantity",   "Label": "Production.completedQty","Type":"decimal","Width": 110, "PostData": true,  "DefaultValue": 0  },
                { "Name": "RejectedQuantity",    "Label": "Production.rejQty",   "Type": "decimal", "Width": 100, "PostData": true,  "DefaultValue": 0  }
            ]
        },
        {
            "Name": "JobCardMaterialArray",
            "Type": "grid",
            "Required": false,
            "PostData": true,
            "Grid": [
                { "Name": "SlNo",          "Label": "Common.slNo",      "Type": "number",  "Width": 50,  "PostData": true,  "DefaultValue": 0  },
                { "Name": "MaterialId",    "Label": "",                 "Type": "number",  "Width": 0,   "PostData": true,  "DefaultValue": -1 },
                { "Name": "MaterialName",  "Label": "Common.material",  "Type": "string",  "Width": 180, "PostData": false, "DefaultValue": "", "PicklistJSON": "Item", "LinkId": "MaterialId" },
                { "Name": "RequiredQty",   "Label": "Common.required",  "Type": "decimal", "Width": 110, "PostData": true,  "DefaultValue": 0  },
                { "Name": "IssuedQty",     "Label": "Common.issued",    "Type": "decimal", "Width": 110, "PostData": true,  "DefaultValue": 0  }
            ]
        },
        {
            "Name": "JobCardProcessArray",
            "Type": "grid",
            "Required": false,
            "PostData": true,
            "Grid": [
                { "Name": "SlNo",          "Label": "Common.slNo",       "Type": "number",  "Width": 50,  "PostData": true,  "DefaultValue": 0  },
                { "Name": "ProcessId",     "Label": "",                  "Type": "number",  "Width": 0,   "PostData": true,  "DefaultValue": -1 },
                { "Name": "ProcessName",   "Label": "Common.process",    "Type": "string",  "Width": 180, "PostData": false, "DefaultValue": "", "PicklistJSON": "Process", "LinkId": "ProcessId" },
                { "Name": "SequenceOrder", "Label": "Common.sequence",   "Type": "number",  "Width": 80,  "PostData": true,  "DefaultValue": 0  },
                { "Name": "PlannedMinutes","Label": "Production.plannedMin","Type":"number", "Width": 100, "PostData": true,  "DefaultValue": 0  }
            ]
        }
    ]
}
