Query for PO linking GRNI documents

A purchase order with several line items, may have several GRNI's.  Currently to identify the GRNI's for each PO, the user must  select each line in to PO and view each GRNI.
If there another way of viewing all the linked GRNI's to a particular PO?
Or, is there a query available which searchs for a PO number and brings back the linked GRNI's for that PO?
Thanks Lisa

Query attached
SELECT DISTINCt T3.DOCNUM PO#,T3.DocStatus,T1.DOCNUM GRPO#, T0.ITEMCODE, T1.CARDCODE, T1.CARDNAME , T1.DOCDATE, T0.QUANTITY, T0.PRICE, T0.LINETOTAL, T0.TOTALFRGN, T0.RATE
FROM PDN1 T0
INNER JOIN OPDN T1 ON T1.DOCENTRY = T0.DOCENTRY
LEFT JOIN POR1 T2 ON T0.BASEENTRY = T2.DOCENTRY
INNER JOIN OPOR T3 ON T2.DOCENTRY = T3.DOCENTRY
WHERE T3.DOCNUM ='[%0]'
Or
SELECT DISTINCt T3.DOCNUM PO#,T3.DocStatus,T1.DOCNUM GRPO#, T0.ITEMCODE, T1.CARDCODE, T1.CARDNAME , T1.DOCDATE, T0.QUANTITY, T0.PRICE, T0.LINETOTAL, T0.TOTALFRGN, T0.RATE
FROM PDN1 T0
INNER JOIN OPDN T1 ON T1.DOCENTRY = T0.DOCENTRY
LEFT JOIN POR1 T2 ON T0.BASEENTRY = T2.DOCENTRY
INNER JOIN OPOR T3 ON T2.DOCENTRY = T3.DOCENTRY

