Pick Slip Query ???

Hi,
I am trying to build a Pick Slip Report :
Below is my query, i got all the columns except
CUSTOMER_NAME and Category_ID (for a Item), plza help me out to get these data ..
SELECT
WND.DELIVERY_ID,
MTRH.REQUEST_NUMBER MO_NUMBER,
wdd.source_header_number so_order_number,
mtrl.from_subinventory_code,
mtrl.to_subinventory_code,
mtrl.uom_code,
mtrl.quantity,
MTRL.QUANTITY_DELIVERED,
WDD.REQUESTED_QUANTITY_UOM,
MSI.CONCATENATED_SEGMENTS Item_code,
msi.description item_description
FROM mtl_system_items_vl msi,
oe_order_lines_all oola,
oe_order_headers_all ooha,
mtl_txn_request_lines mtrl,
mtl_txn_request_headers mtrh,
wsh_delivery_details wdd,
wsh_delivery_assignments wda,
WSH_NEW_DELIVERIES WND
WHERE 1=1
AND WDD.ORGANIZATION_ID='8096'
--wnd.delivery_id =18910
AND wda.delivery_id = wnd.delivery_id(+)
AND wdd.delivery_detail_id = wda.delivery_detail_id
AND wdd.move_order_line_id = mtrl.line_id
AND mtrl.header_id = mtrh.header_id
AND wdd.inventory_item_id = msi.inventory_item_id(+)
AND wdd.organization_id = msi.organization_id
AND WDD.SOURCE_LINE_ID = OOLA.LINE_ID
AND wdd.source_header_id = ooha.header_id
AND OOHA.HEADER_ID=OOLA.HEADER_ID
Thanks

Hello,
I do not have access to sql dev now but you have to pick category from mtl_catego...
Look at http://www.club-oracle.com/articles/oracle-apps-inventory-inv-key-tables-265/.
You have usefull view ra_customer and I think you can join with oe_order_heade..
Look at last sql in http://www.oracleappshub.com/accounts-receivable/ar-back-to-basictechnical-foundation/
Regards,
Luko
SELECT WND.DELIVERY_ID,
MTRH.REQUEST_NUMBER MO_NUMBER,
wdd.source_header_number so_order_number,
rc.customer_name,
mtrl.from_subinventory_code,
mtrl.to_subinventory_code,
mtrl.uom_code,
mtrl.quantity,
MTRL.QUANTITY_DELIVERED,
WDD.REQUESTED_QUANTITY_UOM,
MSI.CONCATENATED_SEGMENTS Item_code,
msi.description item_description,
mcv.SEGMENT1,
mcv.DESCRIPTION
FROM mtl_system_items_vl msi,
oe_order_lines_all oola,
oe_order_headers_all ooha,
mtl_txn_request_lines mtrl,
mtl_txn_request_headers mtrh,
wsh_delivery_details wdd,
wsh_delivery_assignments wda,
WSH_NEW_DELIVERIES WND,
MTL_ITEM_CATEGORIES mic,
MTL_CATEGORIES_V mcv,
ra_customers rc
WHERE 1 = 1
-- AND WDD.ORGANIZATION_ID = '8096'
and wnd.delivery_id =4121
AND wda.delivery_id = wnd.delivery_id(+)
AND wdd.delivery_detail_id = wda.delivery_detail_id
AND wdd.move_order_line_id = mtrl.line_id
AND mtrl.header_id = mtrh.header_id
AND wdd.inventory_item_id = msi.INVENTORY_ITEM_ID
AND wdd.organization_id = msi.organization_id
AND WDD.SOURCE_LINE_ID = OOLA.LINE_ID
AND wdd.source_header_id = ooha.header_id
AND OOHA.HEADER_ID = OOLA.HEADER_ID
and mic.organization_id=msi.organization_id
and mic.inventory_item_id=msi.INVENTORY_ITEM_ID
and mic.category_id=mcv.CATEGORY_ID
and mic.category_set_id='1100000021'
and rc.customer_id=wdd.customer_id
Edited by: Luko on 2012-01-02 07:50

