Você está na página 1de 5

/****** Script for SelectTopNRows command from SSMS ******/

SELECT TOP (1000) [Id]


,[SettingName]
,[Payload]
FROM [Inventory.ePPT].[Core].[ApplicationSetting]
{
"locations": [
{ "id": 0, "name": "Supplier - Factory" },
{ "id": 1, "name": "Site 1 - Secure Stores" },
{ "id": 2, "name": "Site 1 - Production Floor" },
{ "id": 3, "name": "Site 2 - Secure Stores" },
{ "id": 4, "name": "Site 2 - Production Floor" },
{ "id": 5, "name": "Site 1 - Secure Destruction" },
{ "id": 6, "name": "Site 2 - Secure Destruction" },
{ "id": 99, "name": "Unknown" }
],
"sites" : [
{ "id": 0, "name": "Supplier" },
{ "id": 1, "name": "Site 1" },
{ "id": 2, "name": "Site 2" },
{ "id": 99, "name": "Unknown" }
],
"sitesShortName" : [
{ "id": 0, "name": "SUP" },
{ "id": 1, "name": "ABC" },
{ "id": 2, "name": "DEF" },
{ "id": 99, "name": "UNK" }
],
"stocktypes": [
{ "id": 1, "name": "PO" }
],
"stockCategories" : [
{ "id": 1, "name": "Passports" }
],
"stockCategoriesByStockTypeId" : [
{ "id": 1, "name": "Passports" },
],
"hierarchy": [
{ "id": 1, "name": "Case(s)" },
{ "id": 2, "name": "Box(es)" },
{ "id": 3, "name": "Books(s)" }
],
"inventoryItemStatuses": [
{ "id": 100, "name" : "Valid", "class" : "label-green" },
{ "id": 200, "name" : "Opened", "class" : "label-brown" },
{ "id": 300, "name" : "Damaged", "class" : "label-danger" },

{ "id": 400, "name" : "Missing", "class" : "label-danger" },

{ "id": 600, "name" : "Personalised", "class" : "label-


default" },
{ "id": 700, "name" : "Rejected", "class" : "label-danger" },

{ "id": 800, "name" : "Faulty", "class" : "label-danger" },


{ "id": 900, "name" : "To Be Destroyed", "class" : "label-
brown" },
{ "id": 1000, "name" : "Destroyed", "class" : "label-default" },
{ "id": 1100, "name" : "QA Passed", "class" : "label-default" },
{ "id": 1200, "name" : "Issued", "class" : "label-purple" }
],
"inventoryItemTypes": [
{ "id": 1, "name" : "Case" },
{ "id": 2, "name" : "Box" },
{ "id": 3, "name" : "Book" }
],
"confirmationStatus" : [
{ "id": 1, "name" : "Expected" },
{ "id": 2, "name" : "Assumed" },
{ "id": 3, "name" : "Confirmed not viewed" },
{ "id": 4, "name" : "Confirmed" },
{ "id": 5, "name" : "Inspected" }
],
"stockOrderStatus" : [
{ "id": 1, "name" : "Order Placed" },
{ "id": 2, "name" : "Approved" },
{ "id": 3, "name" : "Rejected" },
{ "id": 4, "name" : "Fulfilled" }
],
"generalFailReasons" : [
{ "id": 1, "name" : "An unexpected failure has occurreed. Please
report." },
{ "id": 2, "name" : "The code reported an invalid request. Please
check and try again. Report if this persisits." },
{ "id": 3, "name" : "Stock Item {0} not found." },
{ "id": 4, "name" : "Stock Item {0} not at required status: {1}."
}
],
"receiveFailReasons" : [
{ "id": 1, "name" : "Item is not in transit." },
{ "id": 2, "name" : "Item is not in transit to this location." },

{ "id": 3, "name" : "Item is not in transit from a valid source


location. Valid sources are:" },
{ "id": 4, "name" : "Item type is not valid for receive at this
location." },
{ "id": 5, "name" : "Item cannot be received. Check status of its
parent container." },
{ "id": 6, "name" : "Item cannot be added. Its container has
already been added." },
{ "id": 7, "name" : "Container cannot be added. Some of its
content have already been added." }
],
"sendFailReasons" : [
{ "id": 1, "name" : "Item is not received." },
{ "id": 2, "name" : "Item is not received to this location." },
{ "id": 3, "name" : "Item type is not valid for dispatch from
this location." },
{ "id": 4, "name" : "Item cannot be sent. Check status of its
parent container." },
{ "id": 5, "name" : "Item status is not valid for dispatch." },
{ "id": 6, "name" : "Item cannot be added. Its container has
already added." },
{ "id": 7, "name" : "Container cannot be added. Some of its
content have already been added." }
],
"manifestFailReasons" : [
{ "id": 1, "name" : "Duplicate stock number(s)in file. Please
contact supplier." },
{ "id": 2, "name" : "Duplicate Chip serial number(s) in file.
Please contact supplier." },
{ "id": 3, "name" : "Barcode(s), StockNumber(s) or Chip serial
number(s) already in stock list. Please contact supplier." },
{ "id": 4, "name" : "Shipment barcode(s) have invalid format.
Please contact supplier." },
{ "id": 5, "name" : "Stock number(s) have invalid format. Please
contact supplier." },
{ "id": 6, "name" : "Chip serial number(s) have invalid format.
Please contact supplier." },
{ "id": 7, "name" : "Manifest file cannot be read. Please contact
supplier." },
{ "id": 8, "name" : "File columns headings are incorrect. Please
contact supplier." },
{ "id": 9, "name" : "Incorrect date and time format. Please
contact supplier." },
{ "id": 10, "name" : "This file has already been uploaded. Please
check file." },
{ "id": 11, "name" : "You are not authorised to upload manifests
for this stock type." },
{ "id": 12, "name" : "Unrecognised stock type in file. Please
contact supplier." } ,
{ "id": 13, "name" : "Data row(s) in file have incorrect column
count. Please contact supplier." },
{ "id": 14, "name" : "File contains multiple stock types. Please
contact supplier." },
{ "id": 15, "name" : "Data row(s) in file have incorrect date
format. Please contact supplier." },
{ "id": 16, "name" : "Pallet barcode(s) have invalid format.
Please contact supplier." },
{ "id": 17, "name" : "Case barcode(s) have invalid format. Please
contact supplier." },
{ "id": 18, "name" : "Tray barcode(s) have invalid format. Please
contact supplier." }
],
"manageLocationsFailReasons" : [
{ "id": 1, "name" : "Location already exist." },
{ "id": 2, "name" : "Location: {0} not found." }
],
"inspectionFailReasons" : [
{ "id": 1, "name" : "Item status is not valid for inspection." },

{ "id": 2, "name" : "Item is not at this location." },


{ "id": 3, "name" : "Item type is not valid for inspection." },
{ "id": 4, "name" : "Item cannot be inspected. Check status of
its parent container." },
{ "id": 5, "name" : "Item already inspected." }
],
"unpackFailReasons" : [
{ "id": 1, "name" : "Item is not received." },
{ "id": 2, "name" : "Item is already unpacked." },
{ "id": 3, "name" : "Item is not received to this location." },
{ "id": 4, "name" : "Item type is not valid for unpack from this
location." }
],
"updateStockFailReasons" : [
{ "id": 1, "name" : "Item cannot be updated from status:[status1]
to status:[status2]." },
{ "id": 2, "name" : "One or more item is in transit. Check the
selected item(s)." },
{ "id": 3, "name" : "One or more item is not inspected. Check the
selected item(s)." },
{ "id": 4, "name" : "One or more item not received to this
location. Check the selected item(s)." },
{ "id": 5, "name" : "One or more items cannot be updated to
status: [status]." },
{ "id": 6, "name" : "Application Number is already associated
with a stock item." }
],
"userAction" : [
{ "id": 1, "name" : "Receive stock" },
{ "id": 2, "name" : "Unpack container" },
{ "id": 3, "name" : "Inspect box contents" },
{ "id": 4, "name" : "Send stock" },
{ "id": 5, "name" : "Update stock" },
{ "id": 6, "name" : "Personalised" },
{ "id": 7, "name" : "Rejected during personalisation phase" },
{ "id": 8, "name" : "Faulty during personalisation phase" }
],
"userActionResult" : [
{ "id": 1, "name" : "Succeeded" },
{ "id": 2, "name" : "Failed" }
],
"miscLookup" : [
{ "id": 1, "name" : "changed" },
{ "id": 2, "name" : "from" },
{ "id": 3, "name" : "to" },
{ "id": 4, "name" : "none" },
{ "id": 5, "name" : "Extra information:" }
],
"auditChangedProperties" : [
{ "id": 1, "name" : "Status" },
{ "id": 2, "name" : "Location" },
{ "id": 3, "name" : "Confirmation Status" },
{ "id": 4, "name" : "Destination Location" },
{ "id": 5, "name" : "Application Number" } ,
{ "id": 6, "name" : "Perso applicant identifier" } ,
{ "id": 7, "name" : "Perso station hostname" } ,
{ "id": 8, "name" : "Perso updated by" } ,
{ "id": 9, "name" : "Perso updated on" }
],
"userStatusRequest" : [
{ "id": 1, "name" : "Missing" },
{ "id": 2, "name" : "Damaged" }
],
"rejectReasons" : [
{ "id": 1, "name" : "Incorrect captured data" },
{ "id": 2, "name" : "Incorrect chip data" },
{ "id": 3, "name" : "Incorrect captured biometric data" },
{ "id": 4, "name" : "Incorrect programmed biometric data" },
{ "id": 5, "name" : "Poor picture quality" },
{ "id": 6, "name" : "Poor signature quality" },
{ "id": 7, "name" : "Cannot verify chip" },
{ "id": 8, "name" : "Poor text quality" },
{ "id": 9, "name" : "Poor picture quality" },
{ "id": 10, "name" : "MRZ not readable" },
{ "id": 11, "name" : "Extraneous ink" },
{ "id": 12, "name" : "Poor print quality" },
{ "id": 13, "name" : "Lamination quality" },
{ "id": 14, "name" : "Failed to laminate" },
{ "id": 15, "name" : "MLIS misregistration" },
{ "id": 16, "name" : "MLIS number already used" },
{ "id": 17, "name" : "MLIS number not on database" },
{ "id": 18, "name" : "Documents added in wrong order" },
{ "id": 19, "name" : "Incorrectly prepared book" },
{ "id": 20, "name" : "Incorrect captured data" },
{ "id": 21, "name" : "Incorrect printed data" },
{ "id": 22, "name" : "Incorrect Programmed data" },
{ "id": 23, "name" : "Poor product quality" },
{ "id": 24, "name" : "Poor print or lamination quality" },
{ "id": 25, "name" : "Customer change request" },
{ "id": 26, "name" : "Chip not working" },
{ "id": 27, "name" : "Lost" },
{ "id": 28, "name" : "Damaged in printer" },
{ "id": 29, "name" : "Perf number unreadable" },
{ "id": 30, "name" : "Cannot program chip" },
{ "id": 31, "name" : "Cancel application" },
{ "id": 32, "name" : "Poor product quality" },
{ "id": 33, "name" : "Set-up error" },
{ "id": 34, "name" : "Unnoticed sequence error" },
{ "id": 35, "name" : "Network error" },
{ "id": 36, "name" : "Duplicate" },
{ "id": 37, "name" : "Book stopped in machine" },
{ "id": 38, "name" : "Auto error from printer" }
],
"rejectCategories" : [
{ "id": 1, "name" : "Data" },
{ "id": 2, "name" : "Verification" },
{ "id": 3, "name" : "Printing" },
{ "id": 4, "name" : "Lamination" },
{ "id": 5, "name" : "User" },
{ "id": 6, "name" : "Reissue" },
{ "id": 7, "name" : "Stock" },
{ "id": 8, "name" : "Cancel" },
{ "id": 9, "name" : "Misc" },
{ "id": 10, "name" : "Automated" }
],
"identifyActions" : [
{ "id": 1, "name" : "Quality Assured" },
{ "id": 2, "name" : "Issued" }
]
}

Você também pode gostar