Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
1,194 changes: 1,194 additions & 0 deletions casecentral/case_central/doctype/file_movement/file_movement.js

Large diffs are not rendered by default.

251 changes: 251 additions & 0 deletions casecentral/case_central/doctype/file_movement/file_movement.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,251 @@
{
"actions": [],
"allow_bulk_edit": 1,
"autoname": "autoname",
"creation": "2026-08-20 13:14:58.767666",
"doctype": "DocType",
"engine": "InnoDB",
"field_order": [
"giver",
"receiver",
"has_incoming",
"column_break_1",
"movement_date",
"incoming_date",
"status",
"amended_from",
"section_break_scanner",
"scan_barcode",
"section_break_outgoing_files",
"outgoing_files",
"section_break_incoming_files",
"incoming_files",
"section_break_missing_files",
"missing_file_items"
],
"fields": [
{
"fieldname": "giver",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Giver",
"options": "Employee",
"reqd": 1
},
{
"fieldname": "receiver",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Receiver",
"options": "Employee",
"reqd": 1
},
{
"allow_on_submit": 1,
"default": "0",
"fieldname": "has_incoming",
"fieldtype": "Check",
"hidden": 1,
"label": "Has Incoming"
},
{
"fieldname": "column_break_1",
"fieldtype": "Column Break"
},
{
"default": "Now",
"fieldname": "movement_date",
"fieldtype": "Datetime",
"in_list_view": 1,
"label": "Movement Date",
"reqd": 1
},
{
"allow_on_submit": 1,
"depends_on": "eval:doc.has_incoming || (doc.incoming_files && doc.incoming_files.length > 0)",
"fieldname": "incoming_date",
"fieldtype": "Datetime",
"label": "Incoming Date",
"read_only": 1
},
{
"allow_on_submit": 1,
"default": "Draft",
"fieldname": "status",
"fieldtype": "Select",
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Status",
"options": "Draft\nTaken Away\nIncoming Created\nMissing Files\nReceived\nIncoming Cancelled\nCancelled",
"read_only": 1
},
{
"fieldname": "amended_from",
"fieldtype": "Link",
"label": "Amended From",
"no_copy": 1,
"options": "File Movement",
"print_hide": 1,
"read_only": 1,
"search_index": 1
},
{
"fieldname": "section_break_scanner",
"fieldtype": "Section Break"
},
{
"allow_on_submit": 1,
"fieldname": "scan_barcode",
"fieldtype": "Data",
"label": "Scan Outgoing",
"options": "Barcode",
"read_only_depends_on": "eval:doc.status == 'Received' || doc.status == 'Incoming Cancelled' || doc.status == 'Cancelled' || (doc.docstatus == 1 && !doc.has_incoming)"
},
{
"fieldname": "section_break_outgoing_files",
"fieldtype": "Section Break",
"label": "Outgoing Files"
},
{
"allow_on_submit": 0,
"fieldname": "outgoing_files",
"fieldtype": "Table",
"label": "Outgoing Files",
"options": "File Movement Item",
"read_only_depends_on": "eval:doc.docstatus == 1",
"reqd": 1
},
{
"collapsible": 0,
"depends_on": "eval:doc.has_incoming || (doc.incoming_files && doc.incoming_files.length > 0)",
"fieldname": "section_break_incoming_files",
"fieldtype": "Section Break",
"label": "Incoming Files"
},
{
"allow_on_submit": 1,
"depends_on": "eval:doc.has_incoming || (doc.incoming_files && doc.incoming_files.length > 0)",
"fieldname": "incoming_files",
"fieldtype": "Table",
"label": "Incoming Files",
"options": "File Movement Item"
},
{
"collapsible": 1,
"depends_on": "eval:doc.status == 'Missing Files' || (doc.missing_file_items && doc.missing_file_items.length > 0)",
"fieldname": "section_break_missing_files",
"fieldtype": "Section Break",
"label": "Missing Files"
},
{
"allow_on_submit": 1,
"fieldname": "missing_file_items",
"fieldtype": "Table",
"label": "Missing Files",
"options": "Missing File Items",
"read_only": 1
}
],
"grid_page_length": 50,
"index_web_pages_for_search": 1,
"is_submittable": 1,
"links": [],
"modified": "2026-10-12 15:00:00.000000",
"modified_by": "Administrator",
"module": "Case Central",
"name": "File Movement",
"naming_rule": "By script",
"owner": "Administrator",
"permissions": [
{
"amend": 1,
"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
},
{
"amend": 1,
"cancel": 1,
"create": 1,
"delete": 1,
"email": 1,
"export": 1,
"print": 1,
"read": 1,
"report": 1,
"role": "Projects User",
"share": 1,
"submit": 1,
"write": 1
},
{
"cancel": 1,
"create": 1,
"email": 1,
"export": 1,
"print": 1,
"read": 1,
"report": 1,
"role": "Employee",
"submit": 1,
"write": 1
},
{
"amend": 1,
"cancel": 1,
"create": 1,
"email": 1,
"export": 1,
"print": 1,
"read": 1,
"report": 1,
"role": "Legal Assistant",
"share": 1,
"submit": 1,
"write": 1
},
{
"amend": 1,
"cancel": 1,
"create": 1,
"delete": 1,
"email": 1,
"export": 1,
"print": 1,
"read": 1,
"report": 1,
"role": "Case Manager",
"share": 1,
"submit": 1,
"write": 1
},
{
"amend": 1,
"cancel": 1,
"create": 1,
"email": 1,
"export": 1,
"print": 1,
"read": 1,
"report": 1,
"role": "Advocate",
"share": 1,
"submit": 1,
"write": 1
}
],
"row_format": "Dynamic",
"rows_threshold_for_grid_search": 20,
"sort_field": "creation",
"sort_order": "DESC",
"states": []
}
Loading
Loading