Query to support Alert
Through this forum I learned of a query to support an alert for a new sales order.
SELECT T0.DocNum, T0.CardCode, T0.CardName,T0.NumAtCard, T0.DocDate, T0.DocStatus, T0.Printed FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry WHERE DATEDIFF(DD,T0.CREATEDATE,GETDATE())=0
Instead of running this once a day we need to have the alert send as soon as the orders are made. Any suggestions to avoid having the same results get sent everytime the alert runs? We want to send the alert only once.
Thank you
You may find answer here:
Re: Alert for every AR Invoice raised
Thanks,
Gordon
Similar Messages
-
It's very odd. I take photos with my iPhone and then later go to view the photos in the Photo Gallery on my iPhone. The photos to appear, but I keep getting "this movie format not supported" alerts, even though I am looking at photos taken by my iPhone. The alert appears briefly just after the photo appears and then the alert goes away and I can see the photo. They are just still photos and not movies. Why wouldn't the iPhone recognize the format of photos it is taking?
That thread helped for a time. But now it seems as though my computer is back to slow again. But, some of the jargon is over my head as well. Not sure I knew quoite everything they were talking about. But thanks a lot for that, it helped I probably just need to reread it and follow the instructions again. Thanks so much.
-
Is EJB query language supports UNION
Hi All,
Can anyone suggest me is EJB query language supports UNION type of select queries
if possible can any one suggest me how to convert below Sql query to Ejb ql
Ex:
select * from table1 where id='10'
union all
select * from table1 where id='20'The UNION clause specifies a combination of the output of two subqueries. The two queries must return the same number of elements and compatible types
1.You cannot use dependent value objects with UNION.
2.UNION ALL combines all results together in a single collection.
3.UNION combines results but eliminates duplicates.
4.If ORDER BY is used together with UNION, the ORDER BY
must refer to selection expression using integer numbers.
Example:
This example returns a collection of all employee objects of type EmpBean and all manager objects of type ManagerBean where ManagerBean is a subtype of EmpBean.
select e from EmpBean e union all select m from DeptBean d, in(d.mgr) mThis example shows a query that is not valid, because EmpBean and DeptBean are not compatible.
select e from EmpBean e union all select d from DeptBean d
Your Example:
Select e from Table1Bean e where e.id=10
union all
Select e from Table1Bean e where e.id=10 -
Query for an ALERT to give items that haven't sold in 60 days
To the Experts.
Can someone help me with a query for an ALERT. I need items that haven't sold in the last 60 days?Try this query.
select max(t1.docdate) as [Last Inv Date], t0.itemcode, t0.dscription
from inv1 t0 inner join oinv t1 on t0.docentry = t1.docentry
where t1.doctype = 'I'
group by t0.itemcode, t0.dscription
having max(t1.docdate) <= getdate() - 60
order by t0.itemcode
The value getdate() is today, so getdate() - 60 will move the filter date back 60 days. This looks at A/R Invoices and only Items type documents.
I hope this helps.
Ross Unger - Third Wave Business Systems -
Does Query Builder support Alias like in Oracle
Dear Experts,
As I read one artical give a detailed information regarding the tables in BOE, so i want to use one sql statements to get the information from that table.
I exclude the way to check directly on infoview and designer. I just want to know the way how to get thoes information from query builder.
eg: i know the SI_ID for one webi, and so i want to find out what's the universe/connection/owner etc belong to it.
I have one sample sql as below:
select IA.SI_KIND,IB.SI_NAME,IC.SI_NAME,IW.SI_NAME,IE.SI_NAME
from CI_INFOOBJECTS IA, CI_INFOOBJECTS IB, CI_INFOOBJECTS IC, CI_INFOOBJECTS IW, CI_INFOOBJECTS IE
where IA.SI_PARENTID=IB.SI_ID and
IA.SI_OWNER =IC.SI_ID and
IA.si_universe=IW.SI_ID
and IW.SI_CONNECTION =IE.SI_ID
But i got the "invalid error" from query builder, so i guess maybe the query builder support the Alias like in Oracle.
If you know how to use one statement to check the webi and it's universe/connection etc, please kindly assist.
Many thanks.
SophieQuery Builder is not meant for running complex queries against repository so i dont think Alias will work in query builder.Try to get results with simple queries else you can use SDK to get your job done.
-Gokul. -
Urgent :..Nokia 60 Series SDK Emulator not supporting Alert and Ticker
Nokia 60 Series SDK Emulator is not supporting Alert and Ticker and i m struck in my Project.The emulators soming with Sun One Studio 5 mobile Edition are supporting it Please help me
Thnx
AmitDownload and use Nokia J2ME sdk Nokia developer suite for j2me 2.0, It atleast supports ticker, i know its a beta version of series 60 emulator...but try that one
manas -
Support Alert Note:278484.1 on Metalink
Please Note: For those of you who have recently downloaded the latest releae of Designer 6i (Rel 4.10), 9i Designer ((.0.2.8) or Designer 10g(9.0.4.4) or Patch 3646421 DESIGNER/REPOSITORY 10g RELEASE 9.0.4.4 from Metalink.
Please be aware that there is a problem in this release with purging. See Support Alert Note:278484.1 on Metalink for details. The bug has now being fixed and it is essential you apply the patch described in the support note before attempting to purge.
Regards
Sue Harper
Designer Product ManagementHello Sue,
I've downloaded patchset 3646421 from metalink to get to version 10g 9044, which was 372918776 bytes. Furthermore I've downloaded the small 3741262 and 3771545 patches (last one fixes the purge bug).
No I can see (from your other post) on OTN there is 10g_designer_scm_9044.zip which brings me also upto version 10g 9044 with a size of 315085075 bytes (slightly less).
Could you tell me why and what the differences are in both and what best action I can take to upgrade my existing OracleDeveloperSuite10g90401 to 9044 if i've not installed the metalink stuff yet?
Note: I can ask a similar question about version 9i DS 9028: on metalink (patch p3646411) size 317001147 bytes. On OTN size is 315085075 bytes. Why are they different and what is the best to use.
Regards,
Michiel -
Using a SQL Query in an Alert and Matching a String
I've created an alert in 12.0.4 using a SQL Query and the field that I'm trying to match is a string. Originally the query returned multiple rows but when the alert still didn't fire, I modified the query WHERE clause to return only one row:
NAME RESPONSE
Are area lights working? No
My expression in the metric is RESPONSE. In the Monitor I'm matching a string equal to No. (Do I need double quotes around the matchvalue? Single quotes? No quotes?) The metric is in the 15min scan group, the role is xMII Developers and I'm in that role. The monitor alert string is ' = '. Both metric and monitor are active and I've subscribed to the monitor. Other alerts in the 15min scan group (all based on tag queries) are firing off properly.
Why is nothing showing up in the Alert Log?
David MacindoeDavid,
Did you figure out the answer? If not, I will try to find someone to address your question.
Mike -
HP Laserjet Support Alert (CM1415, CP1525, M1536)
This alert affects only the following Laserjet devices:
HP LaserJet Pro CM1415 Color MFP Series
HP LaserJet Pro CP1525 Color Printer Series
HP LaserJet Pro M1536 MFP Series
A free firmware upgrade is required to keep your ePrint and Print Apps service working.
Please go to: www.hp.com/go/eprint to download the newest firmware and continue using your ePrint solution. If you do not complete the upgrade, your ePrint and Print Apps may not work after Hewlett-Packard has finished a service upgrade on 1/15/2012.
All other product features will continue to work as before.
If you have questions, please contact HP Support at http://www.hp.com/support/contacthp.
I am an HP employee.The alert is just to let you know about the new forums, they are starting to appear on the website here and there for certain printer models.
insert signature here -
Javascript query and app alert message
Hi there,
I wonder if someone could please help with a query I have re a button I have that checks that all required fields have been completed? If required fields are not completed one message is displayed and when all required fields have been completed another message is displayed. I'm a scriptingnovice but have sort of figured out what I want to do (it seems to work anyway!) . The problem I have now is that I want to change the text in the app alert from "Warning: Javascript Window". Is this possible? I'd also like to remove the big x from the app alert when all fields have been completed and the button is clicked by the user. Please find my script below.
Any advice and help would be much appreicated.
Thanks,
Ken
form1.#subform[0].#area[0].Button1::click - (JavaScript, client)
if (form1.execValidate() == false){
app.alert("You have not completed out all of the required fields of the form. Please complete the required fields.")
if (form1.execValidate() == true){
app.alert("You have completed all of the required fields. Please proceed to submit this form by email.")Switch to the XFA scripting model (xfa.host.messageBox) from the Acroform scripting model (app.alert). You can alter the dialogue box title and icons (although I think you can with app.alert but I cannot remember).
See http://help.adobe.com/en_US/livecycle/9.0/designerHelp/index.htm. Drill into the help. The messageBox object is explained in Scripting Methods.
Steve -
Query regarding CCMS alert in XI
Hi XI gurus,
We have some queries regarding the CCMS alert configuration in XI server. We are planing to implement CCMS alerts for Message failure in IE, Adapter Engine, Queue Block, etc.
Can anyone please let us know what exactly should be done by BASIS team and XI(Dev/Support) team.
Thanks
Suganya.I have not done this but was implemented in my projects
I am providing some links which you can use with help of BASIS
http://csc-studentweb.lr.edu/swp/Berg/Conferences/SAP_NW2008_and_Admin_2008/ADMIN/Track4/Track4_session2.pdf
http://sap.ittoolbox.com/groups/technical-functional/sap-basis/ccms-custom-configuration-771913
Configuring Alert management (ALM)
You should basically aim at configuring SOLMAN as your central alert cerver so that you will receive alerts from DEV QA PROD boxes of PI , ABAP in one system , no need to configure alerts separately
Regards
Ninad -
SQL query to get alert information
Hello,
Would anyone help me with a query where we can find the all state change information of an alert. The below query I am using will give the last state change not all state change happening.
Any help is appreciated.
SELECT
AlertStringName,
MonitoringObjectDisplayName,
MonitoringObjectPath, ResolutionState,
Priority,
Severity,
ResolvedBy, TimeRaised,
TimeAdded,
LastModifiedBy, LastModified,
TimeResolved,
TimeResolutionStateLastModified
FROM
Alertview WITH (NOLOCK)
WHERE
TimeRaised is
not NULL and
TimeRaised >
getdate()-1
order by TimeRaised
desc
Thanks,
BinoyPlease use the following SQL statement
SELECT a.AlertStringName, a.MonitoringObjectDisplayName, a.MonitoringObjectPath, ah.ResolutionState, a.Priority, a.Severity, a.ResolvedBy, ah.Timemodified, ah.TimeAdded, a.LastModifiedBy, a.LastModified, a.TimeResolved,
a.TimeResolutionStateLastModified
FROM Alertview a WITH (NOLOCK) inner join AlertHistory ah on a.id=ah.alertid
WHERE a.TimeRaised is not NULL and a.TimeRaised > getdate()-1 order by a.id, a.TimeRaised desc
Roger -
SQL query for custom alert view
I have created a custom alert view and scoped to show alerts related to group of servers.
Alert view Criteria: Resolution State - New, Severity - Warning and Critical, Group - "Group 1"
I am trying to query the Operations Manager database to show the alerts with same criteria using below query.
select MonitoringObjectName, ResolutionState, Priority, Severity, TimeRaised, TimeAdded, TimeResolved, AlertStringName, AlertStringDescription from AlertView where ResolutionState = '0' AND (Severity = '2' or Severity = '1')
AND
MonitoringObjectId IN (select TargetObjectId from RelationshipGenericView
where SourceObjectDisplayName = 'Group 1')
in Console i see both warning and critical alerts where as in SQL query output i see only critical alerts. Could you please correct if I am using wrong query. also please share your suggessions if i am completely wrong on this.
Kind Regards,
Bommi
~Bommiyour query looks perfectly fine. Are you sure if the alerts you see in the console are of the 'Resolution State =0' (New). It might be the case where the alert have moved to a fidderent resolution state.
Also, take a sample warming alert from console, query for the same in DB and check the Severity value. If it is '2'.
Regards,
Saravanan -
Adding the ABAP code to SAP Query to support Query's ALV Double click.
Hi, Expert.
I need to add some ABAP Code into SAP Query (or Infoset) to support the double click event on ALV cell of result of query.
Is it possible & How to do ?
Thank you very much.
Best Regard
Nattapash C.Hi, Gautham.
I've put BREAK-POINT in all code section e.g. INITIALIZATION, END-OF-SELECTION..
I found there are some section for add code that will be executed when query is processing before output data to ALV.
What I need to know is Where I can input the code after ALV output. For support the Double Click Event on Query's ALV cell.
Best Regard,
Nattapash C. -
Odata query not supporting $filter $stop $expand
Hi everyone,
I am just trying to call a odata query to uodate a attribute
I get this error:The status always return me 400.Please Help
responseText "{Query options $expand, $filter, $orderby, $inlinecount, $skip and $top cannot be applied to the requested resource.}" String
Here ia a part of my code:
//my odata request
var oDataPath = ServerUrl + "/XRMServices/2011/OrganizationData.svc";
var oData = oDataPath + "/AppointmentSet?$select=Category&$filter=ActivityId eq guid'" + appointmentid + "'";
var req = new XMLHttpRequest();
req.open("POST", encodeURI(oData), false);
req.setRequestHeader("Accept", "application/json");
req.setRequestHeader("Content-Type", "application/json; charset=utf-8");
req.setRequestHeader("X-HTTP-Method", "MERGE");
req.onreadystatechange = function () {
if (this.readyState == 4 /* complete */) {
req.onreadystatechange = null;
if (this.status == 204 || this.status == 1223) {
successCallback();
else {
debugger;
errorCallback(SDK.REST._errorHandler(this));
Thanks
SurbhiHi,
Use below code to resolve your error
function Retrieve() {
var oDataPath = ServerUrl + "/XRMServices/2011/OrganizationData.svc";
var oData = oDataPath + "/AppointmentSet?$select=Category&$filter=ActivityId eq guid'" + appointmentid
+ "'";
var retrieveReq =
new XMLHttpRequest();
//alert(Odata);
retrieveReq.open("GET",
oData,
false);
retrieveReq.setRequestHeader("Accept",
"application/json");
retrieveReq.setRequestHeader("Content-Type",
"application/json; charset=utf-8");
retrieveReq.onreadystatechange =
function () { retrieveReqCallBack(this);
retrieveReq.send();
function retrieveReqCallBack(retrieveReq) {
if (retrieveReq.readyState == 4
/* complete */) {
var retrieved =
this.parent.JSON.parse(retrieveReq.responseText).d;
var category= retrieved.results[0].Category;
Maybe you are looking for
-
How to populate data in dynamic internal table
Hi Expert, fyi. My dynamic internal table field is created base on data selected. Eg. select table qpcd has 5 records. These 5 recods will become fieldname to my dynamic internal table. My dynamic internal table will be ...itab 01 02
-
Incomplete print jobs with HP Officejet v40 and Windows 7
I've seen this problem posted but no solution yet. I have upgraded my laptop to a Windows 7 and my trusty old HP Officejet v40 will not print a complete page. It worked great with XP. The drivers are supposedly updated. Please help! Thanks.
-
Issue in calculating sum on a column at the end of the report in Pivot view
Hi, I have some columns like Hierarchy column A, Non Hierarchical columns B, C and a measure D. In Pivot view under rows I have placed columns A,B and C in Columns and D in measures. If I try to calculate sum of values at the end of report by using o
-
Hi there I have created a site and I am told that I should protect my self against SQL Injection attacks. I have created the site using Dreamweaver and dont know if it creates code with this in mind. Can anyone suggest what to do? Mally
-
I just bought an ipad cant get it to do anything
I just bought an ipad and cant get it to start up. It is connected to my laptop.