How do you report Net Balance of A/R Down Payment Invoice?

We have recently installed SAP B1 Version 8.8 at a new client site.  The client wants to accept A/R down payments from customers, issue invoices and draw the amount of the invoice from the down payment.  I can see the net amount in an open items list report called A/R Down Payments - Not Yet Fully Applied.  I need to report that net amount on each invoice that draws from the down payment.  I would like to create a Crystal Report or update the existing PLD Invoice to show the amount.  Do you know the link between an A/R invoice and the drawn A/R down payment invoice?

Hi,
Try this query it also show the corresponding outgoing payment information.
SELECT
  T0.DocNum,
  T0.DocDueDate,
  T0.CardName,
  T1.Dscription,
  T0.DocTotal,
  T2.BaseAbs,
  T2.DrawnSum + T3.DiscSum AS DrawnSum,
  T3.DocDate,
  T3.DocEntry,
  T6.DocNum as DocCheck,
  T5.DocDueDate as DateCheck,
  T6.CheckNum
FROM
  dbo.ODPI T0
  INNER JOIN dbo.DPI1 T1 ON (T0.DocEntry = T1.DocEntry)
  LEFT OUTER JOIN dbo.INV9 T2 ON (T1.DocEntry = T2.BaseAbs)
  LEFT OUTER JOIN dbo.OINV T3 ON (T2.DocEntry = T3.DocEntry)
  LEFT OUTER JOIN dbo.INV1 T4 ON (T3.DocEntry = T4.DocEntry)
  LEFT OUTER JOIN dbo.OVPM T5 ON (T3.ReceiptNum = T5.DocNum)
  LEFT OUTER JOIN dbo.VPM1 T6 ON (T5.DocNum = T6.DocNum)
WHERE
  T0.CardName = [%0] AND
  T0.DocDueDate BETWEEN [%1] AND [%2] AND
(T4.TargetType = -1 OR T4.TargetType IS NULL)  AND T1.TargetType <> 19
GROUP BY
  T0.DocNum,
  T0.DocDueDate,
  T0.CardName,
  T1.Dscription,
  T0.DocTotal,
  T2.BaseAbs,
  T2.DrawnSum,
  T3.DocDate,
  T3.DocEntry,
  T6.DocNum,
  T5.DocDueDate,
  T6.CheckNum,
  T3.DiscSum
  ORDER BY
   T0.DocNum,
   T3.DocEntry
This for A/R Downpayment Monitoring.
regards,
Clint

