Invoice details in Incoming/Outgoing Payment PLD

I used the following Query and it's QPLD but I'm getting the output of
the both the Present Year and Last Financial Year details.
Below query is for Outgoing QPLD
SELECT T0.DocNum [Payment#],
T0.DocDate [Payment Date], T0.CardCode,
T0.CardName, T1.InvoiceId, T2.DocNum [AP Inv#],
T2.NumatCard [Bill No.], T2.DocDate [Bill Date],
T1.selfInv, T1.SumApplied, T1.WtAppld, T0.NoDocsum 
FROM  [dbo].[OVPM] T0  INNER  JOIN [dbo].[VPM2] T1 
ON  T1.[DocNum] = T0.DocNum INNER  JOIN
[dbo].[OPCH] T2  ON  T2.[DocEntry] = T1.DocEntry
WHERE T0.Cardname='[%0]' and
T0.DocDate='[%1]' and T0.DocNum='[%2]'
Waiting for the replies...
Regards,
Balakumar

The link in your query is not corrected.  Try this one:
SELECT T0.DocNum [Payment#], T0.DocDate [Payment Date], T0.CardCode, T0.CardName,
T1.InvoiceId, T2.DocNum [AP Inv#], T2.NumatCard [Bill No.], T2.DocDate [Bill Date],
T1.selfInv, T1.SumApplied, T1.WtAppld, T0.NoDocsum 
FROM  [dbo].[OVPM] T0
INNER  JOIN [dbo].[VPM2] T1  ON  T1.[DocNum] = T0.DocEntry
INNER  JOIN [dbo].[OPCH] T2  ON  T2.[DocEntry] = T1.DocEntry
WHERE T0.Cardname='[%0]' and T0.DocDate='[%1]' and T0.DocNum='[%2]'
Thanks,
Gordon

Similar Messages

  • Reg: Outgoing Payment PLD

    Hi All,
    In Outgoing Payment we have an option Customer / Vendor Reference Number, once i enable it displays the Vendor Reference Nos entered in A/P Invoice for the selected Supplier
    My requirement is to design the  Customer / Vendor Reference Number in PLD.
    Can any one suggest me to configure the same.
    Currently we are using 2005B PL - 35.
    Regards
    Shanker

    Hi Shanker,
    In SAP B1 Behaviour, It is not possible in Row Level on Outgoing Payments PLD.
    Normally it is not able to retrieve in Repetetive Area on Outgoing Payments PLD.
    Customer/Vendor Reference No. is HardCoded in Outgoing Payments.
    but Other Invoice Payments Details are stored in Table -> VPM2 - Outgoing Payments - Invoice.
    But, Customer/Vendor Reference No. is have Default in System PLD. See the Outgoing Payments(System) PLD.
    ->> Open the Outgoing Payments(System) PLD.
    ->> Documents Payment (Variable)Field in End of Report On System PLD.
    Documents Paid Variable - 130.
    ->> Documents Payament Field will display the Customer/Vendor Reference No. and A/R Invoice No., Date and Total Amount (or) Journal Entry No., Date and Total Amount .
    Otherwise, if you need the Customer/Vendor Reference No. in Repetetive Area. Try to Query PLD.
    Regards,
    Madhan.

  • Error Outgoing Payment PLD printing

    Hi All,
    Please help us with PLD.
    We encounter error when there are more than one invoice selected in the outgoing payment.
    We need to put in the repetitive area all the paid invoice selected in the outgoing payment
    Header data
    Payee
    Bank name, branch and account no
    Check no
    Repetitive Area
    AP Invoice no
    AP Invoice remarks
    AP invoice Applied amount or paid amount ( Local Currency)
    AP invoice Applied amount or paid amount ( Foreign  Currency)
    AP Invoice Customer Reference
    Regards,
    Amy

    hi,
    Create a customized query & create a report using query print layout designer.
    It will solve problem.
    Jeyakanthan

  • Payment on Account in Incoming/Outgoing Payments

    Please tell me what is the purpose of Payment on Account in Incoming/Outgoing Payments forms and also in what all combinations I can use this feature.

    Hello,
    Basically it is used to accept the payment not based on certain invoice (open invoices) if you tick the field (tick box field). You must manually reconcile the payment to the invoices using automatic internal reconciliation or link invoice to payment feature that is available in banking module --> bank statements and reconciliations --> link invoices to payment. If you use the reconciliation option, you will also must create balancing journal before reconcile the transaction (i.e. open transaction in debit and credit side reconciliation balancing journal).
    let me know if you need further explanation.
    Rgds,

  • Bank Name Within Outgoing Payment PLD

    Dear All,
             My Client is working on SAP B1 2007 B PL10. Now my client wants Bank Name to be displaced in the Header Level of the Outgoing Payment PLD.
            Please guide me in this matter.
    Regards
    Hitesh Parsawala

    Hi Hitesh,
    Try this,
    ->> Create 1 System Variable Field in Page Header on PLD.
    Bank Name
    Variable -> 126.
    ->> Goto Properties Window and put the Tick mark in Description on Content Tap.
    OR
    Try to Create FMS Query and assign the FMS in UDF.
    Create UDF in Header on Outgoing Payments.
    ->> Choose Tools on Top menu.
    ->> User - Defined Fields. -> User Manage Fields.
    ->> Open the User Manage Fields Widnow.
    ->> Payments -> Title.
    ->> Select Title and Click Add button in Bottom on User Manage Fields Window.
    ->> Create Bank Name UDF(Code, Discription and Type - Character) and Add the UDF.
    Create FMS in Query Generator and Save as Query Manager then Assign the FMS in UDF for Bank Name.
    ->> Adminstration.
    ->> Reports. -> Query Generator.
    ->> Open the Query Generator and put the below FMS query.
    SELECT T0.BankName
    FROM ODSC T0, VPM1 T1
    WHERE
    T1.BankCode= T0.BankCode
    AND
    T1.DocNum= $[OVPM.DocNum]
    ->> Assign the FMS in UDF on Outgoing Payments.
    ->> Auto Refresh of REMARKS or other require field
    Ex.
    1. Goto the UDF and Clcik ShiftAltF2.
    2. Select the SEARCH BY SAVED QUERY.
    3. Assign the FMS Query.
    4. Select the AUTO REFRESH WHEN FIELD CHENGES.
    5. Select REMARKS.
    6. Check the Display Saved Values.
    Use this UDF field in Page Header on Outgoing Payments PLD.
    Regards,
    Madhan.

  • Outgoing Payment PLD (Link)

    Hi,
    How to give link in outgoing payment PLD?
    Thanks & regards,
    Mohit Soni

    Hi,
    Are you link to Page Header or Footer, Repeatetive Area Header or Footer FIELD?
    Where r u link to FIELD ID?
    for ex.
    IF you link to field ID in PAge header field, then  u can link same index(Page header) field id.

  • Query for Journal Entry as Incoming/Outgoing Payment

    Hi all,
    I need a query that returns all journal entries that are incoming/outgoing payments.
    I have not found anything in the journal entries tables that marks it as a payment.
    thanks,
    Lucas.

    Hi Lucas,
    I am afraid 2 queries could be more meaningful. That might be more convenient:
    Incoming:
    SELECT T0.TransId as [Journal Entry#],
    T0.RefDate as [Posting Date],
    T0.BaseRef as [Incoming Payment #],
    Isnull(T1.AcctName,T0.ShortName) as [GL Account Name/Vendor Code],
    T0.Credit
    from JDT1 T0
    Left JOIN OACT T1 ON T1.AcctCode= T0.ShortName
    where T0.TransType=24 AND
    T0.Credit > 0
    Order By T0.RefDate
    Outgoing:
    SELECT T0.TransId as [Journal Entry#],
    T0.RefDate as [Posting Date],
    T0.BaseRef as [Outgoing Payment #],
    Isnull(T1.AcctName,T0.ShortName) as [GL Account Name/Vendor Code],
    T0.debit
    from JDT1 T0
    Left JOIN OACT T1 ON T1.AcctCode= T0.ShortName
    where T0.TransType=46 AND
    T0.debit > 0
    Order By T0.RefDate
    Thanks,
    Gordon

  • How to Print the Account Balance in Outgoing Payment PLD

    Hello Experts
    How to Print the Account Balance in Outgoing Payment PLD
    Dixit Patel

    Hi,
    you can use udf in the outgoing payment to record  the vendor's account balance and then using the query FMS ;
    select balance from ocrd where cardcode = $[$4.0.0]
    Assign the query in the UDF so that each time after entering the vendor code, the balance appears.
    After add the payment, the balance is recorded.
    In PLD, you can create the UDF field to make the balance appears in the outgoing report.
    Rgds,
    JimM

  • GL Accout Name Display in Outgoing Payment PLD

    Dear All
    I want to Display GL Account Name in Outgoing Payment PLD in Case
    of client payment through Cash.
    I am working on SAP B1 8.8. with Account Segmentation.
    Please Suggest me...
    Regards
    Shekhawat

    Hi Shekhawat,
    it is not possible on direct PLD
    so Create 1 UDF & assign the below FMS in UDF field and use that UDF field in Outgoing Payments PLD.
    Try this,
    -> Create 1 UDF (G/L Account Name) on Outgoing Payments.
    -> Assign the below FMS in UDF (G/L Account Name) on Outgoing Payments.
    SELECT T0.[AcctName] FROM OACT T0 WHERE T0.[AcctCode] = $[OVPM.CashAcct]
    Auto Refresh of Remarks field.
    Regards,
    Madhan.

  • Add additional table in Outgoing payment PLD.

    Dear Expert,
    Can i know how to add additional table which is VPM4 to my Outgoing payment PLD to show out the Bank GL account number? In original outgoing payment PLD does not have this table.
    Regards,
    Vivian

    The "system print layout templates" provided with SAP Business One can be "saved as" and users can customize them according to their company needs. Due to the database structure not all the tables can be related to any field in any template.
    You can bring additional table in to PLD by Using ALT + clicking on the "Table" field opens the entire list of tables, including the tables that do not appear by default.

  • Outgoing Payment PLD.

    Hi Expert,
                      I want design PLD of Outgoing Payment to show invoices one by one and its amount respectively.i.e in below columns
    Invoice No.   Inv. amt   remarks
    20000           10,000
    20001           12,000
    2003             13,000
                                      In print layout it shows variable 142 ,then how to bi-fircuate selected invoices in above method.
    sudhir.

    Hi Sudhir,
    use system variable 200.select the system  variable field and put the variable number=200 for Invoice document number.
    Thanks,
    Neetu
    Edited by: Neetu Dhami on Oct 15, 2010 10:55 AM

  • Incoming & Outgoing Payment Printout Problem

    Hi All
    We have a problem on our incoming and outgoing payment printouts.  Both are set up to print once you add the document to the system.  The problem is that the original printout does not match the actual incoming or outgoing payment.  However once you do a reprint it prints out correct.
    I have taken both documents off print once document adds and when I go back to the incoming or outgoing payments and print the original it comes out correctly.
    I would like to know how to fix this problem so that once you add the documents it prints out and with the correct information.
    We are using SAP Business One 2007 A PL 30

    I have now managed to replicate the problem on two other databases one another clients database and another the demo database of OEC Computers. 
    Once again I will explain the problem.  When you go to incoming payments and you select a business partner that has many invoices lets say over 40 and you select five at the top and five at the bottom that you want to pay.  Once you go to payment means and enter your payment and press add the original that prints has not managed to only select the invoices that you have paid instead depending on your setup it will print the first 22 rows (in my case). 
    Then if I go back to that payment and do a reprint no problem it is 100% correct. 
    I thought it might be a simple setting or something however I have been able to replicate the problem on two other databases which makes it three in total.  Therefor I am wondering how to fix this and perhaps if anybody else has experienced this before.

  • Printing the invoice date in the outgoing payment.

    Hi Experts,
    Please help me with this scenario.
    I need to print the invoice date and the item description and also the due date of the invoice in an outgoing payment in PLD.
    I think this can be done through wring a query in UDF through the formatted search.
    Could anyone help me with an alternate solution or a step by step procedure for writing the query.
    Your help is highly appreciated.
    Thanks,
    Hari Dharen

    Hi,
    Are you really wanting to have invoice date, item description and invoice due date or it is also including payment date and payment means ?
    Here is the query:
    SELECT distinct T1.[DocDate], T2.[Dscription],
    T1.[DocDueDate] FROM VPM2 T0  INNER
    JOIN OPCH T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN PCH1 T2 ON
    T1.DocEntry = T2.DocEntry
    Let me know if you need to know other field.
    Rgds,

  • Different no range/doc. type for cash journal incoming/outgoing payment

    Hi all,
    I am going to set up cash journal for a customer and they want separate number range for incoming and outgoing payments.
    I have read on this forum and actually don´t understand if that´s possible.
    If I set up two different cash journals (one for outgoing payments and one for incoming payments) the problem is that I can call all transaction type (C, B, R, E, set in transaction FBCJC2) from both. I have a cash journal for outgoing payments where I have set a separate document type and number range for G/L accounts in transaction FBCJC0 and the same for vendor outgoing payment and customer outgoing payment, but no document type for incoming payments from vendor/customer.
    When I then start to use this cash journal for outgoing payments I can´t make outgoing payments if I don´t have any money in my cash journal. Then I have to take money from my housebank by business transaction type C (receipt from bank) set in transaction FBCJC2. This becomes an incoming payment, but I got the same number range as for outgoing payments because I am in that cash journal and that number range is set per G/L account transaction per cash journal. .
    How can I come around this problem?
    Thanks in advance!
    Best regards Lisa

    Hi Pravin,
    Sorry for late answer. I created three document types, one for customer, one for vendor and a third for G/L postings. It was not possible to do in another way, sorry.
    Best regards Lisa

  • Incoming/Outgoing Payment Reports

    Hi Friends
    My Cleint Need The outgoing/Incoming Payment report and they r asking the following selection creteria
    Incoming payment/Out going Payment -
                              Bank Transfer Payment means wise,
                               Check payment  means wise
                                Cash payment means wise
                                Crdit card Payment Means wise
    Wat i have to do tell me the solution
    Sankar

    HI Sankar,
    Basically you want all those information in one selection criteria window?
    If you use XLR, it will be one selection criteria at a time.
    If you user Query you can combine them in one selection criteria using survey variables. Since you will be accessing the Incoming Payment and Outgoing Payment as one of the selection criteria option, I would suggest that you use t-sql and not just ordinary select statement.
    Laurence Resubal

Maybe you are looking for

  • Acrobat 9.2 open doc high CPU

    Hi. I am running Acrobat 9.2 on WIn7 32bit.I have a quad core 4gb ram machine and when i open any PDFs in Acrobat 9.2 it takes 25% cpu usage for around 5-30 seconds depending on the size of the PDF. During that time Acrobat is unusable and i have to

  • Cs2 crashes as soon as it opens?

    i have uninstalled and reinstalled 4 times. this has not helped out at all. any recommendations?

  • Changing Main display

    Using 10.6 and Aperture 3.1.2 on multiple monitors on a 24" iMac.  I want to show my slide show on the  extended desktop but it always starts on the main desktop and won't allow me to drag it to the extended desktop (50" plasma).  I need to tell Aper

  • Hiii,there s no way to could download ibooks author on my ipad and there is no plan to make that in future???

    I ask about ibooks author app There is no way to can downlad it to my ipad or my pc because i don't have mac

  • Home Hub needs to be re booted daily

    Hi I have been with BT Infinity for a number of years with no problems. Both my PC and laptop have connected fine and my phones also. Last week although both my phone and also my partners linked as usual to the wifi OK neither of my PC's would pick u