Where is TUTORIAL_LIB.PLL

Hi All,
I am using Procedure builder and am following the documentation
from 'Oracle Procedure Builder Getting Started' Ver 6. In the
documentation it tells me to locate TUTORIAL_LIB.PLL but I
cannot find it. Any ideas? Where is the darn thing?
tks
Steve

Hi;
If you follow Oracle® Fusion MiddlewareOracle Reports Tutorial 11g Release 1 (11.1.1) B32123-01
Part:
2.1 Opening the Web Page
The supporting files for the report you will build are available on the Oracle Technology Network (OTN): on the Oracle Reports 10g page
(http://www.oracle.com/technology/products/reports/index.html), <<< it explain all
Regard
Helios

Similar Messages

  • Where has OG.PLL gone ???

    Please help,
    With Forms 4.5 I attached og.pll to be able to fire off an embedded graphic. There doesn't seem to be an og.pll available with Forms 6. What do I do instead?
    thanks,
    Cam Adams
    null

    An og.pll is available with Forms 6, too. It is in %ORACLE_HOME%\TOOLS\DEVDEM60\DEMO\FORMS\ directory. You have to install Forms DEMO.
    Helena

  • Error while compiling CUSTOM.PLL with frmcmp_batch

    We have a strange issue here. One of the users is unable to compile custom.pll . He is getting the issue
    PDE-PLI038 Cannot open file for use as a PL/SQL Library
    This is the below file permission for the custom.pll
    -rwxrwxrwx 1 applmgr oaa 20480 Apr 29 02:57 CUSTOM.pll
    This is the one with custom developments in it.
    This is user id
    uid=114(ccankim) gid=1026(oaa)*
    But when I as a applmgr user is able to compile the CUSTOM.pll successfully.
    applmgr>frmcmp_batch module=CUSTOM.pll userid=apps/***** module_type=library
    Forms 10.1 (Form Compiler) Version 10.1.2.3.0 (Production)
    Forms 10.1 (Form Compiler): Release  - Production
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    PL/SQL Version 10.1.0.5.0 (Production)
    Oracle Procedure Builder V10.1.2.3.0 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE     10.1.0.5.0      Production
    Compiling library CUSTOM...
    Compiling Package Spec CUSTOM......
    Compiling Package Body CUSTOM......
    Done.
    Any idea Gurus...
    EBS 12.1.3
    UNIX HP-UX B.11.31 U ia64 4294967040 unlimited-user license
    DB 11.2.0.2

    $ which frmcmp_batch
    /p01/app/applmgr/oappsp1/apps/tech_st/10.1.2/bin/frmcmp_batch
    $ ll -ltr /p01/app/applmgr/oappsp1/apps/tech_st/10.1.2/bin/frmcmp_batch
    -rwxr-xr-x 1 applmgr oaa 22544380 Dec 21 12:17 /p01/app/applmgr/oappsp1/apps/tech_st/10.1.2/bin/frmcmp_batch
    The user has execute permission.( because his user id belongs to group oaa which has execute permission)
    Full 777 permission on the directory where this CUSTOM.pll exists.
    The confusing part is, if the file would have been corrupted, it would not have been compiled successfully under applmgr user. So the doc id 1082077.1 as of now doesn't help a lot.
    :(

  • Return nothing when run Open Purchase order report(by Buyer)

    We implement iPro/PO in Oracle. I finished the PO setup. But now user report that they are not able to generate any output for a particular Buyer when they run the Open Purchase Orders Report(by Buyer) report in the PO module. Even I leave the parameter wide open for the request, it also does not return any information.
    Does it relate to the PO setting in system? Anyone can kindly guide me how to check such problem?

    Hi Kyla,
    PO raised by the buyer is 'STANDARD','BLANKET','PLANNED' ? What is the PO Status..? It should be "OPEN"..
    Query used in this report is as below :
    Query - Company
    SELECT gsb.name c_company
    , fsp.inventory_organization_id c_organization_id
    , gsb.currency_code C_CURRENCY_BASE
    , gsb.chart_of_accounts_id STRUCTURE_ACC
    , mdv.structure_id STRUCTURE_CAT
    , mdv.category_set_id c_category_set_id
    , flo1.meaning c_yes
    , flo2.meaning c_no
    FROM gl_sets_of_books gsb
    , financials_system_parameters fsp
    , mtl_default_sets_view mdv
    , fnd_lookups flo1
    , fnd_lookups flo2
    WHERE gsb.set_of_books_id = fsp.set_of_books_id
    AND mdv.functional_area_id = 2
    AND flo1.lookup_type = 'YES_NO'
    AND flo1.lookup_code = 'Y'
    AND flo2.lookup_type = 'YES_NO'
    AND flo2.lookup_code = 'N'
    Query - Buyer
    SELECT distinct(pov.vendor_name||papf.full_name)
    , papf.full_name Buyer
    , pov.vendor_name Vendor
    , pov.vendor_id
    , papf. person_id employee_id
    FROM PER_ALL_PEOPLE_F PAPF
    , po_vendors pov
    , po_headers poh
    WHERE poh.agent_id = papf.person_id
    AND poh.vendor_id = pov.vendor_id
    AND poh.type_lookup_code in ('STANDARD','BLANKET','PLANNED')
    AND nvl(poh.closed_code,'OPEN') NOT IN ('FINALLY CLOSED', 'CLOSED')
    AND nvl(poh.cancel_flag,'N') = 'N'
    /* AND papf.full_name = nvl(:P_buyer,papf.full_name) */
    /* Bug#2453022 Commented out the above condition and replaced
    it as follows as the user parameter P_Buyer will now return the id and not the name */
    AND papf.person_id = nvl(:P_buyer,papf.person_id)
    AND pov.vendor_name BETWEEN nvl(:P_vendor_from,pov.vendor_name)
    AND nvl(:P_vendor_to,pov.vendor_name)
    AND EXISTS (select 'x'
    from po_lines pol
    , po_line_locations pll
    , po_releases por
    where pol.po_header_id = poh.po_header_id
    and pol.po_line_id = pll.po_line_id
    and nvl(pll.closed_code,'OPEN') not in ('FINALLY CLOSED','CLOSED')
    and nvl(pol.closed_code,'OPEN') not in ('FINALLY CLOSED','CLOSED')
    and nvl(por.closed_code,'OPEN') not in ('FINALLY CLOSED','CLOSED')
    and nvl(pll.cancel_flag,'N') = 'N'
    and nvl(pol.cancel_flag,'N') = 'N'
    and nvl(por.cancel_flag,'N') = 'N'
    and pll.shipment_type in ('STANDARD','BLANKET','SCHEDULED')
    and pll.po_release_id = por.po_release_id(+))
    AND PAPF.EMPLOYEE_NUMBER IS NOT NULL
    AND TRUNC(SYSDATE) BETWEEN PAPF.EFFECTIVE_START_DATE AND
    PAPF.EFFECTIVE_END_DATE
    AND DECODE(HR_SECURITY.VIEW_ALL ,'Y' , 'TRUE',
    HR_SECURITY.SHOW_RECORD('PER_ALL_PEOPLE_F',PAPF.PERSON_ID,
    PAPF.PERSON_TYPE_ID,
    PAPF.EMPLOYEE_NUMBER,PAPF.APPLICANT_NUMBER )) = 'TRUE'
    AND DECODE(HR_GENERAL.GET_XBG_PROFILE,'Y', PAPF.BUSINESS_GROUP_ID ,
    HR_GENERAL.GET_BUSINESS_GROUP_ID) = PAPF.BUSINESS_GROUP_ID
    ORDER BY papf.full_name
    , pov.vendor_name
    Query - PO
    SELECT distinct(pol.line_num) Line
    , poh.segment1 ||decode(por.release_num,null,'','-')|| por.release_num PO_Number_Release
    , poh.currency_code C_CURRENCY
    , plt.line_type Line_Type
    , &P_FLEX_CAT C_FLEX_CAT
    , &P_FLEX_ITEM C_FLEX_ITEM
    , pol.item_revision Rev
    , pol.item_description Description
    , pol.po_header_id
    , pol.po_line_id
    , poh.vendor_id
    , poh.agent_id
    , psp.manual_po_num_type
    , poh.segment1
    , por.release_num
    , nvl(por.po_release_id,-1) release_id
    FROM po_line_locations pll
    , mtl_system_items msi
    , mtl_categories mca
    , po_lines pol
    , po_releases por
    , po_headers poh
    , po_line_types plt
    , po_system_parameters psp
    WHERE poh.po_header_id = pol.po_header_id
    AND pol.po_line_id = pll.po_line_id
    AND pll.po_release_id = por.po_release_id(+)
    AND pol.line_type_id = plt.line_type_id
    AND pol.item_id = msi.inventory_item_id(+)
    AND msi.organization_id(+) = :c_organization_id
    AND pol.category_id = mca.category_id
    AND nvl(pll.closed_code,'OPEN') not in ('FINALLY CLOSED','CLOSED')
    AND nvl(pol.closed_code,'OPEN') not in ('FINALLY CLOSED','CLOSED')
    AND nvl(poh.closed_code,'OPEN') not in ('FINALLY CLOSED','CLOSED')
    AND nvl(por.closed_code,'OPEN') not in ('FINALLY CLOSED','CLOSED')
    AND nvl(pll.cancel_flag,'N') = 'N'
    AND nvl(pol.cancel_flag,'N') = 'N'
    AND nvl(poh.cancel_flag,'N') = 'N'
    AND nvl(por.cancel_flag,'N') = 'N'
    AND pll.shipment_type in ('STANDARD', 'BLANKET', 'SCHEDULED')
    ORDER BY decode(psp.manual_po_num_type,'NUMERIC',
    --bug#3614924
    decode(rtrim(poh.segment1,'0123456789'),NULL,to_number(poh.segment1))
    , null)
    , decode(psp.manual_po_num_type,'NUMERIC',null, poh.segment1)
    , por.release_num
    , pol.line_num
    Query - Shipment
    SELECT pll.shipment_num Shipment
    , nvl(pll.promised_date,pll.need_by_date) P_Date
    , pol.unit_meas_lookup_code Unit
    , DECODE (POL.order_type_lookup_code, /* <SERVICES FPJ> */
    'RATE', PLL.amount,
    'FIXED PRICE', PLL.amount,
    PLL.quantity) Ordered
    , DECODE (POL.order_type_lookup_code, /* <SERVICES FPJ> */
    'RATE', PLL.amount_received,
    'FIXED PRICE', PLL.amount_received,
    PLL.quantity_received) Received
    , DECODE (POL.order_type_lookup_code, /* <SERVICES FPJ> */
    'RATE', PLL.amount_billed,
    'FIXED PRICE', PLL.amount_billed,
    PLL.quantity_billed) Billed
    , pll.price_override Unit_Price
    , DECODE (POL.order_type_lookup_code, /* <SERVICES FPJ> */
    'RATE', (PLL.amount - NVL(PLL.amount_received, 0))/
    DECODE(NVL(PLL.amount, 0), 0, 1, PLL.amount),
    'FIXED PRICE', (PLL.amount - NVL(PLL.amount_received, 0))/
    DECODE(NVL(PLL.amount, 0), 0, 1, PLL.amount),
    (NVL(PLL.quantity, 0) - NVL(PLL.quantity_received, 0))/
    DECODE (NVL(PLL.quantity, 0), 0, 1, PLL.quantity)) * 100 Percent_Due
    , plc.displayed_field Open_For
    , pll.po_line_id
    , nvl(pll.po_release_id,-1) join_release_id
    FROM po_line_locations pll
    , po_lines pol
    , po_lookup_codes plc
    WHERE pol.po_line_id = pll.po_line_id
    AND nvl(pll.closed_code,'OPEN') not in ('FINALLY CLOSED','CLOSED')
    AND nvl(pol.closed_code,'OPEN') not in ('FINALLY CLOSED','CLOSED')
    AND nvl(pll.cancel_flag,'N') = 'N'
    AND nvl(pol.cancel_flag,'N') = 'N'
    AND plc.lookup_type = 'DOCUMENT STATE'
    AND plc.lookup_code = nvl(pll.closed_code, 'OPEN')
    AND pll.shipment_type in ('STANDARD', 'BLANKET', 'SCHEDULED')
    ORDER BY pll.shipment_num

  • Oracle Forms Builder - Errors

    Hi to all!
    I'm beginner in Oracle Forms and Reports. The OS is Windows and the software is Oracle Forms and Reports Developer 10g with Database Server 10g. I have started with customers.fmb and orders.fmb. When I try start customers.fmb, I get the error FRM-40911:Record not created due to sequence number generation error. In orders.fmb I get the error FRM-10102: Cannot attach library webutil_lib.
    How to solve these errors?
    Thx in advance.

    When I try start customers.fmb, I get the error FRM-40911:Record not created due to sequence number generation error. Double-check the sequence used by the CUSTOMERS table and make sure the sequence exists. If it exists, check the permissions to see if your user has SELECT privilege granted.
    In orders.fmb I get the error FRM-10102: Cannot attach library webutil_lib.Sounds like your environment is not configured correctly. The WebUtil.pll (PL/SQL Library) is included with Oracle Forms and is located in the <DEV_SUITE HOME>/forms directory. This directory location needs to be added to your FORMS_PATH so the Forms Builder can find the library. The Forms Builder FORMS_PATH variable is located in the Windows Registry. Edit your Windows Registry and navigate to the following Key: HKEY_LOCAL_MACHINE => SOFTWARE => Oracle => KEY_DevSuiteHome1 (your key may be named slightly different). Now, in the right side, scroll until you find the FORMS_PATH string object and double-click to open the editor. Add the directory where the webutil.pll is located to the existing value in this string variable. When you are done, it should look something like the following:
    D:\DevSuiteHome_1\cgenf61\admin;D:\DevSuiteHome_1\formsYou might also want to take a look at the article: Forms: How to Configure Forms Builder to run forms locally. Even if you do not plan to run a form directly from the Forms Builder, this article will show you the basics for setting up your environment.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Need help in getting all Open PO (Standard & BPA)

    Hi All,
    I have requirement to fetch all the Open PO (Standard & BPA) for given specific item and fall under given specified date. I was able to develop below query, need your help in correcting or modifying it.
    Query
    SELECT POH.segment1 into l_order_number
    FROM PO_LINE_LOCATIONS_ALL POLL1,
    PO_LINES_ALL POL,
    PO_HEADERS_ALL POH
    WHERE
    POL.PO_LINE_ID = POLL1.PO_LINE_ID
    AND NVL (POLL1.promised_date, POLL1.need_by_date) IN
    (SELECT MIN (
    NVL (pll.promised_date,
    pll.need_by_date))
    FROM po_lines_all pol,
    po_releases_all pra,
    po_line_locations_all pll
    WHERE
    pol.po_line_id = pll.po_line_id
    AND NVL (pra.po_release_id, 1) =
    NVL (pll.po_release_id, 1)
    AND pol.item_id = p_component_item_id
    AND pra.authorization_status = 'APPROVED'
    AND (  pll.quantity
    - (  pll.QUANTITY_RECEIVED
    + pll.QUANTITY_CANCELLED)) > 0
    AND NVL (TRUNC (pll.promised_date),
    TRUNC (pll.need_by_date)) <=
    TRUNC (ld_date))
    AND pol.item_id = p_component_item_id
    AND POH.PO_HEADER_ID = POL.PO_HEADER_ID
    AND POH.authorization_status = 'APPROVED'
    AND (  POLL1.quantity
    - (POLL1.QUANTITY_RECEIVED + POLL1.QUANTITY_CANCELLED)) >
    0;
    Thanks

    Hi All,
    I have requirement to fetch all the Open PO (Standard & BPA) for given specific item and fall under given specified date. I was able to develop below query, need your help in correcting or modifying it.
    Query
    SELECT POH.segment1 into l_order_number
    FROM PO_LINE_LOCATIONS_ALL POLL1,
    PO_LINES_ALL POL,
    PO_HEADERS_ALL POH
    WHERE
    POL.PO_LINE_ID = POLL1.PO_LINE_ID
    AND NVL (POLL1.promised_date, POLL1.need_by_date) IN
    (SELECT MIN (
    NVL (pll.promised_date,
    pll.need_by_date))
    FROM po_lines_all pol,
    po_releases_all pra,
    po_line_locations_all pll
    WHERE
    pol.po_line_id = pll.po_line_id
    AND NVL (pra.po_release_id, 1) =
    NVL (pll.po_release_id, 1)
    AND pol.item_id = p_component_item_id
    AND pra.authorization_status = 'APPROVED'
    AND (  pll.quantity
    - (  pll.QUANTITY_RECEIVED
    + pll.QUANTITY_CANCELLED)) > 0
    AND NVL (TRUNC (pll.promised_date),
    TRUNC (pll.need_by_date)) <=
    TRUNC (ld_date))
    AND pol.item_id = p_component_item_id
    AND POH.PO_HEADER_ID = POL.PO_HEADER_ID
    AND POH.authorization_status = 'APPROVED'
    AND (  POLL1.quantity
    - (POLL1.QUANTITY_RECEIVED + POLL1.QUANTITY_CANCELLED)) >
    0;
    Thanks

  • Forms 10g can't generate library!

    Hello,
    I use forms 10g(Version 9.0.4.0.19 (Production)) for windows to create library, it can be complied, but it can't create plx file! It raise error "FRM-91507".
    The testing library only contains a procedure which has 'null it.
    Anyone has this problem? please advise.

    You first need to find out what's causing the error before you can lookup whether a patch for this particuliar problem exists.
    For that reason I suggest you try the NLS setting anyway.
    Another option might be to start the Form Compiler (ifcmp60.exe) from the command line to generate the plx files
    And make sure
    - that the library is not in use. Otherwise it will be locked by the forms runtime
    - the FORMS60_PATH contains the directory where the library (.pll) file is located.

  • Text_IO.Fopen

    Hello,
    I would like to ask, in which directory, does text_io.fopen searches to find the file for opening?
    for example if I say in a fmb/pll file in a program unit,
    in_file := Text_IO.Fopen(salary.txt, 'r');
    without specifing the whole directory path ('c:\salary.txt')
    Where will Oracle search to find the file salary.txt?
    On C:\?
    On D:\?
    On a network drive?
    On the directory where my fmb/pll file exists...
    Is it possible to tell Oracle to search by the registry?
    I mean if my FORMS60_PATH is
    C:\ERP;H:\Erp\Forms;H:\Erp\GL_Forms;H:\ERP\LIBS;
    to search first on C:\ERP, if the file does not exist, then in H:\Erp\Forms
    then in H:\Erp\GL_Forms etc....
    Thank you very much.

    Hello,
    Test to write a file without directory, then search it on the disk.
    Francois

  • Oracle Forms 60604 Errors

    Hi,
    Hope someone can help with this.
    I have a set of forms that I am trying to modify.
    If I load the form, then save and try to compile I get Oracle 60604 errors.
    If I load the form, and right away compile the form I can compile OK but as soon as I save the form, Oracle Forms crashes.
    The form file is read/write and is on my local hard drive.
    I have logged into the proper database to do the compile against.
    Any ideas as to what could be generating the 60604 errors??
    Thanks!
    Mohammed

    When I try start customers.fmb, I get the error FRM-40911:Record not created due to sequence number generation error. Double-check the sequence used by the CUSTOMERS table and make sure the sequence exists. If it exists, check the permissions to see if your user has SELECT privilege granted.
    In orders.fmb I get the error FRM-10102: Cannot attach library webutil_lib.Sounds like your environment is not configured correctly. The WebUtil.pll (PL/SQL Library) is included with Oracle Forms and is located in the <DEV_SUITE HOME>/forms directory. This directory location needs to be added to your FORMS_PATH so the Forms Builder can find the library. The Forms Builder FORMS_PATH variable is located in the Windows Registry. Edit your Windows Registry and navigate to the following Key: HKEY_LOCAL_MACHINE => SOFTWARE => Oracle => KEY_DevSuiteHome1 (your key may be named slightly different). Now, in the right side, scroll until you find the FORMS_PATH string object and double-click to open the editor. Add the directory where the webutil.pll is located to the existing value in this string variable. When you are done, it should look something like the following:
    D:\DevSuiteHome_1\cgenf61\admin;D:\DevSuiteHome_1\formsYou might also want to take a look at the article: Forms: How to Configure Forms Builder to run forms locally. Even if you do not plan to run a form directly from the Forms Builder, this article will show you the basics for setting up your environment.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Set query of VO through CO

    How can I set query of VO on run time through CO?
    Thanks,
    Krunal

    could you resolve the issue.
    because I am also facing the same error when I use the
    vo.setWhereClause(".........");
    I have extended the existing controller by adding some conditions for the ViewObject. (see above)
    after assigning the extended controller to the controller class of the page, I am receiving an error about the SQL statement, that includes two where statements in one sql.
    what is the correct syntax for that?
    how can I add one more condition within the controller to the VO???
    thanks a lot in advance for your advices...
    regards,
    DOGAN
    ps: the error I am receiving:
    Error Page
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT /* leading (PLL) NO_MERGE( PLL ) USE_NL( PLL POH ) */
    POH.SEGMENT1 PO_NUMBER,
         PRL.RELEASE_NUM RELEASE_NUM,
         DECODE(PRL.PO_RELEASE_ID, NULL, POH.SEGMENT1, POH.SEGMENT1 || '-' || TO_CHAR(PRL.RELEASE_NUM)) DISPLAY_PO_NUMBER,
    POL.LINE_NUM LINE_NUM,
    POL.ITEM_ID ITEM_ID,
         POL.ITEM_REVISION ITEM_REVISION,
         POL.ITEM_DESCRIPTION ITEM_DESCRIPTION,
         POL.VENDOR_PRODUCT_NUM SUPPLIER_ITEM_NUMBER,
    NVL(PLL.PROMISED_DATE, PLL.NEED_BY_DATE) DUE_DATE,
         PLL.RECEIPT_DAYS_EXCEPTION_CODE RECEIPT_DAYS_EXCEPTION_CODE,
         PLL.DAYS_EARLY_RECEIPT_ALLOWED DAYS_EARLY_RECEIPT_ALLOWED,
         PLL.DAYS_LATE_RECEIPT_ALLOWED DAYS_LATE_RECEIPT_ALLOWED,
         POL.UNIT_MEAS_LOOKUP_CODE UNIT_MEAS_LOOKUP_CODE,
         TO_NUMBER(NULL) SHIPMENT_QUANTITY,
         PLL.QUANTITY QUANTITY_ORDERED,
         PLL.QUANTITY_RECEIVED QUANTITY_RECEIVED,
         NVL(HRL.LOCATION_CODE, SUBSTR(RTRIM(HZ.ADDRESS1)||'-'||RTRIM(HZ.CITY),1,20))
    SHIP_TO_LOCATION,
         PVS.VENDOR_SITE_CODE VENDOR_SITE_CODE,
         PVS.PAY_SITE_FLAG PAY_SITE_FLAG,
         POH.PO_HEADER_ID PO_HEADER_ID,
    POH.CURRENCY_CODE CURRENCY_CODE,
    POH.RATE_TYPE RATE_TYPE,
    POH.RATE RATE,
    POH.RATE_DATE RATE_DATE,
    POL.PO_LINE_ID PO_LINE_ID,
    PLL.LINE_LOCATION_ID LINE_LOCATION_ID,
    PLL.SHIP_TO_ORGANIZATION_ID ORG_ID,
         POL.UNIT_PRICE UNIT_PRICE,
         POH.VENDOR_ID VENDOR_ID,
         POH.VENDOR_SITE_ID VENDOR_SITE_ID,
         POV.VENDOR_NAME VENDOR_NAME,
         PLL.SHIPMENT_NUM SHIPMENT_NUM,
         POH.VENDOR_CONTACT_ID VENDOR_CONTACT_ID,
         MSI.CONCATENATED_SEGMENTS ITEM_NUM,
         PLL.TAXABLE_FLAG TAXABLE_FLAG,
         '' TAX_NAME,
         POH.REVISION_NUM REVISION_NUM,
         TO_NUMBER(NULL) TOLERABLE_QUANTITY,
         NULL ORGANIZATION_CODE,
         HRO2.NAME SHIP_TO_ORG_NAME,
         HRO.NAME ORGANIZATION_NAME,
         MUM.UOM_CLASS UOM_CLASS,
         PLL.ORG_ID OPERATING_UNIT_ID,
         PLL.PO_RELEASE_ID PO_RELEASE_ID,
         PLL.MATCH_OPTION MATCH_OPTION,
         PVS.PAY_ON_CODE PAY_ON_CODE,
         PLL.CONSIGNED_FLAG CONSIGNED_FLAG,
         PLL.SHIP_TO_LOCATION_ID SHIP_TO_LOCATION_ID,
         POL.SUPPLIER_REF_NUMBER SUPPLIER_REF_NUMBER,
         nvl(POH.SHIPPING_CONTROL,'SUPPLIER') TRANSPORTATION_ARRANGED_BY ,     
    PLC.DISPLAYED_FIELD TAB_Display,
    NVL(MSI.PRIMARY_UNIT_OF_MEASURE,POL.UNIT_MEAS_LOOKUP_CODE),
    PLL.QTY_RCV_EXCEPTION_CODE
    FROM
    PO_HEADERS_ALL     POH,
    PO_LINES_ALL     POL,
    PO_LINE_LOCATIONS_ALL      PLL,
    PO_RELEASES_ALL           PRL,
    PO_VENDOR_SITES_ALL      PVS,
    HR_LOCATIONS_ALL_TL     HRL,
    HZ_LOCATIONS          HZ,
    PO_VENDORS               POV,
    MTL_SYSTEM_ITEMS_KFV     MSI,
    MTL_UNITS_OF_MEASURE     MUM,
    HR_ALL_ORGANIZATION_UNITS_TL     HRO,
    HR_ALL_ORGANIZATION_UNITS_TL     HRO2,
    PO_LOOKUP_CODES PLC
    WHERE
    POH.PO_HEADER_ID = PLL.PO_HEADER_ID AND
    POH.PO_HEADER_ID = POL.PO_HEADER_ID AND
    POH.AUTHORIZATION_STATUS = 'APPROVED' AND
    POL.PO_LINE_ID = PLL.PO_LINE_ID AND
    POL.UNIT_MEAS_LOOKUP_CODE = MUM.UNIT_OF_MEASURE (+) AND
    PLL.PO_RELEASE_ID = PRL.PO_RELEASE_ID(+) AND
    POV.VENDOR_ID = POH.VENDOR_ID AND
    PVS.VENDOR_SITE_ID = POH.VENDOR_SITE_ID AND
    HRL.LOCATION_ID(+) = PLL.SHIP_TO_LOCATION_ID AND
    HRL.LANGUAGE(+) = USERENV('LANG') AND
    HZ.LOCATION_ID(+) = PLL.SHIP_TO_LOCATION_ID AND
    NVL(PLL.APPROVED_FLAG, 'N') = 'Y' AND
    NVL(PLL.CANCEL_FLAG, 'N') = 'N' AND
    NVL(POH.FROZEN_FLAG, 'N') = 'N' AND
    NVL(PLL.CLOSED_CODE, 'OPEN') NOT IN
    ('FINALLY CLOSED', 'CLOSED', 'CLOSED FOR RECEIVING', 'CANCELLED') AND
    (PLL.QUANTITY*(1+NVL(PLL.QTY_RCV_TOLERANCE, 0)/100)) >
    (NVL(PLL.QUANTITY_RECEIVED, 0) + NVL(PLL.QUANTITY_SHIPPED, 0) + NVL(PLL.QUANTITY_CANCELLED, 0)) AND
    PLL.SHIPMENT_TYPE IN ('STANDARD','BLANKET','SCHEDULED') AND
    NVL(PLL.payment_type, ' ') not in ('ADVANCE', 'DELIVERY','MILESTONE','RATE','LUMPSUM') AND
    POL.ITEM_ID = MSI.INVENTORY_ITEM_ID (+) AND
    NVL(MSI.ORGANIZATION_ID, PLL.SHIP_TO_ORGANIZATION_ID) = PLL.SHIP_TO_ORGANIZATION_ID AND
    HRO2.ORGANIZATION_ID (+) = PLL.SHIP_TO_ORGANIZATION_ID AND
    HRO2.LANGUAGE (+)= USERENV('LANG') AND
    HRO.ORGANIZATION_ID (+) = POH.ORG_ID AND
    HRO.LANGUAGE (+)= USERENV('LANG') AND
    DECODE(PLL.PO_RELEASE_ID, NULL, NVL(POH.CONSIGNED_CONSUMPTION_FLAG, 'N'), NVL(PRL.CONSIGNED_CONSUMPTION_FLAG, 'N'))!='Y'
    AND PLC.LOOKUP_TYPE='SHIPPING CONTROL'
    AND NVL(POH.SHIPPING_CONTROL,'SUPPLIER') =PLC.LOOKUP_CODE
    AND PLL.OUTSOURCED_ASSEMBLY <> 1
    AND PLL.PAYMENT_TYPE IS NULL) QRSLT WHERE (NVL(HRL.LOCATION_CODE,SUBSTR (RTRIM (HZ.ADDRESS1) || '-' || RTRIM (HZ.CITY), 1, 20)) not in ('BU-TVP')) ORDER BY DUE_DATE ASC
    Edited by: doGan on Jan 31, 2011 7:27 AM

  • FRM-18108

    Hi to All,
    I am working on a Client-Server Application, Oracle 6i Forms.
    My application is running perfect no problem.
    I have worked on different forms of this application previously, tested and then moved to the production (by push).
    One of the forms when opened gives me this error.
    FRM-18108: Failed to load the following objects
    Source Module:fsc
    Source Object: FSC_STD00
    so on.
    Under "Object Groups"
    I can find all the source object which were not attached, they all have the red arrow of a subclass object.
    whe the subclass Information for these object is clicked you get this message.
    "Could not find the source object. Press view to view....."
    If view is pressed the information presented is all grayed.
    but the option button "Object" is select and in the text field "Module" has fsc. I found a form "fsc" which has all the source objects but if they were attached from the form then if I open the fsc form first and then the error form then I should not get this error.
    If these are attached through a Object library, and I can't find the library anywhere then how is this application running.
    After creating an exe for a form which has referenced objects from a Object library, then if the object library is lost, does the form exe function properly.
    Can somebody help me regarding this issue.
    thanks
    Habeeb

    Thanks to all who viewed this thread.
    The answer to my own question is, If a object library is attached to a form, then the form is compiled the exe created works fine even if the object library is deleted. Reason Why.
    When the form is compiled the object library is embeded in the exe, meaning whenever the object library is modified the form has to be compiled again to reflect the changes or else the old version is still there.
    Where as in pll libraries they are attached at run time, meaning whatever the new version is or the latest version is attached when form is called.
    That is the reason my applications are working properly even though the object library is lost.
    Habeeb.

  • Query of 3 Way match ( Invoice-Receipt)

    Hi All,
    Can Someone please give me Matching Invoice Query (AP) / Steps for 3-way matching. I have requirement wherein I have to match Invoice with Receipt but I don't know how should i do that through coding or required steps.
    As I know I know below conditions are required for 3 way match but dont know how should I get all these individual data from AP tables.
    Invoice price <= Purchase order price
    Quantity billed <= Quantity Ordered
    Quantity billed <= Quantity received
    Can you please help me to get this information.
    Thanks.

    I have prepared queries based on d 3-way match functionality .. Can some one please verify this, if I am missing anything here -
    -- Invoice price <= Purchase order price
    SELECT sum((NVL(poll.quantity, 0) - NVL(poll.quantity_cancelled, 0)) *
    NVL(pol.unit_price, 0)) "PO PRICE",
    sum(apd.quantity_invoiced * apd.unit_price) "INVOICE PRICE"
    FROM po_headers_all poh,
    po_lines_all pol,
    po_line_locations_all poll,
    po_distributions_all pd,
    ap_invoice_distributions_all apd
    WHERE poh.po_header_id = pol.po_header_id AND
    pol.po_line_id = poll.po_line_id AND
    poll.po_header_id = pol.po_header_id AND
    poh.authorization_status = 'APPROVED' AND
    poh.type_lookup_code = 'STANDARD' AND
    NVL(poh.cancel_flag, 'N') = 'N' AND POL.ITEM_ID IS NOT NULL AND
    apd.unit_price < pol.unit_price AND
    -- AND NVL (poll.quantity, 0) > (NVL (poll.Quantity_received,0) + NVL (poll.Quantity_cancelled,0))
    poll.inspection_required_flag = 'N' AND
    poll.receipt_required_flag = 'Y' and
    pd.po_header_id = poh.po_header_id(+) AND
    poll.po_header_id = pd.po_header_id AND
    pd.po_line_id = pol.po_line_id AND
    pd.line_location_id = poll.line_location_id AND
    apd.po_distribution_id = pd.po_distribution_id AND
    POH.po_header_id = ? AND apd.po_distribution_id is not null
    -- Quantity billed <= Quantity Ordered
    SELECT sum(pd.quantity_ordered) "Quantity Ordered",
    sum(pd.quantity_billed) "Quantity Billed"
    --sum(apd.quantity_invoiced) "Quantity billed"
    FROM po_headers_all poh,
    po_lines_all pol,
    po_line_locations_all poll,
    po_distributions_all pd,
    ap_invoice_distributions_all apd
    WHERE poh.po_header_id = pol.po_header_id AND
    pol.po_line_id = poll.po_line_id AND
    poll.po_header_id = pol.po_header_id AND
    poh.authorization_status = 'APPROVED' AND
    poh.type_lookup_code = 'STANDARD' AND
    NVL(poh.cancel_flag, 'N') = 'N' AND POL.ITEM_ID IS NOT NULL AND
    apd.unit_price < pol.unit_price
    -- AND NVL (poll.quantity, 0) > (NVL (poll.Quantity_received,0) + NVL (poll.Quantity_cancelled,0))
    and POH.po_header_id = ? and poll.inspection_required_flag = 'N' AND
    poll.receipt_required_flag = 'Y' and
    pd.po_header_id = poh.po_header_id(+) AND
    poll.po_header_id = pd.po_header_id AND
    pd.po_line_id = pol.po_line_id AND
    pd.line_location_id = poll.line_location_id and
    apd.po_distribution_id = pd.po_distribution_id and
    apd.po_distribution_id is not null
    --Quantity billed <= Quantity received
    SELECT sum(rsl.QUANTITY_RECEIVED) "Quantity received"
    from rcv_transactions rct,
    rcv_shipment_headers rsh,
    rcv_shipment_lines rsl,
    po_lines pol,
    po_line_locations pll
    where rct.po_line_location_id = pll.line_location_id and
    rct.po_line_id = pol.po_line_id and
    nvl(pol.order_type_lookup_code, 'QUANTITY') NOT IN
    ('RATE', 'FIXED PRICE') and
    rct.shipment_line_id = rsl.shipment_line_id and
    rsl.shipment_header_id = rsh.shipment_header_id and
    transaction_type = 'RECEIVE' and pol.po_header_id = ?
    order by rct.transaction_id

  • SRKIM: 11.5.10: AP: RECEIPT MATCH 된 INVOICE 조회 시  ORA-01427 가 발생할때

    PROBLEM
    ======
    Release 11.5.10:
    AP INVOICE 화면에서 RECEIPT MATCH 된 INVOICE 조회 시 아래와 같은 ERROR 가 발생한다.
    ORA-01427: single-row subquery returns more than one row
    SOLUTION
    ======
    해당 ISSUE 는 Bug 4270082: Querying Receipt Matched Invoice In Invoice Workbench Returns Ora-01427 에 의한 것으로 financials Family Pack H (AP.O) and higher 에서 해결이 되나 그 이전 VERSION 에서는 아래와 같이 CODEFIX 로 해결 해야 한다.
    AP_HOLDS_V view source 에서 QUERY 부분을 아래와 같이 수정 한다.
    수정 전:
    SELECT DECODE(PLT.MATCHING_BASIS, 'QUANTITY',RTXN1.QUANTITY,
    'AMOUNT', NULL) FROM RCV_TRANSACTIONS RTXN1 WHERE
    RTXN1.PO_LINE_LOCATION_ID = PLL.LINE_LOCATION_ID AND
    RTXN1.PARENT_TRANSACTION_ID = RTXN.TRANSACTION_ID AND
    RTXN1.TRANSACTION_TYPE = 'ACCEPT'
    수정 후:
    SELECT DECODE(PLT.MATCHING_BASIS, 'QUANTITY',SUM(RTXN1.QUANTITY),
    'AMOUNT', NULL) FROM RCV_TRANSACTIONS RTXN1 WHERE
    RTXN1.PO_LINE_LOCATION_ID = PLL.LINE_LOCATION_ID AND
    RTXN1.PARENT_TRANSACTION_ID = RTXN.TRANSACTION_ID AND
    RTXN1.TRANSACTION_TYPE = 'ACCEPT'
    REFERENCE
    =======
    Note. 306702.1 - APXINWKB Querying A Receipt Matched Invoice Results In ORA-01427 Error

  • Where to find the olb and pll directory

    hello, im trying to implement something i need to past two files in olb directory and pll directory, im using oracle10g
    where can i find those directories.. where are those folders?
    please reply asap

    Hello,
    There is no PLL directories or OLB directories. Just copy these files in one of the folder defined in the FORMS_PATH variable.
    Francois

  • Where to get D2KUTIL.PLL and D2KWUT32.DLL

    Can any one tell me where can i download D2KUTIL.PLL and D2KWUT32.DLL from ?
    I need to use window API open file dialog
    in my Oracle Web applications ( FORM 6i ).
    I couldn't find these 2 files in my local ORACLE HOME directory and FORM Server.
    I have tried http://oracle-ftp.oracle/dev_tools, but
    it's not accessable currently.
    Thank you in advance.
    null

    Hi,
    Would you mind also sending me those 2 files. My e-mail id : [email protected]
    Thanks
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Gaurav([email protected]):
    Hi,
    I have those two files if you give me your mail id i can send it to you.
    regards
    gaurav
    <HR></BLOCKQUOTE>
    null

