To create custom reports, connect to the reporting URL via the VPN and run the Report Builder.
[email protected]
, and the code shown in the app is
654321
, then you would enter
[email protected]
in the
Password field.The generated username for logging into the reporting database takes the form of up to the first 17 characters of the Order Management username, followed by a random 2-digit number, followed by either a “P” for Production instance or “S” for Stage instance. Any special characters in the Order Management username are replaced with an underscore (_). Special characters might include: / []:;|=,+?<>@.*" This username appears on the user account detail page in Order Management. The password associated to this database user account is the same as the one used to access Order Management.
The Query Designer helps when you don't know all the tables / field names available in the data source.
WITH (NOLOCK)
hint to each of your
SELECT statements, or set the transaction isolation level to READ
UNCOMMITTED for your entire SQL query. This prevents locking issues
with other reports and with the reporting database update process.
Because the reporting database is read-only aside from the automated
mirror process, report queries don't need locks. Best practice is also
to limit the amount of returned data by specifying a TOP value.
Failure to do so might result in queries that take a long time to run.
Note that a report query is terminated by the system automatically
once it exceeds 10 minutes.
This example query creates a list of the first 500 master items and their current statuses, ordered by item code:
SELECT TOP 500 item_cd, item_status FROM
dbo.mf_items_view WITH (NOLOCK) WHERE item_type_id = 3 ORDER BY
item_cd
To see the query results, paste it into the query section and click Refresh Fields.
© Copyright 2000-2023, Salesforce, Inc. All rights reserved. Various trademarks held by their respective owners. |
Show URL | Submit Feedback | Privacy Policy |