Add Journal Entries Report - Output to Request Set
Hi All,
I'm trying to create a Request Set for the receivable application
The request set should contains two Programs
1- AR: Journal Entries Report
2- Journal Entries Report - Output
I defined the request set and when i start adding the programs , i selected the first program AR: Journal Entries Report from the list and gave it sequence 10
when i tried to add the other Report "Journal Entries Report - output" i didn't find it in the list and i'm not able to add it
1-Do any one know why this program doesn't appeat in the list ?
2- If i created a copy of this program and gave it other name , this program in the definition doesn't have any parameters although a parameters must be passed to it from the first request AR : Journal Entries report. how to pass parameters from the first program to it
Best Regards
nuppara,
I need to add this report to the request set as it's a workaround to get the output of the AR: Journal Entries Report as Excel - I created a post asking this question also , u already replied to it.
My workaround is like this , the AR: journal Entries Report automatically sumbit the program "Journal Entries Report - Output" based on the parameters that the user select
Print Detail By Account , Print Detail By Category , Print Summary By Account , Print Summary By Category
if i want to to make this report to be an Excel output so i'll have to create 4 templates but won't be able to assign the correct template to it , as the main request AR: journal Entries report calls it automaticcaly, and may run it 4 times
so my workaround was like this
i'll create 4 request sets ,
the first RS will be for example AR: journal Entries Detail By Account, i'll add to it 2 programs the AR: journal Entries Report , and the Journal Entry Report - output -OR a program copied from it with the same design and i'll add parameters to it-
i'll force the parameters of the AR: Journal Entries in this request set to be Print Detail By Account = 'Y' and the other options = 'N' so the report will call Journal Entry Report - output with the parmeter layout= 'Print Detail By Account ' will be displayed as text ... when it finish the request set will run the Journal Entry Report - output -OR the copied program - that i'll assign the correct template and data definition for it, so it'll run and display the output as Excel .
I need to try this solution, but i was not able to add the journal Entries Report - Output to the request set :( and i'm not sure if i'll create a copy from it will be added or not,
and also i'm not sure if this workaround may work , as i know when the AR: Journal Entires report complete it delete the data from the temp table so the 2nd request may work on an empty table , or it'll have a request_id different from the request_id of the temp table so it won't select any row
all of this is just a brain storming to find the solution. :( i'm thinking by a loud voice here :-D
i know it may not work but at least to try it i need to add this report to the request set.
Similar Messages
-
AR: Journal Entries Report Convert to Excel using XML
Hi All,
The Client ask to add a column and change the output format to Excel (using XML Publish) to the standard report " AR: Journal Entries Report" whish is Spawned ..
i know the Report calls other report called "Journal Entries Report - Output" using some parameters one of them is "P_LAYOUT_DESCRIPTION" which may be 1 of these values
Print Detail By Account , Print Detail By Category , Print Summary By Account , Print Summary By Category
and each one of them has different layout
Now i want to know
1- the ability of adding a column to this report (SPAWNED)
2- The ability of translating the output to EXCEL,PDF,RTF (using XML Publisher)
I Know the steps of how to convert a report to XML using data definition and template, but the spawned program calls the "Journal Entries Report - Output" by specific parameters and doesn't mention the template name that will be used or output type of the template
as if i'll create 4 templates one for each layout how to let the Main report calls the output report giving it the correct template that should be displayed
Best Regards,
AmirSure i used it , and i created many templates for it with different layouts ,
But the user needs this report specially :( -
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. -
Can I add journal entries that are tagged to calender events?
I want to be able to add journal entries to certaon calender events as notes so that I can reference these at a later date. I ee ICal can;t do it, is there another app that automatically integrates with ICal that will do this. What about Evernote or Things?
You can add predefined fields using the "Card" menu and "Add Field" Submenu.
You can also change labels for multi-values properties by clicking the current label and choose "Customize"
But I don't think you can add custom fields using AddressBook.
Perhaps you should consider using other software like RubenSoft's Pack Organizer or ">Objective Decision's Contactizer
Why reward points ? -
SAP experts,
I need to find a JE report with the following columns in particular for the client. I know I can go to FB03, S_ALR_87012286, S_ALR_87012287 and S_ALR_87012289, but I am not a able to get a simple reports with these columns.
Company code, Document no.,Posting date, total Amount, header text, doc type and reference.
I can get the most from the above reports but cannot have the total amount for the journal entry.
Please help, its urgent.
thanks!Hi,
Could you please let us know where to find the .opc file (ARRGTA) and with which editor to open it.
We want to see the code for ARRGTA spwaned program. -
Intrastat - Add fields in report output - VE01
Hi Friends,
I do not see import output fields like mode of transport, COO, material No, etc in VE01 intrasta report output. Is there any configuration to add required output fileds. In the select laout also we do not have these fields except there in VEIAV table
early respinse appreciated
Thanks,Hi,
Your question is already answered here:
[VE01 - User exit and BADI ?;
This can be done through screen exit in SMOD/CMOD enhancement RVEXAKK1
BR,
Barna -
Add statement to report output to CSV
We have just been told that we need to include a canned statement on all of our reports or documents that are generated from our database. We use APEX and a lot of our users love the download to CSV function that it offers because of the flexibility it provides them. Is there a way to add a header field to these types of reports so we can fill this request?
We have just been told that we need to include a canned statement on all of our reports or documents that are generated from our database. We use APEX and a lot of our users love the download to CSV function that it offers because of the flexibility it provides them. Is there a way to add a header field to these types of reports so we can fill this request?
-
Requirement for add a journal entry of unbalnce FC amount
Hi,expert !
I want to add a journal entry of unbalnce FC amount.
for example: assume the exchage rate is 1.5
AccountNo Debit(FC) Credit(FC) Debit Credit
1001 usd 100 150
1002 150
How can I make it ? Any help is appreicated . Thank you in advance.Hi,
There is a master setting inorder to allow unbalanced transaction in the journal entry.
Administration->System Initialization->Document setting->Per document tab->Select Document-Journal Entry
Uncheck the option 'Block &Unbalanced FC Journal Entry' and update.
This will allow you to add unbalanced transaction.
If you need to make a single manual journal entry,Open Journal entry window->Go to form setting->Document tab->General tab-'Allow Unbalanced Transaction in FC',select this option.
Hope this is helpful! -
Can we add links to perform editing, modify properties in KM Report output?
Hello,
I have created KM report which provides list of XML forms which satisfy specific conditions. Now I want to add links on report output so that user can click on that link and can directly start editing documents if needed. Also I want to provide direct link which can open properties of document.
Also can we add images/ icons on a particular row like traffic lights icons: Green, Yellow, Red.
Thank you,
Nitesh ShelarI have another question related to following class may be that can put more light on my base requirement. I am creating Result item object based on details I found on various KM articles for KM reports. I wonder what is that List executedCommands, object.
public static ResultItem getInstance(RID rid,
Map properties,
List executedCommands,
boolean hadError,
String statusDescription)
Can any one tell me about this List executedCommands and what exactly I should pass there and how it is going to affect my output? -
Set My Report output to A4 Size
Hi All,
May i know how to set my report output automatically to set to A4 size
Thanks in Advance
Have a NIce dayHi Tim
Thanks for your response.
I have used landscape mode and as my table in the report are wide and at present the pdf is generated in letter size .
Is there any way to restrict my output to A4 so that they wont need to change any print settings before they take the print .As i cannot use the A4 size paper in design as many of reports tables are wide.
Have a Nice day. -
Unable to use di api to add a journal entry
Hi All,
I had trouble with adding a journal entry
the following are my codes:
oJournal = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oJournalEntries)
oJournal.DueDate = Now
oJournal.ReferenceDate = Now
oJournal.TaxDate = Now
' first line
oJournal.Lines.AccountCode = "11110101"
oJournal.Lines.ContraAccount = "C00001"
oJournal.Lines.Credit = 1000
oJournal.Lines.Debit = 0
oJournal.Lines.ShortName = "11110101"
' second line
oJournal.Lines.Add()
oJournal.Lines.AccountCode = "C00001"
oJournal.Lines.ContraAccount = "11110101"
oJournal.Lines.Credit = 0
oJournal.Lines.Debit = 1000
oJournal.Lines.ShortName = "C00001"
' add journal entry
lRetCode = oJournal.Add()
The error message is " [JDT1.Account][line: 2] , 'Tax account has not been defined for the selected tax code'"
CheersI've tried the following codes but I got the same error
Dim oJournal As SAPbobsCOM.JournalEntries
oJournal = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oJournalEntries)
oJournal.DueDate = Now
oJournal.ReferenceDate = Now
oJournal.TaxDate = Now
oJournal.Series = 1023
' first line
oJournal.Lines.AccountCode = "11110101"
oJournal.Lines.Credit = 1000
oJournal.Lines.Debit = 0
oJournal.Lines.DueDate = Now
oJournal.Lines.TaxDate = Now
oJournal.Lines.ReferenceDate1 = Now
' second line
oJournal.Lines.Add()
oJournal.Lines.AccountCode = "C00001"
oJournal.Lines.Credit = 0
oJournal.Lines.Debit = 1000
oJournal.Lines.DueDate = Now
oJournal.Lines.TaxDate = Now
oJournal.Lines.ReferenceDate1 = Now
' add journal entry
lRetCode = oJournal.Add() -
Series not defined for journal entry
Hello Sir
I have defined two series namely "SCPL" and "New1"
Start No Last No
SCPL 10001 3000
New1 3001 30000
Now i have made "SCPL" series as default for A/R Invoices and "New1" series as default for rest of the documents like A/R Credit memo,Journal Entry etc...
Now when I try to add an A/R Invoice , it gives me error message "Series not defined for journal entry"..?? But i have defined New1 series as default for Journal EntryHi,
In the series defined for journal entry,set document series as default for which default journal entries will be posted automatically.
Ex.For delivey,return,invoice journal entry will be generated automatically,so if you a series like JESYS08 indicating system automated journal entry.This series should be set as default.
If you have further issue let me know. -
Adding a custom report to a document set
Hi,
We are trying to add a custom report to a document set in OM. When a sales order is released, the sequence of events to occur is - a standard pick list report runs followed by the custom report(a despatch note).
However, I cannot associate the parameters so that the parameters that are driving the standard apps pick list report are also driving the custom report.
Anyone tried this before?
Thanks muchlyEventually I figured this out. In 54, the edit dialog for the clickstream cloud is set up in the JS at:
/libs/cq/personalization/widgets/source/analytics.init.js
Effectively the 'registration' of the various stores is hardcoded in this JS file, with lines like so:
//eventinfodata
reg.call(this, CQ_Analytics.EventDataMgr);
So, we could overlay the entire personalization widgets clientlib, but that seems crazy just to add one line of code.
So, what I've done is to write my own clientlib and bolded it onto the cq.personalization category (which the /libs/cq/personalization/widgets clientlib is part of). This JS sets up another listener (on the click of the edit button) which adds the additional tab to the edit dialog.
If anybody is interested in seeing how this was done, buzz me on twitter @tomblackford -
Date deviates from permissible range [journal entry - Document Date]
Hi, i have problem to add journal entry, when i creat journal document last year with:
Posting date: 06-02-09 (this date)
Due date: 06-002-09
and Document date: 20-11-08 (couse the document late to creat at the journal)
kindly, and thx for solution..
Regards,
AniAni,
Take a look at this thread
Re: Delivery Date on Sale Order
Suda -
I posted this in Application server forums. I didn't get any resolution for this.
We migrated forms 6i application to 10g. Our apllication has three options for the report output.
1. Output to preview
2. Output directly to printer
3. Output to file.
I have couple of questions regarding the output to printer and file.
1. Right now the application server uses the unix printer commands in /usr/bin to print. We need to print the report output from the application server with the printer commands in /opt/cups/bin instead of /usr/bin.
How to do this?
2. If the report output destination is set to FILE. Then the server generates and store the ouput in the default directory /exports/../.../../. How do I change the default destination location.
Thanks,
Vijay.Hello,
1) Since, 9.0.2, Reports uses the script rwlpr.sh (OH/bin) to send the ouput to a printer when DESTYPE=PRINTER. If you want to change the executable used to print, modify this script
2) When DESTYPE=FILE, it is possible to specify a "full path name " in DESNAME
Regards
Maybe you are looking for
-
Material description in GR & PO differ
Dear All, User has created a PO for a 'Non-stock' material and before saving the PO he has changed the decription of the material in the PO. A GR was created with reference to this PO. In this GR the descrption of the material is not the same as tha
-
Facebook is not working on any of my browsers!
Hi everyone, I am tired of my facebook not working. It has been almost a 5 months since I had this problem where it keeps saying: This webpage is not available Google Chrome cannot reach the website. This is typically caused by network issues, but ca
-
Opening files in 2 monitor setup- CS4
I have searched the discussion db and cannot find an answer. If this has already been answered, please accept my apologies and direct me to the solution. I am using a 2 monitor set-up, 1) main monitor or startup - menu bar, folders and tools for open
-
I have tried to find this information and no one seems to be able to help me (including Adobe Tech Support). What I am trying to do is create a form on a web site that has four categories...Year, Make, Model, Engine. It is kind of like what is on Aut
-
Problem while creating local formula
hi guys, when iam trying to Create Local formula,i got error message with pop up screen like, BW Server Errror An error occured in the communication with server with BW server Due to this ,the communication had to be closed In detail description we g