Maybe you are looking for

  • Performance problem with java stored procedure

    hi, i developped a java class, then I stored it in Oracle 8.1.7. This class contains several import of other classes stored in the database. It works, but the execution perfomances are disappointing. It's very long. I guess, that's because of the gre

  • Spry.Data.XMLDataSet

    Does anyone have resources that will allow Spry.Data.XMLDataSet to use a variable which has been formatted into XML. The getSites returns an XML Packet which is generated by cfquery. <cfset getSites = #Application.Component.HomeworkHotline.getSites()

  • DataSourceUserManager in JDeveloper 10g

    Hello, I am using single sign on authentication for my application. The user credentials are stored in the database. I moved from the JDeveloper 9.0.3.3 to 10g and the DataSourceUserManager stopped working (I cannot log in). Previously the configurat

  • Edge Animate CC Crashing

    Hey, hoping to get some help here. in the video below you can see how my rulers and and selection tools disappear. if i continue to work like this it will either crash or give me different errors. I've reinstalled several times and even wiped my comp

  • UCCE - Configuration Limits Tool

    Hi All, Recently, we have been asked by TAC to use a tool named "UCCE - Configuration Limits Tool" to check system configuration are under the SRND suggested limits. Attached snippet for reference. Looks like, this utility is referring AWDB to pull a