{
 "actions": [],
 "allow_rename": 0,
 "autoname": "format:AMAS-EMP-{####}",
 "creation": "2026-02-06 10:00:00",
 "doctype": "DocType",
 "engine": "InnoDB",
 "field_order": [
  "employee_section",
  "full_name",
  "identification_number",
  "ssn",
  "column_break_emp1",
  "birthday",
  "work_position_text",
  "monthly_salary",
  "personal_info_section",
  "father_name",
  "gender",
  "nationality",
  "blood_type",
  "column_break_personal1",
  "marital_status",
  "military_status",
  "personal_address",
  "personal_city",
  "personal_district",
  "document_section",
  "document_number",
  "document_issue_date",
  "document_expiry_date",
  "column_break_document1",
  "document_issued_by",
  "contract_section",
  "doc_no",
  "doc_date",
  "doc_type",
  "contract_type",
  "column_break_contract1",
  "contract_status",
  "begin_date",
  "end_date",
  "main_contract_begin_date",
  "contract_details_section",
  "contract_number",
  "prev_contract",
  "is_signed",
  "contract_validity",
  "column_break_contract_details1",
  "staff_oid",
  "structure_unit_oid",
  "entity_oid",
  "entity_details_oid",
  "contract_details_section2",
  "contract_reason",
  "from_migration",
  "contract_begin_date",
  "contract_end_date",
  "position_activity_section",
  "work_position",
  "position_id",
  "position_text",
  "activity_code",
  "column_break_position1",
  "activity_name",
  "staff_unit",
  "structure_path",
  "workplace_sector",
  "salary_compensation_section",
  "base_salary",
  "salary_add",
  "salary_add_hw",
  "award_amount",
  "award_type",
  "column_break_salary1",
  "overtime_amount",
  "bad_condition_amount",
  "bad_condition_id",
  "currency_type",
  "payment_type",
  "payment_first_day",
  "bank_oid",
  "work_schedule_section",
  "work_mode_type",
  "is_full_time",
  "work_time",
  "working_time_cumulative",
  "column_break_schedule1",
  "first_shift_start",
  "first_shift_end",
  "second_shift_start",
  "second_shift_end",
  "lunch_start",
  "lunch_end",
  "vacation_section",
  "vacation_days_count",
  "vacation_general_duration",
  "vacation_main_duration",
  "vacation_add_dur_one",
  "column_break_vacation1",
  "vacation_add_dur_two",
  "vacation_add_dur_four",
  "vacation_amount",
  "profession_employee_for_vacation",
  "education_section",
  "education",
  "scientific_degree",
  "speciality_degree",
  "column_break_education1",
  "state_speciality_degree",
  "qualification_degree_salary_add",
  "contact_info_section",
  "contact_phone",
  "contact_email",
  "column_break_contact1",
  "work_address_oid",
  "work_address_street",
  "work_address_district",
  "employer_info_section",
  "employer_pin",
  "employer_tin",
  "chairman_pin",
  "additional_metadata_section",
  "doc_state",
  "created_date",
  "labour_function",
  "column_break_metadata1",
  "protection_tools",
  "payment_other_cond",
  "activity_name_detail",
  "rule_text",
  "dates_section",
  "emp_job_start_date",
  "sign_type",
  "is_valid",
  "column_break_dates1",
  "dur_state",
  "operation",
  "after_exec_label",
  "details_section",
  "workplace_type",
  "form_size",
  "flow",
  "column_break_details1",
  "flow_alias",
  "tree_path_name",
  "view_type",
  "doc_oid",
  "organization_section",
  "asan_login",
  "organization_name",
  "organization_voen",
  "column_break_org1",
  "employee",
  "import_date",
  "contract_document_section",
  "contract_html",
  "raw_data"
 ],
 "fields": [
  {
   "fieldname": "employee_section",
   "fieldtype": "Section Break",
   "label": "Employee"
  },
  {
   "fieldname": "full_name",
   "fieldtype": "Data",
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Full Name",
   "read_only": 1
  },
  {
   "fieldname": "identification_number",
   "fieldtype": "Data",
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "FIN",
   "reqd": 1,
   "read_only": 1
  },
  {
   "fieldname": "ssn",
   "fieldtype": "Data",
   "label": "SSN",
   "read_only": 1
  },
  {
   "fieldname": "column_break_emp1",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "birthday",
   "fieldtype": "Data",
   "label": "Birthday",
   "read_only": 1
  },
  {
   "fieldname": "work_position_text",
   "fieldtype": "Data",
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Position",
   "read_only": 1
  },
  {
   "fieldname": "monthly_salary",
   "fieldtype": "Data",
   "label": "Monthly Salary",
   "read_only": 1
  },
  {
   "fieldname": "personal_info_section",
   "fieldtype": "Section Break",
   "label": "Personal Information",
   "collapsible": 1
  },
  {
   "fieldname": "father_name",
   "fieldtype": "Data",
   "label": "Father Name",
   "read_only": 1
  },
  {
   "fieldname": "gender",
   "fieldtype": "Data",
   "label": "Gender",
   "read_only": 1
  },
  {
   "fieldname": "nationality",
   "fieldtype": "Data",
   "label": "Nationality",
   "read_only": 1
  },
  {
   "fieldname": "blood_type",
   "fieldtype": "Data",
   "label": "Blood Type",
   "read_only": 1
  },
  {
   "fieldname": "column_break_personal1",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "marital_status",
   "fieldtype": "Data",
   "label": "Marital Status",
   "read_only": 1
  },
  {
   "fieldname": "military_status",
   "fieldtype": "Data",
   "label": "Military Status",
   "read_only": 1
  },
  {
   "fieldname": "personal_address",
   "fieldtype": "Small Text",
   "label": "Personal Address",
   "read_only": 1
  },
  {
   "fieldname": "personal_city",
   "fieldtype": "Data",
   "label": "Personal City",
   "read_only": 1
  },
  {
   "fieldname": "personal_district",
   "fieldtype": "Data",
   "label": "Personal District",
   "read_only": 1
  },
  {
   "fieldname": "document_section",
   "fieldtype": "Section Break",
   "label": "Document Information",
   "collapsible": 1
  },
  {
   "fieldname": "document_number",
   "fieldtype": "Data",
   "label": "Document Number",
   "read_only": 1
  },
  {
   "fieldname": "document_issue_date",
   "fieldtype": "Date",
   "label": "Document Issue Date",
   "read_only": 1
  },
  {
   "fieldname": "document_expiry_date",
   "fieldtype": "Date",
   "label": "Document Expiry Date",
   "read_only": 1
  },
  {
   "fieldname": "column_break_document1",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "document_issued_by",
   "fieldtype": "Data",
   "label": "Document Issued By",
   "read_only": 1
  },
  {
   "fieldname": "contract_section",
   "fieldtype": "Section Break",
   "label": "Contract"
  },
  {
   "fieldname": "doc_no",
   "fieldtype": "Data",
   "in_list_view": 1,
   "label": "Document No",
   "read_only": 1
  },
  {
   "fieldname": "doc_date",
   "fieldtype": "Data",
   "label": "Document Date",
   "read_only": 1
  },
  {
   "fieldname": "doc_type",
   "fieldtype": "Data",
   "label": "Document Type",
   "read_only": 1
  },
  {
   "fieldname": "contract_type",
   "fieldtype": "Data",
   "label": "Contract Type",
   "read_only": 1
  },
  {
   "fieldname": "column_break_contract1",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "contract_status",
   "fieldtype": "Data",
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Contract Status",
   "read_only": 1
  },
  {
   "fieldname": "begin_date",
   "fieldtype": "Data",
   "label": "Begin Date",
   "read_only": 1
  },
  {
   "fieldname": "end_date",
   "fieldtype": "Data",
   "label": "End Date",
   "read_only": 1
  },
  {
   "fieldname": "main_contract_begin_date",
   "fieldtype": "Data",
   "label": "Main Contract Begin Date",
   "read_only": 1
  },
  {
   "fieldname": "contract_details_section",
   "fieldtype": "Section Break",
   "label": "Contract Details",
   "collapsible": 1
  },
  {
   "fieldname": "contract_number",
   "fieldtype": "Data",
   "label": "Contract Number",
   "read_only": 1
  },
  {
   "fieldname": "prev_contract",
   "fieldtype": "Data",
   "label": "Previous Contract",
   "read_only": 1
  },
  {
   "fieldname": "is_signed",
   "fieldtype": "Check",
   "label": "Is Signed",
   "read_only": 1
  },
  {
   "fieldname": "contract_validity",
   "fieldtype": "Data",
   "label": "Contract Validity",
   "read_only": 1
  },
  {
   "fieldname": "column_break_contract_details1",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "staff_oid",
   "fieldtype": "Data",
   "label": "Staff OID",
   "read_only": 1
  },
  {
   "fieldname": "structure_unit_oid",
   "fieldtype": "Data",
   "label": "Structure Unit OID",
   "read_only": 1
  },
  {
   "fieldname": "entity_oid",
   "fieldtype": "Data",
   "label": "Entity OID",
   "read_only": 1
  },
  {
   "fieldname": "entity_details_oid",
   "fieldtype": "Data",
   "label": "Entity Details OID",
   "read_only": 1
  },
  {
   "fieldname": "contract_details_section2",
   "fieldtype": "Section Break",
   "collapsible": 1
  },
  {
   "fieldname": "contract_reason",
   "fieldtype": "Data",
   "label": "Contract Reason",
   "read_only": 1
  },
  {
   "fieldname": "from_migration",
   "fieldtype": "Check",
   "label": "From Migration",
   "read_only": 1
  },
  {
   "fieldname": "contract_begin_date",
   "fieldtype": "Date",
   "label": "Contract Begin Date",
   "read_only": 1
  },
  {
   "fieldname": "contract_end_date",
   "fieldtype": "Date",
   "label": "Contract End Date",
   "read_only": 1
  },
  {
   "fieldname": "position_activity_section",
   "fieldtype": "Section Break",
   "label": "Position & Activity",
   "collapsible": 1
  },
  {
   "fieldname": "work_position",
   "fieldtype": "Data",
   "label": "Work Position",
   "read_only": 1
  },
  {
   "fieldname": "position_id",
   "fieldtype": "Data",
   "label": "Position ID",
   "read_only": 1
  },
  {
   "fieldname": "position_text",
   "fieldtype": "Data",
   "label": "Position Text",
   "read_only": 1
  },
  {
   "fieldname": "activity_code",
   "fieldtype": "Data",
   "label": "Activity Code",
   "read_only": 1
  },
  {
   "fieldname": "column_break_position1",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "activity_name",
   "fieldtype": "Data",
   "label": "Activity Name",
   "read_only": 1
  },
  {
   "fieldname": "staff_unit",
   "fieldtype": "Data",
   "label": "Staff Unit",
   "read_only": 1
  },
  {
   "fieldname": "structure_path",
   "fieldtype": "Small Text",
   "label": "Structure Path",
   "read_only": 1
  },
  {
   "fieldname": "workplace_sector",
   "fieldtype": "Data",
   "label": "Workplace Sector",
   "read_only": 1
  },
  {
   "fieldname": "salary_compensation_section",
   "fieldtype": "Section Break",
   "label": "Salary & Compensation",
   "collapsible": 1
  },
  {
   "fieldname": "base_salary",
   "fieldtype": "Float",
   "label": "Base Salary",
   "read_only": 1
  },
  {
   "fieldname": "salary_add",
   "fieldtype": "Float",
   "label": "Salary Add",
   "read_only": 1
  },
  {
   "fieldname": "salary_add_hw",
   "fieldtype": "Float",
   "label": "Salary Add HW",
   "read_only": 1
  },
  {
   "fieldname": "award_amount",
   "fieldtype": "Float",
   "label": "Award Amount",
   "read_only": 1
  },
  {
   "fieldname": "award_type",
   "fieldtype": "Data",
   "label": "Award Type",
   "read_only": 1
  },
  {
   "fieldname": "column_break_salary1",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "overtime_amount",
   "fieldtype": "Float",
   "label": "Overtime Amount",
   "read_only": 1
  },
  {
   "fieldname": "bad_condition_amount",
   "fieldtype": "Float",
   "label": "Bad Condition Amount",
   "read_only": 1
  },
  {
   "fieldname": "bad_condition_id",
   "fieldtype": "Data",
   "label": "Bad Condition ID",
   "read_only": 1
  },
  {
   "fieldname": "currency_type",
   "fieldtype": "Data",
   "label": "Currency Type",
   "read_only": 1
  },
  {
   "fieldname": "payment_type",
   "fieldtype": "Data",
   "label": "Payment Type",
   "read_only": 1
  },
  {
   "fieldname": "payment_first_day",
   "fieldtype": "Int",
   "label": "Payment First Day",
   "read_only": 1
  },
  {
   "fieldname": "bank_oid",
   "fieldtype": "Data",
   "label": "Bank OID",
   "read_only": 1
  },
  {
   "fieldname": "work_schedule_section",
   "fieldtype": "Section Break",
   "label": "Work Schedule",
   "collapsible": 1
  },
  {
   "fieldname": "work_mode_type",
   "fieldtype": "Data",
   "label": "Work Mode Type",
   "read_only": 1
  },
  {
   "fieldname": "is_full_time",
   "fieldtype": "Data",
   "label": "Is Full Time",
   "read_only": 1
  },
  {
   "fieldname": "work_time",
   "fieldtype": "Float",
   "label": "Work Time",
   "read_only": 1
  },
  {
   "fieldname": "working_time_cumulative",
   "fieldtype": "Check",
   "label": "Working Time Cumulative",
   "read_only": 1
  },
  {
   "fieldname": "column_break_schedule1",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "first_shift_start",
   "fieldtype": "Time",
   "label": "First Shift Start",
   "read_only": 1
  },
  {
   "fieldname": "first_shift_end",
   "fieldtype": "Time",
   "label": "First Shift End",
   "read_only": 1
  },
  {
   "fieldname": "second_shift_start",
   "fieldtype": "Time",
   "label": "Second Shift Start",
   "read_only": 1
  },
  {
   "fieldname": "second_shift_end",
   "fieldtype": "Time",
   "label": "Second Shift End",
   "read_only": 1
  },
  {
   "fieldname": "lunch_start",
   "fieldtype": "Time",
   "label": "Lunch Start",
   "read_only": 1
  },
  {
   "fieldname": "lunch_end",
   "fieldtype": "Time",
   "label": "Lunch End",
   "read_only": 1
  },
  {
   "fieldname": "vacation_section",
   "fieldtype": "Section Break",
   "label": "Vacation",
   "collapsible": 1
  },
  {
   "fieldname": "vacation_days_count",
   "fieldtype": "Int",
   "label": "Vacation Days Count",
   "read_only": 1
  },
  {
   "fieldname": "vacation_general_duration",
   "fieldtype": "Int",
   "label": "Vacation General Duration",
   "read_only": 1
  },
  {
   "fieldname": "vacation_main_duration",
   "fieldtype": "Int",
   "label": "Vacation Main Duration",
   "read_only": 1
  },
  {
   "fieldname": "vacation_add_dur_one",
   "fieldtype": "Int",
   "label": "Vacation Add Duration 1",
   "read_only": 1
  },
  {
   "fieldname": "column_break_vacation1",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "vacation_add_dur_two",
   "fieldtype": "Int",
   "label": "Vacation Add Duration 2",
   "read_only": 1
  },
  {
   "fieldname": "vacation_add_dur_four",
   "fieldtype": "Int",
   "label": "Vacation Add Duration 4",
   "read_only": 1
  },
  {
   "fieldname": "vacation_amount",
   "fieldtype": "Float",
   "label": "Vacation Amount",
   "read_only": 1
  },
  {
   "fieldname": "profession_employee_for_vacation",
   "fieldtype": "Data",
   "label": "Profession Employee For Vacation",
   "read_only": 1
  },
  {
   "fieldname": "education_section",
   "fieldtype": "Section Break",
   "label": "Education",
   "collapsible": 1
  },
  {
   "fieldname": "education",
   "fieldtype": "Data",
   "label": "Education",
   "read_only": 1
  },
  {
   "fieldname": "scientific_degree",
   "fieldtype": "Data",
   "label": "Scientific Degree",
   "read_only": 1
  },
  {
   "fieldname": "speciality_degree",
   "fieldtype": "Data",
   "label": "Speciality Degree",
   "read_only": 1
  },
  {
   "fieldname": "column_break_education1",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "state_speciality_degree",
   "fieldtype": "Data",
   "label": "State Speciality Degree",
   "read_only": 1
  },
  {
   "fieldname": "qualification_degree_salary_add",
   "fieldtype": "Float",
   "label": "Qualification Degree Salary Add",
   "read_only": 1
  },
  {
   "fieldname": "contact_info_section",
   "fieldtype": "Section Break",
   "label": "Contact Information",
   "collapsible": 1
  },
  {
   "fieldname": "contact_phone",
   "fieldtype": "Data",
   "label": "Contact Phone",
   "read_only": 1
  },
  {
   "fieldname": "contact_email",
   "fieldtype": "Data",
   "label": "Contact Email",
   "read_only": 1
  },
  {
   "fieldname": "column_break_contact1",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "work_address_oid",
   "fieldtype": "Data",
   "label": "Work Address OID",
   "read_only": 1
  },
  {
   "fieldname": "work_address_street",
   "fieldtype": "Data",
   "label": "Work Address Street",
   "read_only": 1
  },
  {
   "fieldname": "work_address_district",
   "fieldtype": "Data",
   "label": "Work Address District",
   "read_only": 1
  },
  {
   "fieldname": "employer_info_section",
   "fieldtype": "Section Break",
   "label": "Employer Info",
   "collapsible": 1
  },
  {
   "fieldname": "employer_pin",
   "fieldtype": "Data",
   "label": "Employer PIN",
   "read_only": 1
  },
  {
   "fieldname": "employer_tin",
   "fieldtype": "Data",
   "label": "Employer TIN",
   "read_only": 1
  },
  {
   "fieldname": "chairman_pin",
   "fieldtype": "Data",
   "label": "Chairman PIN",
   "read_only": 1
  },
  {
   "fieldname": "additional_metadata_section",
   "fieldtype": "Section Break",
   "label": "Additional Metadata",
   "collapsible": 1
  },
  {
   "fieldname": "doc_state",
   "fieldtype": "Data",
   "label": "Document State",
   "read_only": 1
  },
  {
   "fieldname": "created_date",
   "fieldtype": "Datetime",
   "label": "Created Date",
   "read_only": 1
  },
  {
   "fieldname": "labour_function",
   "fieldtype": "Small Text",
   "label": "Labour Function",
   "read_only": 1
  },
  {
   "fieldname": "column_break_metadata1",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "protection_tools",
   "fieldtype": "Small Text",
   "label": "Protection Tools",
   "read_only": 1
  },
  {
   "fieldname": "payment_other_cond",
   "fieldtype": "Small Text",
   "label": "Payment Other Conditions",
   "read_only": 1
  },
  {
   "fieldname": "activity_name_detail",
   "fieldtype": "Small Text",
   "label": "Activity Name Detail",
   "read_only": 1
  },
  {
   "fieldname": "rule_text",
   "fieldtype": "Small Text",
   "label": "Rule Text",
   "read_only": 1
  },
  {
   "fieldname": "dates_section",
   "fieldtype": "Section Break",
   "label": "Details"
  },
  {
   "fieldname": "emp_job_start_date",
   "fieldtype": "Data",
   "label": "Job Start Date",
   "read_only": 1
  },
  {
   "fieldname": "sign_type",
   "fieldtype": "Data",
   "label": "Sign Type",
   "read_only": 1
  },
  {
   "fieldname": "is_valid",
   "fieldtype": "Data",
   "label": "Is Valid",
   "read_only": 1
  },
  {
   "fieldname": "column_break_dates1",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "dur_state",
   "fieldtype": "Data",
   "label": "Duration State",
   "read_only": 1
  },
  {
   "fieldname": "operation",
   "fieldtype": "Data",
   "label": "Operation",
   "read_only": 1
  },
  {
   "fieldname": "after_exec_label",
   "fieldtype": "Data",
   "label": "After Execution Label",
   "read_only": 1
  },
  {
   "fieldname": "details_section",
   "fieldtype": "Section Break",
   "label": "Additional",
   "collapsible": 1
  },
  {
   "fieldname": "workplace_type",
   "fieldtype": "Data",
   "label": "Workplace Type",
   "read_only": 1
  },
  {
   "fieldname": "form_size",
   "fieldtype": "Data",
   "label": "Form Size",
   "read_only": 1
  },
  {
   "fieldname": "flow",
   "fieldtype": "Data",
   "label": "Flow",
   "read_only": 1
  },
  {
   "fieldname": "column_break_details1",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "flow_alias",
   "fieldtype": "Data",
   "label": "Flow Alias",
   "read_only": 1
  },
  {
   "fieldname": "tree_path_name",
   "fieldtype": "Small Text",
   "label": "Tree Path Name",
   "read_only": 1
  },
  {
   "fieldname": "view_type",
   "fieldtype": "Data",
   "label": "View Type",
   "read_only": 1
  },
  {
   "fieldname": "doc_oid",
   "fieldtype": "Data",
   "label": "Document OID",
   "unique": 1,
   "read_only": 1
  },
  {
   "fieldname": "organization_section",
   "fieldtype": "Section Break",
   "label": "Organization"
  },
  {
   "fieldname": "asan_login",
   "fieldtype": "Link",
   "label": "Asan Login",
   "options": "Asan Login",
   "read_only": 1
  },
  {
   "fieldname": "organization_name",
   "fieldtype": "Data",
   "label": "Organization Name",
   "read_only": 1
  },
  {
   "fieldname": "organization_voen",
   "fieldtype": "Data",
   "label": "Organization VOEN",
   "read_only": 1
  },
  {
   "fieldname": "column_break_org1",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "employee",
   "fieldtype": "Link",
   "label": "Employee",
   "options": "Employee",
   "read_only": 1,
   "in_list_view": 1
  },
  {
   "fieldname": "import_date",
   "fieldtype": "Datetime",
   "label": "Import Date",
   "read_only": 1
  },
  {
   "fieldname": "contract_document_section",
   "fieldtype": "Section Break",
   "label": "Contract Document",
   "collapsible": 1
  },
  {
   "fieldname": "contract_html",
   "fieldtype": "Code",
   "label": "Employment Contract (HTML)",
   "options": "HTML",
   "hidden": 1,
   "read_only": 1
  },
  {
   "fieldname": "raw_data",
   "fieldtype": "Code",
   "hidden": 1,
   "label": "Raw Data (JSON)",
   "options": "JSON",
   "read_only": 1
  }
 ],
 "index_web_pages_for_search": 1,
 "links": [],
 "modified": "2026-02-10 10:00:00",
 "modified_by": "Administrator",
 "module": "Invoice Az",
 "name": "Amas Employees",
 "naming_rule": "Expression",
 "owner": "Administrator",
 "permissions": [
  {
   "create": 0,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "System Manager",
   "share": 1,
   "write": 0,
   "delete": 0
  }
 ],
 "sort_field": "modified",
 "sort_order": "DESC",
 "states": [],
 "title_field": "full_name",
 "track_changes": 1
}