This commit is contained in:
@@ -50,13 +50,13 @@ The following linked objects are supported for importing (update is not supporte
|
||||
- HeadOffice via "HeadOfficeViz" field which must contain the name of an existing HeadOffice
|
||||
- Contract via "ContractViz" field which must contain the name of an existing Contract
|
||||
|
||||
If the Contract is specified then the ContractExpires field can be used to set the expiry date of the Contract.
|
||||
If the Contract is specified then the ContractExpires field can be used to set the expiry date of the Contract.
|
||||
|
||||
If ContractExpires is omitted then it is set to the import date and time minus 1 minute so that it won't take effect until it's been set to a future date.
|
||||
|
||||
## JSON file format
|
||||
|
||||
The .json file must contain an array of Customer objects even if it's a single object.
|
||||
The .json file must contain an array of Customer objects, so even a single object must be within [] square brackets in the import file.
|
||||
|
||||
The first Customer record here illustrates importing a Customer with a link to existing Contract and Head office objects.
|
||||
|
||||
|
||||
@@ -102,7 +102,7 @@ The only way to undo an update is to [restore the database](ops-restore.md) from
|
||||
|
||||
You can import / update from either JSON or CSV files.
|
||||
|
||||
Internally AyaNova only imports .json data; a .csv file is converted to json format first by the web app before sending it to the AyaNova server for import.
|
||||
The AyaNova server only supports .json data; a .csv file is converted to json format first by the AyaNova web app before sending it to the AyaNova server for import.
|
||||
|
||||
### Import file format
|
||||
|
||||
|
||||
Reference in New Issue
Block a user