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

Similar Messages

  • Report for delivered but not billed orders

    Hi All,
    I am trying to build a query using logical database to extract all orders for which delivery has been done, but not yet billed. I believe i can extract this data using VAV logical database, but not quite sure if i should use VAV or VFV.
    Can someone let me know, which database to use & also what input conditions i need to maintain to extract only the information which i am looking for?
    Hope my question is clear, await inputs.
    Vivek

    Hi Vivek,
    What I wanted to say that you won't get information from VAV about billing since as far as I know it doesn't contain any relevant table.
    You should try create a query using LIKP-LIPS-(joint type: left outer)-VBRK. This will connect deliveries to billing document, you can also get SO number. Please try this.
    (Sorrowully I don't know which logical database would be good for you)
    BR
    Csaba

  • Stop price update of  delivered but un-invoiced (non-invoiced) line items

    Hi Gurus,
    I need some help regarding price update of line items which are delivered but not invoiced yet.
    Case 1:
    I am calling the FM 'BAPI_SALESORDER_CHANGE' and passing the line item (say 10) whose price needs to be updated. This line item is neither delivered nor invoiced. Result, correct change of price for line item 10.
    Case 2:
    In the above order, i am adding another line item (say 30), which is completely delivered, but I have not yet created an invoice for it. I want that this line item's price should not be changed (as delivery is already created for it). So, in my price update report, I check and filter this line item (10) and pass only line item 30 to the BAPI. Result: not only line item 30 but line item 10 also gets updated with new price!!
    Case 3:
    I created a new line item(40) and created an invoice for it after completely delivering it. When I call the BAPI now, I again filter the line items 30 and 40 and pass only line item 10 which i want to be updated.
    Result:
    Line item 10 - updated with new price
    Line item 30 - updated with new price
    Line item 40 - not updated
    Requirement:
    Any line item that is completely delivered should not be updated with the new price regardless of it having an invoice or not.
    Assumptions:
    I am running a custom report to find the line items that need change and calling the BAPI_SALESORDER_CHANGE and passing those line items to update the price.
    Problem faced:
    This process is updating all line items in the SO that are not invoiced regardless of weather I am passing it to the BAPI or not
    As far as i know, the checking of the invoice is in some standard program, and hence had debugged the BAPI and got the FM SD_SALES_DOCUMENT_SAVE which in my opinion is doing the change. But on further debugging I lost track of the tables which were holding the data as the code is flowing through a number of user exits and standard forms.
    Please help!

    Hi Soumyo,
    In Pricing Update screen, you will find pricing type X, Y and Z which you can use to define your own pricing update scenarios.  Check OSS note 24832. This note provides enough details about each of the update pricing options and also explains on how to use pricing update X, Y, and Z.  Let me know if you need any more help on this.
    Thanks & Regards
    Kapil Sharma
    Author - Configuring SAP ERP Sales and Distribution

  • SD report on sales which have been delivered but not yet billed

    Dear all,
    Do we have any SAP SD standard report showing a total of the value (preferably by sales office) of sales which have been delivered but not yet billed.
    Client has a legacy system which shows report showed up goods which have been PGI'd/delivered but not invoiced - this is exactly what what is required in SAP report.
    Thank you in advance,
    Sastry

    Sastry,
    I have used this report "Sales office Analysis- Invoiced Sales - MC-E"
    I found something on this forum i.e
    VL06F - general delivery list / List of outbound deliveries,
    VL06T - outbound deliveries for transportation planning
    I dont know if it is useful in any way.
    Sridhar.

  • How to passback report item value

    Hi,
    Below coding is passback value from popwindow to the screen fields. P2_BOOKING_NO,P2_CUSTOMER_CODE,P2_REF_CUSTOMER_CODE are form fields. i have a report, that report have booking_no a reference key of form field booking_no. So both form and report table has booking no. So using join to retreive or passback the report data also. my problem is how to passback the report data. below coding is only for form field. i dont know how to passback report item value from popup window to the screen.
    popup window javascript:
    <script language="JavaScript">
       function passBack(passVal1, passVal2, passVal3)
       opener.document.getElementById("P2_BOOKING_NO").value = passVal1;
       opener.document.getElementById("P2_CUSTOMER_CODE").value = passVal2;
       opener.document.getElementById("P2_REF_CUSTOMER_CODE").value = passVal3;
       opener.document.getElementById("P2_REF_CUSTOMER_CODE").focus();
       close();
    </script>
    Link in popup window:
    javascript:passBack('#BOOKING_NO#','#CUSTOMER_CODE#','#REF_CUSTOMER_CODE#');
    page javascript:
    function callMyPopup (formItem1,formItem2,formItem3) {
        var formVal1 = document.getElementById(formItem1).value;
        var formVal2 = document.getElementById(formItem2).value;
        var formVal3 = document.getElementById(formItem3).value;
        var url;
      url = 'f?p=&APP_ID.:3:&APP_SESSION.::::P3_BOOKING_NO,P3_CUSTOMER_CODE,P3_REF_CUSTOMER_CODE:' + formVal1 + ',' +
    formVal2 + ',' + formVal3;
      w = open(url,"winLov","Scrollbars=1,resizable=1,width=800,height=600");
      if (w.opener == null)
      w.opener = self;
      w.focus();
      }How to do this?
    Skud
    Edited by: skud on May 20, 2011 5:47 PM

    Hey Skud,
    I am trying to implement something similar and definitely need assistance. Were you able to resolve this issue?

  • I am at capacity How can I free up space but not delete music

    My Ipad is at 55.4 gb used 24 gb in music alone. 2.7 gb available so can't do anything  Ipad shuts itself down and won't let me open mail, use facebook, safari.How can I free up space but not delete songs in library   

    Unless you are attempting to download a sizable file, 2.7 GB should be more than enough to continue fucntioning. Try a reset: Simultaneously hold down the Home and On buttons until the device shuts down. Ignore the off slider if it appears. Once shut down is complete, if it doesn't restart on it own, turn the device back on using the On button. In some cases it also helps to double click the Home button and close all apps from the tray BEFORE doing the reset.

  • How do I configure thunderbird open but not jump to web link in e-mail

    How do I configure thunderbird open but not jump to web link in e-mail. I want the web pages, but do not want to display my browser page until I have clicked on several links, then I will go look at my browser pages.
    I can't figure out how to do this.
    Thanks,
    Dan

    From the menu bar select Tools-Account Setting-Composition and Addressing
    Set the reply option to Above the Quote
    You have to do this for each account if you have more than one.
    No menu bar? Press the alt key.

  • How do I loop my images but not my music?

    How do I loop my images but not my music in iDVD 08?

    Give it a litte time.. Then
    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • Aperture adds the same name to all new locations, how do I delete the name but not the address?

    Aperture adds the same name to all new locations, how do I delete the name but not the address?

    It's easy to rename each unit.  When you connect your iPad and it syncs, the unit will appear on the left of the iTUnes screens just click on the unit there and you can rename it.  You should do this immediately so you can see which unit was backed up by it's name. You can sync as many decices as you want in one iTunes library and you can even share Apps as long as you're going to sync both from teh same iTunes account.  My household has 2 iPad 2s and we share our apps, and we also share downloaded books, magazines, music, etc.......

  • 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

  • How could i get other themes  but not in keynote, How could i get other themes  but not in keynote

    How could i get other themes  but not in keynote???!!!

    Create them yourself, specific, simple, easy and free.

  • How can I tell with % how fast I am uplaoding a file...I know how to find it for DOWNLOADING, but not uploading.

    I just switched to Firefox...I used to have Google Chrome...when I would upload a file, a % number would scroll at the bottom showing me how much has been uploaded....how do I find that on Firefox....I know how to find the DOWNLOAD box, but not one for UPLOADING opr sending files

    I mistyped in my first post. I do indeed mark the video as AF41 (Cos4). It is the call control that I mark CS3 with the policy map to get around the old Tandberg bug that doesn't mark the call control.
    So do you think the queue 3, where Cos4 goes to, is big enough to handle 30 video streams of 480k? If my calculation is correct that would be 14.4mbps of video on a 100mbps port.
    With this config.....
    srr-queue bandwidth share 10 10 60 20
    srr-queue bandwidth shape 10 0 0 0
    ...is it telling me that queues 1 & 2 get 10% bw, queue 3 gets 60% and queue 4 gets 20% bw and is shared? If that is correct than 60% is more than enough for 14.4mbps of video.
    What happens if too much video overruns the queue?

  • After "upgrade" to new firefox, bookmarks didn't transfer. Help tells how to import from another browser but not old firefox. Also my anti virus (latest update) apparently not compatible with 4.0 Can I restore my old version

    Question
    After "upgrading" to new firefox none of my bookmarks are in new bookmarks help topics tell me how to import from another browser but not from previous version of firefox. Another problem is my anti virus ( most up to date) is apparently not compatible with 4.0 liked the old firefox would never have "upgraded" had I known my anti virus wouldn't work. Can I get old version back

    Check with Kaspersky as to what versions of Firefox their programs are compatible with. It is up to Kaspersky to keep their stuff up to date as Mozilla releases new versions of Firefox. And if they are unwilling or incapable of doing it, they should inform their customers of such and maybe refund their customers instead of stringing them along.
    http://forum.kaspersky.com/

  • HT1349 When I send I iMessage it tills me it's delivered but not read, but it does on the other phone, can you advise me please, I've tried to restart phone but still the same happens

    Need help when sending I messages, I can get it to deliver but not say read, can you help

    It will only read as 'Read' if the recipient has that feature enabled on their idevice.

  • 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.

Maybe you are looking for

  • How to create a time column

    hi all i have a table to define the users i want to add a new two columns that define the time which the user can login in that time defined in the table of the user and every time the user login , it will check the login time with the time interval

  • Why can't I sync my music automatically anymore to my iPhones ?

    I've got two iPhone 4's. Something has happened in the settings so that I can no longer "automaticall" sync my music.I'll select the albums and artists I want to sync and then press sync and it never transfers my selections. I can sync my music to ou

  • How to assign a query to a web template in WAD

    Hello experts, How do I assign the web template to the actual query? I have a new template wich is a copy of 0ADHOC which I would like to use for a certain query. Is it sufficient to assign the template of interest in TC 'RSCUSTV21' (standard web tem

  • Why NetWeaver04 DB instance takes more time during 'Database Load' phase?

    Hi, I'm installing NetWeaver04 CI and DB instances on Solaris 10 machine and as a standalone installation. CI was installed fine and DB instance install takes forever and i don't know how long it will take because i started this at 17.20 and now it i

  • Shipping label using ADOBE FORM

    Hi All, I have to design the shipping label using adobe form, please see the design details and the layout. kindly help me with the step by step procedure to succeed the same with the program. 1. Design Details A output type ZLAB will be maintained f