{ "actions": [], "allow_import": 1, "allow_rename": 1, "autoname": "format:{employee_name}_{####}", "creation": "2020-11-17 00:49:16.498573", "description": "Each JW Employee Allocation document represents a portion of the charges related to a given employee in a Justworks invoice that will be allocated to the accounting dimensions specified. The total percentage of all of the allocations active on a given date (i.e., the given date is between the Start Date and End Date of the record) must sum to 100%.", "doctype": "DocType", "editable_grid": 1, "engine": "InnoDB", "field_order": [ "employee", "employee_name", "start_date", "end_date", "percentage", "accounting_dimensions_section", "cost_center", "dimension_col_break", "amended_from" ], "fields": [ { "fieldname": "employee", "fieldtype": "Link", "label": "Employee", "options": "Employee", "reqd": 1 }, { "fetch_from": "employee.employee_name", "fieldname": "employee_name", "fieldtype": "Data", "in_list_view": 1, "label": "Employee Name", "read_only": 1 }, { "bold": 1, "default": "Today", "description": "The initial date this allocation is valid", "fieldname": "start_date", "fieldtype": "Date", "in_list_view": 1, "label": "Start Date", "reqd": 1 }, { "allow_on_submit": 1, "bold": 1, "description": "The final date this allocation is valid. Leave blank for currently valid allocations.", "fieldname": "end_date", "fieldtype": "Date", "in_list_view": 1, "label": "End Date" }, { "description": "What percent of the employee's costs go to this allocation", "fieldname": "percentage", "fieldtype": "Percent", "in_list_view": 1, "label": "Percentage", "reqd": 1 }, { "fieldname": "accounting_dimensions_section", "fieldtype": "Section Break", "label": "Accounting Dimensions" }, { "fieldname": "cost_center", "fieldtype": "Link", "in_list_view": 1, "label": "Cost Center", "options": "Cost Center" }, { "fieldname": "dimension_col_break", "fieldtype": "Column Break" }, { "fieldname": "amended_from", "fieldtype": "Link", "label": "Amended From", "no_copy": 1, "options": "JW Employee Allocation", "print_hide": 1, "read_only": 1 } ], "index_web_pages_for_search": 1, "is_submittable": 1, "links": [], "modified": "2020-11-22 18:25:16.608112", "modified_by": "Administrator", "module": "Justworks ERPNext Connector", "name": "JW Employee Allocation", "owner": "Administrator", "permissions": [ { "cancel": 1, "create": 1, "delete": 1, "email": 1, "export": 1, "print": 1, "read": 1, "report": 1, "role": "System Manager", "share": 1, "submit": 1, "write": 1 }, { "cancel": 1, "create": 1, "delete": 1, "email": 1, "export": 1, "print": 1, "read": 1, "report": 1, "role": "Accounts Manager", "share": 1, "submit": 1, "write": 1 }, { "create": 1, "email": 1, "export": 1, "print": 1, "read": 1, "report": 1, "role": "Accounts User", "share": 1, "submit": 1, "write": 1 } ], "sort_field": "modified", "sort_order": "DESC", "track_changes": 1 }