Query to find lines shipped but not invoiced

Hi all,
Can anyone help in finding query to list all SO lines shipped but not invoiced.
regards,
ashok

Hi,
Can someone validate whether below query is right way to find lines shipped but not invoiced.
select line_id,invoice_interface_status_code,flow_status_code,fulfilled_quantity,shipped_quantity
from oe_order_lines_all
where shipped_quantity is not null --- means line is shipped
and invoice_interface_status_code != ‘YES’ -- means line is not invoiced

Similar Messages

  • Goods Shipped -BUT- Not Invoiced

    Hi Gurus,
    we would like to see a report (NOT VF04), where I can see all the Goods Shipped But not invoiced with AMOUNT so that we can Tie this amount to respective Goods in Transit GL account balance for Auditing Purpose, so that we can tell them this is the actual amount in Transit needs to be invoiced by showing report and GL account,
    Please Help me ,  your help appreciated,
    Sandhya

    Sri Nath,
    I think you missed the whole point here, I am not talking about exchange rates ro amount going from Sales order to GL , it will go anyways as I am talking about the Inventory Transfer account Amount and the Goods Shipped But Not Invoiced report amount ,
    Let me explain again, you will see some Del Doc ," Y " (Sales Order "X" ) in VL06 and you will come to know this is Open Invoice and Goods Shipped already,,,,,,,, at the same time for this Delivery Doc , Y , for the amount in sales order, X , will be reflecting in that GL account ,
    So Now the Point is VL06 or or anyother report with the options you said, will give you Del Doc Y , as Output but NO DOLLAR AMOUNT, so How can I tie this Del Doc amount(s) If I don't see a consolidated total that I need to Tie with FS10N report,?
    Shiva making new Report is last Option I believe.
    Sandhya

  • Goods Shipped But not Invoiced report

    Hi all,
    I am trying to see a report which is Goods Shipped But not Invoiced , please try to help as I think it is MM guys Report, your  help appreciated.
    Sandhya,

    Hi
    When the PGI is done againt the delivery document, the accounting document generated is based on the material price in material master as per the price control.
    The accounting entry would be
    Cost of goods sold   Dr
    FG Inventory    Cr
    You must be calling Cost of goods sold account as goods in transit a/c.
    At the point of billing the amount would be calculated from the conditions in the sale order against which the delivery was created.
    The accounting entry would be
    Customer A/c   Dr
    Revenue a/c  Cr
    Normally the price conditions in sale order would be higher than the price in material master.
    Price in material master is the cost of manufacturing the material whereas price in sale order is the price inclusive of profit margin.
    Regards
    Prasad

  • Shipped but not invoiced

    Query to find shipped order lines, but not invoiced.
    Need a query to find order lines which are shipped (order line flow status code is 'FULFILLED' or 'CLOSED'), but not invoiced.
    Regards,
    L

    Not sure what version you are on.  I know in R12, the oe_order_lines_all table has an "invoice_interface_status_code" that will tell you whether the line expected to be sent to invoicing - NOT_ELIGIBLE indicating that it isn't.  But disregarding whether it was supposed to be invoiced or if you have records sitting in the interface unprocessed, this should give a start - it includes all order lines, even internal orders that do not invoice.
    select oeh.order_Number, oel.line_number, oel.shipment_number, oel.invoice_interface_status_code, oel.*
    from oe_order_lines_all oel, ra_customer_trx_lines_all ractl, oe_order_headers_all oeh
    where oel.header_id = oeh.header_id
    and oel.LINE_ID = ractl.INTERFACE_LINE_ATTRIBUTE6
    and oel.open_flag = 'N'
    and oel.shipping_interfaced_flag = 'Y'
    and oel.fulfilled_flag = 'Y'
    and ractl.customer_trx_line_id IS NULL
    and oel.flow_status_code <> 'CANCELLED'

  • Goods Issues but not invoiced

    Hello forum, a question on any Sales/Billing reports people know of for goods that have been goods issued but are awaiting invoicing.  We use POD processing and can get some reports but none with a financial value at an item level.  We also use tcode VF04 to view pending deliveries to be invoiced but again doesnt show any epxected revenue and so was wondering if there are any other standard reports to give me this information?
    Much appreciated
    Dan

    Through standard TCodes VF04 and VF06, you can generate deliveries that are PGId but not invoiced but value will not flow there.  For this, you need to develop a zee tcode considering the tables VBAP (for unit price) and LIPS (for material code and quantity PGId).
    thanks
    G. Lakshmipathi

  • I want to buy Lion.  I have 10.6.8 and cannot find Lion on the App store.  I find mountain lion but not lion.

    I want to buy Lion.  I have 10.6.8 and cannot find Lion 10.7 on the App store.  I find mountain lion but not lion. Help please.

    Apple has made it available again, but you need to call and they will email you a redemption code:
    https://discussions.apple.com/message/19102390#19102390

  • How can I fetch the deliveries which are PGIed but not invoiced.

    Hi
    I want to search for the deliveries for which post goods issue has been done but are not invoiced.
    Kindly guide with you valuable comments.
    Regards,
    Satish.

    Hi,
    Use the T.Code:VF04.
    Goto T.Code:VF04
    Enter the Sold-to-party.
    Select Delivery related tick mark and uncheck all.
    Execute.
    It will give all the deliveries which are PGIed but not invoice.
    Regards,
    Krishna.

  • Finder shows some but not all files in a folder

    In some circumstances, Finder only shows some (but not all) of the files in a folder. Why?
    I notice this with Excel autosave files in the Office 2011 Autorecovery folder (Macintosh HD ▸ Users ▸ Conor ▸ Library ▸ Application Support ▸ Microsoft ▸ Office ▸ Office 2011 AutoRecovery). In my case, Finder shows 34 files but "ls" in a Terminal window reports 40 files. The missing files do not start with a period (.) and have the same permissions as other files that show in Finder (-rw-r--r--@ 1 <myname>  staff). Here's the last four lines of "ls -al" - the first two appear in Finder, but not the last two:
    -rw-r--r--@  1 myname  staff    55296  8 Oct  2013 Word Work File D_1239425731.tmp
    -rw-r--r--@  1 myname  staff    55296  8 Oct  2013 Word Work File D_1240072173.tmp
    -rw-r--r--@  1 myname  staff    52796 13 Feb 11:08 safe1.xlk
    -rw-r--r--@  1 myname  staff    95320 12 Mar 16:06 safe2.xlk
    I have tried copying files from this folder to another folder, and/or changing their names. They still do not appear in Finder, nor are they visible in the File Open dialog of applications, even when the dialog is listing other files in that directory - but if I manually type the name into the File Open dialog, the app manages to find and open the file.
    If I Spotlight-search for the file name, or search in Finder, without specifying that specific directory ("This Mac"), the file is not found, but if I direct the Finder search at that particular directory, then the search returns the relevant files.
    So: why does Finder hide certain files when showing a folder, even though it can find and show those files if you specifically ask for them?
    Now using OSX 10.10 (Yosemite), but I'm pretty sure I noticed this on OSX 10.8 as well.

    So simple - thanks. I'd not been aware of the hidden flag, and now I've found the -O option on ls to display it.
    Follow-on question: I now see that you can change the system-wide defaults to display hidden files with this...
         defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder
    ...but is there a way to specify this on a per folder basis? I'm happy enough to hide hidden files in general, but it would be nice if I could set an attribute/flag/whatever on the Office AutoRecovery directory that told Finder "in this folder, always display hidden files". Can I do this?

  • Query to find customers who have not purchased anything

    I have a query to find customers who have purchased what we call consumables (using item property) over a given period:
    SELECT T0.CardCode, T0.CardName, T0.DocDate, T0.DocTotal, T1.ItemCode, T1.Dscription,T1.quantity, T2.ItmsGrpNam
    FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry, OITG T2
    WHERE T0.DocDate BETWEEN '[%0]' AND '[%1]' AND T1.ItemCode like '2ssy%' AND  T2.ItmsGrpNam = 'consumable'
    I have another to show customers who have a particular type of equipment:
    SELECT T0.manufSN,T0.itemName,  T3.Name, T2.Address, T2.Street, T2.Block, T2.City, T2.County, T2.ZipCode
    FROM OINS T0 INNER JOIN OCRD T1 ON T0.customer = T1.CardCode INNER JOIN CRD1 T2 ON T1.CardCode = T2.CardCode Inner Join OCPR T3 ON T0.ContactCod = T3.CntctCode
    WHERE T0.manufSN like 'P%' AND T2.AdresType= 'S'
    What I would like is to find those customers who have this equipment (query 2) but who have NOT purchased and consumables in say the last year.
    I have tried using Excel by finding duplicates and taking those in query 1 from those in query 2 but it's very messy.
    Has anyone done anything like this or got any good ideas?
    Thanks

    Hi Ralph,
    Well, I enjoy teaching, so let's start at the beginning.  SQL is a fairly full-featured language, and it supports recursion and nesting.  That's why the books online often describe elements of the SQL statements as "expression" - it may be more than a field or a simple function occurring there.  Nesting is the little puppy we used here.
    Now, in your first post, you said:  "What I would like is to find those customers who have this equipment (query 2) but who have NOT purchased and consumables (query 1) in say the last year."
    So, our common point between the two queries is the customer, the CardCode.  That's what this part does:  F0.CardCode = T0.Customer.  In my internal convention, I used F for Filter.  So we only want the results in the filter where the CardCode matches the CardCode/Customer from the main query tables.  It's the sole contact point between the two queries.
    You also said you wanted only the items where they had purchased no consumables, which basically translates into: a count of the records equals 0.  Now, since all we're interested in from the second query, the consumables query is how many records we returned, we get rid of all the columns except for one that we apply a COUNT to.  After that, it's a simple criteria:  the result of the second query has to equal 0.  This is how the criteria looks after you take out all the details and put only the important brackets in:  (SELECT COUNT...FROM...WHERE...) = 0.
    This might be confusing at first, because most of the time we return recordsets from queries, but a standard feature of SQL is to return a value of any data type if the query returns a single row and a single column.  This wouldn't work at all if we had more than one column in our nested query (or would require lots of tweaking), and although it returns a number of results in the complete process of the whole SQL statement, it only returns one result for each row.
    Regards,
    Mark Dielmann
    Edited by: Mark Dielmann on Nov 13, 2009 12:30 PM - Forum doesn't support advanced formatting on answered questions.
    Edited by: Mark Dielmann on Nov 13, 2009 12:32 PM - Salutations and more formatting.
    Edited by: Gordon Du on Nov 13, 2009 10:35 AM - There are maximum characters limitation for correct format

  • COBRA - FSA in Enrollment, but not Invoices

    Employees can elect Spending Accounts on COBRA election forms, but Spending Accounts don't appear on the COBRA Invoices.  I can't find any logic in the Invoices program (RPUCOB08) that uses FSA data (infotype 0671).  Has anyone else had this problem?

    Hi,
    1.- in the documentation of this badi it says:
    An active implementation of this Business Add-In means that you cannot manually enter the withholding tax base and amount. You define the settings for their calculation in Customizing for Financial Accounting in the following activity: Define Withholding Tax Type for Invoice Posting.
    2.- it is very important at the end of this badi to do this:
              te_rbws[] = i_rbkpv-h_rbws[].
              te_rbvs[] = i_rbkpv-h_rbvs[].
    check this OSS Note (Note 1286713 - MIRO: Enhanced withholding tax is not calculated):
    https://service.sap.com/sap/support/notes/1286713
    Best regards
    Edited by: Pablo Casamayor on Mar 23, 2010 3:28 PM

  • Q36 How do I report items delivered but not invoiced?

    Starting from scratch here...........
    The idea is too create a report of sales order items that have been delivered but not yet invoiced within a set of dates and showing sales value of goods delivered.
    My logic had told me using docstatus in ORDR and OINV would have been a good start but I was wrong!
    Thanks,
    Robin

    Hi,
    This is a query we use here - not sure if it will help but.....
    SELECT DISTINCT T1.CARDCODE, T1.CARDNAME , T8.FirstName+ ' ' +T8.LastName AS 'Sales Employee', T1.DOCNUM DELIVERY#,T1.DocStatus 'DELIVERY STATUS', T1.DOCDATE 'DELIVERY Date', T1.DocTotal 'DELIVERY Total', T3.DOCNUM Return#,T3.DocStatus 'Return Status', T3.DOCDATE 'Return Date', T3.DocTotal 'Return Total',T5.DOCNUM Invoice#,T5.DocStatus 'Invoice Status', T5.DOCDATE 'Invoice Date', (T5.DocTotal-T5.VatSum-T5.TotalExpns-T5.DiscSum) 'Total Before Discount', T5.VatSum 'Tax', T5.TotalExpns 'Freight', (T5.DocTotal - T5.PaidToDate) 'Total Payment Due', T7.DOCNUM 'CREDIT MEMO#', T7.DOCDATE
    FROM DBO.DLN1 T0
    INNER JOIN DBO.ODLN T1 ON T1.DOCENTRY = T0.DOCENTRY
    LEFT JOIN DBO.RDN1 T2 ON T2.BASEENTRY = T1.DOCENTRY
    LEFT JOIN DBO.ORDN T3 ON T2.DOCENTRY = T3.DOCENTRY
    LEFT JOIN DBO.INV1 T4 ON T4.BASEENTRY = T1.DOCENTRY
    LEFT JOIN DBO.OINV T5 ON T5.DOCENTRY = T4.DOCENTRY
    LEFT JOIN DBO.RIN1 T6 ON T6.BASEENTRY = T5.DOCENTRY
    LEFT JOIN DBO.ORIN T7 ON T7.DOCENTRY = T6.DOCENTRY
    LEFT OUTER JOIN OHEM T8 ON T1.OwnerCode = T8.EmpId
    WHERE  T1.DOCDATE >= [%0] AND  T1.DOCDATE <= [%1]
    Its just a little more information for you.
    Regards
    Sean Martin

  • Set up scenario: company branches treated as customer (OM)but not invoiced

    hi friends
    is it possible in Oracle to treat company profit centers or branches as customer wherein we can use Order Management to process sales orders and subsequently maintaining them as if as customers but not generating an invoice instead a delivery receipt only.
    no sales invoice will be genarated because sales transactions will be treated as intercompany transfers only but there is the need to update their ledgers because they are actually paying for their orders.
    really quite complicated !!!
    how can i set up this in Oracle.
    thanks in advance!!!

    Hi,
    I hope we can't map as the delivery will be processed only if the invoiceable flags for the SO line item is enables in the item master.And more over as it treated as Internal sale order there won't be any issues in generating the invoices as the balance will knock out in the profil and loss account.
    Regards,
    Arumugam S.

  • Find my iPhone can find my mac but not show the location

    hello, i need some feed back. i am using find my iPhone to locate my devices and all is found but one problem, i see that my mac is shown to be online but location not found. how do i get the location to show because my other devices i can see on the map but my mac just shows up as a mac mini. am i doing something wrong?
    Message was edited by: belto

    Yes, your Mac needs to be connected to a Wi-Fi.  See this help text:  iCloud: Troubleshooting Find My iPhone, iPad, iPod touch, or Mac http://support.apple.com/kb/TS4006
    Find My Mac can only locate your Mac if it is connected to the Internet via a known Wi-Fi network. If your Mac is connected to the Internet only by an Ethernet cable, Find My Mac will not be able to locate your Mac.
    Your iPad, iPod Touch, or Mac is asleep and not connected to a known Wi-Fi network. You will still be able to request an erase, send a message to display and lock your device, or request that a sound be played. The command will be processed when your device is awakened and connected to the Internet.

  • Abnormal, Same query get data in sql but not working on Fron-end

    Dear,
    Version :Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    We have created packed in oracle database befor two months ago & was working fine, but since morning select statment in package is not working while running via application which mentioned below and raise not data found but surprising thing is that same query is getting data when we execut on sql plus return one record.
    i don't know either it's abnormal behaviour or sth else becuase the same query run without changing any singl column in where_clause work in sql but not getting data while submition request through oracle application and raising not data found.
    --thankse
    Edited by: oracle0282 on Dec 29, 2011 2:20 AM

    Actully when i run this query in sql it return one record on the same parameter, while when we exeucte this select in pl/sql on the same parameter oracle raise no data found error.
    so i got confused the same query with same parameter retur record in sql but when we call it fron-end through packege raise 'no data found error'.
    hope you understand now.
    --thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Named Query (JOIN query) runs in Toplink JPA but not in EclipseLink

    I have a namedquery in JPA entities like (Entities do not include JOIN colums specifically.. no many-to-many or one-to-many relation in entities)
    select a from table1 a, table2 b where a.id=b.id
    This named query runs on Toplink Essentials without any problem.
    When I run this query using EclipseLink
    EclipseLink generates the query below and gives an error.
    select table1.id, table1.name, table1.surname from table1 t0, table2 t1 where t0.id=t1.id
    There are error _"*table1.surname*"_ is invalid identifier. Because; table1 is not define as an alias, must be "t0.surname".
    How can I solce this problem.
    The code runs on Toplink Essential but not in EclipseLink

    I have a namedquery in JPA entities like (Entities do not include JOIN colums specifically.. no many-to-many or one-to-many relation in entities)
    select a from table1 a, table2 b where a.id=b.id
    This named query runs on Toplink Essentials without any problem.
    When I run this query using EclipseLink
    EclipseLink generates the query below and gives an error.
    select table1.id, table1.name, table1.surname from table1 t0, table2 t1 where t0.id=t1.id
    There are error _"*table1.surname*"_ is invalid identifier. Because; table1 is not define as an alias, must be "t0.surname".
    How can I solce this problem.
    The code runs on Toplink Essential but not in EclipseLink

