mirror of
https://github.com/frappe/books.git
synced 2026-08-24 10:04:45 -05:00
105 lines
2.5 KiB
JSON
105 lines
2.5 KiB
JSON
{
|
|
"name": "ERPNextSyncSettings",
|
|
"label": "ERPNext Sync Settings",
|
|
"isSingle": true,
|
|
"isChild": false,
|
|
"isSubmittable": false,
|
|
"fields": [
|
|
{
|
|
"label": "Device ID",
|
|
"fieldname": "deviceID",
|
|
"fieldtype": "Data",
|
|
"readOnly": true,
|
|
"section": "Default"
|
|
},
|
|
{
|
|
"label": "API Base URL",
|
|
"fieldname": "baseURL",
|
|
"fieldtype": "Data",
|
|
"section": "Default"
|
|
},
|
|
{
|
|
"label": "Auth Token",
|
|
"fieldname": "authToken",
|
|
"fieldtype": "Secret",
|
|
"section": "Default"
|
|
},
|
|
{
|
|
"label": "Initial Sync Data",
|
|
"fieldname": "initialSyncData",
|
|
"fieldtype": "Check",
|
|
"section": "Default",
|
|
"hidden": true,
|
|
"default": false
|
|
},
|
|
{
|
|
"label": "FBooks Integration Version",
|
|
"fieldname": "integrationAppVersion",
|
|
"fieldtype": "Data",
|
|
"readOnly": true,
|
|
"section": "Default"
|
|
},
|
|
{
|
|
"label": "Is Sync Enabled",
|
|
"fieldname": "isEnabled",
|
|
"fieldtype": "Check",
|
|
"readOnly": true,
|
|
"section": "Default"
|
|
},
|
|
{
|
|
"label": "Data Sync Interval (In Minutes)",
|
|
"fieldname": "dataSyncInterval",
|
|
"fieldtype": "Data",
|
|
"default": "60",
|
|
"section": "Default"
|
|
},
|
|
{
|
|
"label": "Sync Data From Server",
|
|
"fieldname": "syncDataFromServer",
|
|
"fieldtype": "Button",
|
|
"section": "Default"
|
|
},
|
|
{
|
|
"label": "Sync Data To Server",
|
|
"fieldname": "syncDataToServer",
|
|
"fieldtype": "Button",
|
|
"section": "Default"
|
|
},
|
|
{
|
|
"label": "Register Instance",
|
|
"fieldname": "registerInstance",
|
|
"fieldtype": "Data",
|
|
"default": "register_instance",
|
|
"section": "Endpoints"
|
|
},
|
|
{
|
|
"label": "Sync Settings",
|
|
"fieldname": "syncSettings",
|
|
"fieldtype": "Data",
|
|
"default": "sync_settings",
|
|
"section": "Endpoints"
|
|
},
|
|
{
|
|
"label": "Sync Data To ERPNext",
|
|
"fieldname": "syncDataToERPNext",
|
|
"fieldtype": "Data",
|
|
"default": "sync.sync_transactions",
|
|
"section": "Endpoints"
|
|
},
|
|
{
|
|
"label": "Fetch Data From ERPNext",
|
|
"fieldname": "fetchFromERPNextQueue",
|
|
"fieldtype": "Data",
|
|
"default": "sync.get_pending_docs",
|
|
"section": "Endpoints"
|
|
},
|
|
{
|
|
"label": "Clear Synced Data From ERPNext SyncQueue",
|
|
"fieldname": "clearSyncedDocsFromErpNextSyncQueue",
|
|
"fieldtype": "Data",
|
|
"default": "sync.update_status",
|
|
"section": "Endpoints"
|
|
}
|
|
]
|
|
}
|