Welcome to Stores - created and maintained by Sascha Wildgrube.
Manages stores and opening hours.
Stores is NOT an officially supported ServiceNow product.
Stores does NOT come with any kind of warranty. If you use it, you own it!
x_snc_devtools.InstallApp("x_snc_stores");Controls if the Stores application is active.
Controls the verbosity of log output produced by the Stores application.
Store admins can create, modify and delete stores and associated data.
Technical users that can access the "Stores API" via REST calls.
A Store viewer can read store records and related data.
The table is not derived from any other table.
The table is not derived from any other table.
The table is not derived from any other table.
Retrieves information about the app's dependencies to other apps and required versions.
Gets a system property of this application.
This script installs Stores.
Sets all system properties to default values.
Sets a system property of this application.
Produces a log output in the application log using the DevTools Debug function.
Implements the extension point for DevTools.
|
Methods:
* initialize()
* GetParentRecord()
* GetLinkDirectory()
* GetFormatConfig()
* GetApplicationStatus()
* RenderDebugDump()
* GetInstancePipelineName()
* GetEncodedQueryToPreventUselessChecks()
* AppVersionBaselineOnFinish()
* Prompt()
* IsTechnicalUser()
The DevToolsGetLinkDirectory function is called by the DevTools extension point instance class and returns an extended (or modified) link directory object that serves as the basis for the DevTools Link page.
The DevToolsGetParentRecord function is called by the DevTools extension point instance class and returns a parent record for the given record if it can be determined.
Returns Hours Rules relevant for the given Store that are active on the given date.
This includes Hours Rules which apply to the past and the future.
Returns an array of objects representing all Hour Rule Sets that are relevant for the given Store.
Returns an array of objects representing all individual Hours Rules relating to a given Store.
Returns a clean object representing a Store.
Returns the GlideRecord object representing the Store identified by number, Sys ID or number.
Returns an array of objects representing active Stores stored in the x_snc_stores_store table.
Returns true if the application is active, otherwise false.
Produces a log output in the application log.
Produces an error log output in the application log.
Produces a warning log output in the application log.
Renders the given date time object, number or string in the format "hh:mm".
Provides information about stores and their opening hours.
Returns the store data including opening hours
Method: GET
URI: /api/x_snc_stores/stores/store
| Parameter | Description | Required | Example Value |
|---|---|---|---|
| store | Specifies a Store by Sys Id, number or name. | true | |
| date | Specifies a date in ISO format. | false | 2026-01-23 |
Returns the full list of all Stores.
Method: GET
URI: /api/x_snc_stores/stores/stores
Compatible Versions: 1.136.0
Repository url: https://github.com/saschawildgrube/servicenow-devtools.git
Compatible Versions: 1.6.0
Repository url: https://github.com/saschawildgrube/servicenow-geodata.git
No technical debt has been documented for this application.
Copyright 2026 by Sascha Wildgrube
Licensed under the Apache License, Version 2.0 (the "License")
You may not use Stores except in compliance with the License.
You may obtain a copy of the License at: https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
First baselined version