Cannot preview journal entry in AP Invoice
Dear Experts,
Good day!
One of the users who create AP Invoice cannot preview the journal entry while adding such document. SAP B1 automatically directs it to the approval process? What would be the possible cause of this? He is a limited financial user with full authorization in AP invoice, Journal Entry etc.
I hope you could help me with this.
Thank you.
Regards,
Alven
Hi Sir,
Thank you for your response.
But in my unit i can preview the journal entry before SAP activates its approval process. By the way I am using SAP v9.0 PL12 and my client use only v9.0 PL05..
I just discovered that its a program error and such bug was fixed in PL08.
Please see SAP Notes below.
http://service.sap.com/sap/support/notes/1905717
http://service.sap.com/sap/support/notes/1925757
Regards,
Alven
Similar Messages
-
Cannot add journal entries programmatically
Hi everyone
I'm not able to insert Journal entries in the database.
I'm using SAP Business One DI API Version 2007 and a copy of the database SBODemoUS. The code I'm using is inspired by the example in the SDK Help.
I'm trying to add journal entries to the company database. When I execute the code, I get a System Message:
[JDT1.Account][line:1],'Tax account has not been defined for the selected tax code', even though I'm not using a tax code. But when I assign a value to the property .TaxCode, I get a System Message: You can edit VAT fields only in Automatic VAT mode [JDT1.TaxCode][line: 1].
I'm able to create journal entries manually in SAP B1 using the same information that I'm using in my code. But I cannot create journal entries programmatically.
Here is the code that I'm using:
Private Sub ImportJournalEntry()
Dim rt As Long
Dim errCode As Long
Dim errMsg As String
oCompany.Server = "PERSONNE-6D3DBE"
oCompany.CompanyDB = "MYSBODEMO"
oCompany.UserName = "manager"
oCompany.Password = "manager"
oCompany.language = 3
oCompany.UseTrusted = False
oCompany.DbServerType = BoDataServerTypes.dst_MSSQL2005
oCompany.DbPassword = "sapwd"
oCompany.DbUserName = "sa"
rt = oCompany.Connect()
If rt <> 0 Then
oCompany.GetLastError(errCode, errMsg)
Else
Dim entries As SAPbobsCOM.JournalEntries = DirectCast(Me.oCompany.GetBusinessObject(BoObjectTypes.oJournalEntries), JournalEntries)
Dim str2 As String
Try
entries.TaxDate = DateTime.Now.ToShortDateString
entries.StornoDate = DateTime.Now.ToShortDateString
entries.ReferenceDate = DateTime.Now.ToShortDateString
'First line
'entries.Lines.TaxCode = "CA"
entries.Lines.AccountCode = "112200000100101"
entries.Lines.ShortName = "Cash at Bank "
entries.Lines.Debit = 0
entries.Lines.Credit = 125
entries.Lines.Add() 'Add
'Second line
'entries.Lines.TaxCode = "CA"
entries.Lines.AccountCode = "611000000100101"
entries.Lines.ShortName = "Travel Expense"
entries.Lines.Debit = 125
entries.Lines.Credit = 0
entries.Lines.Add() 'Add
If entries.Add <> 0 Then
Dim num As Integer
Me.oCompany.GetLastError(num, str2)
SBO_Application.MessageBox(str2)
Else
SBO_Application.MessageBox("Import was successful!")
End If
oCompany.Disconnect()
Catch exception1 As Exception
SBO_Application.MessageBox(exception1.Message.ToString & _
" Source = " & exception1.Source.ToString & _
" TargetSite = " & exception1.TargetSite.ToString & _
" StackTrace = " & exception1.StackTrace.ToString)
oCompany.Disconnect()
End Try
End If
End Sub
Thanks for any helpHello Vitor
Thanks, I got the code to work. You were right about debit or credit, not both. I also removed the tax code.
But the main reason I think it didn't work is because the account code I was using was incorrect. Since the company is using segmentation for their account code, we are suppose to use the account key, not the account code. In order to get the account key I found this function:
Private Function GetAccountKey(ByVal v_sAccountCode As String) As String
Dim oSBObob As SAPbobsCOM.SBObob
Dim oRecordSet As SAPbobsCOM.Recordset
Dim oChartOfAccounts As SAPbobsCOM.ChartOfAccounts
Dim sStr As String
'// Get an initialized SBObob object
oSBObob = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoBridge)
'// Get an initialized Recordset object
oRecordSet = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
'// Get an initialized oChartOfAccounts object
oChartOfAccounts = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oChartOfAccounts)
'// Execute the SBObob GetObjectKeyBySingleValue method
oRecordSet = oSBObob.GetObjectKeyBySingleValue(SAPbobsCOM.BoObjectTypes.oChartOfAccounts, "FormatCode", v_sAccountCode, SAPbobsCOM.BoQueryConditions.bqc_Equal)
sStr = oRecordSet.Fields.Item(0).Value
GetAccountKey = sStr
End Function
So the final code looks like this. Although I don't pretend to have perfect code, I'm able to add journal entries.
Private Sub ImportTitan2()
Dim rt As Long
Dim errCode As Long
Dim errMsg As String
Dim sAccountKey As String
oCompany.Server = "PERSONNE-6D3DBE"
oCompany.CompanyDB = "MYSBODEMO"
oCompany.UserName = "manager"
oCompany.Password = "manager"
oCompany.language = 3
oCompany.UseTrusted = False
oCompany.DbServerType = BoDataServerTypes.dst_MSSQL2005
oCompany.DbPassword = "sapwd"
oCompany.DbUserName = "sa"
rt = oCompany.Connect()
If rt <> 0 Then
oCompany.GetLastError(errCode, errMsg)
Else
Dim entries As SAPbobsCOM.JournalEntries = DirectCast(Me.oCompany.GetBusinessObject(BoObjectTypes.oJournalEntries), JournalEntries)
Dim str2 As String
Try
entries.TaxDate = DateTime.Now.ToShortDateString
entries.StornoDate = DateTime.Now.ToShortDateString
entries.ReferenceDate = DateTime.Now.ToShortDateString
'First line
entries.Lines.SetCurrentLine(0)
sAccountKey = GetAccountKey("112200000100101")
entries.Lines.AccountCode = sAccountKey 'Account code
entries.Lines.ShortName = sAccountKey
entries.Lines.Credit = 300
entries.Lines.Add() 'Add
'Second line
entries.Lines.SetCurrentLine(1)
sAccountKey = GetAccountKey("611000000100101")
entries.Lines.AccountCode = sAccountKey 'Account code
entries.Lines.ShortName = sAccountKey
entries.Lines.Debit = 300
entries.Lines.Add() 'Add
If entries.Add <> 0 Then
Dim num As Integer
Me.oCompany.GetLastError(num, str2)
SBO_Application.MessageBox(str2)
Else
SBO_Application.MessageBox("Import was successful!")
End If
oCompany.Disconnect()
Catch exception1 As Exception
SBO_Application.MessageBox(exception1.Message.ToString & _
" Source = " & exception1.Source.ToString & _
" TargetSite = " & exception1.TargetSite.ToString & _
" StackTrace = " & exception1.StackTrace.ToString)
oCompany.Disconnect()
End Try
End If
End Sub
Thank you for your help. You put me in the right direction. -
Tying journal entries to AP Invoices
Does any one know of a way to find the AP invoice that has generated a Journal Entry. I need to get the vendor name and invoice description that generated the journal entry in Oracle Financials.
Can this be accomplished without modifing the Oracle Apps. or must we change the JE generating procedure to place the invoice_id in a JE flexfield?
Thank You<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by J ([email protected]):
Does any one know of a way to find the AP invoice that has generated a Journal Entry. I need to get the vendor name and invoice description that generated the journal entry in Oracle Financials.
Can this be accomplished without modifing the Oracle Apps. or must we change the JE generating procedure to place the invoice_id in a JE flexfield?
Thank You<HR></BLOCKQUOTE>
Hi
You can achieve this by running the request "Account Inquiry - Payable Detail 132 char". This report has the details you require.
Rajani
null -
SAP 9 PL07 Journal Entry unrelated to invoices
Hi Experts !
I just migrate my DB to PL07 SAP 9 and noticed that the Journal Entry is no more link to the source notes as in previous PL.
Someone also noticed this difference?
This version is a failure or a change in behavior?
The following 2 pictures comparing the versions.
Thank you.
Att
EliezerHi Eliezer,
Actually it happens to Brazil location, please check the notes for this release and if you can not find any information about it talk to SAP support or your local partner.
Patch Information:
1904912 - Overview Note for SAP Business One 9.0 PL07 (Patch)
I hope this tip helps you!
Regards,
Marcelo Silva Santos -
FMS- Journal Entry and AP Invoice
2007B
I ve created a UDF 'AP Remarks' in the JE Header level.
I need the data in 'remarks' field of the AP invoice to be copied to the UDF in JE
what is the FMS query for that?You can use the next query:
If $[OJDT.TransType]=18
Select I.Comments
From OPCH I
Where I.DocEntry=$[OJDT.CreatedBy]
(But the Auto Refresh function works only connected to a manually modified field.) -
Manual Document Number for Journal Entry
I tried to upload invoices via DTW. I used manual doc. series for those invoices. SAP automatically creates a journal entry for every invoice but with it's auto numbering series. How can I use manual number for journal created by system? Thank's a lot.
Hi,
as far as I know, there is no manual option series like in document e.g. sales order.
you could create new series and it is intended to manual operation of journal entry. By using this way, we can manage and differentiate the journal entry document numbering. Which one is for document accounting transaction journal and memorial journal (manual journal).
Rgds,
(http://tech.groups.yahoo.com/group/SBO_Knowledge_Village/ ) -
Journal Entry replication quastion
I have a scenario A, in the scenario A over the inbound channel I choose identifier 30.
When I add a journal entry replicate is ok, but when I add a invoice, the journal entry of the invoice is not replicate.
Anybody can help me?
[]'sI have a scenario A, in the scenario A over the inbound channel I choose identifier 30.
When I add a journal entry replicate is ok, but when I add a invoice, the journal entry of the invoice is not replicate.
Anybody can help me?
[]'s -
Preview of Journal Entry - G/L effect , GL Mapping reference
Hi All,
I have observed that due to non availability of preview of Journal Entry - G/L effect, there are chances that customer/users come to know of wrong G/L Mapping after the posting of transaction.
If an option to preview the G/L effects before adding a transaction e.g. A/R Invoice,Sales Delivery etc... is available than the customer/user can rectify the G/L Mapping or the G/L selection at the transaction level.
Also if one column say GL mapping reference can be added in Journal Entry, the purpose is to store infromation from where the SAP B1 has picked up the GL e.g. from GL increase , GL deccrease , Price Difference from Item Group,Ware House,Item Level GL Mapping.
Best Regards,
Samir Gandhi
Edited by: Samir Gandhi on Apr 22, 2009 7:30 PMDear Peter Dominik,
I think it is good to show the to be Journal entry effect on click on Add botton, this way user will not have to take additional pain click on preview button to see the JE, but for all cases every user will have to forcefully see the JE screen and confirm that it is OK, and he/she will not be able to change it.
BR
Samir Gandhi -
Journal Entry Preview before adding any transactions
Hi experts
Is there any way to see the preview of Journal Entry before adding any transactions.
for ex ' AR Invoice '. Just like Simulate functionality in R/3 .
Thanks
Ashish RanjanIn Business One there is no such possibility.
-
Financial Consolidation failure when updating invoice or journal entry
Hello
We installed successfilly the SAP Business One Intergration for SAP NetWeaver.
By adding invoices, creditmemos or journbal entries everything works fine.
When we try to update a journal entry the following error occurs in the message log:
com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.bizprocessor.BizProcException: BPE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: java.lang.RuntimeException: Dispatch object expected
When we try to update the corresponding invoice this error occurs:
com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.bizprocessor.BizProcException: BPE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: java.lang.RuntimeException: DI Error: (-1029) Field cannot be updated (ODBC -1029)
Any ideas ?
thanks in advanceHi,
JE numbering document can not base on origin document. But they can be set default by user only. That is system behavior.
Hope this helps,
TVSon -
Hi,
G/L Account mentioned on line level does not get hit in Journal entry on GRPO and AP Invoice in SAP B1 9.0 PL - 11
I am creating an independent AP Invoice, there are two issues:
1. On line level G/L Account field is not open for selection
2. I have then selected and updated the account on Form Settings. Same account gets updated on line level.
In Journal Entry selected G/L account on line level shall be hitted. But it does not put any effect on JE. Accounting is set by Warehouse. It picks up accounts from warehouse only.
Need help its urgent.
Thanks in advance.Invoice is Item Type.
G/L Accounts are set by Warehouse. But if explicitly we are want to change the account on line level in that case, it is not getting reflected in Journal entry. On AR Invoice same scenario works perfectly. On line level I can change the accounts explicitly and have the effect on Journal entries.
Issue seems to be on AP side only.
As required please find attached the screen shots.
JEwith mapped GL Account on Warehouse
JEwith different GL Account on line Level via Form Settings
Thanks & Regards
Sonil -
AP invoice vs AP credit memo - Journal entry difference
Hello Experts,
This regarding Create A/P Invoice for an item with value 1000. Correspondingly create a A/P Credit memo for the same bill with 800 value. if you see journal entry the difference amount is tracking in Exp. And Inv. Variance Acct. if it is single of warehouse.
My scenario is GL account set by warehouse. And in our project there are six different warehouses.
Above scenario happens in all six different warehouses, can you guide me where to set Exp. And Inv. Variance Acct. in the warehouse accounting.
Please help me in this regard,
Thanks
RayuduHi,
What is your valuation method.is it standard or moving average?
if it is moving average A/P credit memo will create a journal crediting the stock and debiting the vendor in case of stock item.
incase of noninventory expense gets credit and vendor gets debit.
regards -
A/P invoice line comments (or ref) to Journal Entry
Scenario:
a/p invoice, service type is created.
Several lines, but may post to same GL account.
Description field contains description that should also be visible on Journal entry, so on screen GL reports show the descriptive texts.
Reference is by document, not by line. The same goes for journal remark.
Any ideas on how to do this?Hi......
I guess there is no chance to display as you are asking.
You have to create your own Query Report for this.....
Regards,
Rahul -
Hi Experts,
I have a small query regarding AP invoice journal entry, when we do AP invoice copying from GRPO, we have generally one journal entry passed in the background, one is GRNI which is being Debited and another is the Supplier A/C which is being credited.
But I have one AP invoice where the background journal entry is like this, the supplier A/C credited , GRNI debited by an amount and Trade inventories debited by an amount.
My question is how comes trade inventory A/C is coming here? what is the reason?
it will be a great help if some one assists me.
Rgds
SumanHi SKR,
Suppose the following situation:
In GRPO the qty is 10, and during copy from process the same is copied and qty is changed to 15.
Let the price for 1 item is 100,
the entry will be as follows.
For GRPO, JE will be
Inventory Debit 1000
GRNI Credit 1000
And the JE at AP Invoice will be
GRNI Debit 1000 -----reversal of GRNI while invoice is created.
Inventory Debit 500 -----extra 5 units during changing units.
Sundry Creditor 1500
The reason is that SAP system considers that 15 units of inventory is received so the extra 5 units shall be also accounted.
So the case must be that qty must be altered during recording AP invoice.
Usually this is not allowed by SAP, please check whether this happened.
However if there is addition of another item/product during AP Invoice, the same can happen.
Hope this help you some way,
Regards,
JO
Message was edited by: Jiju Oommen -
Reconcile Deferred invoices to journal entry
Hi,
I installed SAP B1 2007 A one year ago (and I upgraded package 39 last week). Now, I try to link a Deferred invoices to journal entry and I receive the following message:
"Deferred invoices can only be reconciled together with other invoice and payment transaction ( or by basing credit notes directly on invoices".
When I integrate my database, I only integrate journal entries. How can I solve my problem because I need to do thoose links to close 2007 period?
Please, help me.
Thank You.
Edited by: Alexandra LARISSE on Aug 26, 2008 11:03 PMHello,
Please check Note No. 1119633 regarding the issue reported.
Regards,
Jitin Chawla
Maybe you are looking for
-
Error in MIGO durng intra-company stock transfer by STO
Dear gurus, I am facing an error while posting MIGO during intra-company plant to plant STO. Settings for STO: SPRO >IMG > MM >Purchasing > Purchase Order>set up Stock Transport Order Define Shipping Data Define/assign Checking rule Assign Delivery T
-
Downloading Album Artwork constantly stalls
I've been trying to download artwork for my collection (6900+ albums), and it will stall out during the process. iTunes is still responsive, just the download stops. I'll quit and relaunch, download again, maybe get further along, maybe not. Sometime
-
USB ports causing lag/freeze​s
Hi, Hoping I am posting this in the right place. So, just recently Ive been having some problems with my HP Pavilion laptop. Having a mouse plugged into any of the three USB ports causes sound lag, fps drop and stutters on the movement of the mouse.
-
Hi, I am developing a JAVA project following Graphical Editing Framework in Eclipse. I have 3 packages ( in order of build) - ProcessModel, Process Editor and Application. I am trying to import application package and use its class in Process Model.
-
Making CD's For In-Store Printing
I made a similar topic a long time ago and no one answered, but it's still a problem so I thought I would try again. I burned a cd with iPhoto which had (presumably) 211 pictures. I took my cd to my local RiteAid to print up photos (they have a great