Delivered PeopleSoft Query

I need your help with a GL delivered query.  I am sure if you look at your client environment, the query should be delivered as well.  The delivered query is  called, GL_ARCH_JRNL that archives Journals in GL.
I couldn’t make out from the criteria column what it is doing.  From what I gathered it is archiving Journals that are posted and closed by specifying as prompt values the Business unit and ledger group. ?? I know this query archives Journals which are closed and posted but I wasn’t sure what the other prompt values meant such as Request data, As of Data, Retention days and Begin date…
Please advise if am understanding this correct.
Please advise.

This query is used to archive journals through the Data Archive Manager tool.
It is documented in the PeopleSoft Enterprise General Ledger 9.1 PeopleBook  under "Archiving for Ledgers and Journals". There you'll find an explanation of the prompts under "Journal Archive Query Parameter Descriptions".
Regards,
Bob

Similar Messages

  • PeopleSoft Query Access Services security problems, in other words does QAS

    PeopleSoft Query Access Services security problems, in other words does QAS bypass PeopleSoft?

    Rod,
    Can you please post the entire contents of the dataserver summary screen...thanks.
    Typically the "No suitable driver exists" error is due to trying to connect to an unsupported DB version with the driver.  For example using the MSSQL 2000 driver to connect to MSSQL 2005, be sure that you have downloaded both the MSSQL 2000 (una2000.jar) and 2005 jars and have the proper classpaths specified.
    Sam

  • PeopleSoft Query Manager

    Folks,
    Hello. In PeopleSoft Query Manager, when create a new Query, the first step is to click on "Record" tap and select a record. It seems that the Query can only be based on the existing records in Query Manager. But I want the query based on Application Data table (record) that I created in PeopleSoft DataBase.
    I search Query Manager by all types(Record name, Access group, ...), but cannot find the Application Data table (record) that I created in PeopleSoft DataBase. Thus, my question is:
    How to create a Query based on my Application Data table (record) in DB in Query Manager ?
    Thanks.

    Folks,
    Hello. Thanks a lot for replying.
    I click on PeopleTools -> Security -> Query Security ->Query Access Manager -> Search by Tree Name. Three names come up: Query_Tree_OLAP, Query_Tree_PT, Query_Tree_WF
    I click any one of the 3 tree names, the same message comes up "You are not authorized to update the specified definition. Contact your security administrator." I don't see any places to add my data records from my PeopleSoft Database.
    Thus, I click "create a new tree". Tree name is "my tree" and Access Group is "Business_Components". When click "save", the same message comes up "You are not authorized to update the specified definition. Contact your security administrator."
    My login ID is PSADMIN that encloses all permission lists. I don't know what's wrong.
    Do any folks understand how to add my data records from my PeopleSoft Database into one of existing Tree ?
    Thanks.

  • Expose PeopleSoft query as web service

    I've created a custom query using the PeopleSoft Query Manager and can pull the results as HTML, Excel, XML, etc. I've also tried using the Process Scheduler Request to automate how often the query is executed. The results destination types listed in the Process Scheduler are “email, feed, file, Integration Broker node, web, window.” I am intending on using the data from this query in an external application, but none of these destinations seem ideal for that.
    Is it possible to expose this query as a web service and call that from an external application? I haven't found any resources that detail how to do that so far. If this is not a feasible solution, which of the results types can be easily integrated into an application? Any help/links would be much appreciated.

    What tools version are you on? As of 8.50 they provide a web service for query. It is documented in the Reporting Web Services PeopleBook in the 8.50+ documentation.
    Here's the link for 8.53:
    http://docs.oracle.com/cd/E38689_01/pt853pbr0/eng/pt/trws/index.html
    Regards,
    Bob

  • What will be the peoplesoft query to calculate voluntary termination count and involuntary termination count? I am working on OBIA HR analytics workforce deployment reports and need to validate the reports

    what will be the peoplesoft query to calculate voluntary termination count and involuntary termination count? I am working on OBIA HR analytics workforce deployment reports and need to validate the reports. I also want to know the tables involved

    Hi Andrew,
    Part A:
    I've done some restating of the question, and distributed the calculations among several fields, not all of which need to be included on the visible layout. Other than formatting the Date fields and moving the 'Completed Date' field and its label, I've left this in the default "Layout 1" produced by AppleWorks.
    Field List:
    Priority: Popup menu with six items: 00, J, D, 1, 2, 3  Defaults to 00
    TL (time limit in months): Calculation:  CHOOSE('Priority',0,1,3,4,6,12)
    Received: Date. Option: Automatically insert today's date (ie. Date Record created) (may be edited)
    Target Date: Calculation:
    DATE(YEAR('Received')+INT(MONTH('Received')+'TL')/12,MOD(MONTH('Received')+'TL', 12),DAY('Received'))
    Remaining (Days): Calculation: INT('Target Date'+1-NOW())  (see revision below)
    Completed: Checkbox. Set default value to Unchecked.
    Completed Date: Date: Entered manually
    OnTarget: Calculation: IF('Completed',IF('Completed Date'<'Target Date',"On Target","Over"),IF(INT(NOW())>'Target Date',"Over","On Target"))
    The On Target field shows the current status of the case while still open, and the state on the closing date when it was closed.
    Having done that, I was unhappy with the Remaining field continuing to calculate an ever larger negative number after the case had been closed. Hence this revision below:
    Remaining: Calculation: IF('Completed','Target Date'-'Completed Date',INT('Target Date'+1-NOW()))
    Shows the number of days remaining while the case is open, the days remaining at completion if the case has been marked Completed and the completion date entered.
    Rsults (and some further formatting of the Layout) below.
    Part B:
    You will need Subsummary parts when sorted on Completed and on On Target. Fields can appear on  a Layout only once, so each subsummary part will need a separate Summary type field for each field to be summarized.
    Regards,
    Barry

  • Date Format in PeopleSoft Query Expressions

    Hello,
    I have devloped a query where one of the field has date field. The format that's showing is 'MM/DD/YYYY'. We want the format in 'MM-DD-YYYY'. I tried to create a expression using to_char(A.fieldname,'MM-DD-YYYY'). But its not working. Is there any other way we can get the format in 'MM/DD/YYYY' from query manager.
    Thanks,
    -Sam

    Hi Sam,
    PS Query will automatically wrap date fields in the select list with TO_CHAR(...,'YYYY-MM-DD'), even in an expression. However, it only does this when the fieldname includes the alias, so in your expression you could use
    to_char(fieldname,'MM-DD-YYYY') (no A.) as long as it doesn't cause an ambiguous reference (i.e. there are no other tables in your query with "fieldname" as a column). Otherwise, you could write your expression to convert the TO_CHAR result back to a date and then use TO_CHAR again. i.e.
    TO_CHAR(TO_DATE(A.fieldname,'YYYY-MM-DD'),'MM-DD-YYYY')If you look at the resulting SQL, this will become
    TO_CHAR(TO_DATE(TO_CHAR(A.fieldname,'YYYY-MM-DD'),'YYYY-MM-DD'),'MM-DD-YYYY')which should give the desired result.
    Regards,
    Bob

  • Outer join with effective date in peoplesoft query

    Hi,
    I'm trying to join two tables using outer join. Both tables are effective dated:
    Dept_Tbl: dept_id, status, effdt
    Tips_Tbl: dept_id, tips_id, effdt
    Not all records in Dept_Tbl are in Tips_Tbl. I need to get all active depts and their most recent tips_id if they have one.
    select a.dept_id, b.tips_id
    from dept_tbl a, tips_tbl b
    where a.status = 'Active'
    and a.effdt =
    (select max(a_ed.effdt) from dept_tbl a_ed
    where a.dept_id = a_ed.dept_id
    and a_ed.effdt <= SYSDATE)
    and b.dept_id(+) = a.dept_id
    and b.effdt =
    (select max(b_ed.effdt) from tips_tbl b_ed
    where b.dept_id = b_ed.dept_id
    and b.tips_id = b_ed.tips_id
    and b_ed.effdt <= SYSDATE)
    The query only returns records that are in both tables.
    Is there a way for outer join to work with effective dates?
    Thanks in advance,
    Reg

    Here is an example of one solution. Note the use of NVL on both sides of the equal sign since both sides could be NULL in the case of the outer join
    with dept_tbl as (select 1 dept_id, SYSDATE effdt FROM DUAL),
         tips_tbl as (select 1 dept_id, NULL effdt FROM DUAL)
    select a.effdt
      from dept_tbl a,
           tips_tbl b
    where b.dept_id(+) = a.dept_id
       and NVL(b.effdt, SYSDATE) = NVL((select max(b_ed.effdt)
                                          from tips_tbl b_ed
                                         where b.dept_id = b_ed.dept_id
                                           and b_ed.effdt <= SYSDATE), SYSDATE);
    EFFDT
    5/7/2007 3:25:00 PM

  • PeopleSoft Query View

    Folks,
    In Application Designer, I create a record with its type Query View. Because Query View has not connected with SQL Editor in the Tool, only SQL View and Dynamic View connect with SQL Editor in which we type in SQL statement, I don't know where to type in SQL statement for the Query View. Thus, building the record fails !
    Do any folks understand how to connect a record, whose type is Query View, with some existing SQL tables ?
    Thanks.

    The button to launch query should appear below the "Record Type" group box where you selected Query View. I tried removing query access from my permissions and I still see the button, so the only other suggestion I can offer is that the button is there but you need to scroll down or expand your window to see it...
    +-Record Type ---------+
    |                      |
    |  o SQL Table         |
    |                      |
    |  o SQL View          |
    |                      |
    |  o Dynamic View      |
    |                      |
    |  o Derived/Work      |
    |                      |
    |  o SubRecord         |
    |                      |
    |  @ Query View        |
    |                      |
    |  o Temporary Table   |
    |                      |
    +----------------------+
      Click to Launch +---+
      Query:          | ? |    <=== The button should appear here
                      +---+Sorry about the misinformation re permissions. Note that if you do find the button, it can take a long time to launch because of the SQL the tool runs to return the list of records. If necessary you can use the Query Access List cache to improve response, but if you don't use it often then be patient and it should launch eventually.
    Regards,
    Bob

  • Peoplesoft Query Outer join with MAX EFFDT

    I have this criteria in my PS Query
    where A.emplid = B.emplid
    and B.effdt = (select max( B1.effdt ) from PS_TABLE_B B1 where B1.effdt <= SYSDATE )
    Need to do an OUTER JOIN for B.
    Ie. If no row found in B, then return blank so that row in A can be returned by query.
    It's OK for A.emplid = B.emplid(+)
    But how to approach for and B.effdt = (select max ... ?
    Please advise

    If I remember it right, if you write outer joins using ( + ), there shouldn't be any other non-outer join criteria in your SQL, otherwise it will negate its being an 'outer join'.
    so for your (1) this highlighted SQL block negates your 'outer join' condition
    AND A.EMPLID =  C.EMPLID(+)
    AND ( C.EFFDT = (SELECT MAX( D.EFFDT)
                             FROM PS_D D
                            WHERE D.EMPLID = C.EMPLID
                              AND D.ACTION_REASON = 'MAT'
                              AND ( D.RETURN_DT IS NULL OR D.RETURN_DT > SYSDATE))
                OR C.EFFDT IS NULL) )
    you should see more from here http://docs.oracle.com/cd/B28359_01/server.111/b28286/queries006.htm#SQLRF52336
    From that article, it says.. "If A and B are joined by multiple join conditions, then you must use the operator in all of these conditions. If you do not, then Oracle Database will return only the rows resulting from a simple join, but without a warning or error to advise you that you do not have the results of an outer join."
    What I suggest, create a SQL view to replace C that retrieves exactly what C has to retrieve.. probably something like this
    SELECT D.*
    FROM PS_D D
    WHERE D.ACTION_REASON = 'MAT'
      AND( D.RETURN_DT IS NULL OR D.RETURN_DT > SYSDATE )
      AND D.EFFDT = (SELECT MAX(EFFDT) ... )
    and reference that new SQL view for C.. so that in your query, it should only look something like
    AND A.EMPLID = C.EMPLID(+)
      AND( C.EFFDT =
      (SELECT MAX( D.EFFDT )
         FROM PS_D D
        WHERE D.EMPLID = C.EMPLID
        AND D.ACTION_REASON = 'MAT'
        AND( D.RETURN_DT IS NULL
        OR D.RETURN_DT > SYSDATE )
      OR C.EFFDT IS NULL ) )
    Hope this helps

  • 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

  • Viewing compliled code in PeopleSoft

    Hello Folks,
    I have a question. Does anyone know how to view the code behind the delivered peoplesoft functions?? For eg., I want to view the code that I written behind 'AddAttachment' or a 'Datetimetolocalizedstring' function. Is there any way that I can view those??
    I understand these codes may not be written in PeopleCode but in C++ or something else, but is there any way to view it.
    Thanks,
    Sundar

    Hey Buake,
    Thanks for the answer. The reason I asked this question is for this requirement. I need a browse button which will open up a dialog box in windows and upon selecting the file, it will enter the path in a text box. Very similar to addattachment which opens a text box and a browse button. I don't want to use the addattachment function is because I don't want to upload the file to the server. I just need this functionality to select the filepath.
    Let me know if you have any suggestions for this.
    Thanks,
    Sundar.

  • Report Not apperaing in User's Query Report Viewer Menu

    Hello There!
    Continuing with below thread
    Report Category not Appearing in Report Definition
    When i search for a report i created, i'm(as a normal user) not able to find any report after searching.(assigned to me or to my role.)
    The view PSXPRPTSRCH_VW has two tables PSXPRPTDEFN and PSXPDATASRC .Both have oprid column which is blank and the above view's first where clause is asking for oprid.
    I don't understand how then all the doc./papers on internet i read, to create Report using XML Publisher says/shows the report appears in user menu(query report viewer). May be they still using PS login to show the output?
    Anybody have any idea where am going wrong?
    The category,datasource,Definition,query tree all set properly. Do user need any special role/permission assigned?
    BTW user can see the query report viewer menu.
    Regards!
    Edited by: user10569054 on Sep 27, 2012 2:32 PM
    Peoplesoft Version 9.00
    Database Oracle 10.2

    Thanks for the Reply.
    from the doc. you gave, this is what i found.
    Home > PeopleBooks > PeopleTools 8.52: BI Publisher for PeopleSoft > Running, Locating, and Viewing BI Publisher Reports
    The Query Report Viewer allows selection and online viewing of those reports that have a data source type of PeopleSoft Query. Existing Query security applies so that each user has access to run only the reports to which he or she has qualified Query access to the data source.
    The PS query and the data source is created by user PS then how can a normal user will have access to that?
    I'm bit confused here.
    Regards!

  • Connected Query issue

    Hello -
    I've been working on creating a payroll report with tax balance and earnings data.
    I have a query for each set of data.
    Each set has an emplid and a balance_year as key fields.
    Since I can get all of the tax balance data in one record I am using it as my parent record in connected query.
    For earnings information there could be up to 25 records per employee so I am using these records as child records to the Tax parent.
    The issue is that when Preview XML is selected only the Tax Balance XML record is displayed for the first 6 records.
    No child record data is displayed.
    Any one else run into this before and come up with a solution?
    Thank you,
    Mike

    Default rows to fetch is 6 as defined in the Max Rows Fetched For Query field, if you set this to a greater number it will fetch more data or 0 it will fetch all data.
    http://docs.oracle.com/cd/E28394_01/pt852pbh1/eng/psbooks/tpsq/img/sm_ConnectedQueryQuickStartPreviewPage7f77_tpsq7f81.png
    PeopleBooks > PeopleTools 8.52: PeopleSoft Query > Using Connected Query > Step 5: Preview a Connected Query
    http://docs.oracle.com/cd/E28394_01/pt852pbh1/eng/psbooks/tpsq/book.htm?File=tpsq/htm/tpsq07.htm#H4013

  • Query - Filter by a specific dynamic date - Return only the max date record

    Hello experts,
    I'm building a query. In this query I have a filter named validity date. I need to select a record where the max date is less than this filter.
    For example:
    Comp. Code | Plant | Mat. | Cost Type | Valid. Date | Value
    0000000001   00001  0001  xxxxxxxx    12.05.2008   2,00
    0000000001   00001  0001  xxxxxxxx    09.05.2008   1,00
    0000000001   00001  0001  xxxxxxxx    05.05.2008   0,50
    If the user set 13.05.2008 in the filter, the report should return:
    0000000001   00001  0001  xxxxxxxx    12.05.2008   2,00
    If the user set 11.05.2008 in the filter, the report should return:
    0000000001   00001  0001  xxxxxxxx    09.05.2008   1,00
    If the user set 08.05.2008 in the filter, the report should return:
    0000000001   00001  0001  xxxxxxxx    05.05.2008   0,50
    The problem is that the date will be dynamic and I'll need to return just one line for a combination of Company Code, Plant, Material and Cost Type. First of all I would like to know the best way to do it. Do I need to use virtual key figure? If so, anyone could tell me some steps to do it?
    Thanks in advance,
    Helder

    Not Virtual KeyFigure.
    You can achieve this with Restricted KeyFigure with the restriction with CalDay (Variable) which user input while Running the Query. Its more like a Bucket. SAP Delivered Buckets Query is in the below link. Check that query you will understand better about Bucket.
    http://help.sap.com/saphelp_nw04/helpdata/en/40/94af39a3488979e10000000a11402f/content.htm
    If not clear try to Install the BC Query and play with that you will know better.
    Thanks
    Sriram

  • Outer join two tables with query search record attached to both tables

    When I create a query with two tables that have query search records attached with outer join, PS seems to do a natural join (cartesian). We are on PT8.48.
    Is there a workaround for this issue. I do not want to remove query search record on either of the tables.
    I am trying to create an Emergency contact report. I am using two tables PS_EMPLOYEES and PS_EMERGENCY_CNTCT. Here is the sql PeopleSoft query generated when I did Left outer Join.
    Query SQL:
    SELECT A.EMPLID, A.NAME, A.ADDRESS1, A.CITY, B.PRIMARY_CONTACT, B.ADDRESS1, B.CITY, B.STATE, B.POSTAL, B.RELATIONSHIP, A.DEPTID, A.JOBCODE, A.COMPANY, A.EMPL_TYPE
    FROM (PS_EMPLOYEES A LEFT OUTER JOIN PS_EMERGENCY_CNTCT B ON A.EMPLID = B.EMPLID ), PS_EMPLMT_SRCH_QRY A1, PS_PERS_SRCH_QRY B1
    WHERE A.EMPLID = A1.EMPLID
    AND A.EMPL_RCD = A1.EMPL_RCD
    AND A1.OPRID = 'SREESR'
    AND (B.EMPLID = B1.EMPLID OR B.EMPLID IS NULL )
    AND B1.OPRID = 'PS'
    Appreciate any help.

    I think there are fixes for this issue in later tools releases (Report ID 1544345000). I'm not sure about 8.48, but you might try the workaround documented in
    E-QR: Left Outer Joins with Security Records are returning unexpected results [ID 651252.1]
    on Oracle Support.
    Regards,
    Bob

