{
    "ObjectFields": [
        {
            "Name": "Module",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "DefaultValue": 0,
            "Width": 300,
            "Label": "Module",
            "PickLists": [
                {
                    "key": 0,
                    "value": "Others"
                },
                {
                    "key": 1,
                    "value": "HRMS"
                }
            ]
        },
        {
            "Name": "ValidateLockId",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "PostData": false,
            "DefaultValue": -1,
            "Width": 100
        },
        {
            "Name": "ValidateLockCode",
            "Type": "string",
            "Label": "Lock*",
            "PostData": false,
            "Required": true,
            "ValidRegEx": "",
            "DefaultValue": "",
            "LinkId": "ValidateLockId",
            "PicklistJSON": "ValidationCode",
            "Multiple": false,
            "PicklistTitle": "Code",
            "PlaceHolder": "Select the Code",
            "Width": 250,
            "LabelWidth": 150,
            "AddNew": false,
            "IsFirstField": true,
            "isKeyField": true
        },
        {
            "Name": "Format",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "DefaultValue": "",
            "Width": 300,
            "Label": "Format",
            "PickLists": [
                {
                    "key": 0,
                    "value": "Excel"
                },
                {
                    "key": 1,
                    "value": "Text"
                }
            ]
        },
        {
            "Name": "OUId",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "PostData": false,
            "DefaultValue": -1,
            "Width": 100
        },
        {
            "Name": "OUName",
            "Type": "string",
            "Label": "Org Unit",
            "PostData": false,
            "Required": false,
            "ValidRegEx": "",
            "DefaultValue": "",
            "LinkId": "OUId",
            "PicklistJSON": "UndoPayrollOrgUnitName",
            "Multiple": false,
            "PicklistTitle": "Code",
            "PlaceHolder": "Select the Org Unit",
            "Width": 400,
            "LabelWidth": 150,
            "AddNew": false,
            "isKeyField": true
        },
       
        {
            "Name": "PayConfigurationId",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "PostData": false,
            "DefaultValue": -1,
            "Width": 100
        },
        {
            "Name": "PayConfigurationName",
            "Type": "string",
            "Label": "Pay Configuration",
            "PostData": false,
            "Required": false,
            "ValidRegEx": "",
            "DefaultValue": "",
            "LinkId": "PayConfigurationId",
            "PicklistJSON": "Payconfig",
            "Multiple": false,
            "PicklistTitle": "Name",
            "PlaceHolder": "Select the Payconfig",
            "Width": 250,
            "LabelWidth": 150,
            "AddNew": false,
            "isKeyField": true
        },
         {
            "Name": "PayPeriodId",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "PostData": false,
            "DefaultValue": -1,
            "Width": 100
        },
        {
            "Name": "PayPeriodName",
            "Type": "string",
            "Label": "Pay Period",
            "PostData": false,
            "Required": false,
            "ValidRegEx": "",
            "DefaultValue": "",
            "LinkId": "PayPeriodId",
            "PicklistJSON": "punchdetail",
            "Multiple": false,
            "PicklistTitle": "Name",
            "PlaceHolder": "Select Payperiod",
            "Width": 250,
            "LabelWidth": 150,
            "AddNew": false,
            "isKeyField": true,
            "PicklistCriteria":"Validatelock"
        },
         {
            "Name": "AttendanceFromDate",
            "Type": "Date",
            "Label": "From Date",
            "Required": false,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": "today"
        },
         {
            "Name": "AttendanceToDate",
            "Type": "Date",
            "Label": "From Date",
            "Required": false,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": "today"
        }
    ]
}