Query For Linking Activity

Dear All,
I need your help in writing a query. My Scenario is as follows:
I add an Activity whose Code is 95. Now using activity no. 95, I make a follow-up whose no. is 103. Now using 103, I create another follow-up, no. is 110. And using 110 I create my last follow-up, no. is 118.
Now if user selects activity no. 118 & want to see the history or previous conversation made against this activity then he/she should get 110,103 & 95
And if user selects activity no. 95 & want to see the history or conversation made against this activity then he/she should get 103, 110 & 118.
Please help me in writing this query.
Any kind of help would be appreciated.
Thanks & Regards
Ankit Chauhan

Hi Ankit
Pls Provide the field names you required in Query results.
Hope you get the results, Isn't it by running earlier query?
I'm also dont have much experiance in SQL, So what i suggest is, you can give 15 or 20 levels .
Below query will help you to get the data in both case, i mean , it will fetch all 4 level data if you give starting activity no or ending activity  no.
You can add more fields in query results and add more levels also.
--Ascending
SELECT T0.[ClgCode], T0.[CardCode],T0.prevActvty from OCLG T0 where T0.[ClgCode] = [%0]
Union All
SELECT T0.[ClgCode], T0.[CardCode],T0.prevActvty from OCLG T0 where T0.prevActvty = [%0]
Union All
SELECT T0.[ClgCode], T0.[CardCode],T0.prevActvty from OCLG T0 where T0.prevActvty = (SELECT T0.[ClgCode] from OCLG T0 where T0.prevActvty = [%0])
Union All
SELECT T0.[ClgCode], T0.[CardCode],T0.prevActvty from OCLG T0 where T0.prevActvty = (SELECT T0.[ClgCode] from OCLG T0 where T0.prevActvty = (SELECT T0.[ClgCode] from OCLG T0 where T0.prevActvty = [%0]))
Union All
SELECT T0.[ClgCode], T0.[CardCode],T0.prevActvty from OCLG T0 where T0.prevActvty =
(SELECT T0.[ClgCode] from OCLG T0 where T0.prevActvty = (SELECT T0.[ClgCode] from OCLG T0 where T0.prevActvty = (SELECT T0.[ClgCode] from OCLG T0 where T0.prevActvty = [%0])))
---Descending
Union All
SELECT T0.[ClgCode], T0.[CardCode],T0.prevActvty from OCLG T0 where T0.ClgCode = (SELECT T0.prevActvty from OCLG T0 where T0.ClgCode = [%0])
Union All
SELECT T0.[ClgCode], T0.[CardCode],T0.prevActvty from OCLG T0 where T0.ClgCode = (SELECT T0.prevActvty from OCLG T0 where T0.ClgCode = (SELECT T0.prevActvty from OCLG T0 where T0.ClgCode = [%0]))
Union All
SELECT T0.[ClgCode], T0.[CardCode],T0.prevActvty from OCLG T0 where T0.ClgCode = (SELECT T0.prevActvty from OCLG T0 where T0.ClgCode = (SELECT T0.prevActvty from OCLG T0 where T0.ClgCode = (SELECT T0.prevActvty from OCLG T0 where T0.ClgCode = [%0])))
Union All
SELECT T0.[ClgCode], T0.[CardCode],T0.prevActvty from OCLG T0 where T0.ClgCode = (SELECT T0.prevActvty from OCLG T0 where T0.ClgCode = (SELECT T0.prevActvty from OCLG T0 where T0.ClgCode = (SELECT T0.prevActvty from OCLG T0 where T0.ClgCode = (SELECT T0.prevActvty from OCLG T0 where T0.ClgCode = [%0]))))
Union All
SELECT T0.[ClgCode], T0.[CardCode],T0.prevActvty from OCLG T0 where T0.ClgCode = (SELECT T0.prevActvty from OCLG T0 where T0.ClgCode = (SELECT T0.prevActvty from OCLG T0 where T0.ClgCode = (SELECT T0.prevActvty from OCLG T0 where T0.ClgCode = (SELECT T0.prevActvty from OCLG T0 where T0.ClgCode = (SELECT T0.prevActvty from OCLG T0 where T0.ClgCode = [%0])))))
Regards
Unnikrishnan

