Journal Vouchers

Hi All
can anybody tell me while adding journal vouchers how to capture debit entries , credit entries and contra entries (i.e how to distinguished between debit entries , credit entries and contra entries )
waiting for your response
rgs
anand

Hi Anand
You can use transaction codes for the same, since you required to know the particular transaction falling under which category before posting to JE .
You can create transaction codes
Administration - Setup - Financials - Transaction Codes.
regards
Rashid

Similar Messages

  • Error getting the Journal Vouchers Object

    Hi Experts,
    I am trying to get the object for Journal Vouchers. I did as always using "B1iSN - B1 Object Help", I found it with "Name JournalVouchers   LocalID 28   B1iSN_ObjectType B1.8.8_JV" but when I try to Retrieve the Object I got this error message:
    SAP B1iP detected an error:
    Emitted HTTP-Code
    500 - Internal Server Error
    Internal Reason
    No get method availabe for SBO object type : 28
    (I copied the message, incluiding the misspelled word "available")
    I have done this with other objects like journal entries and it works Ok , but I cannot do it with Journal Vouchers.
    any help?
    thanks in advance,
    David

    Hi David,
    the problems seems to be that B1 creates an event for Journal Voucher (oject Id=28) with following key parameters:
    - BatchNum
    - TransId
    the XML DI Schema of journal Voucher does only have one key parameter:
    - BatchNum
    The difference between the SQL Definition (by the B1-Event, SBO-COMMON table SEVT) and the DI API Definition causes your problem with the standard Data Retrieval of B1iSN via DI API object.
    Actually there is a way to change the data retrieval within B1iSN (details in B1iSN Guide - 03 Extensibility, chapter 2.6 Object Type: change B1 Data Retrieval, page 12).
    Please goto "B1iSN Tools -> Development Tools -> Graphical scenario design" select your BizPackage, BIU and BIUMETA.
    In the opened window "B1iSN Design Time -Diagram" select the segment B1 Inbound and press button "New" and change the B1 Inbound Method for Object Type B1.8.8_JV to:
    - SQL Data Retrieval via DI-API
    - SQL Statement:
    select * from OBTD where BatchNum={key}
    Keep in mind that this is only an easy example and you now need to take explicitly care of the mapping into the DI API XML structure again (<xsl:copy-of select="./*"/> will just copy the result of the SQL-statement above, now)
    You can also check out to use "Multiple Data Retrieval" as documented in the B1ISN Guide.
    Best regards
    Bastian

  • Adding Journal Vouchers

    Hello there,
    I am having a problem adding Journal Vouchers to SAP using the DIAPI. I have gotten everything from an "Unbalanced Transaction Error" to a "Date deviates from permissible range Error". Here is my code in VB. Please if anyone can help it would be much appreciated
    (I am reading a recordSet object to populate the fields of the journal voucher)
    ''set up the header of the journal voucher
    oJV.JournalEntries.ReferenceDate = FormatDateTime(oRecord.Fields.Item("PosDate").Value, vbShortDate)
    oJV.JournalEntries.Reference = oRecord.Fields.Item("Descr").ValidValue
    ''set up the lines of the journal entries
    syscode = oRecord.Fields.Item("SysCode").Value
    oJV.JournalEntries.Lines.SetCurrentLine(lineCount)
    oJV.JournalEntries.Lines.DueDate = FormatDateTime(oRecord.Fields.Item("PosDate").Value, vbShortDate)
    oJV.JournalEntries.Lines.ReferenceDate1 = FormatDateTime(oRecord.Fields.Item("PosDate").Value, vbShortDate)
    oJV.JournalEntries.Lines.ReferenceDate2 = FormatDateTime(oRecord.Fields.Item("PosDate").Value, vbShortDate)
    oJV.JournalEntries.Lines.VatDate = FormatDateTime(oRecord.Fields.Item("PosDate").Value, vbShortDate)
    oJV.JournalEntries.Lines.TaxDate = FormatDateTime(oRecord.Fields.Item("PosDate").Value, vbShortDate)
    oJV.JournalEntries.Lines.AccountCode = oRecord.Fields.Item("SysCode").Value
    oJV.JournalEntries.Lines.ShortName = oRecord.Fields.Item("SysCode").Value
    oJV.JournalEntries.Lines.Reference1 = oRecord.Fields.Item("Descr").Value
    If oRecord.Fields.Item("Debit").Value = 0 Then
                    oJV.JournalEntries.Lines.Credit = oRecord.Fields.Item("Credit").Value
                    oJV.JournalEntries.Lines.Debit = 0
    End If
    If oRecord.Fields.Item("Credit").Value = 0 Then
                     oJV.JournalEntries.Lines.Debit = oRecord.Fields.Item("Debit").Value
                    oJV.JournalEntries.Lines.Credit = 0
    End If
    'if need be, add a line to the journal entry
    If lineCount <> 1 Then
                    oJV.JournalEntries.Lines.Add()
    End If
    'every two lines in my record set it a journal entry
    'so check if a journal is ready to be added
    If lineCount Mod 2 <> 0 Then
    'add a journal entry to the voucher
    If oJV.JournalEntries.Add() <> 0 Then
              MessageBox.Show(oCompany.GetLastErrorDescription)
    End If
    lineCount = 0
      addedJE = True
    End If
    oRecord.MoveNext()
    If addedJE = False Then
          lineCount += 1
    End If
    End While
    ''add the journal voucher
    If oJV.Add() <> 0 Then
          MessageBox.Show(oCompany.GetLastErrorDescription)
    End If
    End Sub

    Hi guys!
    Thanks for your help.I have checked my debits and credits and I have simplified my code alot. I am able to now add a journal voucher with one journal with multiple lines. The problem seems to have been when i tried to call oJV.JournalEntries.Add(). It seems you just have to add the JournalLines and then the actual Journal Voucher.
    That is all fine but now i am having a problem setting different Posting Date (ReferenceDate on the Object), DueDate(DueDate on the Object) and Document Date (TaxDate on the Object).
    The Journal Voucher is added to SAP but all three dates are the same when in my code, i have set the Document Date to be different from the Posting Date. Could this be because I am using a Document Date of 19/12/07 and a Posting Date of 23/11/07 ( in another period)??? i dont knw. Please help if you can. My code is below :
    ''set up the lines
    syscode = oRecord.Fields.Item("SysCode").Value
    oJV.JournalEntries.Lines.SetCurrentLine(lineCount)
    ''Set Dates on lines
    oJV.JournalEntries.Lines.ReferenceDate1 = FormatDateTime(oRecord.Fields.Item("PosDate").Value, vbShortDate)
    oJV.JournalEntries.Lines.DueDate = FormatDateTime(oRecord.Fields.Item("PosDate").Value, vbShortDate)
    oJV.JournalEntries.Lines.TaxDate = FormatDateTime(oRecord.Fields.Item("DocDate").Value, vbShortDate) ''Doc Date*******
    oJV.JournalEntries.Lines.AccountCode = oRecord.Fields.Item("SysCode").Value
    oJV.JournalEntries.Lines.Reference1 = oRecord.Fields.Item("Descr").Value
    If oRecord.Fields.Item("Debit").Value = 0 Then
       oJV.JournalEntries.Lines.Credit = oRecord.Fields.Item("Credit").Value
       oJV.JournalEntries.Lines.Debit = 0
    End If
    If oRecord.Fields.Item("Credit").Value = 0
       oJV.JournalEntries.Lines.Debit = oRecord.Fields.Item("Debit").Value
       oJV.JournalEntries.Lines.Credit = 0
    End If
    oJV.JournalEntries.Lines.Add()
    oRecord.MoveNext()
    If addedJE = False Then
         lineCount += 1
    End If
    pbStatus.Value += 1
    End While
    If oJV.Add() <> 0 Then
        MessageBox.Show( oCompany.GetLastErrorDescription)
        squery = squery.Replace("'", "")
    End If
    Kind regards,
    Greeshma

  • With F.13 how credit Journal Vouchers and balances be adjusted......

    Dear all
    With F.13 how credit Journal Vouchers and balances be adjusted against unpaid invoices
    using  FIFO method.
    What critera IN FB74 we need to write for automatic clearing of transactions.
    Thnax - Viru.

    unsolved

  • Print Journal Vouchers

    Hi,
    I try to print out from Journal Vouchers, and i need to print some UDF on Journal Vouchers, but can't choose  any UDF in Print Layout Desinger.
    Any Comments?

    Hi Gordon,
    Thanks for your reply.
    I make the 2 UDF on Journal Vouchers (row level), this setup both in Journal Entry.
    1. BP Code (format search)
    2. BP Name (format search)
    In Journal Entry PLD, i can select BP Code & BP Name in database field, but in Journal Vouchers PLD can't select this in database field.
    Journal Vouchers PLD can't support UDF print out right?
    Thanks!
    Ricky

  • How to increase the length of Remarks in Journal Vouchers

    Hi SAP Guru,
    I  am new in SAP Business One.  Normally our Narration which we feed in Details of Journal Voucher is longer than the space provided.  Is there any way to increase the length of Details field in Journal Voucher or Some other way we can cater this requirement.
    Thanks for answers in advance
    J.S.Rana

    Hi Rana,
    In this case, you have to create a user defined field of required length under Journal Transactions Header to fill the data.
    Regards,
    Vijay Kumar
    SAP Business One Forums Team

  • Importing Journal Vouchers using DTW

    Hellow to all,
    I want to import one Journal Voucher with few transactions. each transaction having few lines.
    How can i link the filles:JournalEntries_Lines,JournalEntries,JournalVouchers
    enyone????

    Hi
    below is JournalEntries record
    RecordKey     JdtNum     AutoVAT     DueDate     Indicator     Memo     ProjectCode     Reference     Reference2     ReferenceDate     Series     StampTax     StornoDate     TaxDate     TransactionCode     UseAutoStorno     VatDate
    RecordKey     JdtNum     AutoVAT     DueDate     Indicator     Memo     ProjectCode     Reference     Reference2     ReferenceDate     Series     StampTax     StornoDate     TaxDate     TransactionCode     UseAutoStorno     VatDate
    1          tNO     20050104                    1     2     20050104     23     tNO     20050104     20050104          tNO     20050104
    2          tNO     20050104                    1     2     20050104     23     tNO     20050104     20050104          tNO     20050104
    3          tNO     20050104                    1     2     20050104     23     tNO     20050104     20050104          tNO     20050104
    below is JournalEntries_lines  record
    RecordKey     LineNum     AccountCode     AdditionalReference     BaseSum     ContraAccount     CostingCode     Credit     Debit     DueDate     FCCredit     FCCurrency     FCDebit     GrossValue     LineMemo     ProjectCode     Reference1     Reference2     ReferenceDate1     ReferenceDate2     ShortName     SystemBaseAmount     SystemVatAmount     TaxDate     TaxGroup     VatAmount     VatDate     VatLine
    RecordKey     LineNum     AccountCode     AdditionalReference     BaseSum     ContraAccount     CostingCode     Credit     Debit     DueDate     FCCredit     FCCurrency     FCDebit     GrossValue     LineMemo     ProjectCode     Reference1     Reference2     ReferenceDate1     ReferenceDate2     ShortName     SystemBaseAmount     SystemVatAmount     TaxDate     TaxGroup     VatAmount     VatDate     VatLine
    1     0     _SYS00000000050          100     _SYS00000000050          100     0     20050104     0          0                    1     2     20050104     20050104     _SYS00000000050               20050104          10     20050104     tNO
    1     1     _SYS00000000050          100     _SYS00000000050          0     100     20050104     0          0                    1     2     20050104     20050104     _SYS00000000050               20050104          10     20050104     tNO
    2     0     _SYS00000000050          100     _SYS00000000050          100     0     20050104     0          0                    1     2     20050104     20050104     _SYS00000000050               20050104          10     20050104     tNO
    2     1     _SYS00000000050          100     _SYS00000000050          0     100     20050104     0          0                    1     2     20050104     20050104     _SYS00000000050               20050104          10     20050104     tNO
    3     0     _SYS00000000050          100     _SYS00000000050          100     0     20050104     0          0                    1     2     20050104     20050104     _SYS00000000050               20050104          10     20050104     tNO
    3     1     _SYS00000000050          100     _SYS00000000050          0     100     20050104     0          0                    1     2     20050104     20050104     _SYS00000000050               20050104          10     20050104     tNO
    Basic thing u want to link is RecordKey of JournalEntries with RecordKey JournalEntries_lines.
    Please also refer Sample data
    Thanks
    Kevin

  • Outputs - Cash/Bank/Journal Vouchers Debit/Credit Note

    Hi Gurus,
    Please tell me, how to get outputs or print layouts of above mentioned Vouchers?
    Do i need to configure in the system?
    Kindly revert asap
    Thank You

    yeah, you need to configure  in the system if you want from system
    Through Correspondence.
    Please check correspondence
    Thanks

  • Posting Journal Vouchers

    Hi all,
    At the end of the day, we have some journals in HFM set as "approved". Is there any way to post these journals automatically (using the Taskflow Manager, etc)?
    Thanks!

    Doesn't seem to work for me. I put a % sign in the label box, but I get the following error when I look at the Taskflow status page:
    The journal no longer exists in the system. The Journal you are trying to load has been deleted and cannot be processed.
    Any ideas? Thanks

  • 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

  • Is it possible that Manual Journal Entry go for approval

    Hi All,
    If it is possible to Journal Entry go for approval. I see in Approval Template there is no Document like check box Journal entry, so please any one can help in this.
    Regards,
    Arbaaz.

    Hi,
    Use Journal Vouchers instead of journal Entry.
    For Ex :
    1.User Enter Journal Vouchers.
    2. Finance manager or Accts manager open the
    Journal vouchers and convert it to Journal Entry.
    *Close the thread if issue solved.
    Regards
    Jambulingam.P

  • Importing a journal voucher with GL Codes and BP Codes

    Hi Experts,
    I'm trying to get a DTW import for Journal Vouchers working on 8.8 PL05. I have a journal voucher template with GL Codes and BP Codes that I need to import as this is part of some integration.
    If I leave out the BP Codes it works fine but if I add them into the sheet is gives a DTW error "invalid account code application-defined or object-defined error 65171".
    I have tried to add BP code to shortname and add contra account.
    Please any help would be appreciated.
    Regards
    Lou van Wyk

    Welcome to SAP forum Lou...
    I do not know about 8.8 Journal vouchers, but some time ago we were importing with BP codes and we ran into a somewhat similar situation.  I believe we had to format the BP codes to Text in Excel before saving the file to CSV.
    Another time I was working with an individual who had not set up two BP Master Data records before doing transactions like it states in SAP's User Guide titled Data Migration and Opening Balances...
    Maybe that helps?
    Regards,
    Zal

  • Journal Import Issue

    Hi
    Our organization have a multiple branches.
    we are generating the Branchwise Journal vouchers in a single batch for payroll salary .
    For the same , we are using Journal Import program and runs successfully also.
    Now , we want to create a Document Number for each J.V. in this single batch.
    Can anyone suggest the way to accomplish this task ?
    Thanks in advance ..
    regards
    sanjay

    Hi
    Our organization have a multiple branches.
    we are generating the Branchwise Journal vouchers in a single batch for payroll salary .
    For the same , we are using Journal Import program and runs successfully also.
    Now , we want to create a Document Number for each J.V. in this single batch.
    Can anyone suggest the way to accomplish this task ?
    Thanks in advance ..
    regards
    sanjay

  • Journal voucher and sundry invoice

    Hi ,
    can any one please tell me what is journal voucher and sundry invoice
    in FI .

    Hi,
    let us start with the SAP definition - or rather: the use of the journal voucher. It is actually nothing more than a specific posting document:
    Journal Vouchers
    Use
    If, after you have entered and cleared a vendor invoice and you have discovered that you have posted the wrong amount of tax or that you have posted the tax using the wrong official tax key, you have to enter a journal voucher (JV) to correct the error.
    To access the function, from the SAP Easy Access screen, choose Accounting ® Financial Accounting ® Accounts Payable ® Withholding Tax ® India ® Extended Withholding Tax ® Journal Vouchers ® Enter.
    Sundry invoice has not been defined within the SAP framework. Imagine it to be an invoice for several vendors, several materials...
    Kind regards,
    Rudolf

  • Journal voucher IDOC or BAPI

    Hi All,
    We will be getting one file from external system and I need to post journal vouchers in SAP. We are discussing on posting Journal Vouchers through IDOC or BAPI. Basically we are looking at automating this process. Please let me know which IDOC and Message Type will help me in posting Journal Vouchers. Also please let me know which Standard BAPI or Functional Module will help me in Posting Journal Voucher.
    Thanks
    Rajanikanth

    Hi All,
    BAPI BAPI_ACC_GL_POSTING_POST can post an Journal Voucher.
    Thanks
    Rajanikanth.

