Reserve Invoice Report

Hi All,
Can anyone tell me the query to get the list of all AP Reserve Invoices.
Regards
S

Hi,
SELECT * FROM OPCH T0 WHERE T0.[isIns] ='Y'
Here it is from B1
Thank you
bishal
Edited by: BIshal Adhikari on Nov 19, 2008 10:18 AM

Similar Messages

  • Report for AR reserve invoices

    I want to see all AR reserve invoices for a particular item. Is there a report for this in SBO or do I have to write a query?
    thanks

    Awesome, thanks.
    To check Committed quantity coming from AR reserve invocies
    AR Reserve invoices
    select oinv.docentry, oinv.docnum, oinv.canceled, oinv.isins, inv1.linenum, inv1.itemcode, inv1.linestatus, inv1.quantity, inv1.opencreqty
    from oinv
    inner join inv1 on oinv.docentry=inv1.docentry
    where itemcode = 'X' and isins = 'Y' and inv1.linestatus <> 'C'

  • Ar reserve invoices and returns on account report

    hello
    i would like to know how to go about finding out my last 10 ar reserve invoices on account (did not receive payment for) and my last 10 returns to on account as well. 
    your help is greatly appreciated.....
    thanks in advance

    Hi,
    Try this for last 10 ar reserve invoices first:
    SELECT TOP 10 T0.DocNum, T0.DocDate
    FROM dbo.OINV T0
    WHERE T0.IsINS = 'Y' AND (T0.PaidToDate < T0.DocTotal)
    Order BY T0.DocDate DESC
    Thanks,
    Gordon

  • AR Reserve Invoice - Posting date

    Hi,
    I have a customer who really would like to address the issue with the posting date on AR Reserve Invoices, because they think this field should be open for editing until the invoice has been paid.
    Is there a good reason for why the posting date field is closed after adding the document?
    And is there a possibility that this field can be opened for editing in a future version?
    Best regards,
    Lena-Marie D. Tørresvold

    Hi Lena.......
    The reason might be based on Posting Date the Payment is linked because Payment will be done as per the payment terms and payment terms ultimately linked with Document Date.
    And its preferable too as accounting is puerly done on the basis of date which is one of the most important factor from Financial Reports point of view.
    So if you think to edit the dates of docs when it si added then it is unncessary as it wont make any sense for finance reports........
    Hope you got the logic....
    Regards,
    Rahul

  • Close an A/P Reserve Invoice

    Hi,
    How can I close an A/P Reserve Invoice?
    It has been posted with 1 item perfectly correct but by mistake with 2 items with quantity of 200 and unit price of 0 (to adjust for total - instead of deleting the lines 2 and 3).
    Line 2 and 3 of this PO have been posted correctly later with a seperate A/P Reserve Invoice.
    Now, the item master data keeps showing 200 in column ordered under the tab inventory data.
    There is no close and no cancel available in A/P Invoice.
    How can I correct this mistake? If I dont, MRP will never calculate these 2 items correct.
    Thanks
    Franz

    Hi Franz,
    Do you mean draft (Reserve) A/P Invoice.
    then go to purchasing reports - document draft report and select purchsing A/P and open only option then right click on the document and select remove or close option same practise do without selecting open only option on document draft report.
    If you have saved the A/P invoice then generate the reverse document A/P credit memo.
    Regards,
    Datta Kharat

  • Bursting Invoice Report

    All,
    We have an invoice report contains all the customer invoices. We need to split them into individual documents per customer. I am using the Busting process to do this. But unable to call the busting api due to the follwoing error (not sure why this error happens). We dont have configuration file. We have Linux System.
    Java Code:
    InputStream fis = new FileInputStream(inputfilename);
    String mDir = System.getProperty("user.dir");
    String mFileSeparator = System.getProperty("file.separator");
    String tmpDir = "/uf3/oracle/crp2comn/temp";
    InputStream ctlFile = new FileInputStream(mDir+mFileSeparator+"InvoiceBatchBurst.xml");
    lfile.writeln("Burst File : "+mDir+mFileSeparator+"InvoiceBatchBurst.xml",1);
    lfile.writeln("Starting burst ...",1);
    DocumentProcessor dp = new DocumentProcessor(ctlFile,fis, tmpDir);
    lfile.writeln("Bursting initiated ... ",1);
    dp.registerListener(this);
    Log Message:
    inputfilename =/uf3/oracle/crp2comn/admin/out/crp2_sgbuklhdux00070/o941430.out
    Burst File : /uf3/oracle/crp2comn/admin/log/crp2_sgbuklhdux00070/InvoiceBatchBurst.xml
    Starting burst ...
    [050707_120234609][][EXCEPTION] java.io.FileNotFoundException: null/1.xdo (No such file or directory)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.setData(BurstingProcessorEngine.java:1117)
         at oracle.apps.xdo.batch.DocumentProcessor.<init>(DocumentProcessor.java:145)
         at oracle.apps.fnd.cp.sample.XMLPReportBurst.runProgram(XMLPReportBurst.java:227)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    Bursting initiated ...
    Listener created ...
    Properties set ...
    Config set ...
    ==============Start of Bursting Process=================
    ==============End of Bursting Process=================
    --Exception
    null
    java.lang.NullPointerException
         at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingStartElement(BurstingProcessorEngine.java:1748)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.startElement(BurstingProcessorEngine.java:1347)
         at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:167)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1182)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:227)
    Any hint will help.
    Thanks,
    Raja

    Hi Tim/Rajkumar
    I am having similar Exception. Could anyone send me the solution on this.
    XML Data snippet:
    <?xml version="1.0" ?>
    - <!-- Generated by Oracle Reports version 6.0.8.24.0
    -->
    - <XXGLJECREAT>
    - <LIST_G_SUPERVISOR_EMAIL>
    - <G_SUPERVISOR_EMAIL>
    <SUPERVISOR_EMAIL>[email protected]</SUPERVISOR_EMAIL>
    - <LIST_G_JOURNAL_NAME>
    - <G_JOURNAL_NAME>
    <JE_CREATED_BY>RAINAN</JE_CREATED_BY>
    <JE_NAME>25102 NR ADJUSTMENT - JUNE 2008</JE_NAME>
    <POSTED_DATE>19-JUN-08</POSTED_DATE>
    <DATE_CREATED>19-JUN-08</DATE_CREATED>
    <JE_CATEGORY>Adjustment</JE_CATEGORY>
    <JE_SOURCE>Manual</JE_SOURCE>
    <CREATOR_ORG>25137</CREATOR_ORG>
    <JE_OU>25102</JE_OU>
    <ACCOUNTED_CR>1956</ACCOUNTED_CR>
    <ACCOUNTED_DR>1956</ACCOUNTED_DR>
    <PERIOD_NAME>JUN-08</PERIOD_NAME>
    </G_JOURNAL_NAME>
    Bursting Control File:
    <?xml version="1.0" encoding="utf-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
    <xapi:request select="/XXGLJECREAT/LIST_G_SUPERVISOR_EMAIL/G_SUPERVISOR_EMAIL">
    <xapi:delivery>
    <xapi:email id="123" server="perch.cgc.alpha.com" port="" from="[email protected]" reply-to="">
    <xapi:message id="123" to="${SUPERVISOR_EMAIL}" cc="" attachment="true" subject="Posted Manual Journal Entries by Journal Creator for Accounting Period: ${PERIOD_NAME}">Please find attached the manual journal entries by journal creator that were posted for the accounting period: ${PERIOD_NAME}</xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output-type="pdf" delivery="123">
    <xapi:template type="rtf" location="/home/syedz/XXGLJECREAT.rtf" filter=""></xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    Bursting Java:
    // Input stream from XML data file ( Outfile of XML generating request)
    InputStream fis = new FileInputStream(inputfilename);
    InputStream ctlFile = new FileInputStream("//software//EFSDEV//cint//install//XxGlJeCreatBurst.xml");
    lfile.writeln("ctlFile =" + ctlFile,1);
    lfile.writeln("Data File =" + fis,1);
    lfile.writeln("Starting burst ...",1);
    DocumentProcessor dp = new DocumentProcessor(ctlFile,fis,"/software/EFSDEV/cint/install/tmp");
    lfile.writeln("Bursting initiated ... ",1);
    dp.registerListener(this);
    lfile.writeln("Listener created ...",1);
    Properties prop= new Properties();
    lfile.writeln("Properties set ...",1);
    prop.put("user-variable:EMAILP","[email protected]");
    dp.setConfig(prop);
    lfile.writeln("Config set ...",1);
    dp.process();
    lfile.writeln("Bursting complete",1);
    fis.close();
    fout.close();
    Bursting Concurrent Viewlog:
    XML Publisher: Version : 11.5.0 - Development
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XDOBURST module: XML Publisher Report Burster
    Current system time is 19-OCT-2008 03:42:17
    XML Report Publisher 5.0
    Request ID: 13381215
    All Parameters: ReportRequestID=13381173:DebugFlag=Y
    Report Req ID: 13381173
    Debug Flag: Y
    Updating request description
    Updated description
    Retrieving XML request information
    Node Name:PIKE
    Preparing parameters
    null output =/software/EFSD5/OAD5comn/admin/out/OAD5_pike/o13381215.out
    inputfilename =/software/EFSD5/OAD5comn/admin/out/OAD5_pike/o13381173.out
    ctlFile =java.io.FileInputStream@6e22f7
    Data File =java.io.FileInputStream@39ab89
    Starting burst ...
    [101908_034221915][][EXCEPTION] java.io.FileNotFoundException: null/1.xdo (No such file or directory)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:135)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:57)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.setData(BurstingProcessorEngine.java:1136)
         at oracle.apps.xdo.batch.DocumentProcessor.<init>(DocumentProcessor.java:145)
         at oracle.apps.xdo.oa.cp.XxGlJeCreatBurst.runProgram(XxGlJeCreatBurst.java:224)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    Bursting initiated ...
    Listener created ...
    Properties set ...
    Config set ...
    ==============Start of Bursting Process=================
    ========Start of Process Request
    Request Index +requestIndex
    [101908_034222285][][EXCEPTION] java.io.FileNotFoundException: null/1.xdo
         at oracle.apps.xdo.template.pdf.util.FormUtil.createURL(FormUtil.java:2199)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingRequest(BurstingProcessorEngine.java:2403)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingEndElement(BurstingProcessorEngine.java:1991)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.endElement(BurstingProcessorEngine.java:1383)
         at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:227)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.process(BurstingProcessorEngine.java:1206)
         at oracle.apps.xdo.batch.DocumentProcessor.process(DocumentProcessor.java:213)
         at oracle.apps.xdo.oa.cp.XxGlJeCreatBurst.runProgram(XxGlJeCreatBurst.java:234)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    [101908_034222298][][EXCEPTION] java.lang.NullPointerException
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:200)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingRequest(BurstingProcessorEngine.java:2404)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingEndElement(BurstingProcessorEngine.java:1991)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.endElement(BurstingProcessorEngine.java:1383)
         at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:227)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.process(BurstingProcessorEngine.java:1206)
         at oracle.apps.xdo.batch.DocumentProcessor.process(DocumentProcessor.java:213)
         at oracle.apps.xdo.oa.cp.XxGlJeCreatBurst.runProgram(XxGlJeCreatBurst.java:234)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    ========End of Process Request
    ==============End of Bursting Process=================
    Bursting complete
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    ------------- 1) PRINT   -------------
    Printing output file.
    Request ID : 13381215      
    Number of copies : 0      
    Printer : noprint
    Finished executing request completion options.
    Concurrent request completed successfully
    Current system time is 19-OCT-2008 03:42:22
    Edited by: Zakir Syed on Oct 20, 2008 12:57 PM

  • Updating Document Date for an AR Reserve Invoice

    A user wants to create an AR Reserve Invoice then at a later date change the Document Date (OINV.TaxDate).
    Even with Open documents, sometimes the Document Date field is greyed out and sometimes it is not, so the user cannot always change it.
    What causes the Due Date and Document Date fields to become inactive for an open AR Reserve Invoice?
    I think allocating a payment does it, but the user sometimes cannot update AR Reserve Invoices where there are no payments, i.e. the Applied Amount is blank.
    Regards,
    Douglas

    Douglas,
    What is the background that you need to change those dates?  You know, the date is sensitive to financial report.  It is better to limit this kind of activities.
    Thanks,
    Gordon

  • Error when addin an AR Reserve Invoice

    Hi all
    A client was adding an AR Reserve Invoice and got the following error:
    {SQL Native Client}{[SQL Server}Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <=, >, >= or when the subquery is used as an expression. (CINF)

    Dear Jerusha,
    It seems AR Reserve invoice is calling a query that has to be modified.
    Please report ths issue to SAP Business One Support.
    Regards
    Preety Goel
    Business One Forums Team

  • A/P Reserve Invoice Reconciliation

    Is there a query or report that would tell me what makes up the account that the A/P Reserve Invoices are coded to when they have not yet been received?
    Thanks,
    Ryan

    Try this one:
    Select Distinct T1.DocNum from dbo.opch t1 inner join dbo.pch1 t0 on t0.DocENtry = T1.DocEntry where t1.isIns = 'Y' AND isnull(T0.TrgetEntry,0) = 0
    Thanks,
    Gordon

  • A/P Reserve Invoice closes Source PO - But A/P Credit Memo does not open it

    Hi Forum,
    1. Create a PO with say a single line item
    2. Create a target A/P Reserve Invoice from above PO
    Note: The PO of step 1 is closed.
    I want the PO to again go to OPEN STATUS.
    3.I perform A/P Credit Memo from base document  (A/P Reserve Invoice) from step 2 above.
    Question: The status of PO does not become open. Is there a setting that I am missing here which would make the status of PO go to open again?
    Thank you for your help.

    Hi Syed Aleem, 
    go to Administration -> System Initialisation -> Document Settings -> Per document -> Purchase Order
    Place a tick in the checkbox 'Reopen Doc. by creating returns/Goods Returns/Credit Notes Based in It' & update.
    All the best,
    Kerstin

  • Create Goods Receipt PO from  AP Reserve Invoice (bug?)

    Via the user interface of sap2005 pl7 you can create "Goods Receipt PO" from an "AP Reserve Invoice".
    In the "base type" field of goods receipt the value "18" is displayed. This seems not to be a "valid value" and it is as a consequence not possible to read the contents of this field with the UI-API, because <i>base type</i> is a combo box and only valid values can be returned.
    Is there a workaround to get a none valid value from a combobox?

    Hi Jurgen,
    It looks like it is a bug and that the same bug exists on the sales side of the DI API. Herewith a post that you can read about it.
    /thread/48329 [original link is broken]
    Hope it helps,
    Adele

  • Open quantity in Sales Order did not update after cancelling Reserve Invoice

    Client created Credit Memo with reference to Reserve Invoice but this did not update the open quantity in Sales Order. Client is using SAP B1 8.82 PL9. I tested this in SAP 9.0 and still same behavior. Is there a work around other than creating another SO?
    I checked Document Settings and "Reopening Doc by creating credit memo based on Doc" is enabled.
    Thanks in advance.

    Thanks for the reply. How will the client be able to make new reserve invoices from the SO? They are trying to make partial reserve invoices from the sales order. I already suggested to just change the quantity in the reserve invoice before adding. But I have doubt because the SO might close prematurely before they complete the quantity in the SO because open quantity is much less then the quantity in SO.
    SO Quantity: 100
    Open Quantity: 40
    Reserve Invoice 1: 60
    Reserve Invoice 2: 40
    SO closes before they can make Reserve Invoice 2

  • Payment against Reserved Invoice

    Hi Experts,
    We are creating Reserved Invoices through the DI API.  The Reserved Invoice is received in just fine.  After the Invoice is processed through the DI API, we then process a payment for the Invoice.  We are getting an error that states "The Base Document Card does not match the Target Document Card".
    Orginally we were processing Sales Orders and then bringing in the payment.  Both were received into SAP with no errors.  We discovered that we could not link the Payment to the Order, so we changed to using Reserved Invoices.  Now we are getting the above mentioned error when processing the payments.
    Does anyone have any suggestions has to why we could be getting this error?  What would be considered the Target Document?
    here is the payment code:
    SAPbobsCOM.Payments vPays = default(SAPbobsCOM.Payments);
                        vPays = (SAPbobsCOM.Payments)vCmp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oIncomingPayments);
    SAPbobsCOM.Documents SapInvoice = default(SAPbobsCOM.Documents);
                        SapInvoice = (SAPbobsCOM.Documents)vCmp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices);
    int SapOrder = GetSapInvoiceNumber(OrderNumber);
    SapInvoice.GetByKey(SapOrder);
    vPays.Address = SapInvoice.Address;
    vPays.CardCode = SapInvoice.CardCode;
    vPays.DocDate = PayDate;
    vPays.DocType = SAPbobsCOM.BoRcptTypes.rCustomer;
    vPays.DocObjectCode = SAPbobsCOM.BoPaymentsObjectType.bopot_IncomingPayments;
    vPays.CashAccount = "23500000";
    vPays.JournalRemarks = journal;
    vPays.Invoices.DocEntry = SapInvoice.DocEntry;
    vPays.Invoices.DocLine = 0;
    vPays.Invoices.SumApplied = SapInvoice.DocTotal;
    vPays.Invoices.InvoiceType = SAPbobsCOM.BoRcptInvTypes.it_Receipt;
    lRetCode = vPays.Add();
    Thanks,
    Josh
    Edited by: Josh Mellette on Apr 28, 2009 5:09 PM

    Dear Josh Mellette,
    The invoice type should be invoice 13 but not Receipt
    vPays.Invoices.InvoiceType = SAPbobsCOM.BoRcptInvTypes.it_Invoice;
    and you need to set cash sum if you pay the invoice by cash
    vPay.CashSum = SapInvoice.DocTotal;
    and please check if the DocEntry of the invoice is correct by check OINV table.
    Best Regards
    Jane Jing
    SAP Business One Forums team

  • Reserve Summary Report Performance

    We were running the Reserve Summary Report for all the FA books till aug-03 without any problem. In Sep-03, there was a performance issue for the US BOOK and Running Gather Schema Statistics for FA resolved the problem. From OCt-03, the report has been running endlessly for the US book. Running it from the command line takes only 15 minutes for the report to complete.
    The problem did not occur for any other FA books. Anyone can think of anything? Any tip to see if there is any data issue?

    Hi;
    Please see:
    Reserve Summary and Reserve Detail Reports [ID 171792.1]
    Regard
    Helios

  • Help with sql query the status of  A/P Reserve Invoice

    Hi,
    I am trying to write a query which lists all A/P Reserve Invoice info with OPEN status.
    I check the OPCH table and cannot find the rule to tell the status.
    The "DocStatus" field has two values only: 'O' for open and 'C' for closed.
    However, the status of A/P Reserve Invoice are OPEN, CLOSED, DELIVERED, PAID, etc.
    I try to use DocStatus field to filter, but the result does not match what I see in SAP.
    Could you please give me some hints about how to get the data I need? Thank you.
    Best regards,
    Sylvia
    Edited by: csylvia on Jun 23, 2011 5:54 AM

    Hi Darius,
    Thanks for your reply.
    However, I don't know what is the relationship between Purchase order and A/P Reserve Invoice.
    Do you mean using "SELECT T0.DocEntry FROM OPCH T0, OPOR T1 WHERE T0.DocNum = T1.DocNum AND T1.DocStatus = 'O';" to query the A/P Reserve Invoice data with OPEN status?
    But the result is not what I want.
    The result of "*SELECT * FROM OPOR WHERE DocStatus = 'O';*" is also not.
    I'd like to query A/P Reserve Invoice list with OPEN status, and I try the following sql query:
    SELECT DocEntry FROM OPCH WHERE DocStatus = 'O' AND InvntSttus = 'O';
    The result is close to what I need, but it's not exactly correct.
    Moreover, I don't think the sql query conditions is accurate.
    Please give me some advice. Thank you.
    Best regards,
    Sylvia

