Get list of related Down Payment Invoices to Delivery note

Hi all,
    I would like some tips on how to get the "Open Amount" on any "open" deliveries in B1. the scenario here is that some sales order may have Down Payment Invoices (DPI)  associated with them. I dont seem to find any "direct links" between DPI's and Deliveries once the sales orders are converted to Delivery notes.
The only option I can think of at this time is to write a query that will link the following:
Delivery Rows BaseEntry (DLN1.BaseEntry) >> Sales order Rows DocEntry (RDR1.DocEntry) >> DPI header table (ODPI)
This scenario would break if there are lines on the delivery that originated from seprate orders.
Any help you can provide is appreciated.
Thanks

Hi,
There is no "direct links" between DPI's and Deliveries. You can link them through Sales Order.
Thanks,
Gordon

Similar Messages

  • Customer Down Payment invoice (from delivery) not automatically assigned

    If I create a Down payment invoice from Sales Order (and I paied it) on the final invoice the sistem automatically assigne the down payment invoice on the final invoice for the order.
    If I do the same think but crerating the Down payment invoice from the delivery (and I paid it) when I create the final invoice I need to assigned it manually.
    SBO 8.81 PL 06
    I haven't found any set up for this, so I think is an error the sistem must work on the same way if the document is copied from the Sales order or delivey.
    Someone know if there is some set up? or I need to open an error message to SAP?
    Thanks

    My question is:
    If I make a sales order.
    I create a down payment invoice using copy from SO.
    I make the incomuing payment for the down payment invoice.
    I create the delivery from the SO
    I create the invoice from the delivery
    The system apply automaticaly the down payment invoice to the invoice (because I select a delivery that is linked to the so that I used to create the down payment invoice).
    If I make a sales order.
    I create the delivery from the SO
    I create a down payment invoice using copy from delivey.
    I make the incomuing payment for the down payment invoice.
    I create the invoice from the delivery
    The system DO NOT apply automaticaly the down payment invoice to the invoice (even if also this document is linked to the delivery that I use to create the down payment invoice).
    I know that I can select it manually. But I can select it manually also if I use the SO to create the down payment instead of the
    delivery. Why if the situation is the same in the firs case the system do it automatil^cally and in the second case I need to do it manually?
    Of course if I create a Down Payment invoice without selecting any document (SO, delivery..) the system don't know if you want to apply the payment to the final invoice.
    But If I select the delivey to create the down payment (the same if I select the SO): I want to apply the down payment to the final invoice of this delivery and not to another delivery.

  • Down payment Invoice is not being shown in Credit Memo option

    Hello Experts,
    I want to make a credit memo against Down payment invoice, but it is not being Drawn by COPY TO option in Down Payment Invoice form and not being Drawn from COPY From option in AP Credit Memo form.
    Please help
    Thanks
    Edited by: Shazad Nazir on Nov 20, 2008 8:45 AM

    Hi,
    Let me explain the steps I am following, for the problem I am getting. I directly goto Down Payment Invoice option and made a down payment invoice and then I try to use credit memo of that recently made Down Payment Invoice.
    But same that Copy TO option is not enable.
    Thanks & Regards,
    Shazad Nazir

  • A/R Down Payment Invoice with Discount

    Hi,
    I have a design question about the "A/R Down Payment Invoice" functionality in SAP B1 (version 8.81 PL09). Consider the following example:
    I have a sales order with "total before discount" of 1000 euro.  Customer gets 10% discount on this order, so order total is 900 euro.
    I ask the customer to pay 300 euro of these 900 euro in advance (= down payment).  I create a A/R Down Payment Invoice, I copy the sales order into the invoice.  Then, I see the following on my screen: Total before discount = 1000 euro (which is correct), Down Payment = 90% = 900 euro.  This is not correct, because 90% down payment would be 810 euro.
    I go further and give 300 euro in as "down payment" and I ignore the wrong "down payment percentage".  When I create my lay-out for my "down payment invoice", it is not possible to get the discount (of 10% = 100 euro in this example) printed.  I only find the following information in the database table (ODPI): Total before discount = 1000 euro (correct), Discount percentage = 70% (NOT correct, should be 10%), Down Payment percentage = 30% (NOT correct, should be 33,33%).
    This looks like a huge mistake in the design of a "down payment invoice" in SAP B1.  How can I fetch the following data from the database:
    1) Total before discount = 1000 euro
    2) Discount 10% = -100 euro
    3) Total after discount = 900 euro
    4) Down payment = 300 euro
    I can do line 1 and 4, but cannot find a way to retrieve line 2 and 3.
    Regards,
    Pieter

    Hi Pieter,
    Where did you set the discount? Is it on document level?
    Have you tried on line level?
    Thanks,
    Gordon

  • SQL-Query - AR Invoice and related AR Down Payment Invoices

    Hello everybody,
    I want to show all AR Down Payment Invoices related to a given AR Invoice, i.e. a query approximately in this form:
    SELECT
    T0.DocNum AS 'Invoice',
    T0.DocDate AS 'Invoice Date',
    T0.DocTotal AS 'Open Amount',
    T1.<<DocNum>> AS 'Down Payment Invoice',
    T1.<<DocDate>> AS 'Down Payment Invoice Date',
    T1.<<Amount>> AS 'Down Payment Invoice Amount'
    FROM
    OINV T0 INNER JOIN <<Down Payment Invoices>> T1
    ON T0.DocEntry = T1.<<DocEntry>>
    WHERE
    T0.DocNum = xxxxx
    I want to know if such a table <<Down Payment Invoices>> exists and what its name is.
    Thanks for your help!
    Regards,
    Frank Romeni

    Thanks for the INV11 - but this table seems to be empty even for invoices we have related down payments, e.g.
    SELECT
    T0.DocNum, T0.DocTotal, T1.<<whatever you want>>
    FROM
    OINV T0 LEFT OUTER JOIN INV11 T1
    ON T0.DocEntry = T1.DocEntry
    WHERE
    T0.DocNum = xxxxx
    That INV11 is always empty I could see with SELECT * FROM INV11
    Regards
    Frank Romeni
    P.S.: I only post questions to this forum when I analysed my problems and only if I couldn't find any further information in the helpfiles. With regard to your first hint to ODPI there is no reference to INV11 in the helpfiles.
    With regard to your comments I feel impelled to to say that if my question is confusing you, then it seems that nobody has ever taught you that meaning can be taken from the context. Regarding the "street", you asked me to find something: Do not waste your time with talking precociously ...
    If you should feel annoyed by my comments, we'd better stop this conversation. Otherwise let us fall back to a strictly factual exchange of information, OK? I am not willing to discuss this any further!
    F.R.

  • Relation between Ap down payment invoice and Ap invoice

    Hi sap members
    pls help in this scenario what is the query relation for ap down payment invoice and ap invoice  solution given vilbe appreciated
    regards
    Jenny
    Edited by: Jennifer Anderson on May 3, 2010 11:02 AM

    hi Gordon
    can u write a query and send regarding this relation i need fields like
    SELECT Distinct T0.[DocNum][Invoice No ], T0.[CardName], T0.[DocTotal], T1.[DocNum][Ap Down Payment No],T1.[CardName], T1.[DocTotal]
    FROM OPCH T0 , ODPO T1
    WHERE T0.[CardName] = T1.[CardName]
    and T0.[DpmAmnt] =  T1.[DocTotal]
    GROUP BY T0.[DocNum], T0.[CardName], T0.[DocTotal], T1.[DocNum],
    T1.[CardName], T1.[DocTotal]
    in Ap invoice Query i need Ap down payment Docnum
    Regards
    Jenny

  • How to link ap down payment invoice to ap invoice which have added.

    Hi,Expert,
      I encounter this situation in detail as follow:
    1. raisethe PO add row line with respective itemcode and quatity.
    2. raisethe ap down payment invoice  copy from the po created  just now.
    3. raise the bank -> outgoing pay the cash base on this down pay invoice.
    3. raise the Ap invoice copy from PO ,however,the user do'nt link related down pay invoice.
    This result in the account is confused and wrongly pay double amount for supplier.
    How can I process to repair it  now  and avoid it in the future ?
    Thank you in advance ,appreciate any comment and help.
    Best Regards
    Eric

    Hi Eric,
    The general down payment process is as below:-
    (1) The down payment request is made in F-47
    (2) The down payment is made in F-48
    (3) Then you create the MIRO invoice
              During MIRO, the system gives up a pop-up to show whether the down payment exist for the vendor or not. This is an information message and user will continue to process MIRO.
    (4) After processing MIRO, user need to immediatly clear the down payment againest the MIRO invoice via F-54. In F-54, on selection screen invoice number is given and then from "Process open item" you can get the list of the doan payments for the vendor to choose from.
    Regards,
    Gaurav

  • Down payment Invoice and AR Invoice

    Hi,
    Can anyone please advise the details of this note for PL44 - I am unable to find reference to this note on the SAP notes page?
    Error 'Down Payment sum cannot be greater then total sum', note 1244893
    We have PL42.  We have created an AR invoice and a Down payment seperately.  Both IN and DT are appearing as positive figures in the incoming payment window - how can we reconcile these transations?  
    Thanks Lisa

    Note 1244893 - Error 'Down Payment sum cannot be greater then total sum'
    Summary
    Symptom
    In Tax Groups for output documents, you define a tax code. You
    create a sales order with this tax code. You create a partial A/R down payment request and pay it. You copy the A/R down payment request
    into the A/R down payment invoice. You open a created sales order and
    copy it into the A/R invoice, and then attach an A/R down payment invoice. You try to add the A/R invoice and get the following message:
    Down Payment sum cannot be greater then total sum [3703-3].
    The A/R invoice cannot be posted.
    Other terms
    JDT1, OINV, Financials
    Reason and Prerequisites
    Application error
    Solution
    This issue will be fixed in a future patch. See the info.txt file
    on SAP Service Marketplace to verify when the fix was included.
    Header Data
    Release Status: Released for Customer
    Released on: 15.09.2008  08:29:58
    Master Language: English
    Priority: Correction with high priority
    Category: Program error
    Primary Component: SBO-SD-INV A/R Invoice
    Secondary Components: SBO-FIN Financials
    Affected Releases
    Software
    Component Release From
    Release To
    Release And
    subsequent
    SAP-M-BO 2007 2007 A 2007 A  
    Related Notes
    1294071 - Overview Note for SAP Business One 2007 B Patch 09
    1257957 - Overview Note for SAP Business One 2007 A Patch 44

  • How to close an AR Down Payment Invoice

    SCENARIO:
    The customer added in SAP B1 an sales order, then registered an AR Down Payment Invoice for the all amount.
    After that he registered the incoming payment and at the end he registered a AR invoice linked to the previous AR Down Payment.
    The amount of the AR invoice is less than AR Down Payment one.
    The customer asks if is possible to close the AR Down Payment for the open amount creating a "payment on account" of the same amount.
    Creating an "payment on account" give the customer the possibility to show the amount on the Account Balance Details.
    Thank You in advance.
    Emanuele

    1. AR down payment invoice is closed when you raising incoming payment. So this AR down payment invoice will not appear in incoming payment selection list
    >>> Yes
    2. Further due to partial payment, only AR invoice will be in open status and this AR invoice will appear in incoming payment selection
    >>>the problem is that the AR invoice is registered with a less amount than the amount of the incoming payment
    3. If you want use Payment on account for balance amount, are you able to choose customer account at GL account field?
    >>>the AR invoice is just closed with incoming payment
    4. I don't think it is possible to post balance amount via payment on account. To get correct BP account balance, we have to post at customer account.
    >>>Yes. But if you open the report Sales --> Sales Report --> Open Report --> Incoming payment you continue to see the open amount of the Incoming payment.
    After all my idea is to register a not real AR invoice (really not exist) to link to the open amount of the Incoming payment:
    01: In the report Sales --> Sales Report --> Open Report --> Incoming payment I will not have more open amount
    02: After that I will adjust BP account balance with a post at customer account
    Thank you for your opinion ....

  • Creation of A/R Down Payment Invoice  based on Sales Order not logical

    When creating a A/R Down Payment Invoice based on a Sales Order you
    have the option to create multible ones. Which by itself could be
    usefull to create one of 50 % for a certain day and decide they need to
    pay another 25 % at a later date.
    But SBO does not track what already have been posted. Therefore you can
    create a sum more then a 100% without warning or blockage.
    Tested this in SBO 2007 A SP:00 PL:00
    Scenario:
    Sales - AR>Sales Order
    Create and post a Sales Order
    Sales - AR>A/R Down Payment Invoice
    Create an A/R Down Payment
    Select the BP and copy the Sales Order
    Set DPM to 40%
    Post the A/R Down Payment
    Sales - AR>A/R Down Payment Invoice
    Create an A/R Down Payment
    Select the BP and copy the Sales Order
    Set DPM to 100%
    Post the A/R Down Payment
    Sales - AR>A/R Down Payment Invoice
    Create an A/R Down Payment
    Select the BP and copy the Sales Order
    Set DPM to 70%
    Post the A/R Down Payment
    Making the total for the Sales Order 210% worth of Down Payment
    Invoices without warning/blocking. I would expected that you would only
    be able to set the rest sum %. For instance first scenario I entered
    60% therefore setting the second Down Payment Invoice to a max of 40%
    Untill you have used up the 100% and you cannot select the Sales Order
    in question..
    If multible users do the same work, SBO doesn't show that it has
    already been done. Same if you forgot you already created it you can
    still create one. Plus sometimes it will happenyou create the Down
    Payment Invoice and not paying attention you create the first one with
    a 100% and later with the intended percentage..

    Hello Petronella,
    you are right that B1 is not checking the total value of DP created from the Sales Order.
    The logic and checking procedure here is only between Sales Order -> Delivery/Invoice.
    DP Invoice is considered as transaction related to document the receipt of the money (parallel to the sales process). Between the moment of basing of DP to Sales Order it is still possibility to adjust Sales Order as there is no posting behind Sales Order.
    The question is what would be a checking  procedure in case that on Sales Order there is based Delivery and DP? What would be the system priority to take into a consideration?
    Regards,
    Martin Slavik
    Regional Solution Manager

  • A/R Down Payment Invoice and A/R Invoice

    Dear Experts,
    I have thousands of A/R Down Payment Invoices (Not Yet Fully Applied) that were suppose to be applied to the correct A/R Invoice through an integration that didn't work.  Is there an easy way or any way to apply the down payments to the correct invoice now in batch.  There are so many now that trying to use the Total Down Payment Button "..." crash the system.

    Dear Gordon,
    We get about 400 to 500 A/R Invoices a day.  And right now we have 13,000 down payments we need to match.  Oh by the way we are on SAP B1 8.8 Patch 15

  • How to block a delivery when an A/R Down Payment Invoice is not paid?

    1. Create and add a Sales Order
    2. Create and add an A/R Down Payment Invoice based on the created Sales Order (set DPM % to 50)
    3. Create and add a Delivery based on the created Sales Order
    The delivery is not blocked.
    Is there an easy workaround/alternative to ensure goods are stopped from being delivered when a customer hasn't paid a certain amount upfront?

    Hi Suda,
    Unfortunately my usage of the sql queries is a bit rusty and am not sure if I am doing this correctly.
    Next to that I don't exactly see how it should work (hence my comment being rusty - haven't used this very often). I see that it checks the AR Down Payment Invoice document and lines, but how it checks to which sales order it is connected to stop the delivery.. Plus I always want it to stop any delivery when an AR Down Payment for any percentage hasn't paid in full untill it has been paid/approved by someone to be delivered. If no AR Down Payment has been done, there is no issue.
    Anyway I have copied your query to the Query Generator and saved it.
    I created an approval procedure based on delivery documents and based it on the saved query.
    Added a sales order and created a Down Payment Invoice based on the sales order with 40% that has to be paid upfront. Created a delivery based on the sales order and added the document. I only gotten an internal error (it went so quickly I can't see the actual whole message because I get the created message straight after), but it created the delivery anyway.. (same as you described maybe?)
    I'm missing something obviously, let me know what to do.
    Regards,
    Petronella

  • Close Open Amount on A/P Down Payment Invoice

    Hi,
    I have the following scenario:
    I have created an A/P down payment invoice for 1000$
    Create an Outgoing Payment for this A/P Down Payment Invoice for 1000$
    This payment is closing the A/P Down Payment invoice
    Create an A/P Invoice for 800$ - apply this amount from the A/P Down Payment invoice (updating Amount to draw to 800$). The A/P invoice will close.
    The issue is how to get the money back from the supplier closing also the open amount of 200$ from the AP Down Payment Invoice.
    I have tried to apply an A/P credit memo to the A/P Down Payment Invoice but the system does not display the open amount from Down Payment invoice.
    Another way I have tried to create a manual A/P Credit Memo to BP and manually closing the open amount on A/P Down Payment Invoice but the system would not allowed me to cancel or remove the open amount on the Down payment.
    Do you have any other ideas?
    I am working with SAP B1 2007 PL42.
    Thank you,
    Alex

    Hi Alex
    please create a message for SAP Business One Support with high priority and all the details.
    regards
    Rui Pereira
    SAP Business One Forums Team

  • AR Down Payment Invoice Does Not Reflect in BP Master Data...

    We have placed a sales order for a BP. 
    We select payment means and accept the payment
      In the background a AP Down Payment Invoice is created
    When we view the BP master data - the account ballance window does NOT reflect this "down payment"
    If we select the golden arrow at account ballance, uncheck "reconciled transactions" you can see the payment and AP down payment and they clear each other out.
    The problem is that when the final invoice is created it is not obvious that a down payment has been received.  Even if you are simply working at the BP master data window, it is not obvious that a down payment has been received. I belive our process is correct because If you click the TDP box, the payment is listed and will be applied to the final invoice.
    It simply does not alert the user that a payment had been received. 
    What are we doing wrong?????\
    Thank you!
    Edited by: Andrew Bleier on Feb 4, 2009 1:27 AM

    Keith Taylor
    You are right this feature is only available in Version 2007A.  There account posting happen purely due to the pay SAP has been designed and the configuration of GL Accounts.
    To make fundametal change to the core product is very difficult if you explain me your business process exactly as you do, I could think of alternatives.
    Please let know.
    Suda

  • Purchase register query based on down payment invoice

    Hai All,
    I am creating an invoice based on purchase order.The vat  tax is being calculated in the downpayment. I want the vat to be displayed in the downpayment invoice as well as the a/p invoice but i m not getting it in the a/p invoice. Pls guide me with the linking of tables to get the query working. I have formatted the fields req but could not link the tables...Pls guide me with that...
    Thanks & Regards,
    Neela

    Hi Neela,
    Check the thread.
    Re: Purchase register query based on down payment invoice
    FROM PCH1 T0
    INNER JOIN OPCH T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OSLP T2 ON T0.SlpCode = T2.SlpCode
    LEFT OUTER JOIN PCH12 T3 ON T1.DocEntry = T3.DocEntry
    LEFT JOIN ODPI T4 ON T1.CardCode = T4.CardCode
    INNER JOIN DPO1 T5 ON T0.ItemCode = T5.ItemCode
    Close the thread, if issue solved.
    Regards,
    Madhan.

Maybe you are looking for