Query manager report deleted

Hi Experts,
We are using "SAP Business One 2005 SP01". An user has deleted a report in the Query Manager. How can we detect who is the user?.

There is no log for this and therefore it might not be possible to trace who did this.
Please manage these using Authorizations to avoid them in the future.
If you have a recent backup of your database, you should find the query there.

Similar Messages

  • Query Manager/Report Design

    Is there some documentation on how to create reports from the query manager.
    I have tried looking at the Print layout designer in the elearning section but it does not cover the query manager (and does not cover the whole product anyway), so I am looking for information on how to do this
    I have a query but I want it put in a page break after each category.
    so.. any doco help files ,DETAILED webexes would be very useful. as the resources that should be available are too well hidden!!

    Hi george,
    There is many documents but i don't think there is one that is specificaly on reprts based on a query. Can try e-learning.
    But what you want to do is simple. Open the queries manager. highlight your query. then click create report. Save it. Then go to the top to tools->queries->query print layout.... once you're then you can edit it. You must then right click RIGHT ON THE EDGE OF THE REPETITIVE AREA. Then a window comes up with repetitive area that then leads to sort. there you can say what to summarise by and when to break the page.
    Hope this helps.

  • How to add drop down list for query manager report in sap business one

    Hi Every one,
    I need drop down list for parameter selection in sap business one Query Manager.I have two Parameters 'Sales Order','Invoice'.
    Please suggest.
    Thanks and Regards
    DEV

    Hi,
    you need to use this :
    /*select from [dbo].[OINV] T2*/
    DECLARE @Invoice varchar(100)
    /*where*/
    set @Invoice =/* T2.DocNum  */N'[%2]'
    you can change the tables and the parameter number but you have to write it exactly that way.
    when you run the query within the SBO you will get list of objects ( in this case list of invoices)
    hope it was helpful
    Shachar

  • Query Manager Report.

    Hi,
    I'll start off with im rubbish with this query writer and not asking for much (I don't think).
    I want to be able to run a report that shows me
    Between Dates
    U_SORT01 (A UDF I have)
    Invoice DocNum
    Invoice DocTotal
    Credit DocNum
    Credit DocTotal
    I then would like to show Invoice Doc total - Credits by U_SORT01.
    The reports I keep building shows me  some false lines.
    So far I can build the 2 reports on their own please see below
    Invoice
    SELECT  T0.[U_SORT01], SUM(T1.[DocTotal]) AS Invoice
    FROM OCRD T0  INNER JOIN OINV T1 ON T0.CardCode = T1.CardCode WHERE T1.[DocDate] between '[%0]' and '[%1]' and T1.[DocStatus] = 'o'
    GROUP BY T0.[U_SORT01]
    Credit report
    SELECT T0.[U_SORT01], SUM(T1.[DocTotal]) AS Credit
    FROM OCRD T0  INNER JOIN ORIN T1 ON T0.CardCode = T1.CardCode WHERE T1.[DocDate] between '[%0]' and '[%1]' and T1.[DocStatus] = 'o'
    GROUP BY T0.[U_SORT01]
    All i need to do now is get the credits to minus from the invoice but making sure that they minus from the correct place.
    EG
    SORT 001 invoice needs to have SORT 001 Credits minused.
    Any help would be appreciated.
    Thanks
    Joe

    Hi Joe.....
    Modify the below query as it contains both Invoice and its Credit quantity.......
    You have to just make a difference calculation.....
    SELECT T0.[DocNum], T0.[DocDate], T0.NumAtCard As 'Bill No.', T0.[CardName], T1.[Dscription], T1.[Quantity], T1.Price As 'Rate', T1.[LineTotal] As 'Value', T0.[DocTotal] As 'Total Value', (ISNULL((SELECT SUM(T2.QUANTITY) FROM rin1 T2 WHERE T2.DocEntry=T0.DocEntry),0)) RetQTY, (ISNULL((SELECT SUM(T2.LineTotal) FROM rin1 T2 WHERE T2.DocEntry=T0.DocEntry),0)) RetValue, (isnull((SELECT SUM((case when upper(t4.STACode) like 'BED%' then T4.TaxSum else 0 end))
          FROM INV4 T4 WHERE T4.DocEntry=T0.DocEntry ),0)) ExciseDuty,
         (isnull((SELECT SUM((case when upper(t4.STACode) like 'eCess%' then T4.TaxSum else 0 end))
          FROM INV4 T4 WHERE T4.DocEntry=T0.DocEntry ),0)) ECess,
         (isnull((SELECT SUM((case when upper(t4.STACode) like 'hes%' then T4.TaxSum else 0 end))
          FROM INV4 T4 WHERE T4.DocEntry=T0.DocEntry ),0)) HEdCess, (isnull((SELECT SUM((case when upper(t4.STACode) like 'VAT%' and t4.TaxRate=12.5 then T4.TaxSum else 0 end))
    FROM INV4 T4 WHERE T4.DocEntry=T0.DocEntry ),0)) As 'VAT12.5',
    (isnull((SELECT SUM((case when upper(t4.STACode) like 'VAT%' and t4.TaxRate=4 then T4.TaxSum else 0 end))
    FROM INV4 T4 WHERE T4.DocEntry=T0.DocEntry ),0))VAT4, (isnull((SELECT SUM((case when upper(t4.STACode) like 'VAT%' and t4.TaxRate=2 then T4.TaxSum else 0 end))
    FROM INV4 T4 WHERE T4.DocEntry=T0.DocEntry ),0))VAT2, (isnull((SELECT SUM((case when upper(t4.STACode) like 'CST%' and t4.TaxRate=2 then T4.TaxSum else 0 end))
    FROM INV4 T4 WHERE T4.DocEntry=T0.DocEntry ),0)) As 'CST2',
    (isnull((SELECT SUM((case when upper(t4.STACode) like 'CST%' and t4.TaxRate=4 then T4.TaxSum else 0 end))
    FROM INV4 T4 WHERE T4.DocEntry=T0.DocEntry ),0)) As 'CST4', T2.TransCat As 'Form No.'  FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN INV12 T2 ON T0.DocEntry = T2.DocEntry WHERE (T0.[DocDate]>='[%0]' and T0.[DocDate]<='[%1]')
    This is an example hope this will help you......
    Regards,
    Rahul

  • How to create report from SDK without clicking through ther Query manager ?

    Hello,
      I need to create an on-screen report with selection criteria. (Something similar to Reports/Inventory/Items list)
    I could create a query and save it but
    - how to start the query by SDK then - without clicking through the Query manager ?
    - how to pass the selection criteria to the query ?
    Please suggest me ?
    Regards,

    As the helpcenter(2005 helpcenter) has missed this bit of documentation (on UserQueries) could someone please provide an example of using this object
    thanks
    Message was edited by: George Savery
    hmm I thought it had timed out .... Woops

  • Test Management Reporting drill-down on Test packages / test sequences?

    Hi all,
    I'm looking for a way to drill-down my test management reporting down on testpackages or even single test sequences.
    Currently, I have only the test plan as lowest level available.
    And it would be really great to have some more details to report.
    Happy for any ideas,
    Jan

    Hi ,
    You can try below Simple Steps ;
    (generate using Wizard)
    1. On Solution Explorer -> Right-click on Reports -> Select Add New Report
    2.Click on the Next Button -> Give a Data Source name and Click on the Edit Button
    3.Select Server Name -> Select "Use SQL Server Authentication" Radio Button
    4.Give User name and Password -> Select Database Name and Click on the "OK" button.
    5.Press the Next Button -> type your Sql Query -> NExt
    6.Select Tabular Option and Click on the Next Button
    7.Select [LOC_NAME],[Emp_NAME] for the Group list and the TotalEmployee is for Details -> Next
    8.Select Stepped option -> Enbale Drilldown -> NEXT-> Finish(you can use this option if only you require Drilldown option in your report else you an ignore this or simply click next.)
    9. Delete EmployeeName Column  -> Paste Emplyee Name Next to LocName As shown in Image.
    10 . Delete table1_Details_Group in Grouping Pane
    11. Type =Sum(Fields!TOTAL_CUSTOMERS.Value) for Total Customer
    12. Right Click on Emp_Name Row -> Insert Row -> Outside Group Above -> TYpe Employee
    Thanks
    Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem.

  • Get a insert session value for SQL query at report

    Hi friends
    I created a global temp table and procedure to support web search form.
    and a search result report. The procudure
    gets search result from multip tables and
    insert into temp table --recordsearch. I can get value from temp table  by call procedure
    at SQL*Plus.
    However, I can not get this value by web report.
    How can I get this insert session value and pass to SQL query for report?
    Thanks,
    Newweb
    CREATE GLOBAL TEMPORARY TABLE recordsearch
    (emp_id          VARCHAR2(200),
    ssn               VARCHAR2(9),
    fname          VARCHAR2(200),
    lname           VARCHAR2(200),
    m_name          VARCHAR2(200)
    ) ON COMMIT PRESERVE ROWS;

    it possible that your web form does not have a persistent, dedicated connection. if you have connection pooling for example, multiple sessions will see the same instance of the GTT, so if one deletes it, then nobody sees it (or you can see others data). if the connections are not persistent, then they can disconnect between calls, deleting the GTT table.

  • How to define the PLD of a Query generator report

    Hi All,
    I want to define the PLD of a Query Report. Currently I am Convertning it to Excel format. But my client wants it in PLD format.  so please tell me the process of defining the PLD for a Query generator Report.
    Thanks & Regards
    Pankaj Sharma.

    Hi,
    When u wrote yr query at that time save yr query
    Now yr query is save in "Query Manager"
    Open Query Manager > select yr query
    There is a button "Create Report"
    Create USer Report Window is display "define yr name" and select "Base Temple"
    once u save it double click and edit yr PLD....
    Hope it a best way to create uer PLD
    Thanks
    Kevin

  • Unable to create new query using query manager

    Hi friends,
    I have been trying to create a query using query manager for couple of hours but still not able to.I am following the instructions given in oracle Peopletools 8.52 : Peoplesoft query
    Chapter - creating new queries.
    Below are the steps I am going through to create new query:
    Step - I open the component Reporting Tools-> Query->Query Manager , I don't get the tabbed pages one for search an existing query and another for create new query.
    Please follow this link to see how the page is displayed in first step:
    http://uploadpic.org/v.php?img=EvMvVAXX1E
    Step 2 - When I click on create new query link, I am redirected to a page where it asks for record name to add in the query. But, even this page is not displayed as how it supposed to be
    http://uploadpic.org/v.php?img=GzHh3f6krU
    Step 3 - Following the above step, when I click on Person record to add into my query I am asked to select the fields that I want to display in the output.
    But I somehow do not get the proper tabbed pages where individual pages are there to add the attributes to complete the query like adding multiple records, fields, query, expressions, prompt...etc
    http://uploadpic.org/v.php?img=Wbbla3Q3jE
    I am neither able to select multiple records in my query nor able to customize my query to get the desired results.
    Below is the query that I want to create using query manager:
    SELECT P.EMPLID,P.BIRTHDATE, N.NAME, A.ADDRESS1, A.ADDRESS2, A.CITY
    FROM PS_PERSON P, PS_NAMES N, PS_ADDRESSES A
    WHERE P.EMPLID = N.EMPLID AND
    N.EMPLID = A.EMPLID AND
    P.BIRTHDATE BETWEEN to_date('1990/1/1','yyyy/mm/dd') and to_date('1991/1/1','yyyy/mm/dd');

    Hi,
    As I cannot access your screenshot by the blocking of company firewall rules.
    I'm guessing currently you are using PT 8.52.00 version, correct?
    This should be a bug, that you need to apply the 8.52.0X patch, not sure which patch fix this, you can apply the latest one to solve this issue for no tab page of query manager. (PT 8.52.06)
    Hope this helps.
    Thanks,
    Saxon SI

  • Retention Policy and report/delete obsolete

    The database is Oracle 9i on Solaris 8 Platform.
    The backup of datafiles and archivelog files use tape and run every night.
    The backups should be held for two weeks therefore using RMAN retention policy with REPORT / DELETE OBSOLETE will be the apropiate method. Unfortunatelly somehow none of the two methods of retention policy RECOVERY WINDOW or REDUNDANCY don't seem to work. The big question is WHY?
    I configured the retention policy using:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 7
    Then ALLOCATE CHANNEL FOR MAINTENANCE DEVICE TYPE sbt;
    I ran CROSSCHECK BACKUP with a correct output and then REPORT OBSOLETE. The report displays all existing backups - (SYSDATE-2)!
    If using RECOVERY WINDOW OF 7 DAYS then the obsolete report displays the list of backups - (SYSDATE-1).
    Somehow whatever number I use (7/9/5)in any of the retention policy the result is identical with the one above!

    Really I do not know if there is a limitation regarding that aspect if you take the backups in tapes directly. I have implanted and I have seen it function well when backups are store directly in disk.
    Find out here if that is a limitation.
    Recovery Manager Quick Reference Contents / Search / / PDF
    Recovery Manager Reference Contents / Search / Index / PDF
    Recovery Manager User's Guide Contents / Search / Index / PDF
    http://otn.oracle.com/pls/db92/db92.docindex?remark=homepage
    Joel P�rez

  • Sql query in report/source

    Is possible use this kind of select select a,(select b from b) from b
    in sql query in report/source?

    Pretty much any valid select statement can be used.
    If it works in SQL*Plus, then it should work in Application Express.
    I think your example would not be valid if table b has more than one row.
    A scalar subquery (like your "select b from b") must only return a single value.
    SQL>  select ename, (select job from emp) from emp e;
    ORA-01427: single-row subquery returns more than one rowIf your subquery can be restricted to return one value, then it should work.
    SQL>  select ename, (select job from emp where empno = e.empno) job from emp e;
    ENAME      JOB
    KING       PRESIDENT
    BLAKE      MANAGER
    CLARK      MANAGER
    JONES      MANAGER
    SCOTT      ANALYST
    FORD       ANALYST
    SMITH      CLERK
    ALLEN      SALESMAN
    WARD       SALESMAN
    MARTIN     SALESMAN
    TURNER     SALESMAN
    ADAMS      CLERK
    JAMES      CLERK
    MILLER     CLERK
    14 rows selectedBut is that the kind of result you were looking for?

  • Query Manager Problem

    Here's an interesting problem a client is having. I have a simple query for them that retrieves some information from the primary B1 database, along with a UDT. The query works just fine inside SQL Server Management Studio. When we implement it into the query manager, before saving it, it worked just fine. We then saved it then tried running it again. One of the columns is not visibil. When click the edit button and try running it, it still doesn't work. But when we add or delete whitespace while in edit mode the query works just fine. I haven't been able to find anything on the notes yet and the customer is on 2007A PL 10 but they are planning on upgrading to 8.8+.
    Any ideas on why the query manager is behaving this way? Is it a bug thats been fixed in a later patch for 2007A or is it something else entirely?

    You may add index to U_slsm column.
    Update your query as:
    Select T0.U_slsm as 'Slsm',
    LEFT(T0.Code,9) as 'PC No',
    T0.U_date,
    T3.CardCode,
    T1.DocNum as 'Shop',
    T2.DocNum as 'Quote',
    T0.U_amount,
    T0.U_dm,
    T0.U_comment
    From [dbo].[@ORDERLOG T0]
    Left Join dbo.ORDR T1 on T0.U_DocNum = T1.DocNum
    Left Join dbo.OQUT T2 on T0.U_quote = T2.DocNum
    Left Join dbo.OCRD T3 on T0.U_CardCode = T3.CardCode
    Where T0.U_slsm = '[%0]'
    Order By T0.U_date Desc, T0.U_amount
    I have doubt regarding your links to those 3 system tables. Are those documents having internal links?

  • Oracle Reports - Distributing Multiple Reports in a Management Report

    Hi,
    I am new to Oracle Reports and would sincerely appreciate some guidance.
    Requirement.
    I plan on using Oracle Reports to write multiple reports containing Text, Graphs, Crosstabs, Tables etc. There are 3 developers and each will be developing a number of reports.
    At the end of each month, we need to run all the reports and publish it into a Management Report Pack.
    This Management Report Pack must contain a table of contents with the names of the different reports and page numbers. Each Report in the Report pack needs to have a header, footer and page number.
    The number of reports will change on a monthly basis so the page numbering will not be specific to a report.
    Summary,
    3 developers writing multiple reports
    All reports must be run and then printed out in a specific order.
    Table of Contents page with page numbering for each report.
    How can we do this with Oracle Reports?
    Is it possible, and if so, how?
    What is involved and what is required?
    Your assistance is highly appreciated.
    Thank you.

    You should be creating a universe using the table with filter utilizing a column which accepts a parameter value of language and shows the data in that specific language. This concept is already used in SAP standard audit universe which accepts language for any query and shows the data in that language.. The logic for the derived column for the table should look something like below Table.LANGUAGE = @Prompt(Select language)

  • WARNING: DATA LOSS - EMET 4 reporter deletes files

    NOTE:  This EMET issue was moved here from this original post:  http://answers.microsoft.com/en-us/windowslive/forum/gallery-wlsettings/photo-gallery-crash-emet-reporter-deletes-file/e5a510c8-e0fb-4d33-8179-8ee7a18d11e5?rtAction=1377879230389
    Discovered a bug in EMET 4.0 running on Windows 8 (desktop).
    Steps to reproduce:
    open a .jpg graphic... opens in Photo Gallery.
    hit the "Edit, Organize, or Share" button, top left menu bar.
    Program crashes and opens a "Photo Gallery has stopped working"/Close program prompt.
    EMET opens up a "Do you want to send more information about this issue?" prompt.
    When you click Yes/Send with the EMET prompt it DELETES YOUR FILE - no recycle bin, no warning.
    It appears to be a problem with EMET.  I closed the Photo Gallery prompt and the program closed, file deletion did not occur until the EMET prompt was sent/closed.
    UPDATE:  Discovered a new unwanted behavior... it will delete the file when you hit the DONT report button as well.  I guess the only way is to close the prompt window and not to choose the REPORT or DON'T REPORT buttons.

    NOTE:  The below entry describes a problem with the default EMET 4 configuration for Windows Photo Gallery which led to the discovery of this bug.  It is taken from (duplicated from) this post...   http://answers.microsoft.com/en-us/windowslive/forum/gallery-wlsettings/photo-gallery-crash-emet-reporter-deletes-file/e5a510c8-e0fb-4d33-8179-8ee7a18d11e5
    ---------------------------->>
    I did not reinstall Photo Gallery here (not needed)... I think the problem is with EMET.  
    With the previous entry, where I was asked to disable EMET and test Photo Gallery, I may not have disabled it fully via the task manager... so I got the expected crash.  I just tested with EMET running but with all the mitigation checkboxes unchecked for
    WLXPhotoGallery.exe, and I was able to use the "Edit, Organize, or Share" button in Photo Gallery properly with no crash. 
    I will have to experiment with which EMET mitigation check is causing the crash when using the "Edit, Organize, or Share" button.  The default EMET installation list had all mitigation checkboxes checked for this program.  If someone happens
    to know the proper checkbox configuration for WLXPhotoGallery.exe please post.

  • Not able to save / update SQL Query in Query manager

    Hi,
    I am using SBO 2005 B PL 25, facing unique problem in Query Manager.
    There are various queries saved in Query manager, tried updating & creating  / saving new query but not able to do so.
    System displays messaged as operation completed successfully, but the query is not updated.
    Kindly let me know is there any setting which blocks the updation.
    Regards,
    Yogesh Jadav
    Edited by: YOGESH JADAV on Aug 11, 2008 3:07 PM

    Hi
    You cannot Modify or Update query in the 'System' Category.
    If you are trying to create/ modify/ update query in some other category, check for the authorizations in
    'Administration -> System Initialization -> Authorizations Window' -> Reports ->Query Generator'.
    Check if you have authorizations for the following
    New Queries
    Create/Edit Categories
    Saved Queries - Group No. 1
    Saved Queries - Group No. 20

Maybe you are looking for

  • Problems with shutdown, expose and window switching

    Hi there, Recently I've been having a few issues with OS X. First of all it wasn't shutting down properly -- the menu bar would disappear and it would look like it was going to shutdown, but it never did. I could move down to the dock (on auto-hide)

  • Skype causing Blue Screen on Windows 7

    I just recently acquired a new computer and after installing Skype the second I log in it causes a blue screen of my computer. I tried a few times and the same happened everytime. Anyone else sharing this problem?

  • Firefox 33 doesn't display a pdf file when using the response object

    Firefox 33.0.2 does not display pdf files when using the code below from an asp.net program, which works for previous versions of Firefox, and also works with IE. I'm using the built-in pdf viewer. All of my plugins are disabled. Dim strPDF As String

  • Aggregate storage fails

    hi there , I was trying to excute MDX with spcific month and it runs perfectly POV "CrossJoin({([month],[Year])}, but when i try to chnage it dynamic like adding subtitutinal variable , it dont work CrossJoin ({Uda([Month],[&variable])}, or CrossJoin

  • LMS syslog?

    How can I configure my LMS 4.0 to capture syslog from network devices? On the LMS CiscoWorks Portal, Syslog Alert window shows "No data is available" Thanks in advance