Maybe you are looking for

  • I want to upgrade my iMac (Early 2009) 20-inch to 8GB of RAM

    I want to upgrade my iMac (Early 2009) 20-inch to 8GB of RAM the maximum specified by apple but i've been reading installing to 4GB RAM modules causes a kernal panic in os x lion, is this a lion specific error or is this a iMac error? Thanks for any

  • Early warning

    Hi My client in Petroleum business they using contracts for Lease rental payments and now they require an email notification when the contract reaches at the maturity (Validity end date). For this purpose I am trying with Early Watch alters by creati

  • Adding a gutter AFTER document is completed

    Just finished laying out a 90 page book. Not sure how 'gutters' work. I find the 'Defining Columns' section in the Help a bit confusing. Could somebody perhaps explain in simpler terms how I install a universal 'gutter' to my entire document (with fa

  • Aaa authentication using tacacs+ for LAP

    WIth Autonomous AP, you can configure aaa authtentication using Tacacs+. In lightweight AP, do u have similar function where u authenticate using tacacs+ when u telnet/ssh into the LAP after it is registered to the WLC? Rgds Eng Wee

  • Definition of SAP-User(Developer, Professional, Limited, ess)

    Hi, I'm looking for a definition of the different SAP-User (developer, professional, limited professional and ess). Can anyone give me a link where i can find it? Thanks. Regards, Dieter