Maybe you are looking for

  • Getting prompted to Save As when using Save option

    We would like to deploy Reader XI with Protected Mode enabled. We have noticed that when using the Save option the user receives a prompt to Save As instead. I understand this is a security feature to basically grant Reader/Acrobat permission to save

  • HAL doesn't recognize my ext. drive with 1500GB, the 500GB one works

    Hi there Some days ago I bought a 1500GB external harddrive, but after plugin it in via USB, it doesn't appear in my file manager. I tested it with thunar and pcmanfm, with both it didn't work. I don't think, that it's their fault, I think HAL doesn'

  • Custom fault message from OSB is not throw in BPEL

    Hi, I have created a custom fault error in OSB which is sent to BPEL. <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> <env:Header/> <env:Body> <env:Fault> </env:Fault> </env:Body> </env:Envelope> If my namespace in FAULT tag is "

  • Is it ok not to have phone in the dock?

    Is it ok to plug my phone into just the cord and not the dock, this way i can keep my case on. Is there any difference besides just having it sit up in the docking station. Message was edited by: soccerdogs89

  • No sound from internal speakers however i get sound through headphones when plugged in

    i am not getting sound out of the laptop internal speakers when nothing is plugged into the headphone jacks.  if i plug headphones or external speakers the sound is verified to be on because i get sound / volume.  Any thoughts /  ideas?  Thanks