Link between OINV / INV1 and ORCT / RCT2 or OJDT / JDT1

Dear All,
I would like to create a report outside SAP for Invoice and its payments.
We are receiving full payment or part payment against single invoice.
I want to create the report showing against single invoice how much payment received and when.
like... Customer, Invoice no, Invoice Dt, total Invoice amt
                                  -> Payment 1, Pymt Rec Dt, Amt
                                  -> Payment 2, Pymt Rec Dt, Amt
                                  -> Payment 3, Pymt Rec Dt, Amt
it is possible ? if yes, how do i link the OINV / INV1 with ORCT / RCT2 or OJDT / JDT1 tables.
Please guide..
Best Regards,
Chintesh Soni

Chintesh,
OINV and INV1 are linked by DocEntry (I think you might know this)
OINV.DocEntry = INV1.DocEntry
OINV.DocEntry = RCT2.DocEntry
ORCT.DocNum = RCT2.DocNum
I am pasting the relationship as in a SQL Construct
[dbo\].[RCT2\] T0  INNER  JOIN [dbo\].[ORCT\] T1  ON  T1.DocNum = T0.DocNum
INNER  JOIN [dbo\].[OINV\] T2  ON  T2.DocEntry = T0.DocEntry
INNER  JOIN [dbo\].[OJDT\] T3  ON  T3.BaseRef = T2.DocEntry
INNER  JOIN [dbo\].[JDT1\] T4 ON T4.TransID = T3.TransID
Suda