Maybe you are looking for

  • Flash Builder Macintosh installation problem

    I'm trying to install flashbuilder4_b2_mac_100509 on my MacBook running an up to date installation of Snow Leopard.  Despite having no other applications running, I get an error message right at the beginning of the process telling me to close all br

  • Contacts don't show up in the Cloud

    I can't save my contacts in the cloud, i have the cloud turned on and when i set up a reminder on my iphone 5 it shows up in the cloud but contacts do not. They only show up if i manually add new ones to the phone. I had a blackberry prior to the iph

  • Help!  RAM problem in CS4 on iMac

    Hi all  - I need some assistance.  I have a new 16GB iMAC and am running Photoshop CS4.  I am having a problem with it telling me it can't run functions because it has run out of RAM when the activity monitor is registering total system use of 3.5GB

  • View not visible

    Hi Gurus, I have a requirement wherein i have to use component BP_DATA/IDNumberWindow in the component ICCMP_BP_DETAIL. Here are the steps I followed: 1. Add a component usage for   BP_DATA/IDNumberWindow in component ICCMP_BP_DETAIL. 2.Assigned this

  • CS4 Design Premium Suite Uninstall Error

    I work in an enterprise network environment and am responsible for making 1 click installs of software programs.  I have created an install package for Photoshop CS4 Extended using Uberinstaller.  I needed to include uninstall functions for previous