This commit is contained in:
78
docs/8.0/ayanova/docs/adm-import-warehouse.md
Normal file
78
docs/8.0/ayanova/docs/adm-import-warehouse.md
Normal file
@@ -0,0 +1,78 @@
|
||||
# Warehouse 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
|
||||
|
||||
## 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.
|
||||
|
||||
```JSON
|
||||
[
|
||||
{
|
||||
"Name": "Van 12",
|
||||
"Active": true,
|
||||
"Notes": "Nam tenetur voluptatem voluptas excepturi.",
|
||||
"Wiki": null,
|
||||
"Tags": [
|
||||
"zone4",
|
||||
"zone5",
|
||||
"zone9",
|
||||
"van"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "East side",
|
||||
"Active": true,
|
||||
"Notes": "Laborum sit ipsam ipsum quo nihil id.",
|
||||
"Wiki": null,
|
||||
"Tags": [
|
||||
"violet",
|
||||
"east",
|
||||
"zone5",
|
||||
"zone9"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "Gateway",
|
||||
"Active": true,
|
||||
"Notes": "Sunt numquam quo nulla eum voluptates.",
|
||||
"Wiki": null,
|
||||
"Tags": [
|
||||
"indigo",
|
||||
"orange",
|
||||
"xanthic",
|
||||
"zone2",
|
||||
"gateway"
|
||||
]
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
## 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
|
||||
Van 12,true,Nam tenetur voluptatem voluptas excepturi.,,"zone4,zone5,zone9,van"
|
||||
East side,true,Laborum sit ipsam ipsum quo nihil id.,,"violet,east,zone5,zone9"
|
||||
Gateway,true,Sunt numquam quo nulla eum voluptates.,,"indigo,orange,xanthic,zone2,gateway"
|
||||
```
|
||||
@@ -171,6 +171,7 @@ Each object type listed below links to a page showing the specific format requir
|
||||
- ##### [Customers](adm-import-customer.md)
|
||||
- ##### [Head offices](adm-import-headoffice.md)
|
||||
- ##### [Parts](adm-import-part.md)
|
||||
- ##### [Part assemblies](adm-import-part-assembly.md)
|
||||
|
||||
## Import form
|
||||
|
||||
|
||||
@@ -50,6 +50,7 @@ We gratefully acknowledge the following open source tools and libraries that wer
|
||||
- [Marked](https://github.com/markedjs/marked)
|
||||
- [Monaco Editor](https://github.com/Microsoft/monaco-editor)
|
||||
- [NProgress](https://github.com/rstacruz/nprogress)
|
||||
- [Papa Parse](https://www.papaparse.com/)
|
||||
- [register-service-worker](https://github.com/yyx990803/register-service-worker#readme)
|
||||
- [example logo](https://pixabay.com/users/openclipart-vectors-30363/)
|
||||
- [typeface-roboto](https://github.com/KyleAMathews/typefaces/tree/master/packages/roboto)
|
||||
|
||||
@@ -178,6 +178,6 @@ nav:
|
||||
- 'API upload routes': 'api-upload-routes.md'
|
||||
- 'API Data types': 'ay-start-data-types.md'
|
||||
- Appendix:
|
||||
- 'Data types': 'ay-start-data-types.md'
|
||||
- 'Data types': 'ay-start-data-types.md'
|
||||
- 'Open source credits': 'appendix-os-credits.md'
|
||||
- 'License agreement': 'license.md'
|
||||
|
||||
Reference in New Issue
Block a user