{
  "code": "payrollitem",
  "id": 0,
  "translations": {
    "en": "Payroll Item"
  },
  "inactive": false,
  "fields": [
    {
      "code": "allowbulkentry",
      "type": "CHECKBOX",
      "translations": {
        "en": {
          "label": "Allow entry from Create Payroll"
        }
      },
      "mandatory": false
    },
    {
      "code": "applylimit",
      "type": "CHECKBOX",
      "translations": {
        "en": {
          "label": "Apply Limit to All Employees"
        }
      },
      "mandatory": false
    },
    {
      "code": "applyrate",
      "type": "CHECKBOX",
      "translations": {
        "en": {
          "label": "Apply Rate to All Employees"
        }
      },
      "mandatory": false
    },
    {
      "code": "basedonquantity",
      "type": "CHECKBOX",
      "translations": {
        "en": {
          "label": "Based on quantity"
        }
      },
      "mandatory": false
    },
    {
      "code": "defaultrate",
      "type": "RATE",
      "translations": {
        "en": {
          "label": "Default Rate"
        }
      },
      "mandatory": false
    },
    {
      "code": "employeepaid",
      "type": "CHECKBOX",
      "translations": {
        "en": {
          "label": "Employee Paid"
        }
      },
      "mandatory": false
    },
    {
      "code": "expenseaccount",
      "type": "TEXT",
      "translations": {
        "en": {
          "label": "Expense Account"
        }
      },
      "mandatory": false
    },
    {
      "code": "externalid",
      "type": "TEXT",
      "translations": {
        "en": {
          "label": "ExternalId"
        }
      },
      "mandatory": false
    },
    {
      "code": "inactive",
      "type": "CHECKBOX",
      "translations": {
        "en": {
          "label": "Inactive"
        }
      },
      "mandatory": false
    },
    {
      "code": "isinactive",
      "type": "CHECKBOX",
      "translations": {
        "en": {
          "label": "Inactive"
        }
      },
      "mandatory": false
    },
    {
      "code": "itemtype",
      "type": "SELECT",
      "translations": {
        "en": {
          "label": "Item Type"
        }
      },
      "mandatory": true,
      "recordType": null
    },
    {
      "code": "itemtypenohierarchy",
      "type": "TEXT",
      "translations": {
        "en": {
          "label": "Item Type (no hierarchy)"
        }
      },
      "mandatory": false
    },
    {
      "code": "liabilityaccount",
      "type": "TEXT",
      "translations": {
        "en": {
          "label": "Liability Account"
        }
      },
      "mandatory": false
    },
    {
      "code": "limit",
      "type": "CURRENCY",
      "translations": {
        "en": {
          "label": "Limit"
        }
      },
      "mandatory": false
    },
    {
      "code": "limitiswithholding",
      "type": "RADIO",
      "translations": {
        "en": {
          "label": "Wage"
        }
      },
      "mandatory": false
    },
    {
      "code": "limittype",
      "type": "TEXT",
      "translations": {
        "en": {
          "label": "Limit Type"
        }
      },
      "mandatory": false
    },
    {
      "code": "masterpaycode",
      "type": "TEXT",
      "translations": {
        "en": {
          "label": "Master Pay Code"
        }
      },
      "mandatory": false
    },
    {
      "code": "name",
      "type": "TEXT",
      "translations": {
        "en": {
          "label": "Name"
        }
      },
      "mandatory": false
    },
    {
      "code": "name",
      "type": "TEXT",
      "translations": {
        "en": {
          "label": "Name"
        }
      },
      "mandatory": true
    },
    {
      "code": "reportingsection",
      "type": "SELECT",
      "translations": {
        "en": {
          "label": "Report Section"
        }
      },
      "mandatory": false,
      "recordType": null
    },
    {
      "code": "showinemployeecenter",
      "type": "CHECKBOX",
      "translations": {
        "en": {
          "label": "View in Employee Center"
        }
      },
      "mandatory": false
    },
    {
      "code": "subsidiary",
      "type": "SELECT",
      "translations": {
        "en": {
          "label": "Subsidiary"
        }
      },
      "mandatory": true,
      "recordType": "subsidiary"
    },
    {
      "code": "usedefaults",
      "type": "CHECKBOX",
      "translations": {
        "en": {
          "label": "Use System Defaults"
        }
      },
      "mandatory": false
    },
    {
      "code": "vendor",
      "type": "TEXT",
      "translations": {
        "en": {
          "label": "Vendor"
        }
      },
      "mandatory": false
    }
  ],
  "subLists": [
    {
      "code": "employeepaycodelist",
      "translations": {
        "en": "Employees"
      },
      "fields": [
        {
          "code": "apply",
          "type": "CHECKBOX",
          "translations": {
            "en": {
              "label": "Apply"
            }
          },
          "mandatory": false
        },
        {
          "code": "employeeid",
          "type": "INTEGER",
          "translations": {
            "en": {
              "label": "Name"
            }
          },
          "mandatory": false
        },
        {
          "code": "empprevstate",
          "type": "TEXT",
          "translations": {
            "en": {
              "label": "State"
            }
          },
          "mandatory": false
        },
        {
          "code": "inactive",
          "type": "CHECKBOX",
          "translations": {
            "en": {
              "label": "Inactive"
            }
          },
          "mandatory": false
        }
      ]
    }
  ],
  "tabs": [
    {
      "code": "employee",
      "translations": {
        "en": "Employee"
      }
    }
  ]
}