Similar Messages

  • Link between OINV,INV1 and OIBT,IBT1

    i want link between OINV,INV1 and OIBT,IBT1 table so plz help me,
    in which way i connect two table inv1 and oibt

    Hi Vinu.........
    Welcome to SAP Business One Forum............
    Please check the link between these tables........
    SELECT Distinct T1.BatchNum
    FROM IBT1 T0
    Inner Join OIBT T1 On T0.BatchNum=T1.BatchNum AND T1.ItemCode=T0.ItemCode
    INNER JOIN DLN1 T2 ON T2.DocEntry=T0.BaseEntry AND T2.ItemCode=T0.ItemCode
    inner join ODLN T3 on T2.DocEntry = T3.DocEntry LEFT JOIN INV1 T4 On T4.BaseEntry=T2.DocEntry Left Outer Join OINV T5 On T5.DocEntry=T4.DocEntry
    WHERE T0.BaseType = 15
    Hope this will help you........
    Regards,
    Rahul

  • Link Between OINV Table And OBTN Table

    I want to create relationship b/w A/R Invoice and Batch Number transaction Reports table.
    sap point out two tables of Batch Number Transaction Report RBTN and OBTN,Problem is that i never found any  table with name of RBTN.
    plz tell me what is RBTN table???why its not in sql database  and how i can create link b/w A/R invoice and Issue for production  .

    Hi Vinu.........
    Welcome to SAP Business One Forum............
    Please check the link between these tables........
    SELECT Distinct T1.BatchNum
    FROM IBT1 T0
    Inner Join OIBT T1 On T0.BatchNum=T1.BatchNum AND T1.ItemCode=T0.ItemCode
    INNER JOIN DLN1 T2 ON T2.DocEntry=T0.BaseEntry AND T2.ItemCode=T0.ItemCode
    inner join ODLN T3 on T2.DocEntry = T3.DocEntry LEFT JOIN INV1 T4 On T4.BaseEntry=T2.DocEntry Left Outer Join OINV T5 On T5.DocEntry=T4.DocEntry
    WHERE T0.BaseType = 15
    Hope this will help you........
    Regards,
    Rahul

  • Where is the link between Sales Invoice and Downpayment Invoices

    We made a downpayment invoice. And processed incoming payment for such invoice.
    Then proceed to Sales Invoice, which was applied to the Downpayment invoice. Everyting went well.
    We tried to use crystal report to extract the Sales Invoice (OINV, INV1) and link to the downpayment table (ODPI) to print the breakdown in the invoice form. We could not find the relationship in this table.
    Can someone help ?
    KC

    Could it be helpful for you to use view in enterprise manager ? I just see the docentry field as the link field among OINV, INV1 and OPDI.
    If you use down payment request, I think you could not since it is a note and must be reconciled after invoice created
    Rgds,

  • How can i create link between ipad(xcode) and webserver?

    Hi, I'm a new to iPad development and i need help,
    i'm not good with english but i try to explain my question:
    how can i create link between ipad(xcode) and webserver?
    (the webserver ".NET" with driver odbc is connected with DB Oracle)
    so, how can my ipad application access to the Oracle DB?
    Create a webservice (.NET) to be place between iPad and DB, is this correct?
    how can i do it?
    which are libraries to include in the xcode's framework?
    thx

    I think the following URL will be your best answer:
    http://stackoverflow.com/questions/3510468/connecting-iphone-to-an-odbc-database

  • Link between Schedule lines and delivery quantity

    Hi all,
    At the item level in a sales order, can anyone tell me the link between schedule line data and delivered quantity.
    Schedule line data can be found in VBEP and delivery qty can be found in LIPS. But I want the link between the two. For which partcular date in the schedule line item the delivery qty is displayed.
    Thanks in advance.

    Hi Amol and Rahul,
    Actually I dont want the link between sale order and delivery, I want the link between schedule line dates and delivery qty.
    Hope I am clear.
    Thanks in advance.
    Edited by: Rajini R M on Sep 11, 2008 6:12 AM

  • Is there any link between movement types and documents

    hi
    is there any link between sales doc and movement types ?
    is it the only source dependig on schedule line movement type will determined?
    if with out order we are doing delivery how system will determine movement type
    Thanks in advance

    Hi,
    Deliveries that are created without reference to order , contained movement type because to process a delivery you need to have some of the control criteria that are copied from sales document header to delivery document header, as system processes delivery in that way ,that is why you will find default order type is assigned to the delivery document type ie DL. .which helps the delivery document to process without reference to sales document.
    In Addition to above information,
    In VOV4,
    DL+ NORM +   +    -DLN
    In VOV5,
    For Itemcatagory DLN+        --CN
    From this schedule line category CN,movement type 601 is taken during without reference to order –delivery creation.
    MCM

  • Link Between Service Notification and Sales Order

    Hi All,
    In our business process, we will create sales order from Service Notification and we can see the same in the Document flow. But when i check in the VBFA table, there are no entries. I would like to know how the document flow is updated without updating the VBFA Table or is there any other table gets updated for this flow.
    Please guide me.
    With Regards
    Vinu.N

    Hello Vinu
    For one Sales Order # figures in Notification header table- VIQMEL-VBELN.
    Similarly Notification # figures in Sales Order Header table- VBAK-QMNUM
    That is a solid link right there.
    I Also guess technical objects like Equipment, Serial number also form link between the Sales and Service Documents.
    Also check out the logic in document flow program RIBELF20, may be it will give you the clues to the problem.
    Hope this helps.

  • Link between process order and sales order for planning strategy 52

    Hello,
    I investigate the possibility of a link between "sales order" and "planned order / process order" for the usage of planning strategy 52 (planning w/o final assembly, make to stock).
    I know, this is not conform to the basics of planning strategies (EITHER make to order OR make to stock) and I suspect it would be a modification. Of course we have the alternative "make to order" - strategy 50, but we do not want to use individual customer stocks.
    Is anybody there with similar customer requirements or project experiences?
    Thanks in advance,
    Joerg
    Message was edited by:
            Jörg Demtschuk

    Hi Jorg,
    To my understanding if you need hard pegging then in SAP only Individual requirement is possible.
    Or else you need to create a custom transactions/table to identify Sale order and when ever a process order is created by selecting the sale order record, the process order detials should also get updated against that.
    You need to take the help of ABAP expert for this,
    Regards,
    Prasobh
    Reward points if this was useful

  • Link between Credit Memo and Dispute Case

    Hi,
    Please help me. How to Link between Credit Memo and Dispute Case
    Thaks,
    Vinod.

    Linking a credit note has nothing to do with EHP4 or 5. You have to do a config sertting:
    Dispute Management-Process Integration with Accounts Receivable Accounting-Assignment of Open Credits and Payments-Activate Assignment of Open Credits and Payments
    And make sure the business adapts the correct process:  When you reverse a charge on a debit invoice you have to make sure the credit is properly linked to the debit note.
    If this is the case then the credit will show up in the dispute case.
    Rgds,
    Richard

  • Link between Purchase order and Attachment list

    Hi All,
    I got a requirement like Purchase orders are from moved from one system to another system.There was a bug in BDC program
    so some Attachment list of the purchase orders are not moved properly to the another system.
                                                   Now my client want a report to generate the Purchase orders which is having attachment list.
    I did not find any table link between Purcahase order and Attachment list.
                                                  So Plz provide me the link between purchase order and attachment list.
    Thanks,
    Ram

    You mean service for object services?
    if yes then u have to create one custom report for Generic Object Services   ( like notes , attachment  , url )

  • Link between EKKO, EKPO and KONP

    Hi,
    can someone help me out to trace the link between EKKO, EKPO and KONP tables?
    regards,
    ravi.

    Hi Ravi
      KONP is conditions table.
      If we need the conditions(prices) of a purchase order, we can get it from EKKO, EKPO & KONV.
      1. Extract KNUMV from EKKO.
      2. Using EKKO-KNUMV - Extract conditions from KONV where KONV-KNUMV = EKKO-KNUMV.
      3. We can find item prices where KONV-KPOSN = EKPO-EBELP.
      Hope this helps you.
    Kind Regards
    Eswar

  • DB link between Oracle 9i and MS SQL server2000

    Hi,
    Is it possible to create a DB link between Oracle 9i and MS SQL server 2000.
    If it is possible what are the different ways of creating it.
    Is it possible without purchasing any propietery drivers.
    Thanks,
    Rohit

    I've never seen any documents stating that the enterprise edition is a requirement for the heterogeneous connectivity ....
    There are 2 ways to set up the connection with MS SQL - using generic connectivity driver (OLE DB or ODBC) or using the Oracle Transparent Gateway.
    The generic connectivity is free and comes with Oracle DB - it has several limitations - for example you can't call MS SQL stored procedures from Oracle.
    The Oracle Transparent Gateways are packaged , the MS SQL gateway is part of the Open System Gateways package ($15,000.00 per CPU license cost) and i has less restrictions.
    Overview:
    http://www.oracle.com/technology/products/oracle9i/datasheets/gateways/gateway_rel2_ds.html
    http://www.lc.leidenuniv.nl/awcourse/oracle/server.920/a96544/toc.htm
    Chapter 4 - the Oracle Transparent Gateway
    Chapter 7 - the free Generic connectivity.
    Mike

  • Table link between contract document and billing document

    Hi,
    Please let me know the table link between contract data and its billing plan nnumber.
    Regards,
    bhaarathi.

    VBKD is the Table name
    if Ordertype "G"  <--- that means It is a contract
    From VBAK and VBAP you can get the Contract Details for the Order Type "G"
    Go to Table VBKD, with the contract and get the billing plan .
    FPLNR <--- is the Billing plan
    Here you get the relation Between Contract and Billing Plan

  • Link between outbound delivery and matriel documents of good receip

    HI,
    in which table we can find the link between outbound delivery and matriel documents of good receipt.
    thanks

    Hi!,
    If you have posted a goods receipt for an outbound delivery, you should find in the header table MKPF for the material document the field MKPF-XBLNR completed with the outbound delivery number.
    Then, if the document flow for the delivery has been updated correctly, in the table VBFA for the delivery (VBFA-VBELV), you should find the material document under VBFA-VBELN.
    I hope this helps you!
    Best regards,
    Esther.

Maybe you are looking for

  • After 8.1, Shuffle won't play items in Artist order

    I used to randomly fill my Shuffle from my playlist and then play the songs in order by artist name. Since upgrading to 8.1, I am no longer able to do this. I've restored my Shuffle, clicked on the Artist column to toggle it a few times. In short, I'

  • Recover Individual Mailbox

    When the recovery of individual mailbox when doing recovery in recovery mailbox database size recovery base starts to grow uncontrollably and threatens to spend all my disk space, though mailbox size is not large. (Disk space 2TB, DPM 2012 R2 - Micro

  • How to set TextFormat to an InputTextfield in AS3.0?

    Hi all, I am trying to set the new TextFormat Object to an dynamically created Input TextField, using setTextFormat() methoad. But its not working.My code is here, can any one tell me the mistake which I made in this. var tft:TextFormat=new TextForma

  • What about support patches?

    hi,        anyone please send me good information about basis support patches ECC 5.0. and also send what are the use full support patches in Basis administration. regards, [email protected]

  • Is there a way to make secure zone content unique for user?

    Hi, we have a client who wants to have a secure zone on their site which will allow them to upload images and notify the user, so that when they login they will see their particular images (in a gallery with lightbox etc) but other secure zone users