Similar Messages

  • Can a pick slip for ingredients, be generated, while processing a batch.

    Dear All,
    I have a question:
    While releasing a Batch, can we issue a Pick Slip for the ingredients to be picked.
    As, how my store keeper will come to know that which are all the ingredients (raw materials) required at Plant (shop floor).
    Please reply at the earliest..
    Thanks & Regards
    Sameer

    Hi
    My answers to your thoughts/queries
    1. Bang on. Go for a separate FG warehouse (however the process at the site) can decide wether production should be directly stored in FG or transferred via a move transaction
    2. Avg. Cost is ok in OPM. However, bear in mind dont have an open batch at the end of a month (or might land up with CLS entries which are quite difficult to explain). This is true if you are using PWAC method of costing. Search for OPM SSTK and search a white paper in Oracle that explains this. I will try to search this and give you something (if I can though honestly I am not sure I will find it)
    3. Not sure of the kind of documents between inventory and plant you are looking at?
    4. Upto 11.5.10 you cant do the same as per my understanding. I havent ever see this. You can tough use a DFF and catpure the same in the header and built a customization report for cross refercing the same. I belive in Release 12 this feature has been introduced. I think I have updated this on another query
    Thanks and Regards
    Girish

  • Requirement to show parent item on Pick Slip report

    rdf file of pick slip is not giving parent item in the output. I added a sql query to get the parent item details from oe_order_lines_all. Since the query is at a different level, I could not show parent item and its related child items in sequence.
    does any one have similar problem......please let me know how u have fixed it

    actual query gives the items which are picked from wsh_delivery_details wdd, oe_orders_lines_all oola....
    <G_PICK_SLIP_NUMBER>
    <SOURCE_LINE_NUMBER>1.1</SOURCE_LINE_NUMBER>
    <ORDERED_ITEM>SS</ORDERED_ITEM>
    </G_PICK_SLIP_NUMBER>
    <G_PICK_SLIP_NUMBER>
    <SOURCE_LINE_NUMBER>2.1..1</SOURCE_LINE_NUMBER>
    <ORDERED_ITEM>XX1</ORDERED_ITEM>
    </G_PICK_SLIP_NUMBER>
    <G_PICK_SLIP_NUMBER>
    <SOURCE_LINE_NUMBER>2.1..2</SOURCE_LINE_NUMBER>
    <ORDERED_ITEM>XX2</ORDERED_ITEM>
    </G_PICK_SLIP_NUMBER>
    i added a query to get the parent item, which I can get only from oola since the parent item did not have the record in wdd
    <G_SOURCE_HEADER_ID4>
    <SOURCE_LINE_NUMBER1>2.1</SOURCE_LINE_NUMBER1>
    <ORDERED_ITEM4>XX</ORDERED_ITEM4>
    </G_SOURCE_HEADER_ID4>
    in the template i am using the following xml tag
    <?for-each:G_PICK_SLIP_NUMBER?><?sort:SOURCE_LINE_NUMBER;'ascending';data-type='text'?>
    which gives
    1.1 ss
    2.1.1 xx1
    2.1.2 xx2
    where as i am looking for the following output
    1.1 ss
    2.1 xx
    2.1.1 xx1
    2.1.2 xx2
    i hope this explains my issue. Thanks
    zoom_ride
    zoom_ride

  • Show PTO BOM item price on pick slip report

    We're an EBS 11.5.10.2 install, and I've created a Kit (PTO Item)-style BOM and am able to successfully order/pick/pack/ship my kit.
    I've also set the profile option to explode the BOM on order Entry (rather than on Book) so I can see the components.
    We have a customized XML-based Pick Slip Report that shows line pricing that our shipping dept uses to determine freight insurance value.
    My problem is that only the top level item (the kit) has a price on it (even though the individual components have pricing, they come into the order as 0.00 when they are part of the kit) and only the components print on the pick slip, thus showing a zero dollar amount on the pick slip report.
    Does anyone know of a way to have the individual component pricing come over to the pick slip or, even better, to show in the order lines themselves? (I may want to adjust pricing at the component level).
    Thanks in advance,
    Andy

    actual query gives the items which are picked from wsh_delivery_details wdd, oe_orders_lines_all oola....
    <G_PICK_SLIP_NUMBER>
    <SOURCE_LINE_NUMBER>1.1</SOURCE_LINE_NUMBER>
    <ORDERED_ITEM>SS</ORDERED_ITEM>
    </G_PICK_SLIP_NUMBER>
    <G_PICK_SLIP_NUMBER>
    <SOURCE_LINE_NUMBER>2.1..1</SOURCE_LINE_NUMBER>
    <ORDERED_ITEM>XX1</ORDERED_ITEM>
    </G_PICK_SLIP_NUMBER>
    <G_PICK_SLIP_NUMBER>
    <SOURCE_LINE_NUMBER>2.1..2</SOURCE_LINE_NUMBER>
    <ORDERED_ITEM>XX2</ORDERED_ITEM>
    </G_PICK_SLIP_NUMBER>
    i added a query to get the parent item, which I can get only from oola since the parent item did not have the record in wdd
    <G_SOURCE_HEADER_ID4>
    <SOURCE_LINE_NUMBER1>2.1</SOURCE_LINE_NUMBER1>
    <ORDERED_ITEM4>XX</ORDERED_ITEM4>
    </G_SOURCE_HEADER_ID4>
    in the template i am using the following xml tag
    <?for-each:G_PICK_SLIP_NUMBER?><?sort:SOURCE_LINE_NUMBER;'ascending';data-type='text'?>
    which gives
    1.1 ss
    2.1.1 xx1
    2.1.2 xx2
    where as i am looking for the following output
    1.1 ss
    2.1 xx
    2.1.1 xx1
    2.1.2 xx2
    i hope this explains my issue. Thanks
    zoom_ride
    zoom_ride

  • Customize Consolidation Pick Slip

    Hi
    I have a requirement to develop a report for Consolidation Pick Slip.
    below this query retreives the data from onhand availiability for that item with their locator, subinventory and total on hand quantity.
    the problem is that i am not able to link with the job from discrete jobs.
    please i need some assistance to solve this issue.
    select /* wdj.wip_entity_name "Job", wrv.supply_locator_id
    ,*/msi.segment1
    ,mil.inventory_item_id item_locatiion_id
    ,msi.description
    ,moq.subinventory_code
    ,mil.segment1||'.'||mil.segment2||'.'||mil.segment3 loactor
    ,moq.locator_id
    ,sum(moq.transaction_quantity) "On Hand"
    --,sum(wrv.quantity_open) open
    from mtl_system_items_b msi
    ,mtl_onhand_quantities moq
    ,mtl_item_locations mil
    --,wip_requirement_operations_v wrv
    --,wip_discrete_jobs_v wdj
    where msi.inventory_item_id = moq.inventory_item_id
    and moq.locator_id = mil.inventory_location_id
    and msi.organization_id = moq.organization_id
    --and wrv.inventory_item_id = msi.inventory_item_id
    --and wrv.wip_entity_id = wdj.wip_entity_id
    --and wrv.organization_id = wdj.organization_id
    --and wdj.job_type_meaning = 'Standard'
    --and wdj.status_type_disp = 'Released'
    and msi.segment1 like '40931-3'
    --and wdj.wip_entity_name = 'D477334'
    --and wrv.quantity_open > 0
    group by /*wdj.wip_entity_name
    ,*/msi.segment1, msi.inventory_item_id
    ,msi.description
    ,moq.subinventory_code
    ,mil.segment1||'.'||mil.segment2||'.'||mil.segment3
    ,moq.locator_id
    ,mil.inventory_item_id
    Thanks and Regards

    >
    user615979      
         Newbie
    Handle:      user615979
    Status Level:      Newbie
    Registered:      Jan 22, 2008
    Total Posts:      203
    Total Questions:      82 (72 unresolved)
    >
    203 posts, 72 unresolved questions and you still haven't figured out how to ask a question, with relevant information and formatting, and database version, so that people can help.
    {message:id=9360002}

  • Pick Slip report gives 'No Data Found' output

    Hi All,
    Problem Statement:
    Iam unable to generate Pick release report, the shipping
    lines status is "ready to release" and we have a available quantity for the shipment.
    Step1 : Create a Order.
    Step2 : Save and Book the Order.
    Step3 : Pick Release the Order.
    Step4 : Go To " View My Requests".
    Step5 : Select the Request Id " Pick Slip Report "
    Step6 : Click on Output.
    Result " No Data Found.
    Thanks in Advance
    SYR

    Hi SYR,
    Pick Slip report gives you out put as NO DATA FOUND, is basically, bcos there has not been any picking of the item, reason may be,
    1. Qty avaialble wont be reservable and transactable
    Check in Inventory> On handqty > click availibility tab
    And see whether the item is available to transact & reserve.
    If you have enought qty thn you shld be able to pick release tht item.
    2. Check which sub inventory are you using while pick release, is it the same as where the item is kept.
    Try this out.
    This may help.
    Thanks
    Manoj

  • 'Move order pick slip report' Report not picking XML publisher Template.

    Hi,
    SUB: i have to create one XML report on .RDF(move order pick slip report).
    Submitting procedure move order pick slip report : i have created one Discrete Job and released that Job, then Component pick release for that particular job. then move order number will generates. then automatically fires the 'Move Order Pick Slip' Report.
    NOTE: what i meant to say is i am not submitting the report from SRS window. it will fires automatically when Component pick release.
    For this i have taken .xml and generated .rtf according to my layout and i have registered with XML publisher also.it is correct . But while running the report i am geting output as XML codes not in template(wht i have .rtf) format.
    if i have to see the output in template from. (i have taken in conc program output as XML also) still same problem.
    please help me if anybody having solutions.
    Thanks
    Valli

    Hi Valli,
    1:The first thing i would suggest that please check the BI Publisher version you are using (on apps/and on template builder also).
    2: In any case if your report is not picking up the template and generating the xml output , i suggest you to attach one program "XML Report Publisher" in your SRS.
    Oncwe you run your report and its generate the xml output. you have to take the request id & from view ---> submit request--->XML Report Publisher. run this request again.
    it will ask for the request id , select the appropriate request id and it will generate the pdf output as per your requirement.
    But this is temporary solution , i strongly recommend you to check the updated version of BI Publisher and instaal it on your oracle apps instance. also use the updated version of bi publisher for Layout(Template Builder).
    Regards
    SRatnesh

  • Language Translation is not working for Pick slip Report (XML)

    Hi All,
    I have to translate the Oracle Pick slip report(XML) in other language. So I export and upload translation file for different language but still it is taking default english template. It should refer the translation file but it.s not working. Could you please suggest me if I am missing something?
    Thnaks,
    Joohi

    Hi,
    Looking for some help on this.
    Thanks in advance!
    Venkat

  • Move order pick slip report XML report not geting out put as templete

    Hi,
    SUB: i have to create one XML report on .RDF(move order pick slip report).
    Submitting procedure move order pick slip report : i have created one Discrete Job and released that Job, then Component pick release for that particular job. then move order number will generates. then automatically fires the Move Order Pick Slip Report.
    NOTE: what i meant to say is i am not submitting the report from SRS window. it will fires automatically when move order is generated.
    for this i have taken .xml and generated .rtf according to my layout and i have registered with XML publisher also.it is correct . But while running the report i am getiing output as geting codes not in template(wht i have .rtf) format.
    if i have to see the output in template from. (i have taken in conc program output as XML also) still same problem.
    please help me if anybody having solutions.
    Thanks
    Venakt M

    Hi,
    Looking for some help on this.
    Thanks in advance!
    Venkat

  • Pick Slip Grouping

    Oracle Gurus,
    I have defined pick grouping rule by itemwise, as per this parameter when I release sales orders.. should be picked up by itemwise.
    Example:
    Order Number     Item     Qty
    100001     A     200
    100001     B     111
    100002     A     300
    100002     B     222
    100003     A     400
    100003     B     333
    I want to release all above order at same time, as per pickslip grouping rule only by Item.... System should pick as Item A as : Qty 900 and Item B as Qty 666.
    System is creating pick slip as by orderwise and itemwise, totally 6 lines created...
    My client dont want to go each and every time pick the same item, its waste of time.
    If they get pickslip as Group as Qty 900 - Item A and Qty 666 - Item B - Picker goto respective subinventory pick the items.
    How to do this setup to achieve my requirement.
    Quick responses highly appreciated.

    Hi, I am trying to sort Pick slip grouping by Items however it is grayed out. Any idea, How can I make it enable?

  • Move order pick slip report in Oracle Application 11i

    hello
    I have problem with Move Order Pick Slip Report in Oracle Application 11i that in my system it is not running. when I submit this report from my system, the application halt and I have to restart application on my system.
    on other computer it is running properly
    Pls help me in this regard
    Sadiq

    Hi,
    Looking for some help on this.
    Thanks in advance!
    Venkat

  • Custom Pick Slip Report

    Hello All,
    I am developing a custom BI report for seeded Pick Slip report.
    Report is working fine when submitted manually.
    But when the report is submitted from pick release window, the PDF output is not generated.
    I noted the following,
    All the programs completed normally. No errors or warnings.
    Custom report says no output file generated while clicking the view output button.
    Layout is empty, report didnt pick the template file.
    Any ideas. Is this the normal functionality of Pick Slip report. Whn the report will produce ourput file. Any profile options or setups.
    Thanks,
    Kannan B

    PickSlips are run using document sets when launched thru Pick Release : (OM(R)> Setup> Shipping> Documents> Document Sets)
    In EBS 11i, document set are not integrated with XMLP without the following patch:
    Metalink note:
    NEW FUNCTIONALITY: Ability to Execute Document Sets in XML Output Format - Patch 5688014
    Doc ID: 413108.1
    regards,
    Rownald

  • Pick Slip Sequence

    We are using the Apps 11.5.5 Trying to set the Picking slip number to start at a specific number and then increase at each pick slip.
    Our Setups : OM: Shipping > Setup > Documents > Document Sequences and create a sequence name = Pick slip, the Application is Oracle Shipping and the Type is Automatic, starting at 300000
    In OM: Shipping > Setup > Documents > Assign Sequences, the Application is Oracle Shipping, Category is Picking Slip, SOB, Method = Automatic, Start date = 12-nov-02, End date = blank and Sequence is Pick slip as previously defined.
    With these setup, should the pick slip number be starting at 300000 and increasing OR do we missed some setups.
    Thanks for your help,

    What you have set Pick Slip Sequence is correct

  • Randomly distribution of a product when picking slip action.

    Hi Community,
    Maybe you had find this situation in your daily work or in your implementations. Let me explain the scenario.
    The user enter a sales order and fill up all the required data in order to make the picking slip of the sales order. When the user makes the picking slip, the system, although the product is assigned to a lot, and there is enough quantity (enough kgs, i.e.) of the product in the lot, it distributes randomly the quantity in 2 lines instead of take the whole quantity and put it in one line only.
    To our business needs, this behavior causes to us a big embarrasing incident, cause associated with the quantity is the packaging in which we sold the product, and this behaviour causes that the packaging is duplicated for each line. Is that to say:
    Sales order with only one line of a product (let's say Skyprene) with its quantity (1800 Kgs.) and its packaging (big bags of 20 kgs of capacity each bag).
    When the user makes the picking slip step, the system distribute the 1800 kgs. in two lines: One of them with 1798 kgs of Skyprene with its bags of 20 Kgs each one –we only specify the type of packaging "Big Bags 20"– , and a second one, with 2 kgs of Skyprene with its bags of 20 kgs each one –again, we only specify the type of packaging "Big Bags 20"–.
    Anyone can tell me how and why the system is making that?
    Thanks a lot for your answer in advance.
    Regards.
    Luis

    Please note that oracle normally picks oldest items first. after that, it will put different pick lines for different items, lots and locaotors. So, even if u r picking same item same lot, but from diff locators, then there will be two lines on pick lsip.
    Can you please check if this is causing multiple lines or still do you see any issues?
    Regards
    Varun

  • Only one pick slip copy prints despite copy count = 2

    I am at a loss on this one and am hoping some of you might have seen this issue.
    We have our pick slips printing to a network printer and the copy count is set to 2 in the concurrent management details, but when it prints, only 1 copy prints to the printer. We have tried two different printers and this only started happening since we upgraded our servers from Windows to Linux.
    Any ideas?
    thanks!
    Rob

    Hi Luko -
    I did change this profile option - although they were already manually setting it to 2. It still only prints 1 copy. I have found that if I change the driver in CUPS it affects the number of copies:
    HP LaserJet Series PCL 4/5, 1.3 - prints TWO copies but the sides are cut off
    HP LaserJet Series PCL 6 CUPS - prints ONE copy with correct formatting.
    Do you know why this might be?
    thanks!
    Rob

Maybe you are looking for