What is the Alert Query Syntax ?

can anyone help me with the syntax for the SQL query for an alert.
My requirement is really basic.
I want to send an alert to user A when user B creates an order for a particular customer.
I created the alert as usual , ticked the User A as recepient and ticked active and assigned my query, which was smilar to
SELECT DISTINCT ('TRUE') FROM
ORDR WHERE ORDR.CardCode = 'CustNo'
while I see that my query returns true, it does not trigger the alert. I hav set my frequency to one minute and the alert is an internal one too.
Thank You,
Indika.

I have been fiddling around with the query and I found that a simple query like
SELECT T1.* FROM OCRD T1
worked and gave me the alert with the query reslut but
this query
SELECT T2.* FROM OCRD T1, ORDR T2  WHERE T2.CardCode = T1.CardCode AND ( T1.Priority = 1 OR T1.Priority = 2 ) AND ltrim(rtrim(T2.CardCode)) = ltrim(rtrim($[$4.0.0]))
did not , even though it does give me a result when run as a query.
Indika.

Similar Messages

  • A simple query in My SQL what is the similer query for that in Oracle ???

    hello friends
    In My Sql if i have 1000 records in a table and i want to get the records from 400 to 550 then it is posible by giving the following query
    Select * from Table a , table b where condition "List 400,550" gives the records from 400 to 550
    what is the coresponding query for this in oracle database
    any one help me pls
    mail me to [email protected]

    Genericly, if you want records N through M from a SELECT statement, there's a wonderful article on asktom.oracle.com
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:127412348064
    Justin

  • What is the proper SQL syntax for dates input as variable

    Hello,
    I am working on an ASP JavaScript page that requests totals
    from an Access database for a specific date range. I can write the
    SQL statement to query the DB and get the results I need using the
    WHERE statement below.
    ...WHERE LABOR_DATE BETWEEN #7/15/2006# AND #7/18/2006# GROUP
    BY [LABOR].[JOB_NUMBER_NAME]
    I have another page that I want to pass two variables in
    Dreamweaver specifying the date range varBeginDate and varEndDate
    and query the database using the date range input by the user.
    What is the correct syntax for replacing the actual dates in
    the example above with my variable values?

    Short answer - you can't. There's no automatic link between file paths and mounting servers. There are lots of valid reasons for this (e.g. preventing malicious links from automatically opening files from remote servers), but you can get there in a controlled environment.
    You can configure Automounts on any directory. That way whenever any application tries to access a particular path the OS will automatically mount the directory, but it needs to be told in advance which directories (and which servers) to mount.
    For example, if you'd configured your iTunes Library to be saved at /mnt/itunes and it's served from afp://mediaserver.your.net/path/to/itunes you would configure an automount to mount the AFP server at /mnt/itunes.
    Since its an automount, the OS wouldn't mount the server until some process tried to read /mnt/itunes.
    There are several ways of specifying automounts, and for each there are several tutorials online that walk you through the process. Try Mike Bombich's site for a starter.

  • What is the sql query for the real time reports Resource Stats?

    Does anyone know what the query is that the real time report tool uses for the Resource Stats page?  Trying to develop a custom report that displays similar information that is updated regularly.

    Hi,
    009 wrote:
    Hi Frank,
    Just wanted your opinion on the above given SQLI'm not sure I understand it.
    I added some more formatting to help me read it:
    SELECT      A
    ,     CASE WHEN LAG(A,1) OVER (ORDER BY A) IS NULL
              OR A=LAG(A,1) OVER (ORDER BY A)
              THEN LAG(B,1) OVER (ORDER BY A)
         END B_LAG
    ,     B
    FROM     (
         SELECT A, B
         FROM
              SELECT '1'A,'Apple' B FROM DUAL UNION ALL
              SELECT '1'A,'cat'B FROM DUAL UNION ALL
              SELECT '2'A,'bat'B FROM DUAL UNION ALL
              SELECT '3'A,'rat'B FROM DUAL UNION ALL
              SELECT '2'A,'yellow'B FROM DUAL UNION ALL
              SELECT '1'A,'pin'B FROM DUAL
         CONNECT BY PRIOR A=B
         ORDER BY A
    );What is the purpose of the CONNECT BY in what you have so far?
    Is the idea that you will add another CONNECT BY query, using
    CONNECT BY  b_lag  = PRIOR b?
    Do you think that will be better than using ROW_NUMBER?
    Will it work if (a, b) is not unique?

  • What is the sql query to know the database name having known table name?

    when i am running the following query....error coming
    select * from information_schema.tables where table_name = 'articles'
    Error starting at line 1 in command:
    select * from information_schema.tables where table_name = 'articles'
    Error at Command Line:1 Column:33
    Error report:
    SQL Error: ORA-00942: table or view does not exist
    00942. 00000 - "table or view does not exist"
    *Cause:
    *Action:
    i am running the above query in SQLDeveloper tool against ORACLE database
    plz give alternate solution.

    Hi,
    select * from information_schema.tables where table_name = 'articles'You are trying query view ( information_schema.tables ) from MSSQL on ORACLE??!!
    Each RDBMS have your own data dictionary... you must check documention of ORACLE to query the properly data dictionary.
    Try it:
    select * from users_tables where table_name = 'articles'
    or
    select * from all_tables where table_name = 'articles'
    or
    select * from dba_tables where table_name = 'articles'http://docs.oracle.com/cd/E11882_01/server.112/e25494/general011.htm#ADMIN11564
    Regards,
    Levi Pereira

  • What is the correct fsck syntax for issue with invisible disk ?

    Hello everybody,
    My problem actually (I also have a problem with the 17" Install DVD) is to repair *3 disks* with *fsck command*, as the filesystems are damaged. I phoned Apple Assistance Saturday, for about 30 minutes, but finally the Advisor sent me a link to one of their thousands (and sometimes obsolete) articles, and the solution wasn't there entirely.
    I'll describe you the problem :
    One of my USB external disks (4TB data) *doesn't appear* after Startup, but when I use the Install DVD and Disk Utility, the application tells me it's OK, that the disk "SEEMS" to be alright etc. That's false.
    When I reboot with *Cmd + S* (root level), and tell Terminal (I have been obliged to print the four states of an American Extended keyboard) :
    "sudo fsck -fy /dev/disk4s1"
    the reply is :
    "BAD SUPER BLOCK: MAGIC NUMBER WRONG
    LOOK FOR ALTERNATE SUPERBLOCKS? yes
    SEARCH FOR ALTERNATE SUPER-BLOCK FAILED. YOU MUST USE THE
    -b OPTION TO FSCK TO SPECIFY THE LOCATION OF AN ALTERNATE
    SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; SEE fsck(8)."
    So, I use the *-b option* of *fsck command*, and :
    "fsck: -b flag *requires a number*"
    "-b size Specify the size, in bytes, of the physical blocks used by
    the -B option."
    So, I'm searching *since 3 days* (and *I'm learning a lot*, but nothing, of course, concerning my problem) the full info command to know *what sector address* I have to tell to -b to install an alternate superblock, because I need to know exactly at which places filesystems and *data start* and end.
    You understand, I suppose, that I can't use any of my softwares, because the disk is INVISIBLE (doesn't exist) after normal restarting.
    It's not MOUNTED nor UNMOUNTED.
    It exists (very well, thank you) when rebooting *with Apple Install DVD*.
    I'm under *Snow Leopard 10.6.5*, and I don't know if, perhaps,
    *there wouldn't be a problem* (or more) with this update ...
    That's what I've seen, in any case, on other places here,
    about several different issues.
    Please, Bob, Gary, Camelot, etresoft, Bill, Jun, Nils, Cole, Charles, Michael,
    gimme some help !
    If someone has the full solution, a beginning of solution,
    or a path to solution,
    thank you very, very much in advance !
    With my best regards
    Vialatte

    Dear Camelot,
    First, thank you very much for answering me and try to help me ;
    Secundo, please read, if you have time, what I replied to Bill Scott,
    and I have to thank you also for your slightly better contribution and understanding.
    Some words of what I've replied to him are written for you too :
    "I type *sudo fsck -fy /dev/disk4s2* (not s1, of course, and *Camelot is perfectly right*, having remarked this mistake, as *s1 is dedicated to partition map* volumes).
    There's also *a strange thing* with Disk Utility when starting from DVD :
    it doesn't display the s1 volumes as usual."
    As you've read it in my reply to Bill, it's a *complicated issue* and *Apple has no response*.
    You tell me : "+Good luck with that.+" It starts badly.
    "+It's been a long time since I've had to deal with superblocks+"
    I totally ignored their existence …
    "+- they just don't come up any more,+" What is the meaning of this sentence ?
    "+but I don't know any way of recovering the superblock address after a disk has failed.+" That's the matter of my question : *Is it a failure ?*
    "+Typically (at least, historically) you get the superblock addresses in advance, storing them somewhere safe until you need them.+"
    That's a total discovery for me.
    You tell me then : "+Are you talking about in the Finder here?+" Yes and no, I talk about the Sidebar (see below), but it's part of the Finder.
    "+Have you checked the Finder's preferences to make sure it's just not hiding external drives?+" I did, when you told me to do so.
    "+Since everything else tells you that the drive is OK+" Yes, you're right, when starting from Install DVD, that's *very strange*, but remember fsck doesn't say *the same at all* as Disk Utility ... "+this just sounds like a Finder preference setting to me.+"
    I'm sorry, it would have been wonderful. My settings are correct, that means :
    NOTHING on Desktop, ALL (including Computer) in the Sidebar (and clicking on Computer allows me to check that *no volume* has vanished from Sidebar (it happens sometimes).
    "+If it's not the Finder prefs, then please post the output of diskutil list in order to troubleshoot further.+"
    Here it is (a little far below), but there's *none of the 2 4TB volumes* (yes, there are two disks missing now) here, because, as I already said that, they are invisible for the Finder and *Disk Utility*, and I think *it's the same for Terminal.*
    You'll note there's *no BOOTCAMP partition* here (I removed it temporarly to solve this issue), and don't be afraid if there are several systems on the internal HD.
    As I noticed it here and there, there are problems with 10.6.5.
    So, I try to work with 10.6.4 (delivered with MBP 17"), but have also an universal 10.6.0 Snow Leopard, with which I can configurate 10.6 *at any state*.
    Unfortunately, I *can't use* (it so that Apple decided to do) the DVD delivered with my 15" MBP (rejected by 17"), because it is with my MBP 15" that I formatted those disks.
    *Another thing :* If I didn't want my wife *to install herself* (with me to help her) the 15" MBP I've gave to her (there's the 17" new 500GB 5400rpm installed in it by me), I would already have tried to connect these two 4TB, just to see.
    Last login: Fri Nov 26 21:22:38 on ttys005
    sys171064:~ OH$ diskutil list
    /dev/disk0
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *500.1 GB disk0
    1: EFI 209.7 MB disk0s1
    2: Apple_HFS Seagate 149.9 GB disk0s2
    3: Apple_HFS System 17 64.9 GB disk0s3
    4: Apple_HFS Sys171064 34.9 GB disk0s4
    5: Apple_HFS For Alu Black System 149.6 GB disk0s5
    6: Apple_HFS SL 10.6.x 100.0 GB disk0s6
    /dev/disk1
    #: TYPE NAME SIZE IDENTIFIER
    0: Applepartitionscheme *16.1 GB disk1
    1: Applepartitionmap 32.3 KB disk1s1
    2: Apple_HFSX olivier_herrbach 16.1 GB disk1s2
    /dev/disk2
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *1.0 TB disk2
    1: EFI 209.7 MB disk2s1
    2: Apple_HFS HSD 01 TM 600 Go 599.9 GB disk2s2
    3: Apple_HFS HSD 01 400 Go 120.6 GB disk2s3
    4: Apple_HFS DiskTools > Seagate ... 279.1 GB disk2s4
    /dev/disk3
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *1.5 TB disk3
    1: EFI 209.7 MB disk3s1
    2: Apple_HFS HELP ÉNERGIE 1,5 To 1.5 TB disk3s2
    /dev/disk4
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *1.0 TB disk4
    1: EFI 209.7 MB disk4s1
    2: Apple_HFS HSD USB 03 1To 999.9 GB disk4s2
    /dev/disk5
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *32.0 GB disk5
    1: EFI 209.7 MB disk5s1
    2: Apple_HFS Patriot USB Key 32 Go 31.7 GB disk5s2
    /dev/disk6
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *1.5 TB disk6
    1: EFI 209.7 MB disk6s1
    2: Apple_HFS WD USB 1,5 To 1.1 TB disk6s2
    3: Apple_HFS WD 02 350 Go Seagate 349.9 GB disk6s3
    /dev/disk7
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *1.0 TB disk7
    1: EFI 209.7 MB disk7s1
    2: Apple_HFS HSD USB 02 50 Go 49.9 GB disk7s2
    3: Apple_HFS HSD USB 02 715 Go 714.6 GB disk7s3
    4: Apple_HFS HSD USB 02 110 Go 110.0 GB disk7s4
    5: Apple_HFS HSD USB 02 100 Go 99.9 GB disk7s5
    /dev/disk8
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *2.0 TB disk8
    1: EFI 209.7 MB disk8s1
    2: Apple_HFS WD USB 2To 2.0 TB disk8s2
    /dev/disk9
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *2.0 TB disk9
    1: EFI 209.7 MB disk9s1
    2: Apple_HFS FW 03 TM 2To 2.0 TB disk9s2
    /dev/disk10
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *1.5 TB disk10
    1: EFI 209.7 MB disk10s1
    2: Apple_HFS FW 02 1,2 To 1.2 TB disk10s2
    3: Apple_HFS FW 02 200 Go 199.9 GB disk10s3
    4: Apple_HFS FW 02 CS5MC 50 Go 49.9 GB disk10s4
    5: Apple_HFS FW 02 Leopard 50 Go 50.0 GB disk10s5
    /dev/disk11
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *2.0 TB disk11
    1: EFI 209.7 MB disk11s1
    2: Apple_HFS FC 02 Time Machine 1.0 TB disk11s2
    3: Apple_HFS FC 02 SL 1To 999.5 GB disk11s3
    /dev/disk12
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *2.0 TB disk12
    1: EFI 209.7 MB disk12s1
    2: Apple_HFS FC 01A USB 1To 700.0 GB disk12s2
    3: Apple_HFS FC 01C 300 Go Leo 299.9 GB disk12s3
    4: Apple_HFS FC 01B USB 1To 699.8 GB disk12s4
    5: Apple_HFS Leopard 125 Go 300.0 GB disk12s5
    /dev/disk13
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *2.0 TB disk13
    1: EFI 209.7 MB disk13s1
    2: Apple_HFS FW 04 TM 2To 2.0 TB disk13s2
    3: Apple_HFS eDrive 12.9 GB disk13s3
    /dev/disk14
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *2.0 TB disk14
    1: EFI 209.7 MB disk14s1
    2: Apple_HFS FW 05 2To 2.0 TB disk14s2
    sys171064:~ OH$
    As you and I see, I strongly believe that disk15s2 and disk16s2 (with s3, s4, s5 etc. partitions) are missing.
    I must find a way to prove what I say to you. Remember that we are not in the case where I use *Cmd + s* after rebooting with Install DVD, but under normal utilisation. What follows has no interest :
    Last login: Fri Nov 26 21:23:55 on ttys006
    sys171064:~ OH$ sudo fsck -fy /dev/disk15s2
    Password:
    /dev/disk15s2: No such file or directory
    Can't stat /dev/disk15s2
    Can't stat /dev/disk15s2: No such file or directory
    sys171064:~ OH$
    So, I will now restart my MacBook Pro with Mac OS X 10.6.4 Install DVD, and go :
    —1 in *Disk Utility* ;
    —2 in Terminal (with *Cmd + s*).
    I'll *note all* what I see, and then write you what I found.
    You'll be nice to tell me if there's a way, in these conditions,
    a) to *save Disk Utility log* ; or/and
    b) to *save Terminal Output(s)* (.txt) ; or/and
    c) to *take and save screenshots*, ; or/and
    d) to *print anything*. (?)
    as I don't know how it's possible to save these informations.
    Thank you once more for your help. I'll do things now, but as it is 23:02 here in France, maybe I won't write you till tomorrow.
    But, if you can answer to a), b), c) or d) above, post it to me please, because I'll go back here tonight.
    And, also, *but I don't want to bore you*, I'd like to learn how to *copy and paste parts of messages* as you did, and how to *insert a Grab item (.png)* in a discussion, because an image is better than thousand words (that's what we say in France, but I'm sure we are not alone on Earth — like in the Universe).
    With my best regards
    Vialatte

  • Message - What causes the Alert Badge when entering an address?

    I've tried entering a mobile phone number and email address to send a message.  Both recieve an Alert Badge.  What qualifies as a 'good address' in this app?

    Are you using iMessage or Messages? These apps send messages only to other iOS devices. An iPad requires and email address and an iPhone will accept the Mobil phone number.
    These apps will not send messages to other phones or tablets.

  • APP-ALR-04120 error while verifying the Alert Query

    I am getting APP-ALR-04120 error:
    An Invalid number of outputs was found in SQL Statements. But I am not seeing any issues in the SQL.
    SELECT
    h.order_number ORDER_NUMBER
    ,hu.name NAME
    ,h.header_id header_id
    ,(l.line_number||'.'||l.shipment_number||'.'|| l.option_number||'.'||l.component_number||'.'|| l.service_number) LINE_NUM
    ,l.line_id LINE_ID
    ,h.booked_flag BOOKED_FLAG
    ,(select name
    from OE_TRANSACTION_TYPES_TL
    where language='E'
    and TRANSACTION_TYPE_ID=h.order_type_id) transaction_type
    ,(select name
    from OE_TRANSACTION_TYPES_TL
    where language='E'
    and TRANSACTION_TYPE_ID=l.line_type_id) line_type
    ,h.creation_date CREATION_DATE
    ,DECODE((SELECT 1
    FROM wf_items
    WHERE item_type = 'OEOL'
    AND item_key = TO_CHAR(l.line_id)
    AND end_date IS NULL), 1, 'Yes', 'No') WF_CREATED
    ,DECODE((SELECT 1
    FROM wf_item_activity_statuses
    WHERE item_type = 'OEOL'
    AND item_key = TO_CHAR(l.line_id)
    AND end_date IS NULL
    AND rownum = 1), 1, 'Yes', 'No') WF_STARTED,
    adl.to_recipients
    into
    &Order
    ,&OU
    ,&header_id
    ,&line_shipment_number
    ,&line_id
    ,&book_flag
    ,&transaction_type
    ,&line_Transaction_type
    ,Creation_date
    ,&WF_created
    ,&WF_started
    ,&TO
    From Oe_Order_Lines_All L,
    Oe_Order_Headers_All H,
    hr_all_organization_units hu,
    alr_distribution_lists adl
    Where L.Header_Id = H.Header_Id
    AND h.org_id = hu.organization_id
    AND l.open_flag = 'Y'
    AND h.open_flag = 'Y'
    AND h.flow_status_code IN ('ENTERED','BOOKED')
    AND l.flow_status_code IN ('ENTERED','BOOKED')
    AND NOT EXISTS (SELECT 1
    FROM wf_item_activity_statuses st
    WHERE st.item_type = 'OEOL'
    and st.item_Key = to_Char(l.line_Id))
    and adl.name like 'XXOM_ORDER_LINES_WO_WF'
    order by 1 asc

    The permission looks fine. If it was permission issue then y it is trying to read the DATA disk which I havent created this time at all ( But created in the first installation).
    2012-10-20 15:37:52.459: [ CRSMAIN][3563381328] Initializing OCR
    [ CLWAL][3563381328]clsw_Initialize: OLR initlevel [70000]
    2012-10-20 15:37:52.897: [ OCRASM][3563381328]proprasmo: *Error in open/create file in dg [DATA]*[ OCRASM][3563381328]SLOS : SLOS: cat=7, opn=kgfoAl06, dep=27140, loc=kgfokge
    2012-10-20 15:37:52.898: [ OCRASM][3563381328]ASM Error Stack : ORA-27140: attach to post/wait facility failed
    ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
    ORA-27301: OS failure message: Operation not permitted
    ORA-27302: failure occurred at: skgpwinit6
    ORA-27303: additional information: startup egid = 1000 (oinstall), current egid = 10002 (dba)
    2012-10-20 15:37:52.967: [ OCRASM][3563381328]proprasmo: kgfoCheckMount returned [7]
    2012-10-20 15:37:52.967: [ OCRASM][3563381328]proprasmo: The ASM instance is down
    2012-10-20 15:37:52.968: [ OCRRAW][3563381328]proprioo: *Failed to open [+DATA].* Returned proprasmo() with [26]. Marking location as UNAVAILABLE.
    2012-10-20 15:37:52.968: [ OCRRAW][3563381328]proprioo: No OCR/OLR devices are usable
    2012-10-20 15:37:52.968: [ OCRASM][3563381328]proprasmcl: asmhandle is NULL
    The only disks created are
    [root@SFV9699 dev]# oracleasm listdisks
    ASM_DATA
    FLASH_RECOVERY
    And these disks are showing part of that group also.. Not quite sure how this happened..
    what abt dropping this group.. will anything work.

  • What is the alert: identityservicesd wants to access my confidential info. on Facetime and e-mail a/c. I get this after upgraded to Maverick. on my i mac

    Recently I upgraded to Maverick on imac and now i get this message evevrytime i startup.
    IDENTITYSERVICESD WOULD LIKE TO ACCESS MY CONFODENTIAL INFO. ON FACETIME AND E-MAIL A/C . IN MY KEYCHAIN .
    ASKING ME TO ALLOW BUT AS NOT SURE I DENY EVRYTIME.
    WHAT IS THIS AND WHAT SHOULD I DO?

    I routinely do NOT allow anything. Unless I am absolutely sure who it is and why they need it (they may want it, but really not need it!), I do not allow. Can't be too careful nowadays what with all the scammers.... Especially someone/something wanting information to do with my email - no way.
    If, for some reason, that is actually legitimate and necessary, then you will at some point get a message that such and such service needs it and you can decide then. Remember most places want your information so they can sell you something or sell your information to someone else - it's big business.

  • What is the sql query for this

    table Employee
    EmpId
    Name
    MonthlySalary
    DateofJoining
    Suggest  a sql server query to find out the employee details whose having salary greater than their yers of experiance 
    nravhad

    Hi ,
      As this seems to be a kind of lab exercise question for learning purpose , i am giving you the pseudo code which will help to solve this problem and learn.
      select <the requeired columns> from employee table.
      where Find the no of years between dateofjoining and current date using DATEDIFF function< monthly salary
      if this is not a lab exercise problem for learning purpose , please forgive my ignorance.
    Best Regards Sorna

  • What is the SELECT query ?

    I want the records of all the employees from employees table where ename starts with A or B or C.........or F

    First, regexp_xxx are available only since 10g.
    Then a description of this function regexp_like(ename,'^(a|b|c|d|e|f)','i') :
    1. tested column name
    2. pattern : ^ is for the start of string
    | for a or condition with the letter list
    i for insentive case
    More info into the doc : http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14200/conditions007.htm#SQLRF00501
    Nicolas.

  • What does the alert "you have purchase that have not been transfered to your itunes that need to be before you update" mean and how do you do that?

    how do you transfer material and is it important?

    Make sure all content is transferred and device is backed up.
    Transfer purchases
    http://support.apple.com/kb/HT1848
    How to backup
    http://support.apple.com/kb/HT1766

  • What is the setVariable syntax for AS3

    Hi,
    I am having issues with setting a variable in AS3 SWF playing inside a Dir12
    spriteObjRef.setVariable(variableName, newValue)
    In the context of ActionScript 3, this method is only supported on a Flash object, not on a
    spriteObjectRef.
    What would the Flash Object syntax be??
    Thanks,
    Jim

    Jusclark-Oracle wrote:
    What is the correct syntax for referencing a page item (P23_ID, for example) in a PL/SQL page process, after submit?
    See "About Referencing Session State" in the documentation.
    Within an anonymous block in an APEX page process, use the standard bind variable syntax:
    :P23_ID
    In general, use bind variable syntax when referencing session state values in SQL or DML:
    select
        ename
    into
        :p23_name
    from
        emp
    where
        empno = to_number(:p23_id);
    and obviously when assigning values to the item:
    :P23_ID := foo.nextval;
    PL/SQL function references v('p23_id') and nv('p23_id') [for number values] must be used to access values in stored program units called from APEX, although it's usually better to pass the values as parameters: foo(:p23_id).

  • What is the cause of the XPath error in concat expression

    Hi,
    In a BPEL process I am working on I am building a list as follows -
    <copy>
    <from expression="concat(bpws:getVariableData('FMSNumbersList'),' | ',bpws:getVariableData('Invoke_1_GetFmsHeadersSelect_OutputVariable','FmsWaveAssignCollection','/ns5:FmsWaveAssignCollection/ns5:FmsWaveAssign/ns5:fmsHeadersCollection/ns5:FmsHeaders[bpws:getVariableData('FmsHeadersProcessed')]/ns5:fmsNumber'))"/>
    <to variable="FMSNumbersList"/>
    </copy>
    When I compile the project I get the following error -
    Error(195): invalid xpath expression
    xpath expression "concat(bpws:getVariableData(&apos;FMSNumbersList&apos;),&apos; | &apos;,bpws:getVariableData(&apos;Invoke_1_GetFmsHeadersSelect_OutputVariable&apos;,&apos;FmsWaveAssignCollection&apos;,&apos;/ns5:FmsWaveAssignCollection/ns5:FmsWaveAssign/ns5:fmsHeadersCollection/ns5:FmsHeaders[bpws:getVariableData(&apos;FmsHeadersProcessed&apos;)]/ns5:fmsNumber&apos;))" specified in <from> is not valid, because XPath query syntax error.
    The syntax error occurs while parsing XPath expression concat(bpws:getVariableData('FMSNumbersList'),' | ',bpws:getVariableData('Invoke_1_GetFmsHeadersSelect_OutputVariable','FmsWaveAssignCollection','/ns5:FmsWaveAssignCollection/ns5:FmsWaveAssign/ns5:fmsHeadersCollection/ns5:FmsHeaders[bpws:getVariableData('FmsHeadersProcessed')]/ns5:fmsNumber')), at position 255.
    The XPath query syntax was wrong; the exception was: Expected: ).
    Check the detailed root cause described in the exception message text and verify that the XPath expression named in the error message is correct. The XPath expression is defined in the BPEL process.
    Make sure the expression is valid
    I am unable to figure out what is wrong with the above expression. Can someone please help.
    Thanks in advance
    Harish

    You have to use two copy statement to fetch values like an Array.
    1. Construct a dynamic xpath expression
    2. Use dynmaic xpath to get the array value
    Eg:
    The below code shows how to use assign to build the dynamic XPath.
    <assign name="Assign_XPath_For_Array">
    <copy>
    <from expression="concat('/ns1:ArrayList/ns2:ArrayElem[',bpws:getVariableData('Variable_Index_Counter'),']') "/>
    <to variable="Variable_Xpath"/>
    </copy>
    </assing>
    Note have used [index] to represent index element here in the array.
    Here Variable_Xpath acts as a temporary string variable that holds the intermediate Xpath as string.
    Now use this XPath string Variable while reading array index elements.
    This would look like
    <assign name="Assign_Read_Array">
    <copy>
    <from expression="bpws:getVariableData('Variable_Array','payload',bpws:getVariableData('Variable_Xpath'))"/>
    <to variable="Variable_Read_Array_Element"
    query="/ns1: ABC"/>
    </copy>
    </assign>
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • What are the logical database source (SQVI) should i use for quick viewer

    Dear expert,
    Would like to seek for your help, how to use (SQVI) quick viewer/SAP query to generate the listing of   and can I use SQVI -quick viewer and select the data source as logical database source to generate in order to generate the listing of GL account number,GL account descrition , tax category,posting without tax allowed column in the query by company?
    Between, what are the data source should I use for logical database to generate the query with listing of GL account number,GL account descrition , tax category,posting without tax allowed column in the query by company?
    Please help.
    Many Thanks.
    Regards,
    Karen

    Hi,
    Thank you for the prompt reply, what I would like the query to generate is the master data GL listing for GL account,GL description,Tax category, posting without tax allowed column where i use BRF as the data source for logical database to generate the quick viewver but the BRF data source do not have the GL description.
    How I can join table/join query or what are the data source should i use so that i can able to generate the query with GL master data listing by company code by display GL account,GL description,Tax category, posting without tax allowed?
    Between,do you have any reference/link/document on the how to use the SQV1?
    Also, what the difference between SQV1 and SQ01 ?
    And also what are the sap query,inforset query,quick viewer mean for and what are the difference between them also when should i use sap query,inforset query,quick viewer  to generate the query?
    Please help.
    Many thanks.
    KH