Similar Messages

  • 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

  • Table for object links.

    Hi,
    Please provide the table for object links in cprojects and also the tables relevant for cprojects.
    Thanks,
    Varghese

    DPR_OBJLINK                    Object Links                                   
    DPR_OBL_CATEGORY               Category for Object Types of Object Links      
    DPR_OBL_OBTYP                  Characteristics of Object Link to Object Type  
    DRAD                           Document-Object Link                           
    TDWO                           Document Management Object Link                                 
    TDWOT                          Texts for Object Links in Document Management
    Check these tables.
    Regards
    vijay

  • I have a new Mac Pro.  I want to use my old Mac Pro as a storage drive for photos and old documents, linked to my new Mac Pro.  How do I set up the old computer?

    I have a new Mac Pro.  I want to use my old Mac Pro as a storage drive for photos and old documents, linked to my new Mac Pro.  How do I set up the old computer?  Both computers have OS X10.9.3.  Currently they are connected by a Firewire 800 cable.

    You certainly could keep the old Mac Pro in Firewire mode (hold down the T key on its keyboard as you boot) to show its drives on the new MP. This is basically as fast as putting the drives into a Firewire enclosure.
    Or you could boot it normally and share its files over the network using the Sharing panel of System Preferences. If you turn on both File and Screen Sharing, you don't even need to have a monitor attached - you can do all administration using screen sharing. However, this method requires that you open all files over the network, which will be slower than the direct-connect method above, and may also not work with all applications.
    Matt

  • Why do I not get the checkout option for a pdf type document when clicking on the document link in the SharePoint workflow task?

    We are trying to use workflows to review and edit pdf files in sharepoint 2010. We are having a couple of issues and am hoping someone has the answer.....
    1)  When myself and coworkers click on the pdf document in the library, we get the check out option as expected.  However when we click on the document
    link in a workflow task (on the sharepoint site), the pdf opens as a temporary file and we do not get the check out option.  Why does this happen????? 
    2)  The same thing happens when we click on the document link in the workflow task email;   HOWEVER,  one of our co-workers does get the
    check out option when clicking on the link in the email task.  Why would she get the checkout option using the email and not when clicking on the link in the task list on the sharepoint site ????  We have compared our internet settings and adobe
    settings to ours and found no differences.
    We are using Sharepoint 2010, Windows 7, IE8, Adobe Reader X or XI.  Some of us have Adobe Pro X and have the same issues.

    Hi,
    According to your post, my understanding is that you could not get the checkout option for a pdf type document when clicking on the document link in the SharePoint workflow task.
    I try to reproduce the issue, however, no matter when I click the pdf type document in the library or click on the pdf document link in the workflow task email, it download the pdf doucment and then I can open it.
    It will be better if you can descript how you
    get the check out option as expected when you click on the pdf document in the library.
    Then I upload a
    word type document to the library, no matter when I click the word type document in the library or click on the word document link in the workflow task email, I can open the word document directly and get the check out option as expected.
    I recommend to use the other type docuemts to check whether the check out option works.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Link Material Document generated for material movement due to production

    Hello Expert,
    I am creating a zreport for Material Consumption during Production. I am assuming Confirmation entry in PP module as a base of this report and linking to Material Movement data in MM Module. But I am not able to link this data from tables.
    Can you pls guide me how to link Material Document generated for material movement due to production confirmation entry and actual production confirmation entry.
    Thanks
    Shailendra

    Hi Shilendra ,
    You can create a report with the logic. That all the materials which are created due to backflushing confirmation are created with movement type 131 and the component material are consumed by movement type 261.So you can create the report with this logic.
    Dont forget to award Points if it helps.
    Lekhram

  • It used to be that when I created a pdf from a word or publisher document, hyperlinks worked fine. Now I cannot get them to work unless the text displayed for the link is the complete address and it all appears on one line. Why?

    it used to be that when I created a pdf from a word or publisher document, hyperlinks worked fine. Now I cannot get them to work unless the text displayed for the link is the complete address and it all appears on one line. Why?

    You can print to the Adobe PDF printer, but that only creates links that Acrobat or Reader recognize as such. That is the reason for needing the entire URL on one line. It is not actually an embedded link, but one created by Acrobat on the fly. With OFFICE 2013 you have two choices: 1. create the PDF with the print to Adobe PDF and then add the links in Acrobat so that they are complete or 2. I think the WORD save as PDF or XPS will create the PDF with links, but not sure. If so, that would be the quickest solution for you, but be aware of potential problems with the MS plugin.
    Of course, the third option is to upgrade to XI which can be done with AA 9. You will probably not be eligible for a for an upgrade to whatever the next version will be.

  • FMS Query for Document Header UDF

    Hi,
    I have created an UDF in the header level of Marketing Document. I want to add FMS on it. UDF Value will be 4% of DocTotal Value and auto Refresh on DocTotal.
    What will be the query for Sales Order.

    I am saving this query
    Select ($[$29.0.number]) * 0.04
    and setting this query in the udf by.
    now when i am creating an order and pressing shift+f2 on it it's giving an error msg : internal error(3006) occured.
    Edited by: Sibasish Sengupta on Dec 8, 2008 1:11 PM

  • Need Link or Document for MSS

    Hi all,
    I need to work on MSS. please help me by sending the  link or document for MSS.
    Thanks
    sumitra

    MSS config http://help.sap.com/Business_Packages/EN/0b/c26b1be7700043b17cba4334a4b58c/frameset.htm
    ESS SCREEN ELEMENTS:
    DEFINE HEADERS:
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => HOME PAGE FOR SELF-SERVICE => HEADERS AND AREA GROUP PAGES => DEFINE HEADERS
    DEFINE AREA GROUP PAGES:
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => HOME PAGE FOR SELF-SERVICE => HEADERS AND AREA GROUP PAGES => DEFINE AREA GROUP PAGES
    DEFINE AREAS:
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => HOME PAGE FOR SELF-SERVICE => AREAS => DEFINE AREAS
    DEFINE SERVICES:
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => HOME PAGE FOR SELF-SERVICE => SERVICES => DEFINE SERVICES
    INFOTYPE VIEW INDICATOR:
    Service Specific Settings :Maintain feature
    SAP EASY ACCESS => PE03 => IVWID
    Define Roles - Subtypes and Application Data are defined here. SAP Customizing Implementation Guide (IMG) -> Personnel Management > Employee Self-Service -> General Settings -> Service- Specific Settings -> Own Data -> Define Active Subtypes and Application case
    DEFINE ACTIVE SUBTYPES AND APPLICATION CASE
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC SETTINGS => OWN DATA => DEFINE ACTIVE SUBTYPES AND APPLICATION CASE
    CREATE RULE GROUP (Configuration steps for Time Management)
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC SETTINGS => WORKING TIME => LEAVE REQUEST => PROCESSING PROCESSES => CREATE RULE GROUPS
    In Leave request create Rule group - V_HRWEB_RULE_GRP
    ADJUST WEBMO FEATURE
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC SETTINGS => WORKING TIME => LEAVE REQUEST => PROCESSING PROCESSES=> CREATE RULE GROUPS
    "Feature is used in Customizing for the Web application to store different regulations for employee groups. We can store regulations to display Data"
    Assign workflow template to each Leave type - where WF ID for new request WF ID for cancellation request and WF ID for Change request are given here. SAP Customizing Implementation Guide (IMG) -> Personnel ManagementàEmployee Self-Service -> Service- Specific Settings -> Working Time -> Leave Request -> Processing Processes -> Specify Processing Processes for types of Leave -> Define Absences/Processing process
    Specify how leave is displayed and default values:SAP Customizing Implementation Guide (IMG) -> Personnel Management -> Employee Self-Service -> Service- Specific Settings -> Working Time -> Leave Request -> Lay out of web application -> Specify how Leave is displayed and default values
    DEFINE PROCESSING TO EACH RULE GROUP
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC SETTINGS => WORKING TIME => LEAVE REQUEST=> PROCESSING PROCESSES => DEFINE PROCESSING PROCESS FOR EACH RULE GROUP
    PROCESSESS FOR TYPES OF LEAVES
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS = > SERVICE SPECIFIC SETTINGS => WORKING TIME LEAVE REQUEST => PROCESSING PROCESSES => SPECIFY PROCESSING => PROCESSES FOR TYPES OF LEAVES
    QUOTA OVERVIEW / TIME ACCOUNTS
    CREATE RULE GROUP
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC SETTINGS => WORKING TIME ACCOUNTS => CREATE RULE GROUP
    MAINTAIN WEBMO FEATURE
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC SETTINGS => WORKING TIME ACCOUNTS => CREATE RULE GROUP
    SPECIFY DISPLAY OF ABSENCE QUOTAS
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC SETTINGS => WORKING TIME
    TIME ACCOUNTS => SPECIFY DISPLAY OF ABSENCE QUOTAS
    SPECIFY THE CALCULATION OF REMAINING LEAVES
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC SETTINGS => WORKING TIME
    TIME ACCOUNTS => SPECIFY CALCULATION OF REMAINING LEAVE
    DETERMINE LAST DAY OF THE WEEK
    Maintain LDAWY feature (To maintain Last day of the working day)
    SAP EASY ACCESS => PE03 => LDAYW
    SETUP DATA ENTRY PROFILES
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC SETTINGS => WORKING TIME => RECORD WORKING TIME => SETUP DATA ENTRY PROFILES
    Display view of CATS entry profile:SAP Customizing Implementation Guide (IMG) -> Personnel Management -> Employee Self-Service -> Service- Specific Settings -> Working Time -> Record Working Time -> Define Field Selection and select Data entry selection
    SELECT ALLOWED ABSENCE TYPES
    (Here we define the absence types that the employees are allowed to enter in CATS Regular. To do this, deactivate all absence types that are only to be processed by the clerk in the SAP system.)
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC SETTINGS => WORKING TIME=>RECORD WORKING TIME => SELECT ALLOWED ABSENCE TYPES
    TIME STATEMENT
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC SETTINGS => WORKING TIME => TIME STATEMENT => ENTER NAME OF HR FORM FOR THE => TIME STATEMENT
    TEAM CALLENDAR
    SPECIFY ABSENCES TO BE DISPLAYED
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC => SETTINGS => WORKING TIME => TEAM CALENDAR => SPECIFY ABSENCE TO BE DISPLAYED
    Assign Processing processes to each leave type:SAP Customizing Implementation Guide (IMG) -> Personnel Management-> Employee Self-Service -> Service- Specific Settings -> Working Time -> Team Calendar -> Specify Absences to be Displayed u2192 Define Absences/Processing Process
    SPECIFY COLOUR DISPLAY FOR EACH ABSENCE
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC => SETTINGS => WORKING TIME => TEAM CALENDAR => SPECIFY ABSENCE TO BE DISPLAYED
    SELECT EMPLOYEES TO THE TEAM CALLENDAR
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC => SETTINGS => WORKING TIME => TEAM CALENDAR => SELECT EMPLOYEES
    DEFINE LAYOUT OF TEAM CALLENDAR
    SAP IMG => PERSONNEL MANAGEMENT => EMPLOYEE SELF SERVICE => GENERAL SETTINGS => SERVICE SPECIFIC => SETTINGS => WORKING TIME => TEAM CALENDAR => DEFINE LAYOUT OF TEAM CALENDAR
    Creating User ID's for ESS: Through TCODE SU01 define the user name.Assign User through Communication Infotype(0105)
    MSS config http://help.sap.com/Business_Packages/EN/0b/c26b1be7700043b17cba4334a4b58c/frameset.htm[http://saphrexpert.blogspot.com/search/label/ESS]
    Edited by: SajKhan on Jun 1, 2009 11:01 AM
    Edited by: SajKhan on Jun 1, 2009 11:02 AM

  • Can any one send select query for this?

    Hi,
    can any one plese send select query for the following query.please send as early as possible.
    Loop through the I_BSID internal table to fill records in I_OUTPUT.Combine data from I_BSID, I_KNKK, I_KNKK_KNKLI, I_KNA1 and I_KNVV into I_OUTPUT based on the linking conditions .Field Description Source are
    I_OUTPUT-BUKRS     Company code     I_BSID-BUKRS
    I_OUTPUT-KUNNR     Customer number     I_BSID-KUNNR
    I_OUTPUT-NAME1     Customer Name     I_KNA1-NAME1
    I_OUTPUT-KNKLI     Credit account     I_KNKK-KNKLI
    I_OUTPUT-KDGRP     Customer Group     I_KNKK-KDGRP
    I_OUTPUT-KLIMK     Credit Limit     I_KNKK_KNKLI-KLIMK
    I_OUTPUT-KVGR1     Business Unit     I_KNVV-KVGR1
    I_OUTPUT-REBZG     Invoice Number     I_BSID-REBZG
    I_OUTPUT-BLDAT     Invoice Date     I_BSID-BLDAT
    I_OUTPUT-WAERS     Document Currency     I_BSID-WAERS
    I_OUTPUT-DUE_DATE     Due Date     Based on below
    Calculation
      Get the Payment terms days combining I_BSID and I_T052 based on the linking conditions mentioned above.    Note : a) Baseline Date : If baseline date I_BSID-ZFBDT is blank , use the Document Date.b) Payment Term Days :If I_BSID-ZBD3T is not blank, take this as Payment Term Days for Due date calculation.
                       If I_BSID-ZBD3T is Blank, then get payment term days from I_T052 based on I_BSID-ZTERM. If there are more than one record in I_T052 for the given Payment term, get the day part from baseline date and select the first record where the day limit I_T052-ZTAGG is greater than the day part.If I_BSID-ZBD3T is blank and I_BSID-ZTERM is also blank, then take Y000 (Due Immediately) as Payment term and proceed with the above logic. Set the payment term field blank while printing.
    Calculate Due date : For Debits, Determine Due Date = Baseline Date + Payment term Days(not discount days)                                                          For  Credits  Due date = Baseline date.Then, move the amount I_BSID-DMBTR to respective buckets (Not yet Due, Current Due, Past due 1-30, Past Due 31-60 etc.)  Based on the due date.
    Thanks&Regards,
    praveen kumar.A

    HI,
    To get Open Items you can use Function module:
    data:i_items TYPE STANDARD TABLE OF rfpos.
    CALL FUNCTION 'CUSTOMER_OPEN_ITEMS'
    EXPORTING
    bukrs = p_bukrs
    kunnr = wa_customer-kunnr
    TABLES
    t_postab = i_items
    EXCEPTIONS
    no_open_items = 1
    OTHERS = 2.
    Table I_items will have all the open items for that Customer in the given company code.
    Well for Clear Items: Try
    GET_CLEARED_ITEMS or FMITPOFM_CLEARED_ITEMS_GET.
    Hope it helps.
    Manish

  • Linking two documents in deski

    Hello Experts
        I am new to BO i am trying to link two documents in Deski But i am facing some problem.Can anyone explain me what are steps we need to do for linking two documents.
    Regards,
    Shanmugam

    Hi,
    Following information might be helpful in resolving your query.
    When  link Report1 to Report 2 (universe1.column = universe2.column) so that Report 1 displays only those rows having the Office Number in Report2.
    Cause
    Report pulling data from different universes with different dadabases.
    Resolution
    To get this data by editing the query in the querypannel with  "Select Query Results" operand ,place the universe2.column in condition pane and run the report the we can get correct results from different universe with different databases.
    Regards,
    Sarbhjeet Kaur

  • Create link to document services into VA43

    Hi expert,
    in various transaction exists a link to document services with toolbox in left corner (trx FB03, ME21N, ...).
    In SD sales order object don't exist !!!
    How to create the link in transaction VA41/2/3 and VA01/2/3 ?
    Thanks
    Danielsan

    Hi Danielsan,
    For the objects which are not available in standard object link options in DMS, need to use screen exit for the required object display code. Check in SE80 whether screen exit is available for the same. With help of abap'r you can maintain the DMS screen in Sales order screen and also can add Sales order in object link.
    I hope this wil resolve the query.
    Regards,
    Ravindra

  • How to use the same POWL query for multiple users

    Hello,
    I have defined a POWL query which executes properly. But if I map the same POWL query to 2 portal users and the 2 portal users try to access the same page simultaneously then it gives an error message to one of the users that
    "Query 'ABC' is already open in another session."
    where 'ABC' is the query name.
    Can you please tell me how to use the same POWL query for multiple users ?
    A fast reply would be highly appreciated.
    Thanks and Regards,
    Sandhya

    Batch processing usually involves using actions you have recorded.  In Action you can insert Path that can be used during processing documents.  Path have some size so you may want to only process document that have the same size.  Look in the Actions Palette fly-out menu for insert path.  It inserts|records the current document work path into the action being worked on and when the action is played it inserts the path into the document as the current work path..

  • Query for Multiple Rows as XML

    Ok I've seen this topic in the forums, but have failed to get this to work within my process. Basically I have a process that has a user fill out a form, and upon submittal the form writes it's information to a database (via a data connection within the form that invokes a separate process upon submittal.), once this is done the main process is invoked and it's first step is to query that same database and bring back the data in a lower (now exposed) portion of the form that contains certain fields that track the issue history. The query brings back the xml document and I store it in an xml variable (xml_output). I then take this information and use the Set Value object to assign the returned nodes values to the location fields in the form. This works if the query returns only one row. But once the form is moved beyond the initial Task Assignment, (first user), and query returns more than just one row, the added nodes to not show up on the form, i.e I still just get information about the first row in my form. From what I've read the form should be able to recognize the xpath expression, and bring back all the nodes, by in a sense using instance manager to create an instance for each node on the form. My question is how can I get this to work. Jasmin if your still out there... Help!
    Also We're using Adobe LiveCycle ES 8.0
    created the process using Workbench
    the form was reader enabled and saved as a dynamic PDF.
    Thanks
    Mike

    Ok have done the binding of the schema to the form, and I'm getting the information to flow as it's supposed to.  The problem I'm having now, (I know I'm having a bunch.) is that once I've placed the form into my process, and I use the set value operation to pre-fill information I get the form to flow, but the rest of the information that was previously filled in is blank.  So I have checked the variable and nothing wrong there.  It appears the problem is how I'm using the set value operation.  If I don't use the set value operation, the form retains it's information.  And if I use the set value by trying to set the subform value, the form retains it's information, but no pre-fill.  I'm going to try to be a little more detailed here.  The xml that is returned looks like this:
            0016-03-30
            Mike
            Public Works
            alone in the dark
            Type sleep
            -1
            Council
            FYI
            Important
    Flowed and positioned are actual subforms on the form that have their properties set as their names indicates.  The entire path is /form1/Page1/flowed/positioned .  The way I was able to get the form to flow correctly upon the injection of this xml data, was to bind the subforms in the form in this manner, positioned[*].  Designer didn't place the [*] for me so I had to do this myself.  But once I previewed the document, the form pre-populated and created the necessary number of subforms and placed information into the fields correctly.
    Now on the process side, I have created an xfaform variable that stores the form (bound to xsd.)  information, and another xml variable that stores the query return that looks like the xml listed above (has an xsd associated with it for navigating xpath).  My first operation performs the query (JDBC- Query Multiple Rows as XML) and stores it into the xml variable.  The next step of the process is the Set Value operation which is supposed to inject the xml data retrieved from the query into the form.  Initially I tried the an xpath similar to the following:
    /process_data/object/data/form1/page1/flowed/positioned = /xml_data/flowed/positioned.
    No dice.  On this one the form retains the information filled out by the user (didn't explain this earlier, the form is filled out first, and upon submittal the process starts.), but doesn't pre-populate the bottom part of the form.  Next I tried the following xpath:
    /process_data/object/data/form1/page1/flowed = /xml_data/flowed/positioned.
    This time it retained the form information which was filed in by the user, but the bottom part is becomes hidden!  Didn't understand this.  But I started to kinda think that I had to navigate he xpath in order to correctly inject the xml into the form.  That being said my next attempt was:
    /process_data/object/data/form1/page1 = /xml_data
    My thinking was that if on location, I stop at page1, the xml in the variable will allow it to navigate correctly through the form.  Well it worked, but too well.  The top part of the form is blank, but the bottom portion is pre-populated correctly.  Now I'm stuck.  Not sure how to get the rest of the information in the form.  I thought about creating variables form each of the fields and then re-populating them after the injection of xml, but that didn't seem practical.  I'm almost positive it's something I'm not doing correctly with xpath.  Anyway, thanks for all your help on this.
    Mike

  • Query for Sales Order Analysis

    Dear Experts
    I have written a Query for Sales Order Analysis and would like to have help on this.
    The query is used for generating daily report for Sales Order on number of documents (Sales Order), total amount of sales orders and total GP of Sales Order. The query is written as below:
    SELECT T0.[DocNum], SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
    FROM ORDR T0 WHERE T0.[DocDate] =[%0] GROUP BY T0.[DocNum] ORDER BY T0.[DocNum]
    where U_Total_GP is a UDF for storing the GP of each order.
    After executing the query, a selection criteria of date appears and after a date is selected, the report shown information required. However, the query does not calculate column total for total amount and total GP. Although I know the total for each column can be displayed by pressing "Ctrl" + Click on the column title, it would have to be done from time to time.
    Therefore, I would like to modify my query in order to calculate the column totals when executed. Are there any suggestions for this?
    Thank you
    Regards
    Elton

    Hi Elton,
    Try this:
    SELECT T0.[DocNum], SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
    FROM ORDR T0 WHERE T0.[DocDate] =[%0] GROUP BY T0.[DocNum]
    Union ALL
    SELECT '', SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
    FROM ORDR T0 WHERE T0.[DocDate] =[%0]
    ORDER BY T0.[DocNum]
    Thanks,
    Gordon

Maybe you are looking for

  • How to Type Farsi in Illustrator CS6

    Hi, Having Adobe Illustrator CS6 Installed on my 64 bit windows 7 and enabling windows Farsi keyboard and installing Farsi fonts on my computer, I am having issues on typing farsi in illustrator and words aooear seperatly from Left to Right(Please be

  • Impact of not having bank clearing account?

    My client doesn't want to use bank clearing account and wants to directly cr or dr the main bank account whenever a payment is received or made. Could you guys tell me what will be the impact of this, as I see reconciliation might be an issue.

  • Customization form at top populate Report Results at bottom of screen?

    Is it possible to develop a customization form and its report on the same page? Here is the scenario. We want the customization form on the top of the Portal page, and then we want the results of the query form (the report results) to populate in the

  • How to run O9iAS as a Win2K Service?

    We installed 09iAS using "0C4J_extended.zip". We would like to run 09iAS as a proper service within W2K instead of starting it manually within a MS-DOS box.

  • Can you restore a mac os x 10.7 TM backup on a 10.8 MacBook Pro?

    I have an iMac Late 2006 and have recently purchased a MacBook Pro 13-inch as an upgrade. I have a time machine back up of my iMac and I would now like to restore my macbook pro from the backup of my iMac. My iMac backup is from OS X 10.7 and as my M