justworks_erpnext/justworks_erpnext/justworks_erpnext_connector/doctype/jw_import/jw_import.json

216 lines
5.5 KiB
JSON

{
"actions": [
{
"action": "List/JW Employee Allocation",
"action_type": "Route",
"label": "Edit Allocations"
},
{
"action": "List/JW Account Mapping",
"action_type": "Route",
"label": "Edit Accounts"
},
{
"action": "justworks_erpnext.justworks_erpnext_connector.doctype.jw_import.jw_import.record_entries",
"action_type": "Server Action",
"label": "Record Entries"
}
],
"creation": "2020-11-18 15:57:57.559832",
"description": "Use this Form to import the information from a Justworks Invoice Details report (as a csv file). Note the report may contain details on multiple invoices.",
"doctype": "DocType",
"editable_grid": 1,
"engine": "InnoDB",
"field_order": [
"justworks_company",
"header_column_break",
"justworks_currency",
"invoice_date_section",
"start_invoice_date",
"date_column_break",
"end_invoice_date",
"accounting_dimensions_section",
"internal_cost_center",
"dimension_col_break",
"ledger_section",
"jw_obligation_account",
"jw_collection_debits",
"jw_payment_account",
"ledger_column_break",
"dim_balance_account",
"jw_collection_credits",
"auto_submit",
"invoice_section",
"load_from_file",
"lines"
],
"fields": [
{
"fieldname": "justworks_company",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Company",
"options": "Company",
"reqd": 1
},
{
"fieldname": "header_column_break",
"fieldtype": "Column Break"
},
{
"fieldname": "justworks_currency",
"fieldtype": "Link",
"in_list_view": 1,
"label": "Currency",
"options": "Currency",
"reqd": 1
},
{
"collapsible": 1,
"description": "Justworks invoices outside the range defined below (if any) will be ignored.",
"fieldname": "invoice_date_section",
"fieldtype": "Section Break",
"label": "Invoice Date Filter"
},
{
"fieldname": "start_invoice_date",
"fieldtype": "Date",
"label": "Start"
},
{
"fieldname": "date_column_break",
"fieldtype": "Column Break"
},
{
"fieldname": "end_invoice_date",
"fieldtype": "Date",
"label": "End"
},
{
"collapsible": 1,
"description": "These are the accounting dimensions that will be used for all ledger entries other than those determined by a JW Employee Allocation.",
"fieldname": "accounting_dimensions_section",
"fieldtype": "Section Break",
"label": "Internal Accounting Dimensions"
},
{
"fieldname": "internal_cost_center",
"fieldtype": "Link",
"label": "Cost Center",
"options": "Cost Center"
},
{
"fieldname": "dimension_col_break",
"fieldtype": "Column Break"
},
{
"collapsible": 1,
"fieldname": "ledger_section",
"fieldtype": "Section Break",
"label": "Ledger Settings"
},
{
"description": "If set, expense Journal Entry records will generated for employee-related payments and credited to this account.",
"fieldname": "jw_obligation_account",
"fieldtype": "Link",
"label": "Credit Justworks Expenses To:",
"options": "Account"
},
{
"description": "If this and the corresponding Credit account are specified, Bank Entry records for collections will be generated crediting this account.",
"fieldname": "jw_collection_debits",
"fieldtype": "Link",
"label": "Debit Justworks Collections To:",
"options": "Account"
},
{
"description": "If specified, Payment Entry records will be generated for charges associated with Accounts of type Payable, and credited to this account.",
"fieldname": "jw_payment_account",
"fieldtype": "Link",
"label": "Credit Justworks Payments To:",
"options": "Account"
},
{
"fieldname": "ledger_column_break",
"fieldtype": "Column Break"
},
{
"description": "If specified, Journal Entry records will be balanced per Accounting Dimension to those specified in the Internal Accounting Dimensions, using this account for automatically-generated transfers.",
"fieldname": "dim_balance_account",
"fieldtype": "Link",
"label": "Balance Accounting Dimensions To:",
"options": "Account"
},
{
"description": "The (typically Bank) Account that Justworks collections are credited to.",
"fieldname": "jw_collection_credits",
"fieldtype": "Link",
"label": "Credit Justworks Collections To:",
"options": "Account"
},
{
"default": "0",
"description": "If checked, all entries generated will be automatically submitted as part of the permanent accounting records.",
"fieldname": "auto_submit",
"fieldtype": "Check",
"label": "Auto-submit?"
},
{
"fieldname": "invoice_section",
"fieldtype": "Section Break"
},
{
"fieldname": "lines",
"fieldtype": "Table",
"label": "Invoice Lines",
"options": "JW Invoice Line"
},
{
"fieldname": "load_from_file",
"fieldtype": "Attach",
"label": "Load Invoices from File"
}
],
"hide_toolbar": 1,
"index_web_pages_for_search": 1,
"issingle": 1,
"links": [],
"modified": "2020-11-19 04:05:36.768570",
"modified_by": "Administrator",
"module": "Justworks ERPNext Connector",
"name": "JW Import",
"owner": "Administrator",
"permissions": [
{
"create": 1,
"delete": 1,
"email": 1,
"print": 1,
"read": 1,
"role": "System Manager",
"share": 1,
"write": 1
},
{
"create": 1,
"email": 1,
"print": 1,
"read": 1,
"role": "Accounts User",
"share": 1,
"write": 1
},
{
"create": 1,
"email": 1,
"print": 1,
"read": 1,
"role": "Accounts Manager",
"share": 1,
"write": 1
}
],
"quick_entry": 1,
"sort_field": "modified",
"sort_order": "DESC"
}