Maybe you are looking for

  • FM????? Text file to Internal table in Background

    Hi, I need to execute my prog in background and as per my req i need to dwnload a file from prsentation server to internal table for processing. I'm not sure whch FM to use to dwnload from text file to internal table. I cannot use GUI_UPLOAD FM for b

  • ABAP dynamic tables add fields

    Hi, i have to extend a dynamic table like this: FIELD-SYMBOLS: <g_data> TYPE table. I have to build a custom structure with all the fields of g_data plus some other fixed fields. In other words if g_data looks like this AUFNR POSNR 100   10 200   20

  • Conversion of classic to extended classic

    hi, i wanted to convert from classic to extended classic scenario.so what can i do to that?already activated simplified pricing.now how can i activate the ipc pricing?do i need to implement any BADI for po pricing conditions and for organization stru

  • MacBook - problems with iPhoto slideshow music

    Just got my brand new MacBook today and imported everything from old PowerBook. However now that I am trying to play a slideshow in iPhoto, the music to it will not play. Yet it will play in iTunes app itself, but not within the slideshow in iPhoto?

  • Can U Think of Any Situation Where U Find VENDOR Info. Populated for a STO?

    Hi, Can you think of any situation where you will find VENDOR information populated for a STO moving stock from a Plant to Store under the same company code? I got an error ("Enter goods for vendor XXXX only") and this was triggered by the fact that