Similar Messages

  • 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

  • How can we reject a Sales order after first Down payment invoice for Italy?

    Hello,
    As a legal requirement in Italy the Down paymenty have to be transformed into real invoices, another legal requirement is that an invoice cannot be cancelled it has to reversed by a credit memo.
    I would like to know in this context how we can reject a sales order line once a Down payment invoice has been emitted.
    When I do enter a reason for rejection in the sales order line I receive the message : V1036: Subsequent documenst exist for item XXX and then V2432 Cancellation not possible. Down payment request already created.
    I can create a down payment credit memo in order to cancel the down payment invoice but how can I get rid of my SD requirement in MD04 if I cannot reject the sales order line?

    Hello,
    have you tried using a recjection code which is not relevant for billing?
    Regards,
    Uli

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

  • How to cancel an AR Down Payment Invoice

    Hello,
    I could not find any documentation on this, but it may happen that an AR Down Payment Invoice has been created twice on the same Sales Order.
    What should you do to ensure you disable/correct/cancel/delete an AR Down Payment Invoice from SBO?
    Regards,
    Petronella
    Edited by: Marc Riar on Feb 14, 2008 9:39 AM

    Hello Suda,
    Unfortunately I am not known with the SBO_SP_TRansactionNotification Stored Procedure.
    I have done the procedure below, but no result (no block/error message) like described..
    I did the following within SQL Server 2005. Selected folder 'Databases' and then the database for which the block is needed.
    Selected folder 'Programmability'
    Selected folder 'Stored Procedures'
    Selected
    Right mouse click on dbo.SBO_SP_TransactionNotificiation
    Selected option: Script Stored Procedure As>Alter To>New Query Editor Window
    Then copied the query mentioned in the other tread in below:
    --     ADD     YOUR     CODE     HERE
    Like below:
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER proc [dbo].[SBO_SP_TransactionNotification]
    @object_type nvarchar(20),                     -- SBO Object Type
    @transaction_type nchar(1),               -- [A]dd, <u>pdate, [D]elete, [C]ancel, C[L]ose
    @num_of_cols_in_key int,
    @list_of_key_cols_tab_del nvarchar(255),
    @list_of_cols_val_tab_del nvarchar(255)
    AS
    begin
    -- Return values
    declare @error  int                    -- Result (0 for no error)
    declare @error_message nvarchar (200)           -- Error string to be displayed
    select @error = 0
    select @error_message = N'Ok'
    IF @transaction_type = 'A' AND @Object_type = '203'
    BEGIN
    IF EXISTS (SELECT T2.DOCNUM, T2.DOCTOTAL, SUM(T1.DOCTOTAL) FROM
    dbo.DPI1 T0 INNER JOIN dbo.ODPI T1 ON T1.DocEntry = T0.DocEntry
    INNER JOIN dbo.ORDR T2 ON T2.DOCENTRY = T0.BASEENTRY
    WHERE T0.BaseEntry = @list_of_cols_val_tab_del
    GROUP BY T2.DOCNUM, T2.DOCTOTAL
    HAVING T2.DOCTOTAL < SUM(T1.DOCTOTAL))
    BEGIN
    SELECT @Error = 1, @error_message = 'DOWN PAYMENT AMOUNT GREATER THAN ORDER TOTAL'
    END
    END
    -- Select the return values
    select @error, @error_message
    end
    GO
    SET ANSI_NULLS OFF
    GO
    SET QUOTED_IDENTIFIER OFF
    GO

  • How do you modify the web.xml to lock down the pages from a user role

    how do you modify the web.xml to lock down the pages from a user role

    I'll make a stab at your question:
    The following is an example of where a URL is protected within a web.xml deployment descriptor. In this example, the URL /protectedA within the application is protected:
    <!-- security constraints -->
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>protectedA</web-resource-name>
    <url-pattern>/protectedA</url-pattern>
    </web-resource-collection>
    <!-- authorization -->
    <auth-constraint>
    <role-name>sr_developer</role-name>
    </auth-constraint>
    </security-constraint>
    Sun's explaination here:
    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Security4.html

  • AP Down Payment Invoice not yet Draw Report

    Hi All,
    I'm trying to make a query of the AP Down Payment Invoice not Yet draw Report.  Can any one tell me which table I should refer when I need to make a query? I checked the ODPO tables that's no field indicate that the Downpayment not yet draw.  I also tried the ODPI table when I use that to draw the downpayment invoice to AP invoice.  When I query that table it return me 0 line. 
    Please advice.
    Looking forward advice and reply.
    Thank you.
    Regards,
    Foong Yee

    AP Down Payment Clearing Account has debit balance if it is not drawn to AP invoice.
    Use General Ledger Report,Select AP Down Payment Clearing Account,Select this G/L account,
    Select reqd. posting dates,Click Ok.
    Now you can see AP Down Payment Invoice not yet Draw Report.

  • 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

  • How to rectify the  payable account not definderror in down payment request

    how to rectify the  payable account not definderror in down payment request

    If you talking about Down Payment Account not defined message then you will need to go to the Business Partner Master > Accounting tab and define the downpayment G/L account

  • How to create A/R Down payment Invoice

    Hi;
    I am trying to create A/R Down Payment Invoice through DI API by using the below mentioned object but the system is giving me the following error "Invalid Value. {DPI1.ExLineNo} {Line No. 1}".
      SAPbobsCOM.Documents oDoc SAPbobsCOM.Documents)x.CompanyObject.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDownPayments);
                oDoc.Lines.SetCurrentLine(0);
                oDoc.CardCode = "C0001";
                oDoc.Lines.ItemCode = "Test";
                oDoc.Lines.Quantity = 2;
                oDoc.Lines.UnitPrice = 10;
                oDoc.Lines.ActualDeliveryDate = DateTime.Now.Date;
                oDoc.Lines.BaseType = 17;
                oDoc.Lines.BaseLine = 1;
                oDoc.Lines.BaseEntry = 1;
                oDoc.Lines.ExLineNo
                int oRetVal = oDoc.Add();
                if (oRetVal != 0)
                    MessageBox.Show(x.CompanyObject.GetLastErrorDescription());
    Please suggest me how I can create AR Down Payment Invoice along with Incoming Payment and then wanted to link AR down payment invoice with AR invoice.
    Regards;
    Deepak

    Hi
    Try this code
    Try
    'Create DownPayment Invoice Object
            oDPM = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDownPayments)
            'Set Down Payment Header Values
            oDPM.CardCode = "Some Card code"
            oDPM.DocDueDate = "Suitable Date"
            oDPM.DownPaymentPercentage =" Numeric value (Double)"
            oDPM.DownPaymentType = SAPbobsCOM.DownPaymentTypeEnum.dptInvoice
            'Set Down Payment Line Values
            oDPM.Lines.ItemCode =" Some Item Code"
            oDPM.Lines.Quantity =" Quantity"
            oDPM.Lines.Price =" Item Price"
            lRetCode = oDPM.Add ' Try to add the invoice to the database
            If lRetCode <> 0 Then
                 oCompany.GetLastError(lErrCode, sErrMsg)
                 MsgBox(lErrCode & " " & sErrMsg) ' Display error message
            Else
                 MsgBox("Down Paymeny Invoice Added to DataBase", MsgBoxStyle.Information, "Invoice Added")
            End If
        Catch ex As Exception
            MsgBox(ex.Message)
        End Try
    Regards
    Arun

  • HT1391 how do you report an ipod touch stolen with serial number.

    I have the serial number of my ipod touch.  How do I report it stolen to apple?

    You don't. Report it to the police, and your insurer if it would be covered.
    tt2

  • HT201304 How do you report apps that are incorrectly rated?

    There is an app called 'Guides for Pokémon X and Y - Videos, Walkthroughs and More!' available on the iOS app store. It is rated 4+ but has adult language (f**k). I tried contacting the vendor but never heard back.

    rjackson32 wrote:
    How do you remove GB from Documents and Data in itunes?
    Do you mean from your iPhone?
    Documents & Data are not taking up any space in iTunes.Delete some apps.
    Select the iPhone in iTunes and remove the apps.
    Or on the iPhone, Settings > General > Usage.
    THis will show how mach space each app and its data is using. You can delete them here.

  • How do you turn Magic Trackpad off when shutting down?

    Hi folks--
    I just got a Magic Trackpad and I am learning to use it on a Mac Mini 2.0 Mid 2007, My question is; how does one turn it off, as I shut down my computer every night. I have seen that I could turn "off" Bluetooth before shutting down. I have tried the on/off switch on the Trackpad, but it seems to always stay On. Does it matter? I am concerned about battery life.

    On the right side of your track pad is the switch. When you press and release the switch it will turn on, to turn off, press and hold the button until the green light goes out then release.
    If you use rechargeable batteries you can just let the track pad go into sleep mode which is what I do. With Alkaline I would turn it off and make sure to take them out if you don't plan to use the track pad for an extended period. Alkaline batteries are prone to leaking once fully discharged.   

  • Using a iPad.  How do you delete unwanted address from the drop down list.  I typed in a wrong address once, and now it keeps showing up.

    Using a iPad.  How do you delete unwanted address from the mail drop down list.  I typed in a wrong address once, and now it keeps showing up.

    Winfax1-
    Look in your Contacts App and see if the unwanted address is entered there.  If it is, you can delete it there.
    Fred

  • Vendorpayment: netting of closing invce with down payment no customer scena

    Hello,
    I am doing the following.
    create down payment F-48:
    D 29 A vendor 100 EUR
    C 50 bank account 100 EUR
    create vendor invoice FB60:
    D 40 cost account 250 EUR
    C 31 vendor 250 EUR
    clear down payment F-54
    D 26 vendor 100 EUR
    C 39 A vendor 100 EUR
    If I do a payment run I see an incoming payment and an outgoing payment. for both a separate payment method is required (1 for outgoing, 1 for incoming).
    I would like that instead of having an incoming payment and an outgoing payment, I would like to have only an outgoing payment (for which I only need 1 payment method).
    How to accomplish this?
    Regards
    Arjan

    Hello
    If I click on the item for down payment and allocate to different payment method, the system says: "please choose payment method for incoming payment". So I can not use the same payment method for the vendor invoice and the for the down payment made?! When I have to use 2 payment methods there is no netting of outgoing with incoming payment!
    Arjan

Maybe you are looking for