Maybe you are looking for

  • Archiving object for batch deletion

    Hi   , Please let me know the archiving object for batch date deletion from table MCHA. MM_SPSTOCK is for archiving batch date from table MCHB. Thanks in advance, Vinayak

  • Java.lang.NullPointerException when deploying a PIA

    I am having a problem deploying a PIA on PeopleTools 8.45.18 on Solaris 8 using WebLogic 8.1 sp 3. The error I experience is java.lang.NullPointerException when I run this command: ./setup.solaris -console -is:log /var/temp/piainstall.log InstallShie

  • Insert byte[] into postgres text-field

    Hi, i made some tries on using postgresql and jdbc, i noticed that for some reason the postgres jdbc.driver does not convert text from the db correct to UNICODE. The db is in ISO-8859-1. So, i tried to write a workaround to this and was successfull f

  • HTML DB with Microsoft Active Directory access

    HTML DB Authentication works fine, but autherization gives the following error. We hope someone has similar experience in this forum. The following error we got after we added password to the is_member function. If use NULL for password it always giv

  • Help with group by

    Can anyone tell why this query isn't working? It returns NOT a group by expression error. It has something to do with the subquery but I know I can't group by the alias of that statement. Any help would be appreciated. SELECT acc.uprn, NVL (SUM (lth.