Similar Messages

  • Query for 'User Activity' Webi Line Chart using BO4.0 Auditor

    Need to create a webi line chart to measure  ‘user activity’ per month, year or day using BO4.0 Auditor on Oracle.    
    This question raises two sub-questions:
    What actions constitute user activity?  Is it concurrent logins by users?   I am confused if that would really give a true picture of user activity as users can log in and do nothing on the BO system.  
    If concurrent logins do in fact give a true picture of user activity then how do I go about creating a chart? What objects do I need to include in query?
    Please provide feedback?
    Thank u.

    Hi Ramil,
    Follow below steps to create a webi report for your requirement, launch Webi rich client and create a new webi report by selecting "BOEXI40-Audit-Oracle" (Audit universe)
    1) Select below objects in 'Result Objects' pane
    [Event Year], [Event MonthName],[Event DayofMonth], [Event Type], [User Name], [Total Event Count]
    2) Define below conditions in "Query Filter" pane
    [Event Type Id] In list 1015 AND [Event Year] In list "Select Year" (Prompt)
    3) Run query
    4) At report level create a new variable of type measure with the name "User Activity" with below formula
    =Count([Total Event Count]In([User Name];[Event MonthName];[Event DayOfMonth]) )
    (This formula will track  logout event of a each user in a day as well as in a month, it will take/count only one log out event of the user in a day as you desire)
    5) Create a table block as well as graphs as you desire
    i) For day wise user activity create a table/graph using: [Event DayofMonth], [User Activity]
    ii) For month wise user activity create a table/graph using: [Event MonthName], [User Activity]
    Let me know if you have any questions
    ~Manoj

  • Query for Linking Two Tables without Reference

    Hi Folks,
    Good Day!
    I have this dilemma on how to link two tables without a reference. In the Business Partner Master Data, there is a field for the Territory which is from the table OTER. This OTER focuses on its description. Once you have added the particular Territory for that Business Partner, it is being stored in the Territory field of the BP right? Our client wants to have an automated way of searching for the Business Partner's Profit Center in creating a Sales Order wherein it is the same as the Business Partner's Territory. The Profit Center is from the table OPRC.
    When I create a Sales Order, after I have entered the Business Partner/Customer Code, the Profit Center should have the value of the Profit Center Code wherein it is the Business Partner's Territory. My query will go like this:
    Enter the BP/Customer Code automatically the Profit Center code where Profit Name = BP's Territory.
    OTER and OCRD don't have connections. How can it be?
    I'm thinking of retrieving the Territory first before the Profit Center but can you suggest of any other way?
    Thank you much!
    Regards,
    Fringe

    Hi Fringe,
    Okay, I already understood your case here. I presume your configuration as follows:
    OTER (Territory)
    territryID - descript
    1 - Philippine
    2 - Indonesia
    3 - Germany
    OPRC (Cost Centre)
    PrcCode - PrcName
    25 - Philippine
    33 - Indonesia
    47 - Germany
    Was above illustration correct? Then, you could use this formatted search in Cost Centre / Dimension field in Sales Order rows
    SELECT PrcCode FROM OPRC WHERE PrcName=(
    SELECT TOP 1 descript FROM OTER T0
    INNER JOIN OCRD T1 ON T0.territryID=T1.Territory
    WHERE T1.CardCode=$[OCRD.CardCode.0])
    However, I suggest you use a little bit different approach here. Since you can't define Territory Code / Territory ID (you could only type the Territory name, Philippine etc.), why don't you standardize Territory name with Cost Centre code? Let say, you define Philippine as PHI, Indonesia as INA, Germany as DEU and so on. Therefore, user can read the Cost Centre or more precisely Distribution Rules in Sales Order form in more familiar way.
    OTER (Territory)
    territryID - descript
    1 - PHI
    2 - INA
    3 - DEU
    OPRC (Cost Centre)
    PrcCode - PrcName
    PHI - Philippine
    INA - Indonesia
    DEU - Germany
    When FMS worked in Sales Order document, your user will read PHI instead of 25, should be more familiar to them. With that being said, you could use simpler FMS
    SELECT descript FROM OTER T0
    INNER JOIN OCRD T1 ON T0.territryID=T1.Territory
    WHERE T1.CardCode=$[OCRD.CardCode.0]
    You only need to maintain consistency between Territory Name and Cost Centre code. Just my two cents. Hope this help.
    Best Regards,
    Hendry Wijaya

  • Query for Inventory Activity for whse & dates

    I am using the query below to report Inventory Activity by Whse for a selected date range. Can anyone please advise on how to add a column for Inventory Unit of Measure (OITM.InvntryUom) to this query? This would make the report more useful. Even more useful would be to also integrate batch numbers into this same query. Would this be possible also?
    The columns returned by this query currently are: Whse, ItemCode, ItemName, OpeningBalance, InQty, OutQty, and EndingBal.
    Declare @FromDate Datetime
    Declare @ToDate Datetime
    Declare @Whse nvarchar(10)
    Set @FromDate = (Select min(S0.Docdate) from dbo.OINM S0 where S0.Docdate >='[%0]')
    Set @ToDate = (Select max(S1.Docdate) from dbo.OINM s1 where S1.Docdate <='[%1]')
    Set @Whse = (Select Max(s2.Warehouse) from dbo.OINM S2 Where S2.Warehouse = '[%2]')
    Select
    @Whse as 'Warehouse',
    a.Itemcode,
    max(a.Dscription) as [Item Name],
    sum(a.[Opening Balance]) as [Opening Balance],
    sum(a.[IN]) as [IN],
    sum(a.OUT) as OUT,
    ((sum(a.[Opening Balance]) + sum(a.[IN])) - Sum(a.OUT)) as Closing
    from(
    Select
    N1.Warehouse,
    N1.Itemcode,
    N1.Dscription,
    (sum(N1.inqty)-sum(n1.outqty)) as [Opening Balance],
    0 as [IN],
    0 as OUT
    From dbo.OINM N1
    Where
    N1.DocDate < @FromDate
    and N1.Warehouse = @Whse
    Group By
    N1.Warehouse,N1.ItemCode,N1.Dscription
    Union All
    select
    N1.Warehouse,
    N1.Itemcode,
    N1.Dscription,
    0 as [Opening Balance],
    sum(N1.inqty) as [IN],
    0 as OUT
    From dbo.OINM N1
    Where
    N1.DocDate >= @FromDate and N1.DocDate <= @ToDate and
    N1.Inqty >0
    and N1.Warehouse = @Whse
    Group By
    N1.Warehouse,N1.ItemCode,N1.Dscription
    Union All
    select
    N1.Warehouse,
    N1.Itemcode,
    N1.Dscription,
    0 as [Opening Balance],
    0 as [IN],
    sum(N1.outqty) as OUT
    From dbo.OINM N1
    Where
    N1.DocDate >= @FromDate and N1.DocDate <=@ToDate and
    N1.OutQty > 0
    and N1.Warehouse = @Whse
    Group By
    N1.Warehouse,N1.ItemCode,N1.Dscription) a, dbo.OITM I1
    where
    a.ItemCode=I1.ItemCode 
    Group By
    a.Itemcode
    Having sum(a.[Opening Balance]) + sum(a.[IN]) + sum(a.OUT) > 0
    Order By a.Itemcode

    Try this one:
    Declare @FromDate Datetime
    Declare @ToDate Datetime
    Declare @Whse nvarchar(10)
    Set @FromDate = (Select min(S0.Docdate) from dbo.OINM S0 where S0.Docdate >='[%0]')
    Set @ToDate = (Select max(S1.Docdate) from dbo.OINM s1 where S1.Docdate <='[%1]')
    Set @Whse = (Select Max(s2.Warehouse) from dbo.OINM S2 Where S2.Warehouse = '[%2]')
    Select
    @Whse as 'Warehouse',
    a.Itemcode,
    max(a.Dscription) as ItemName,
    sum(a.OpeningBalance) as OpeningBalance,
    sum(a.INq)  as 'IN',
    sum(a.OUT) as OUT,
    ((sum(a.OpeningBalance) + sum(a.INq)) - Sum(a.OUT)) as Closing
    ,(Select  i.InvntryUom from OITM i where i.ItemCode=a.Itemcode) as UOM
    from(
    Select
    N1.Warehouse,
    N1.Itemcode,
    N1.Dscription,
    (sum(N1.inqty)-sum(n1.outqty)) as OpeningBalance,
    0 as INq,
    0 as OUT
    From dbo.OINM N1
    Where
    N1.DocDate < @FromDate
    and N1.Warehouse = @Whse
    Group By
    N1.Warehouse,N1.ItemCode,N1.Dscription
    Union All
    select
    N1.Warehouse,
    N1.Itemcode,
    N1.Dscription,
    0 as OpeningBalance,
    sum(N1.inqty) ,
    0 as OUT
    From dbo.OINM N1
    Where
    N1.DocDate >= @FromDate and N1.DocDate <= @ToDate and
    N1.Inqty >0
    and N1.Warehouse = @Whse
    Group By
    N1.Warehouse,N1.ItemCode,N1.Dscription
    Union All
    select
    N1.Warehouse,
    N1.Itemcode,
    N1.Dscription,
    0 as OpeningBalance,
    0 ,
    sum(N1.outqty) as OUT
    From dbo.OINM N1
    Where
    N1.DocDate >= @FromDate and N1.DocDate <=@ToDate and
    N1.OutQty > 0
    and N1.Warehouse = @Whse
    Group By
    N1.Warehouse,N1.ItemCode,N1.Dscription) a, dbo.OITM I1
    where
    a.ItemCode=I1.ItemCode
    Group By
    a.Itemcode
    Having sum(a.OpeningBalance) + sum(a.INq) + sum(a.OUT) > 0
    Order By a.Itemcode

  • Query for stocks on hand

    I would like to know if it is possible to create a query that would display the stocks of all items on a specific date and will display the item cost or the purchase price of each item in stock. Let say for example, today is January 14, 2010. I would like to check how many stocks in my inventory last January 8, 2010. Does anybody knows how to create this?
    Thank you.

    Hi Don Elicor,
    Check the below thread, you will be get some idea or Solution.
    Inventory Report by Query
    Query for Inventory Activity for whse & dates
    Item Stock Report
    Item Stock Report
    Regards,
    Madhan.

  • Adhoc Query for Qualifications.

    Hi Guys.
    Can some body help me creating an Adhoc Query for the active employees whose Qualifications along with there Name reflects, can somebody guide me in this regard.
    Regards,
    Venkat.

    Hi Venky,
    You can pull the qualification details using SAP quick viewer (Tcode SQVI) and using logical database PNP
    -> Go to Tcode SQVI
    -> give Query name and Create
    -> In the data source field, select Logical database
    -> In logical database give PNP or PNPCE
    -> Then in basis mode u can find IT 0024 in Planning data header
    -> and then select the list fields u need and the additional selection criteria also
    -> Then execute the query.
    With smile,
    Venkatesh kumar

  • Query for active tasks

    Im trying to query for worklist tasks associated with a running business process. Using the WorkListManager and TaskSelector, I use the TaskSelector method setListeningProcessUri("*", true) and also tried setListeningProcessUri(".+", true). I thought by setting the isPattern to true would return all tasks with a listening business process matching the pattern.
    Has anyone else used this method with a pattern?
    Thanks,
    Paul

    Hi Dinesh,
    Check the below steps for extracting AD users information using powershell,
    - Go to Start -> Open Windows Powershell using Run as Administrator 
    - In the powershell type set-executionpolicy unrestricted (for allowing commands to execute)
    - Type the cmdlet import-moduleactivedirectory (to enable and execute AD cmdlets)
    - Type the cmdlet Get-ADUser -Filter * -properties *  | select * (to get all AD Users, each with all properties)
    - To show only select information such as firstname, lastname etc,you need to replace the
    select * section in the previous command by select firstname, lastname etc.
    - Also to display the result in columns, you can type the command as
    Get-ADUser -Filter * -properties *  | select firstname, lastname | ft
    To run as a powershell script, you can copy the above commands to a notepad and save it as a .ps1 file.
    NOTE: if you wish to run the script from client machines like Windows 7, you need to enable RSAT.
    Checkout the below link on enabling RSAT,
    http://blogs.technet.com/b/heyscriptingguy/archive/2011/08/29/use-active-directory-cmdlets-with-powershell-to-find-users.aspx 
    Regards,
    Gopi
    JiJi
    Technologies

  • I am trying to activate LR6 on a laptop that will not be connected to the internet.  I have clicked on the link for offline activation, but it says to follow the instructions till it says "having trouble connecting to the internet".  I never get there.  H

    I am trying to activate LR6 on a laptop that will not be connected to the internet.  I have clicked on the link for offline activation, but it says to follow the instructions till it says "having trouble connecting to the internet".  I never get there.  How do I get it to generate the code that I can take to an internet enabled device so I can validate it?

    http://portableapps.com/apps/internet/firefox_portable/localization#legacy36

  • Query for the link of recordings

    A Korean company developed Moodle module by which teacher can
    create meetings and display meeting schedules within Moodle using
    xml webservices. They asked me whether there is an action to query
    for the links of recordings of meetings.
    Does anyone know?
    Thanks in advance.

    You can do so using the XML API. There is a .pdf here:
    http://www.adobe.com/devnet/breeze/
    Web Services
    Using the Adobe Connect Enterprise XML Web Services

  • Constant DNS querying for 127.0.0.1

    Hello,
    I'm quite puzzled... I noticed a constant low bandwidth traffic on the WAN port of the router and tracked it back to the MacOS X (10.5.2) host constantly DNS querying for 127.0.0.1 (about every three seconds). I am using DHCP and the network configuration picks up the external DNS server.
    I thought this localhost information should be picked up directly from /etc/hosts (in my case)
    cat /etc/hosts
    # Host Database
    # localhost is used to configure the loopback interface
    # when the system is booting. Do not change this entry.
    127.0.0.1 localhost
    255.255.255.255 broadcasthost
    ::1 localhost
    fe80::1%lo0 localhost
    and there should be no need to ask for this reverse DNS name resolution to the external DNS server.
    do I really have to use dscl and create an entry for localhost to stop this DNS querying activity?
    andrea

    and tcpdump reports:
    tcpdump -A -n -i en0 port 53
    tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
    listening on en0, link-type EN10MB (Ethernet), capture size 96 bytes
    00:01:51.873347 IP 192.168.21.100.5353 > 192.168.21.1.53: 13522+[|domain]
    E..YO..........d.......5.EnB4............1.0.0.127
    dnsbugtest.1.0.0.127.in-addr.ar
    00:01:51.889664 IP 62.31.176.39.53 > 192.168.21.100.5353: 13522 NXDomain[|domain]
    E....A@.....>..'...d.5.....S4............1.0.0.127
    dnsbugtest.1.0.0.127.in-addr.ar
    00:01:54.873113 IP 192.168.21.100.5353 > 192.168.21.1.53: 13523+[|domain]
    E..Yd..........d.......5.EnA4............1.0.0.127
    dnsbugtest.1.0.0.127.in-addr.ar
    00:01:54.889388 IP 62.31.176.39.53 > 192.168.21.100.5353: 13523 NXDomain[|domain]
    E....B@.....>..'...d.5.....R4............1.0.0.127
    dnsbugtest.1.0.0.127.in-addr.ar
    00:01:57.872864 IP 192.168.21.100.5353 > 192.168.21.1.53: 13524+[|domain]
    [email protected]
    dnsbugtest.1.0.0.127.in-addr.ar
    00:01:57.888922 IP 62.31.176.39.53 > 192.168.21.100.5353: 13524 NXDomain[|domain]
    E....C@.....>..'...d.5.....Q4............1.0.0.127
    dnsbugtest.1.0.0.127.in-addr.ar
    00:02:00.873402 IP 192.168.21.100.5353 > 192.168.21.1.53: 13525+[|domain]
    E..Y)..........d.......5.En?4............1.0.0.127
    dnsbugtest.1.0.0.127.in-addr.ar
    00:02:00.889180 IP 62.31.176.39.53 > 192.168.21.100.5353: 13525 NXDomain[|domain]
    E....D@.....>..'...d.5.....P4............1.0.0.127
    dnsbugtest.1.0.0.127.in-addr.ar
    00:02:03.872666 IP 192.168.21.100.5353 > 192.168.21.1.53: 13526+[|domain]
    ..........d.......5.En>4............1.0.0.127
    dnsbugtest.1.0.0.127.in-addr.ar
    00:02:03.891466 IP 62.31.176.39.53 > 192.168.21.100.5353: 13526 NXDomain[|domain]
    E....E@.....>..'...d.5.....O4............1.0.0.127
    dnsbugtest.1.0.0.127.in-addr.ar
    00:02:06.872956 IP 192.168.21.100.5353 > 192.168.21.1.53: 13527+[|domain]
    E..Y.(.........d.......5.En=4............1.0.0.127
    dnsbugtest.1.0.0.127.in-addr.ar
    00:02:06.888972 IP 62.31.176.39.53 > 192.168.21.100.5353: 13527 NXDomain[|domain]
    E....F@.....>..'...d.5.....N4............1.0.0.127
    dnsbugtest.1.0.0.127.in-addr.ar
    00:02:09.872419 IP 192.168.21.100.5353 > 192.168.21.1.53: 13528+[|domain]
    E..Y!..........d.......5.En<4............1.0.0.127
    dnsbugtest.1.0.0.127.in-addr.ar
    00:02:09.890732 IP 62.31.176.39.53 > 192.168.21.100.5353: 13528 NXDomain[|domain]
    E....G@.....>..'...d.5.....M4............1.0.0.127
    dnsbugtest.1.0.0.127.in-addr.ar
    ^C
    14 packets captured
    60 packets received by filter
    0 packets dropped by kernel
    pretty clear that the 127.0.0.1 entry in /etc/hosts is unfortunately not used.
    localhost and 127.0.0.1 are part of the loopback interface (lo0) and a lookup from /etc/hosts should suffice! no reason at all to query a DNS service unless explicitly specified.

  • Error while running query for a specific table

    Hi All,
    I need your help please.
    I've configured everything correctly in my SCCM environment. And i used to connect the CAS database from a separate box(same domain) which has SSMS console installed in it. Now the problem is, whenever i try to run a query in CAS database locally, it runs
    successfully. But when i connect the CAS database remotely and run the same query with the same login i used in CAS, it says the below error. This is happening from past 2 days only. :'(
    Query ran :
    select top 100 * from v_GS_WORKSTATION_STATUS
    Error :
    Msg 18456, Level 14, State 1, Line 1
    Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
    OLE DB provider "SQLNCLI11" for linked server "abc.domain.com" returned message "Invalid connection string attribute".
    I checked the SQL connection authentication information it says authenticated by kerberos using below query :
    SELECT 
        s.session_id
      , c.connect_time
      , s.login_time
      , s.login_name
      , c.protocol_type
      , c.auth_scheme
      , s.HOST_NAME
      , s.program_name
    FROM sys.dm_exec_sessions s
      JOIN sys.dm_exec_connections c
        ON s.session_id = c.session_id
    where s.host_name='servername'
    Result:
    136 2015-01-30 17:50:29.277 2015-01-30 17:50:29.280 domain\user TSQL KERBEROS servername Microsoft SQL Server Management Studio
    But, another wierd information is i can successfully run the below query in remote.
    select * from vSMS_R_System
    I think that specific table is not working in remote. Pleaseeeeeeee helppp me......
    Regards,
    Jay

    Hi JaySmiley,
    According to your description, you get the logon issue when connecting to CAS database remotely and execute query. Right?
    In this scenario, this error can happen when the SPN account is registered without setting 'trusted for delegation' property. Account must be trusted for delegation in order for Kerberos delegation to succeed. Here's a blog talking about your scenario, please
    refer to the link below:
    http://blogs.technet.com/b/umairkhan/archive/2013/10/19/the-distributed-views-do-not-get-created-in-configmgr-2012-sp1-because-of-the-login-issue.aspx
    If you have any question, please feel free to ask.
    Simon Hou
    TechNet Community Support

  • Return Code - Query for Multiple Rows as XML

    Hi,
    I'm executing an MSSQL stored procedure through the "Query for Multiple Rows as XML" activity in LiveCycle ES. I do this through a call statement such as this:
    { call MyStoredProc(?) }
    This works great, the stored procedure always returns a record set (with or without records). I use this activity rather than "Call Stored Procedure" because I can transform the record set into XML right away within this activity. Unfortunately any exception arising from invoking this stored procedure cannot be handled within the workflow as this activity does not have an exception handler (lightning bolt). In an attempt to handle at least some exceptions we have decided to use try/catches within the stored procedures and return different error codes. Now the problem I am faced with is that there is no way to retrieve the returned code within any of the SQL activities. We don't want to have to write an execute script for each of these SQL calls. Is there any way to do this? Seems like I'm 95% there.
    Thanks
    Nic

    Thanks for the offer, unfortunately we would need something certified by Adobe.
    Nic

  • How run the run the BI Publisher report for current/active/selected record

    Hi,
    I have one requirement to generate a BI Publisher report in Siebel, which will run on SR's List view. Report should fetch the active SR and its audit trial entities. I know this was achieved easily using Actuate (simply setting "current Recrod only" to true), but I need how to achieve this in BI publisher.
    This report we are creating is in Siebel-BI Publisher integrated environment, not connecting to database. Can body give share your valuble inputs.
    Thanks,
    Ravi

    In my experience with Siebel 8.1.1 and BI Publisher 10.1.3.4.0 when you generate a report from a Siebel View the report will show all data visible on the view. If you wish to have only a few particular records in the report you must query for them first in Siebel then generate the report again. There is useful article describing how to generate the report for the current record but it does require some config on the applet.
    [http://siebel-essentials.blogspot.com/2009/05/siebel-bi-publisher-integration.html]
    -Fred

  • Query for details of  Sale order , Invoice and COGS

    I Need the report cointing following based on month & Business partner
    Sale order, Sale Amount, Due date, Invoice Amount, Last Invoice date, COGS amount

    Hi Anantha,
    Please check below link and modify according to your requirement.
    Sales Order Query for  in SAP B1
    Query - Sales Orders linked to Deliveries
    My Top SQL Queries for SAP Business One
    Hope this helps
    Regards::::
    Atul Chakraborty

  • Operations manager failed to run a wmi query for wmi events (0x800706ba)

    Hi everyone,
    I've been working on this issue for a while and I am still no closer to finding out what the problem is.  If anybody can offer any other advice or things to check, I'm all ears.
    I'm running SCOM 2012 R2 with UR2, and the Cluster Management Pack v6.0.7063.0
    My problem is on one particular batch of cluster servers where I am getting the following error.
    Name: Operations Manager failed to run a WMI query for WMI events
    Alert Description:
    Module was unable to enumerate the WMI data
    Error: 0x800706ba
    Details: The RPC server is unavailable
    Workflow name: Microsoft.Windows.Cluster.Node.StateMonitoring
    Instance Name: servername.domain.local
    Instance ID: {instance_id}
    Management group: SCOM_Management_Grp_Name
    I am getting this alert regardless of whether I run the Windows Cluster Action Account as Local System, or as a domain user with full local admin privileges on all the cluster nodes.
    When looking at the management pack and the workflow in particular (Microsoft.Windows.Cluster.Node.StateMonitoring), I can see that it's trying to access
    MSCluster_Node in the root\MSCLUSTER WMI namespace.
    This is the workflow for your information...
    <UnitMonitor> ID="Microsoft.Windows.Cluster.Node.StateMonitoring" Accessibility="Public" Enabled="onEssentialMonitoring" Target="ClusLibrary!Microsoft.Windows.Cluster.Node" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="ClusLibrary!Microsoft.Windows.Cluster.CheckState" ConfirmDelivery="false">
    <Category>AvailabilityHealth</Category>
    <AlertSettings AlertMessage="Microsoft.Windows.Cluster.Node.StateMonitoring.AlertMessage">
    <AlertOnState>Warning</AlertOnState>
    <AutoResolve>true</AutoResolve>
    <AlertPriority>Normal</AlertPriority>
    <AlertSeverity>MatchMonitorHealth</AlertSeverity>
    <AlertParameters>
    <AlertParameter1>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter1>
    <AlertParameter2>$Target/Property[Type="ClusLibrary!Microsoft.Windows.Cluster.Node"]/ClusterName$</AlertParameter2>
    </AlertParameters>
    </AlertSettings>
    <OperationalStates>
    <OperationalState ID="Success" MonitorTypeStateID="Online" HealthState="Success" />
    <OperationalState ID="Warning" MonitorTypeStateID="Partial" HealthState="Warning" />
    <OperationalState ID="Error" MonitorTypeStateID="NotOnline" HealthState="Error" />
    </OperationalStates>
    <Configuration>
    <ClusterObjectName>$Target/Property[Type='ClusLibrary!Microsoft.Windows.Cluster.Node']/NodeName$</ClusterObjectName>
    <PollInterval>60</PollInterval>
    <ClusterObjectClass>MSCLUSTER_Node</ClusterObjectClass>
    <OnlineExpression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">Property[@Name='EventNewState']</XPathQuery>
    </ValueExpression>
    <Operator>Equal</Operator>
    <ValueExpression>
    <Value Type="String">0</Value>
    </ValueExpression>
    </SimpleExpression>
    </OnlineExpression>
    <OnlineExpressionOnDemand>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">Property[@Name='State']</XPathQuery>
    </ValueExpression>
    <Operator>Equal</Operator>
    <ValueExpression>
    <Value Type="String">0</Value>
    </ValueExpression>
    </SimpleExpression>
    </OnlineExpressionOnDemand>
    <PartialExpression>
    <Or>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">Property[@Name='EventNewState']</XPathQuery>
    </ValueExpression>
    <Operator>Equal</Operator>
    <ValueExpression>
    <Value Type="String">2</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">Property[@Name='EventNewState']</XPathQuery>
    </ValueExpression>
    <Operator>Equal</Operator>
    <ValueExpression>
    <Value Type="String">3</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    </Or>
    </PartialExpression>
    <PartialExpressionOnDemand>
    <Or>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">Property[@Name='State']</XPathQuery>
    </ValueExpression>
    <Operator>Equal</Operator>
    <ValueExpression>
    <Value Type="String">2</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">Property[@Name='State']</XPathQuery>
    </ValueExpression>
    <Operator>Equal</Operator>
    <ValueExpression>
    <Value Type="String">3</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    </Or>
    </PartialExpressionOnDemand>
    <NotOnlineExpression>
    <And>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">Property[@Name='EventNewState']</XPathQuery>
    </ValueExpression>
    <Operator>NotEqual</Operator>
    <ValueExpression>
    <Value Type="String">0</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">Property[@Name='EventNewState']</XPathQuery>
    </ValueExpression>
    <Operator>NotEqual</Operator>
    <ValueExpression>
    <Value Type="String">2</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">Property[@Name='EventNewState']</XPathQuery>
    </ValueExpression>
    <Operator>NotEqual</Operator>
    <ValueExpression>
    <Value Type="String">3</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    </And>
    </NotOnlineExpression>
    <NotOnlineExpressionOnDemand>
    <And>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">Property[@Name='State']</XPathQuery>
    </ValueExpression>
    <Operator>NotEqual</Operator>
    <ValueExpression>
    <Value Type="String">0</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">Property[@Name='State']</XPathQuery>
    </ValueExpression>
    <Operator>NotEqual</Operator>
    <ValueExpression>
    <Value Type="String">2</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">Property[@Name='State']</XPathQuery>
    </ValueExpression>
    <Operator>NotEqual</Operator>
    <ValueExpression>
    <Value Type="String">3</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    </And>
    </NotOnlineExpressionOnDemand>
    <WMIFields>Name, State</WMIFields>
    </Configuration>
    </UnitMonitor>
    I can confirm that I am able to browse the MSCluster_Node class locally, as well as remotely using WMIEXPLORER and WBEMTEST,
    however it only works when I set the Authentication Level to
    Packet Privacy.  If I do not select Packet Privacy, a WMI event log error 5605 is logged on the remote servers application log that says...
    The root\mscluster namespace is marked with the RequiresEncryption flag.  Access to this namespace might be denied if the script or application does not have the appropriate authentication level.  Change the authentication level to Pkt_Privacy
    and run the script or application again.
    I can confirm that all firewalls are turned off, and there are no firewalls between the management servers and the agents in question.  AV exclusions have been done and appear to be in place.  The nodes are all Windows 2008 R2 with SP1.  As
    far as I can tell there is plenty of memory available on each of the nodes in question (50%+) of RAM is available. 
    If I manually run the "Discover the Windows Server 2008 R2 Cluster Components" task in the Cluster Service State section of the management pack in the Monitoring Pane in the console, on the nodes in question - the discovery runs successfully.
    Does anybody have any other ideas or suggestions I could try?
    Many thanks in advance,
    Noel.
    http://www.dreamension.net

    Hi,
    Common causes of RPC errors include:
    Errors resolving a DNS or NetBIOS name.
    The RPC service or related services may not be running.
    Problems with network connectivity.
    File and printer sharing is not enabled.
    For more information, please review the link below:
    Windows Server Troubleshooting: "The RPC server is unavailable"
    http://social.technet.microsoft.com/wiki/contents/articles/4494.windows-server-troubleshooting-the-rpc-server-is-unavailable.aspx#Identify
    Troubleshooting RPC Errors
    http://technet.microsoft.com/en-us/magazine/2007.07.howitworks.aspx
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for

  • G4 to Composite or S-video How-to

    Alright, I have read all the posts on this forum pertaining to TVs and G4 MDD and cannont find a consensus. I would like to plug my MDD into my television via composite or s-video. I have 3 options and would like to do number one so if someone can he

  • Purchased an eBook which doesn't want to open in Adobe Reader

    The book requires Adobe Digital Editions to open but this program is not available on iPad.  When I try to open the PDF in Adobe Reader on iPad it asks me for a password which I don't have. Any advice?

  • Need to Sync FROM Apple TV

    I have been using my Apple TV without syncing to a computer. I mean, there's TV episodes on it that are not saved on my iTunes Library. And my Apple TV is not seen in iTunes, although it is connected to my home network OK. How do I "safely" get Apple

  • Logo Still Blurry, Wondering if my Illustrator has a bug.

    Ok ok, It's probably due to human error and not a bug, but I'm beginning to wonder as I continue to pull my hair out over this logo.  I've never had such grief with a logo before.  It's ok on the WordPress site, it's a bit less than ok on Houzz site

  • Document Number after Post !!

    Hi , I am using Call Transaction in BDC . After Posting the document , the system generates an Accounting Document Number ..how can i get that document number after the call transaction call ?? Thank You