Block Journal voucher entry

Hi All,
Is it possible to block JV entry, for Ex company is paying some extra charges i.e maintained on purchase Invoice UDF field,
They pass JV to pay those charges,
they want to block the JV entry if they already paid those charges entered on Purchase invoice UDF field for that particular Purchase invoice No.
How to do this?
Regards,
Neetu

We picked the purchase invoice no. on JV .
In ref 1 field of JV we are picking the Purchase invoice no. but we are not able to block it  using transaction notificationb procedure.
Can you plz send me the transaction notification code to block this?
Regards,
Neetu

Similar Messages

  • Journal Voucher PLD, Reversal Date

    Dear Experts,
    At Journal Voucher PLD, choose Source Type = Database, Table = Journal Voucher Entry, Column = Reversal Date.
    But the printout is blank.
    Check database OBTF, StornoDate got value there, may i know why it is not printed? The SAP Version is 8.8.
    Thanks.
    Regards,
    Lay Chin

    Yes, StornoDate is also available in OBTF (Journal Voucher) and I can see the value stored inside properly.
    But it is not appearing in the JV PLD when i choose database type , I wonder will there any system variable that can help.
    Thanks.
    Regards,
    Lay Chin

  • Journal Voucher Print Layout

    Hi,
    Is there any way to customize the print layout of a journal voucher to include more columns such as user defined fields that may be present in the journal voucher Entry rows?
    thanks,
    Costas

    Hi Coasts
    Definitely u can get those udfs in pld if u have created in journal entry line level check the JDT1 table and see the whether the required created Udf is their r not if it is their go to layout take one database field select table as JDT1 and column name select created udf i think this vil solve ur problem
    Regards
    Jenny

  • How to block journal entry posting

    How to block journal entry posting 

    Hi Rajeesh...
    Can you explain in detail  what  case you need to block the Journal..
    sample for the dimensions...
    IF @object_type = '30' AND @transaction_type = 'A'
      BEGIN
        IF EXISTS (SELECT
            TransId
          FROM jdt1 t1     
          WHERE @list_of_cols_val_tab_del = TransId AND (ISNULL(t1.ProfitCode, '') = '' OR ISNULL(t1.OcrCode2, '') = ''))
        BEGIN
          SET @error = -2
          SET @error_message = 'Select the Dimensions and Departments'
        END
      END
    Regards
    Kennedy

  • Successfully posted Journal Voucher but no Journal Entry created

    Hi All,
    Today our customer experiences a case mentioned in the subject, she has chacked the status is already "Closed" in the Journal Voucher. But there is no Journal Entry created for that Journal Voucher. Is there any explanation for this?
    Thanks,
    Alvin

    Hi,
    Kindly run the following select query :
    Select * from OJDT T1 WHERE T1.[BatchNum] = 'xx'
    where 'xx' is the voucher number and check if it displays any result.
    If there are no results, please log a support ticket on SAP Portal to get the issue investigated.
    Regards,
    Jitin
    SAP Business One Forum Team

  • SDK coding to Remove Journal Entry, Journal Voucher

    Hai,
    I have created journal entry.But before creating, I want to check whether journal entry, journal voucher already created for this month. If it is, already created, I want to remove the existing one.
    My coding is as follows,
    oSBOJournalvouchers = DirectCast(ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oJournalVouchers), SAPbobsCOM.JournalVouchers)
                              Try
                                    oSBOJournalvouchers.JournalEntries.GetByKey(10)
                                Catch ex As Exception
                                    SBO_Application.MessageBox(ex.Message)
                                End Try
                                If oSBOJournalvouchers.JournalEntries.Remove() <> 0 Then
                                    ocompany.GetLastError(errcode, errmsg1)
                                    SBO_Application.MessageBox(errcode & "-" & errmsg1)
                                End If
        oSBOJournalvouchers.JournalEntries.GetByKey(10) --In this line error occurs.
    Error Message is:
    The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))
    Any help is appreciated.
    Thanks in Advance.
    Thanks,
    Parvatha Solai.N

    Hi,
    I get the same exception, I'm using 8.81 PL08 ... The creation for Journal Voucher success but when I'm trying to update the update failed ... please advice
    JournalVouchers voucher = (JournalVouchers)Company.SBO_Company.GetBusinessObject(BoObjectTypes.oJournalVouchers);
    voucher.JournalEntries.GetByKey(TransId);   // This line make exception The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))

  • Journal Voucher last entry

    Hai,
    I have created Journal Voucher using Code.I want the last created Journal Voucher No. How to get it?
    Thanks in advance.

    Hi
    lRetCode = oInvoice.Add()
                If lRetCode <> 0 Then
                    Dim lErrCode As Long
                    Dim sErrMsg As String = ""
                    B1Connections.diCompany.GetLastError(lErrCode, sErrMsg)
                    B1Connections.theAppl.MessageBox(sErrMsg)
                    Return False
                Else
                    Dim sDocEntry As String = String.Empty
                    Dim sDocNum As String = String.Empty
                    B1Connections.diCompany.GetNewObjectCode(sDocNum)
                    oInvoice.GetByKey(CInt(sDocNum))
                    sDocEntry = oInvoice.DocEntry
    end if
    the above code is used to get the last created invoice document no through code , try the same wy in your code
    Regards
    Arun

  • Not able to post journal voucher because of unbalanced system currency

    Hi
    I am not able to post journal voucher because of unbalanced system currency (the local currency is matching).
    what should be done, i have posted close to 70 entries!!!!!
    I am using SAP 2005B patch level 44
    please help
    Thanks

    Hi santosh,
                      To the account to which you are posting the entry.What currency you have set for it.
    regards,
    PankajK

  • JOURNAL VOUCHER APPROVAL PROCESS

    Dear Experts,
    I want to create an approval procedure for Journal Vouchers.
    I did the following:-
    I created a UDF - MD-Approval on accounting - Journal transactions header with valid values of Pending, Declined and Approved. Pending is the default value. The field is a mandatory field.
    I made the MD the only user who can edit this field by creating a category in Settings- Fields - setup that is relevant to him only
    I created a stored procedure to block posting of journal Vouchers unless the UDF status reads "approved"
    --------- Block unapproved Journal Voucher-----
    if @object_type = '30' and @transaction_type IN ('A', 'U')
    BEGIN
    IF Exists (Select T0.TransID  from dbo.OBTF T0
    WHERE T0.TransId=@list_of_cols_val_tab_del and U_MD_APPROVAL <> 'Approved')
    select @error = 101, @error_message = 'This Journal Voucher requires MD Approval'
    End
    The stored procedure above is not working and journal voucher are processed irrespective of the udf field status. Kindly review and let me know what is wrong with it.
    Regards
    George Njuguna

    Hi
    U have to amend it like this :
    if @object_type = '30' and @transaction_type IN ('A', 'U')
    BEGIN
    IF Exists (Select T0.TransID  from dbo.OJDT T0
    WHERE T0.TransId =@list_of_cols_val_tab_del and t0. U_MD_APPROVAL <> 'Approved' and  Transtype='30')
    select @error = 101, @error_message = 'This Journal Voucher requires MD Approval'
    if @object_type = '30' and @transaction_type IN ('A', 'U')
    BEGIN
    Set @Transtype =(Select  Transtype from OJDT WHERE T0.TransId =@list_of_cols_val_tab_del )
    declare @Transtype as int
    If Transtype='30'
    Begin
    IF Exists (Select T0.TransID  from dbo.OJDT T0
    WHERE T0.TransId =@list_of_cols_val_tab_del and t0. U_MD_APPROVAL <> 'Approved' )
    select @error = 101, @error_message = 'This Journal Voucher requires MD Approval'
    End
    END
    Thanks
    TAruna

  • Journal Voucher Posting Authorizations

    SAP Business One 2007A. User cannot see button "Post journal" on journal voucher screen. Reviewed authorizations and according to How to define authorizations user needs journal voucher full, document numbering series, and journal entry. User has all of these authorizations and more as well as professional license and still cannot see button.
    How do I determine which authorization is missing?

    hi
    Please make sure that the user is having the full authorization and not read only authorization under financial-journal voucher
    Regards,
    Manish

  • Smartform Prob. in Journal Voucher(FICO)

    Hi Friends,
    I am doing SMARTFORM for Journal Voucher and I want the out put as when ever i entered the Accounting doc. No in input screen I want display the DEBITS in one Column and CREDITS in another column.. when the conditions satisfies... conditions are K, D, S..
    Example :
    credit           debit
    1,550.00    
    2,550.00
                       6,550.00
    when ever the conditions satisfy i need the output like above...
    Edited by: muralipsharma on Aug 4, 2010 5:44 PM
    Moderator message: "spec dumping", please work yourself first on your requirement.
    locked by: Thomas Zloch on Aug 4, 2010 2:30 PM

    Hello,
    This functionality is not supported in FICA....
    Ofcourse when items are posted to clarification, there shall be 2 GL entries
    DR Bank Clearing Account
    CR Clarification Account
    Ofcourse this may not meet your requirement
    Rgds
    Rajendra

  • Journal voucher select fuction module

    Dear gurus,
    pls. tell me journal voucher fuction module or any idea.
    thank's & regards,
    Shiv Pujan Sharma

    Hello,
    This functionality is not supported in FICA....
    Ofcourse when items are posted to clarification, there shall be 2 GL entries
    DR Bank Clearing Account
    CR Clarification Account
    Ofcourse this may not meet your requirement
    Rgds
    Rajendra

  • 'Remarks' on the Journal Voucher print layout

    It is not possible to display the line level Remarks field from the Journal Entry on the Journal Voucher print layout. The header Remarks are displayed but it can be different from the row level values.

    Hi Coasts
    Definitely u can get those udfs in pld if u have created in journal entry line level check the JDT1 table and see the whether the required created Udf is their r not if it is their go to layout take one database field select table as JDT1 and column name select created udf i think this vil solve ur problem
    Regards
    Jenny

  • Journal Voucher concept in FICA

    Hi Friends,
    We all know that we have a very good feature in SAP FICO  module that is of journal voucher(JV) by using which we can pass any adjustment entry from one
    GL to other.
    Debit one GL & credit the other.
    Now
    As far as i know in SAP FICA module there is no concept of JV, since accounting entry is passed from FICA to FICO using Main/Sub Transaction combination using  a reco key concept.
    We  can only transfer document from one BP to other using Transfer Items(FP40).
    Is there anyway in which i can pass a JV in FICA module or some workaround for the same.
    Ex: In case i want to raise a debit or credit note (special case)
    Debit Receivables
    To Sales
    To VAT
    How to handle this scenario in FICA.
    Will appreciate if u all can share ur ideas & views on this.
    Regards,
    Gagan

    Hello,
    This functionality is not supported in FICA....
    Ofcourse when items are posted to clarification, there shall be 2 GL entries
    DR Bank Clearing Account
    CR Clarification Account
    Ofcourse this may not meet your requirement
    Rgds
    Rajendra

  • Journal Voucher Problem

    Hi Experts,
    Good day!
    I have a problem posting the journal voucher. The status of transaction is closed, but did not reflect on journal entry. How come?
    But when I created the same accounts posted in journal voucher in journal entry, it authomatically  reflected. Meaning, is the journal voucher not functioning... PLease help me on this asap pls. Thanks .
    Mari

    Dea Mari,
    If you had created the journal voucher using the journal voucher screen by adding an entry to the journal voucher and then you had chosen this 'open' journal to 'Post Voucher' then Its strange that the voucher is closed with no transaction created in the jounal entry.
    Please try again the above procedure on a test database, and if this issue still exists, then post your query to SAP or your local SAP partner.
    Thanks
    Asif

Maybe you are looking for