This commit is contained in:
@@ -56,7 +56,7 @@ If ContractExpires is omitted then it is set to the import date and time minus 1
|
||||
|
||||
## JSON file format
|
||||
|
||||
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 .json file must contain an array of one or more Customer objects.
|
||||
|
||||
The first Customer record here illustrates importing a Customer with a link to existing Contract and Head office objects.
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ If ContractExpires is omitted then it is set to the import date and time minus 1
|
||||
|
||||
## JSON file format
|
||||
|
||||
The .json file must contain an array of Head office objects, so even a single object must be within [] square brackets in the import file.
|
||||
The .json file must contain an array of one or more Head office objects.
|
||||
|
||||
The first Head office record here illustrates importing a Head office with a link to an existing Contract.
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ The following linked objects are importable / updateable:
|
||||
|
||||
## JSON file format
|
||||
|
||||
The .json file must contain an array of Part assembly objects, so even a single object must be within [] square brackets in the import file.
|
||||
The .json file must contain an array of one or more Part assembly objects.
|
||||
|
||||
The first Part assembly record here illustrates importing a Part assembly with links to existing Manufacturer, Wholesaler and Alternative Wholesaler and also how to include serial numbers.
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ The following linked objects are importable / updateable:
|
||||
|
||||
## JSON file format
|
||||
|
||||
The .json file must contain an array of Part objects, so even a single object must be within [] square brackets in the import file.
|
||||
The .json file must contain an array of one or more Part objects.
|
||||
|
||||
The first Part record here illustrates importing a Part with links to existing Manufacturer, Wholesaler and Alternative Wholesaler and also how to include serial numbers.
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ The following linked objects are supported for import / update:
|
||||
|
||||
## JSON file format
|
||||
|
||||
The .json file must contain an array of Project objects, so even a single object must be within [] square brackets in the import file.
|
||||
The .json file must contain an array of one or more Project objects.
|
||||
|
||||
The first Customer record here illustrates importing a Customer with a link to existing Contract and Head office objects.
|
||||
|
||||
|
||||
95
docs/8.0/ayanova/docs/adm-import-service-rate.md
Normal file
95
docs/8.0/ayanova/docs/adm-import-service-rate.md
Normal file
@@ -0,0 +1,95 @@
|
||||
# Service rate import / update specifications
|
||||
|
||||
Names of fields listed here are the exact case and spelling required to be recognized by AyaNova for [importing / updating](adm-import.md).
|
||||
|
||||
Any field in the import file that is not listed on this page will be removed before sending to the server for import.
|
||||
|
||||
## Required fields
|
||||
|
||||
- Name
|
||||
|
||||
## Key field used to match to existing records
|
||||
|
||||
- Name
|
||||
|
||||
## Fields directly importable / updateable
|
||||
|
||||
- Name (import only)
|
||||
- Active
|
||||
- Notes
|
||||
- Wiki
|
||||
- Tags
|
||||
- AccountNumber
|
||||
- Cost
|
||||
- Charge
|
||||
- Unit
|
||||
- ContractOnly
|
||||
|
||||
## JSON file format
|
||||
|
||||
The .json file must contain an array of one or more Service rate objects.
|
||||
|
||||
```JSON
|
||||
[
|
||||
{
|
||||
"Name": "On-site service rate",
|
||||
"Active": true,
|
||||
"Notes": "Ullam et aliquid reiciendis iure voluptatem minus doloremque doloribus ipsum ut.",
|
||||
"Wiki": null,
|
||||
"Tags": [
|
||||
"blue",
|
||||
"brown",
|
||||
"mauve",
|
||||
"quince",
|
||||
"zone6"
|
||||
],
|
||||
"AccountNumber": "55753867",
|
||||
"Cost": 25.410000000000000000,
|
||||
"Charge": 39.390000000000000000,
|
||||
"Unit": "hour",
|
||||
"ContractOnly": false
|
||||
},
|
||||
{
|
||||
"Name": "Shop rate",
|
||||
"Active": true,
|
||||
"Notes": "Possimus maiores reprehenderit aut tempora in eos dolor.",
|
||||
"Wiki": null,
|
||||
"Tags": [
|
||||
"blue",
|
||||
"green",
|
||||
"silver",
|
||||
"zone0"
|
||||
],
|
||||
"AccountNumber": "71071010",
|
||||
"Cost": 12.490000000000000000,
|
||||
"Charge": 19.360000000000000000,
|
||||
"Unit": "hour",
|
||||
"ContractOnly": true
|
||||
},
|
||||
{
|
||||
"Name": "Day rate",
|
||||
"Active": true,
|
||||
"Notes": "Dolores quo et ipsum ut.",
|
||||
"Wiki": null,
|
||||
"Tags": [
|
||||
"silver"
|
||||
],
|
||||
"AccountNumber": "50669139",
|
||||
"Cost": 300.000000000000000000,
|
||||
"Charge": 500.000000000000000000,
|
||||
"Unit": "day",
|
||||
"ContractOnly": false
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
## CSV file format
|
||||
|
||||
The first row of the .csv file must contain column headers that match the field names listed above.
|
||||
|
||||
```
|
||||
Name,Active,Notes,Wiki,Tags,AccountNumber,Cost,Charge,Unit,ContractOnly
|
||||
On-site service rate,true,Ullam et aliquid reiciendis iure voluptatem minus doloremque doloribus ipsum ut.,,"blue,brown,mauve,quince,zone6",55753867,25.41,39.39,hour,false
|
||||
Shop rate,true,Possimus maiores reprehenderit aut tempora in eos dolor.,,"blue,green,silver,zone0",71071010,12.49,19.36,hour,true
|
||||
Day rate,true,Dolores quo et ipsum ut.,,silver,50669139,300,500,day,false
|
||||
```
|
||||
@@ -22,7 +22,7 @@ Any field in the import file that is not listed on this page will be removed bef
|
||||
|
||||
## JSON file format
|
||||
|
||||
The .json file must contain an array of Warehouse objects, so even a single object must be within [] square brackets in the import file.
|
||||
The .json file must contain an array of one or more Warehouse objects.
|
||||
|
||||
```JSON
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user