diff --git a/docs/8.0/ayanova/docs/adm-import-inventory.md b/docs/8.0/ayanova/docs/adm-import-inventory.md index df32e760..ad32334c 100644 --- a/docs/8.0/ayanova/docs/adm-import-inventory.md +++ b/docs/8.0/ayanova/docs/adm-import-inventory.md @@ -28,103 +28,16 @@ The first Inventory record here illustrates importing a Inventory with a link to ```JSON [ { - "Name": "Abbott Group", - "Active": true, - "Notes": "Reverse-engineered tertiary analyzer", - "Wiki": null, - "Tags": [ - "green", - "shipper", - "zone7" - ], - "Contact": "Madisyn Swift", - "ContactNotes": "Dylan Little", - "AlertNotes": null, - "WebAddress": "http://example.name", - "AccountNumber": "80939916", - "Phone1": "1-954-587-1815 x68654", - "Phone2": "1-987-686-7749 x88377", - "Phone3": "(404) 852-9105 x0113", - "Phone4": null, - "Phone5": null, - "EmailAddress": "Verna.Toy@example.net", - "PostAddress": null, - "PostCity": null, - "PostRegion": null, - "PostCountry": null, - "PostCode": null, - "Address": "62774 Stracke Canyon", - "City": "Predovicfurt", - "Region": "Wyoming", - "Country": "American Samoa", - "Latitude": 45.031800, - "Longitude": 162.748800 + "Description": "Import test add to inventory", + "PartViz": "048902", + "PartWarehouseViz": "Default", + "Quantity": 1 }, { - "Name": "Balistreri, Terry and Wintheiser", - "Active": true, - "Notes": "Reverse-engineered upward-trending help-desk", - "Wiki": null, - "Tags": [ - "contractor", - "indigo", - "xanthic", - "zone5" - ], - "Contact": "Eugenia Nicolas", - "ContactNotes": "Claudie Schowalter", - "AlertNotes": null, - "WebAddress": "https://example.net", - "AccountNumber": "92034811", - "Phone1": "1-448-854-6536 x01928", - "Phone2": "837.349.5867", - "Phone3": "208.603.8905 x11661", - "Phone4": null, - "Phone5": null, - "EmailAddress": "Kitty40@example.com", - "PostAddress": null, - "PostCity": null, - "PostRegion": null, - "PostCountry": null, - "PostCode": null, - "Address": "9562 Leuschke Curve", - "City": "Lake Elyse", - "Region": "Wisconsin", - "Country": "Honduras", - "Latitude": -37.742000, - "Longitude": 30.400100 - }, - { - "Name": "Bernhard Group", - "Active": true, - "Notes": "Sharable executive local area network", - "Wiki": null, - "Tags": [ - "factory", - "gold" - ], - "Contact": "Evalyn Cremin", - "ContactNotes": "Reid Krajcik", - "AlertNotes": null, - "WebAddress": "http://example.com", - "AccountNumber": "71971967", - "Phone1": "260.368.5741", - "Phone2": "1-508-923-4635", - "Phone3": "(756) 896-6012 x731", - "Phone4": null, - "Phone5": null, - "EmailAddress": "Rowena_Wilderman69@example.org", - "PostAddress": null, - "PostCity": null, - "PostRegion": null, - "PostCountry": null, - "PostCode": null, - "Address": "05524 Johns Courts", - "City": "Cruickshankbury", - "Region": "Maine", - "Country": "Cocos (Keeling) Islands", - "Latitude": -28.537600, - "Longitude": -170.722300 + "Description": "Import test remove from inventory", + "PartViz": "048902", + "PartWarehouseViz": "Default", + "Quantity": -1 } ] ``` diff --git a/server/AyaNova/biz/AyaType.cs b/server/AyaNova/biz/AyaType.cs index 92fb8760..c5c6aab8 100644 --- a/server/AyaNova/biz/AyaType.cs +++ b/server/AyaNova/biz/AyaType.cs @@ -133,7 +133,7 @@ namespace AyaNova.Biz PartAssembly = 65, [CoreBizObject, ReportableBizObject, ImportableBizObject] PartWarehouse = 66, - [ReportableBizObject] + [ReportableBizObject, ImportableBizObject] PartInventory = 67, DataListColumnView = 68, PartInventoryRestock = 69,//for list only, synthetic object