From 7dc89365e817faf79d2f5d773bdbb6cd472dc8d1 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Sun, 27 Mar 2022 20:01:15 +0000 Subject: [PATCH] --- docs/8.0/ayanova/docs/adm-import-customer.md | 4 ++-- docs/8.0/ayanova/docs/adm-import.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/8.0/ayanova/docs/adm-import-customer.md b/docs/8.0/ayanova/docs/adm-import-customer.md index 5a3eb659..3403e19a 100644 --- a/docs/8.0/ayanova/docs/adm-import-customer.md +++ b/docs/8.0/ayanova/docs/adm-import-customer.md @@ -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. diff --git a/docs/8.0/ayanova/docs/adm-import.md b/docs/8.0/ayanova/docs/adm-import.md index 368367c1..580fdd7b 100644 --- a/docs/8.0/ayanova/docs/adm-import.md +++ b/docs/8.0/ayanova/docs/adm-import.md @@ -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