Approval Outgoing Payment

hi all,
         My client wants that whenever outgoing payment means is cash then it should be approved first.
i use this query for approval
select distinct 'true' from OVPM where $[ovpm.CashSum] > 0
but it is not working.
thanks
rahul

solved

Similar Messages

  • Cannot View Doc from Outgoing Payment under Approval Procedure messages

    Hi Experts,
    Both Originator and the approver cannot view the some of the pending and rejected documents when they are trying to edit the docuemtns from the approval procedures messages and approval decision reports.
    In effect, the approval cannot approvbed the documents as he cannot check the document for approval. The documents can be viewed from the payment draft dopcument. It will be tedious for the approval to go back and forth to draft document and approval decesion report.
    I already check the authorization for outgoing payment they both have full authorization. I can view the document as a super user. I need to know what other authorization do I need to check
    Both originator and  approver has full acess on outgoing payment since some of the documents can be viewed som3 documents cannot bew viewed.
    Please help. We are in the data catch up mode for October 2009.
    We are using 2007B PL10
    Regards,
    Amy
    Edited by: Sandra Callanta on Oct 20, 2009 11:06 AM

    Hi
    Login with userid who will approved the document
    Go in Admin > Approval Procedure > Approval Decision Report >
    Select first check box " No Decision Yet"
    select the pending one and approved it > update > ok
    Thanks
    Kevin

  • Approver name for outgoing payment

    Hi Friends,
    I want a query for outgoing payment with the Username of the person who approved this and along with requester (originator) name .To print on crystal report one for requester name and other approved person  name.

    Hi Pradyuman,
    Please check below Query for Approver Name for Outgoing Payment.
    SELECT T3.U_NAME
    FROM OVPM T0
    INNER JOIN OWDD T1 on T0.DocEntry =  T1.DocEntry
    INNER JOIN  WDD1 T2 on  T1.WddCode  =  T2.WddCode
    INNER JOIN OUSR T3 ON T2.UserID = T3.USERID
    WHERE T2.Status  = 'Y' and  T1.ObjType  = 46 And T0.DocNum = $[OVPM.DocNum]
    Please try below Query for User Name for Login User.
    SELECT T0.U_NAME FROM OUSR T0 WHERE INTERNAL_K = $[USER] FOR BROWSE
    Please put above Two FMS in Two Different UDF to Get Result of above  FMS.
    Please also check below links.
    Approved by User name query
    Name of authorizers within an approval procedure
    Hope this helps
    Regards::::
    Atul Chakraborty

  • Outgoing Payment Approval Procedure - Payment Wizard

    Hi,
    I was having an issue with the SAP Approval Procedures I was hoping I could get answered.
    I have created an Approval Procedure for Outgoing Payments in SAP 8.82 to always require approval.
    The approval procedure works fine when I create an Outgoing Payment by going to Banking >> Outgoing Payment >> Outgoing Payment.
    If I try to create an Outgoing Payment via the Payment Wizard, it does not go through the approval process.
    I have made sure that I have enabled the "Activate Approval Procedures in DI" functionality under General Settings. It still does not do the trick.
    Can someone please tell if this is an SAP bug or not? If not a bug, any suggestions as to what I might be doing wrong.
    Thanks,
    Krishnan

    Hi Krishnan,
    I believe this is by system design or another word a system limitation. The logic here is: if you are able to run the Payment Wizard, you have authorization already.
    A work around may be creating a user alert whenever you have the Payment Wizard run.
    Thanks,
    Gordon

  • Outgoing Payment Error on approved payments

    Dear Experts,
    Can somebody please guide, there is an approval on outgoing payment, when user creates an outgoing payment against invoice(s), it goes for approval, and when user receives the outgoing payment back (approved) and try to add it in the system it gives an error "Withholding tax amount has changed on linked documents; create a new payment."
    Whereas if I add the same outgoing payment by selecting the same invoice(s) but without approval it does not give any error and add it in the system.
    Thanks & Regards,

    Hi,
    Please check the scenario in the Note No. : [1507246|https://b1-support.wdf.sap.corp/sap/support/notes/1507246] and see whether your issue is similar to the one reported.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • Approval on Outgoing Payment

    Hi,
    I am using SAP 2007 A (8.00.175) SP 00 PL 30 our requirement is to block some uses from perform  outgoing payment, that means SAP Systems should trigger for approval if a user xyz want to do outgoing payment but other users who authorized can do outgoing payment without being blocked by SAP System.Is this requirement possible? please advice
    Best Regards
    Grayson

    Unfortunatly there is no way to get an approval for an incoming or outgoing payment in business one. When you are defining the approval
    template there is no option to  choose an incoming or outgoing payment.
    Consequently even if a query were developed to check for when a payment has been made the only the invoice would be sent for approval. As a work around I suggest that you send an alert to the approvers everytime an incoming or outgoing payment is added. If the payment is not agreed on then the payment can be canceled before any other action is performed.
    For other users you should not give them authorization for Outgoing payments under Administration ->General Authorization
    Also you can try using SDK for this issue.
    Regards
    Vikas

  • Approval for Incoming,Outgoing Payments and Deposits

    Hi guys,
    I need to set an approval  whenever the user wants to close or cancel Incoming Payments,OutGoing Payments and Deposits(Just Right Click on the Document and Close/Cancel).
    I tried to get approval when adding the above documents but not able to set for cancel/Close.
    Pls tell me how to achieve this..
    Thanks,
    Vams

    Hi Vams,
    As suggested by Gordon, you won't be ab;e to trigger an approval for this. SP may only block if some one tries to cancel or close the document. You can block the same by using authorizations. So why don't you directly use authorizations??
    Thanks,
    Joseph

  • Approval procedure for Outgoing payment

    Dear all expert,
    I want to know how to make approval procedures for outgoing payment. So, everytime user create outgoing payment, it can't be printed until it's approved by Chief Acct. Where do i set this approval, because i see in the approval module, there is no  outgoing payment document.
    Thanks

    I have checked that, at least until 2007A version PL49 Outgoing payment has not yet added to Approval Template.  You may use SP Transaction Notification to block some users for posting.
    Thanks,
    Gordon

  • Approval procedure on outgoing payment for Cash and bank transfer

    Dear Expert
    I want to know about outgoing payment approval
    Is it possible to set approval on payment means base ?
    Like I need to set approval for my user
    case 1 is : - If my user make payment by cash more then 5000 then approval it should be approved by manager
    And if my user make a outgoing payment by cash more then 100000 then it should be approved by MD
    Case 2 is If my user create outgoing payment by Bank transfer then more then 25000 then it should be approved by manager
    And if it is by bank transfer more then 500000 then it should be approved by MD
    IS it possible ????? Please guide me
    Thanks
    Riny

    Hello Sir
    Thanks for reply , Well I created query and executed but its giving false value but when i attached this query on approval , Its not working ..
    Please help me and also please comment on my another thread which is about No matching record found error
    Thanks

  • Approval Query for Outgoing Payment

    Hi All Experts,
    I have to Create Approval for Outgoing Payment where payment means is Cash,Cheque or Bank Transfer but not Credit Card.
    In other words approval should be raised for all payment means other than Credit card payment means.
    For which I have Created Query as follows
    select Distinct 'true' FROM dbo.OVPM T0
    Left join dbo.VPM3 T1 on T0.DocEntry=T1.Docnum
    WHERE  T0.CreditSum=0 And T1.CreditAcct is null
    payments goes for approval but Credit Card payment also goes for Approval which is not required.
    Please Help me to Correct the Query.
    Regards,
    Gayatri Shukla.

    Hi,
    Little modification to your query. Try this.
    select Distinct 'true' FROM dbo.OVPM T0
    Left join dbo.VPM3 T1 on T0.DocEntry=T1.Docnum
    WHERE  T0.CreditSum = 0
    Regards,
    Amrut Sabnis.

  • Can set approval procedures in outgoing payment?

    hi all,
    can we set approval procedures in outgoing payment?

    Hi Grace,
    at this point approval procedures for Purchasing are only supported on the following Business One document types:
    - Purchase Order
    - Goods receipt PO
    - Goods return
    - A/P Invoice
    - A/P Credit Memo
    Typically you would use purchase orders to facilitate a business process that requires approval for purchasing items.
    What is your Business Process that would otherwise require an approval procedure to be in place before releasing payment?
    A different approach could be to enhace the application utilizing our APIs.
    Regards,
    Torsten Budesheim

  • Approval procedures to outgoing payment

    Since I can use an template of approval procedures, for an object outgoing payment.
    Carlos.

    Hi,
    Check this thread,
    Approval procedure for Payments
    Hope it helps,
    Vasu Natari.

  • Stored Procedure for Outgoing Payment Approval

    Hi
    I am writing a stored procedure for Outgoing Payment (Draft) which is not validating my fields
    1.Outgoing Draft (Procedure Not Working)
       If @object_type = '140' and @transaction_type = 'A'
       begin
         if exists(select t0.DocEntry  from OPDF T0 inner join PDF4  T1 on
         T0.DocNum = T1.DocNum where t1.ObjType ='46' AND (T0.Series = '15' AND T1.OcrCode <> 'U-1')
         and T0.DocEntry = @list_of_cols_val_tab_del)
         begin
              set @error = 1
              set @error_message = 'Check Unit'
         end
       End
    Regards
    John
    Edited by: JohnSmith@B1 on Sep 9, 2011 4:49 PM

    John......
    Try this.....
    IF (@object_type = '140' And (Select ObjType From OPDF
           Where DocEntry = @list_of_cols_val_tab_del)='46'
    AND @transaction_type IN ('A'))
    BEGIN
    if exists(select t0.DocEntry from OPDF T0 inner join PDF4 T1 on
    T0.DocNum = T1.DocNum where t1.ObjType ='46' AND (T0.Series = '15' AND T1.OcrCode != 'U-1')
    and T0.DocEntry = @list_of_cols_val_tab_del)
    begin
    select @error = 1,
    @error_message = 'Check Unit'
    end
    End
    Above SP will only work when your Series Code is 15 and OcrCode is not equal to 'U-1'....
    Please confirm........
    And Object type for Payment Draft 140 is right.....
    Regards,
    Rahul

  • Restrict Outgoing payment document, if cash is more than Rs.20,000

    Hai!
    I am using SAP B1 PL40.
    can u help me out on this issue.
    I want to restrict the users to ADD
    Outgoing Payment document if they choose,more than 20,000 payment by cash mean.
    pl let me know if u want more detailed explanation.
    Thank u,
    Thanga Raj.K

    Hi Thangaraj,
    Try the following Stored Procedure. I checked in my system and works fine.
    Try the same in the Test System. Then get the approval and load in Live System.
    set ANSI_NULLS ON
    set QUOTED_IDENTIFIER ON
    go
    ALTER proc [dbo].[SBO_SP_TransactionNotification]
    @object_type nvarchar(25),                     -- 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 = '46'
    BEGIN
    If exists (SELECT T0.docentry  FROM OVPM T0 where T0.cashsum>=20000)
         begin
              SET @error = 10
              SET @error_message = N'You cannot Pay Cash More than Rs. 20000/-'
         end
    END
    select @error, @error_message
    END
    Edited by: Sridharan T on Aug 25, 2008 11:35 AM

  • Any changes in outgoing payment-draft

    Dear All
    I have given approval procedure for the outgoing payment,once the approver have given approval for the document generated by the originator then it goes message to orginator and he will add the document.
    But in case if approver has not approved the document where the vendor and cheque no given is wrong,so here orginator receive message has not approved now is there any possiblity to change the vendor and cheque no or payment means in that particluar draft document.
    There is possibility to change the GL account and payment means while the document is Account type.
    Regards
    M Auditya

    Dear Gordon
    But is it possible to change the payment means or cheque no when it is in draft mode as mentioned on above requirement.
    If it is not possible then we need to create new payment and what about the paymnet in drarft mode which is wrong can be deleted.
    Regards
    M Auditya

Maybe you are looking for