Query Problem of Unreconsile transaction Journal Entry
Hi Everyone,
i have problem in a query my query show me only one unreconsile transaction but sap show me 2 Unreconsile transaction of a customer .
=============================================
select Transid,shortname,SUM(debit) as debit
from JDT1
where TransType=30
and transid not in (select transid from ITR1)
group by Transid,shortname
=========================================
Hi,
Try this query:
SELECT T0.[TransId], sum(T0.[Debit]) FROM JDT1 T0 left join ITR1 T1 on T0.[TransId] = T1.[TransId] WHERE T0.[TransType] = [%0] and T0.[Debit] !=0 and T1.[TransId] is null group by T0.[TransId]
Thanks & Regards,
Nagarajan
Similar Messages
-
Problem in Navigating the Journal Entry through Web Services
Dear All,
We are using the Webservice(B1WS) to navigate the Journal Entry data. its showing the error message '坨ᷧymentMen' in Enum 'PaymentMeansTypeEnum', the valid values are '', 'CHK', 'BTR', 'CAS', 'CRD'" and record is not navigated.
I analyzed that Journal Entry in SAP Business One. Its generated for the Outgoing Payments.
Please suggest me where i have the wrong step.
Best Regards,
Netra PalDear Gordon,
Thanks for the reply.
The Journal Entry navigation is working with other JE documents. Its creating the problem in those JE which are generated for Outgoing Pyaments.
I have gone through the JE web services there is only one variable "FCCurrency". I think that its not related to currency codes.
Waiting for a positive reply from you.
Best Regards,
Netra Pal -
How to get Data from SAP B1 through Journal Entries objects (Excel VBA)
Hi Genius
i had try to login SAB B1 thorugh MS Excel VBA code and it worked well. but i need some questions regards getting the data from after login. that means i want the Posting date, Transaction No, account code, debit and credit amount from Journal entries posted in a particular day through MS excel VBA into excel sheets 1 cell A1:E1
how i get it if any possible ways to do that
here my code to login
Public Sub login()
Sheets("Login").Select 'access the login tab
Worksheets("Login").Range("B1").Activate 'put focus on cell B1 (manager)
B1UserID = Trim(ActiveCell.Value2) 'set Businsss One user
ActiveCell.Offset(1, 0).Activate
B1Password = Trim(ActiveCell.Value2) 'set Business One password
ActiveCell.Offset(1, 0).Activate
sqluser = Trim(ActiveCell.Value2) 'set SQL user
ActiveCell.Offset(1, 0).Activate
sqlpass = Trim(ActiveCell.Value2) 'set SQL password
ActiveCell.Offset(1, 0).Activate
Db = Trim(ActiveCell.Value2) 'set Database name
ActiveCell.Offset(1, 0).Activate
Server = Trim(ActiveCell.Value2) 'set Server name
Set company1 = New SAPbobsCOM.Company 'initialate DI company object
company1.DbServerType = dst_MSSQL2005
company1.Server = Server
company1.DbUserName = sqluser
company1.DbPassword = sqlpass
company1.CompanyDB = Db
company1.UserName = B1UserID
company1.Password = B1Password
'connect to the database
lRetCode = company1.Connect
If lRetCode <> 0 Then
sErrMsg = company1.GetLastErrorDescription
MsgBox (sErrMsg)
Else
MsgBox ("Connected to: " & company1.CompanyName)
End If
End Sub
pls help me
advance thanks to solversGordons way is the easiest - just query the OJDT table for journal entry headers and JDT1 for journal entry lines if needed.
But if you want to work with the business objects:
'Journal entry
Dim oJE As SAPbobsCOM.JournalEntries
Set oJE = company1.GetBusinessObject(oJournalEntries)
oJE.GetByKey(1234)
Dim postingDate as String
postingDate = oJE.DueDate
'etc etc -
DI: About Generating a Journal Entry with Returns
Hi since Mexico, I have a problem when I add a Return based on a Delivery. The problem is that the Journal Entry that has to generate for doing the seat of warehouse against cost of sale it does not it do. How can I solve this problem or what I missed for do this task.
Greetings and thanks for your help.Hi Rafael,
What I understodd about your note is this:
When you post a return based on a Delivery using the DI API object, the system is not posting any journal entry?
Is that right?
I've checked this issue in SBO version 6.5 SP1 EF: 07 and you are right.
The RETURNS object from the DI API is not posting any journal entry for this transaction. Hence, the stock for the item is right, but the balance of the stock account and the COGM account is wrong since no posting was made by the RETURNS object.
Anybody has a solution for this problem?
Kind Regards,
Iván Juárez -
Duplicate rows on Query with journal entries and AP documents
Hi Experts,
I ahve the below query allowing me to have some information from journal entries and retrieve some other from AP docuements and PO.
The thing is the query duplicates rows because the AP docuements have several rows but i don t know how to do to remove them (i guess this has to do with JOIN function...)
SELECT
T2.[GroupMask] as 'Account Family',
T2.[FatherNum] as 'Parent Account',
T2.[AcctCode] AS 'Account Code',
T2.[AcctName] AS 'Account Name',
T0.[TaxDate] AS 'Document Date',
T0.[Number] AS 'Number',
T0.[DocSeries] AS 'Document Series',
T0.[BaseRef] AS 'Base Reference',
T0.[TransId] AS 'Transaction Number',
T0.[Ref2] AS 'Reference 2',
T1.[ContraAct] AS 'Offset Account',
T4.[BaseRef] AS 'PO code',
T1.[Project] AS 'Project Code',
T1.[ProfitCode] AS 'Distribution Rule',
T1.[OcrCode2] AS 'Costing Code 2',
T1.[OcrCode3] AS 'Costing Code 3',
T1.[OcrCode4] AS 'Costing Code 4',
(T1.[SYSdeb]-T1.[SYSCred]) AS 'Total Amount EUR',
(T1.[FCDebit]- T1.[FCCredit]) AS 'Total Amount (FC)',
T5.[DocTotalSy] AS 'PO Amount (EUR)'
FROM [dbo].[OJDT] T0
INNER JOIN [dbo].[JDT1] T1 ON T1.[TransId] = T0.[TransId]
INNER JOIN [dbo].[OACT] T2 ON T2.[AcctCode] = T1.[Account] AND T2.[AcctCode] = T1.[Account]
INNER JOIN [dbo].[OPCH] T3 ON T3.[DocNum] = T0.[BaseRef]
INNER JOIN [dbo].[PCH1] T4 ON T3.[DocEntry] = T4.[DocEntry]
LEFT JOIN [dbo].[OPOR] T5 ON T5.[DocNum] = T4.[BaseRef]
WHERE
(T2.[AcctCode] > (N'599999' ) ) AND (T2.[AcctCode] < (N'799999' ) )
AND (T0.[TaxDate]>= [%0] ) AND (T0.[TaxDate]<= [%1])Try This
SELECT T2.[GroupMask] AS 'Account Family',
T2.[FatherNum] AS 'Parent Account',
T2.[AcctCode] AS 'Account Code',
T2.[AcctName] AS 'Account Name',
T0.[TaxDate] AS 'Document Date',
T0.[Number] AS 'Number',
T0.[DocSeries] AS 'Document Series',
T0.[BaseRef] AS 'Base Reference',
T0.[TransId] AS 'Transaction Number',
T0.[Ref2] AS 'Reference 2',
T1.[ContraAct] AS 'Offset Account',
T4.[BaseRef] AS 'PO code',
T1.[Project] AS 'Project Code',
T1.[ProfitCode] AS 'Distribution Rule',
T1.[OcrCode2] AS 'Costing Code 2',
T1.[OcrCode3] AS 'Costing Code 3',
T1.[OcrCode4] AS 'Costing Code 4',
sum(T1.[SYSdeb]-T1.[SYSCred]) AS 'Total Amount EUR',
sum(T1.[FCDebit]- T1.[FCCredit]) AS 'Total Amount (FC)',
T6.[DocTotalSy] AS 'PO Amount (EUR)'
FROM OJDT T0
INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId
INNER JOIN OACT T2 ON T1.Account = T2.AcctCode
INNER JOIN OPCH T3 ON T0.TransId = T3.TransId
INNER JOIN PCH1 T4 ON T3.DocEntry = T4.DocEntry
INNER JOIN POR1 T5 ON T4.[BaseEntry] = T5.[DocEntry]
AND T4.[BaseLine] = T5.[LineNum]
INNER JOIN OPOR T6 ON T5.DocEntry = T6.DocEntry
GROUP BY T2.[GroupMask],
T2.[FatherNum],
T2.[AcctCode],
T2.[AcctName],
T0.[TaxDate],
T0.[Number],
T0.[DocSeries],
T0.[BaseRef],
T0.[TransId],
T0.[Ref2],
T1.[ContraAct],
T4.[BaseRef],
T1.[Project],
T1.[ProfitCode],
T1.[OcrCode2],
T1.[OcrCode3],
T1.[OcrCode4],
T6.[DocTotalSy]
Regards,
Kennedy -
Unbalance transaction Error - Journal Entry Posting
Hi all,
Good afternoon. i posted journal entry using DI -API. I have two Journal Entry when i add the first journal Entry added the second journal entry not added its show the Error Unbalanced transaction
Each Journal Entry have 2 lines
I am using 8.8 patch Level 12
Please anyone help me out of this issue
Edited by: lakshmi narayanan on Oct 19, 2011 9:11 AMHi Jitin,
Did you solved this issue? I just have the same problem with SAP Business One 2007 A (8.00.181) SP: 00 PL: 47
Here my oJournalEntry XML before Add.
You can see that Debit amount is equal to Credit amount (highlited with red)
I would like to receive some suggestions.
<?xml version="1.0" encoding="UTF-16"?>
<BOM>
<BO>
<AdmInfo>
<Object>30</Object>
</AdmInfo>
<OJDT>
<row>
<BatchNum>0</BatchNum>
<TransId>0</TransId>
<BtfStatus>O</BtfStatus>
<TransType>-1</TransType>
<BaseRef/>
<RefDate>20140104</RefDate>
<Memo>AS400-89532</Memo>
<Ref1/>
<Ref2/>
<CreatedBy>0</CreatedBy>
<LocTotal>0.000000</LocTotal>
<FcTotal>0.000000</FcTotal>
<SysTotal>0.000000</SysTotal>
<TransCode/>
<OrignCurr/>
<TransRate>0.000000</TransRate>
<BtfLine>0</BtfLine>
<TransCurr/>
<Project/>
<DueDate/>
<TaxDate>20140104</TaxDate>
<PCAddition>N</PCAddition>
<FinncPriod>0</FinncPriod>
<DataSource>N</DataSource>
<UpdateDate/>
<CreateDate/>
<UserSign>0</UserSign>
<UserSign2>0</UserSign2>
<RefndRprt>N</RefndRprt>
<LogInstanc>0</LogInstanc>
<ObjType>30</ObjType>
<Indicator/>
<AdjTran>N</AdjTran>
<RevSource>N</RevSource>
<StornoDate/>
<StornoToTr>0</StornoToTr>
<AutoStorno>N</AutoStorno>
<Corisptivi>N</Corisptivi>
<VatDate/>
<StampTax>N</StampTax>
<Series>1543</Series>
<Number>0</Number>
<AutoVAT>N</AutoVAT>
<DocSeries>0</DocSeries>
<FolioPref/>
<FolioNum>0</FolioNum>
<CreateTime>0</CreateTime>
<BlockDunn>N</BlockDunn>
<ReportEU>N</ReportEU>
<Report347>N</Report347>
<Printed>N</Printed>
<BaseTrans>0</BaseTrans>
<U_MIGSAP_KEY/>
<U_YVA_RENDI/>
<U_YVA_NUMREN>0</U_YVA_NUMREN>
<U_YVA_ANULADO/>
</row>
</OJDT>
<JDT1>
<row>
<TransId>0</TransId>
<Line_ID>0</Line_ID>
<Account>12121</Account>
<Debit>0.000000</Debit>
<Credit>0.000000</Credit>
<SYSCred>0.000000</SYSCred>
<SYSDeb>0.000000</SYSDeb>
<FCDebit>0.000000</FCDebit>
<FCCredit>863.420000</FCCredit>
<FCCurrency>USD</FCCurrency>
<DueDate>20140104</DueDate>
<SourceID>0</SourceID>
<SourceLine>0</SourceLine>
<ShortName>C10211220550</ShortName>
<IntrnMatch>0</IntrnMatch>
<ExtrMatch>0</ExtrMatch>
<ContraAct>C10211220550</ContraAct>
<LineMemo>AS400-89532</LineMemo>
<Ref3Line/>
<TransType>-1</TransType>
<RefDate/>
<Ref2Date/>
<Ref1/>
<Ref2>89532</Ref2>
<CreatedBy>0</CreatedBy>
<BaseRef/>
<Project/>
<TransCode/>
<ProfitCode/>
<TaxDate/>
<SystemRate>0.000000</SystemRate>
<MthDate/>
<ToMthSum>0.000000</ToMthSum>
<UserSign>0</UserSign>
<BatchNum>0</BatchNum>
<FinncPriod>0</FinncPriod>
<RelTransId>-1</RelTransId>
<RelLineID>-1</RelLineID>
<RelType>N</RelType>
<LogInstanc>0</LogInstanc>
<VatGroup/>
<BaseSum>0.000000</BaseSum>
<VatRate>0.000000</VatRate>
<Indicator/>
<AdjTran>N</AdjTran>
<RevSource>N</RevSource>
<ObjType>30</ObjType>
<VatDate/>
<PaymentRef/>
<SYSBaseSum>0.000000</SYSBaseSum>
<MultMatch>0</MultMatch>
<VatLine>N</VatLine>
<VatAmount>0.000000</VatAmount>
<SYSVatSum>0.000000</SYSVatSum>
<Closed>N</Closed>
<GrossValue>0.000000</GrossValue>
<CheckAbs>0</CheckAbs>
<LineType>0</LineType>
<DebCred/>
<SequenceNr>0</SequenceNr>
<StornoAcc/>
<BalDueDeb>0.000000</BalDueDeb>
<BalDueCred>0.000000</BalDueCred>
<BalFcDeb>0.000000</BalFcDeb>
<BalFcCred>0.000000</BalFcCred>
<BalScDeb>0.000000</BalScDeb>
<BalScCred>0.000000</BalScCred>
<IsNet>Y</IsNet>
<DunWizBlck>N</DunWizBlck>
<DunnLevel>0</DunnLevel>
<DunDate/>
<TaxType>0</TaxType>
<TaxPostAcc>N</TaxPostAcc>
<StaCode/>
<StaType>0</StaType>
<TaxCode/>
<ValidFrom>19000101</ValidFrom>
<GrossValFc>0.000000</GrossValFc>
<LvlUpdDate/>
<U_BPP_CTAD/>
<U_BPP_CTAPAT/>
<U_BPP_DCCD>0</U_BPP_DCCD>
<U_BPP_DCPR>N</U_BPP_DCPR>
<U_INFOPE01/>
<U_INFOPE02/>
<U_INFOPE03/>
<U_InfoCo01/>
<U_YVA_TIENDA/>
<U_YVA_UNDTRANS/>
<U_YVA_FECDOC/>
<U_HYP_Status>3</U_HYP_Status>
<U_HYP_BofEx400>89532</U_HYP_BofEx400>
<U_HYP_Closed>N</U_HYP_Closed>
</row>
<row>
<TransId>0</TransId>
<Line_ID>0</Line_ID>
<Account>12311</Account>
<Debit>0.000000</Debit>
<Credit>0.000000</Credit>
<SYSCred>0.000000</SYSCred>
<SYSDeb>0.000000</SYSDeb>
<FCDebit>431.710000</FCDebit>
<FCCredit>0.000000</FCCredit>
<FCCurrency>USD</FCCurrency>
<DueDate>20140203</DueDate>
<SourceID>0</SourceID>
<SourceLine>0</SourceLine>
<ShortName>C10211220550</ShortName>
<IntrnMatch>0</IntrnMatch>
<ExtrMatch>0</ExtrMatch>
<ContraAct>C10211220550</ContraAct>
<LineMemo>LT-268302</LineMemo>
<Ref3Line/>
<TransType>-1</TransType>
<RefDate/>
<Ref2Date/>
<Ref1/>
<Ref2>268302</Ref2>
<CreatedBy>0</CreatedBy>
<BaseRef/>
<Project/>
<TransCode/>
<ProfitCode/>
<TaxDate/>
<SystemRate>0.000000</SystemRate>
<MthDate/>
<ToMthSum>0.000000</ToMthSum>
<UserSign>0</UserSign>
<BatchNum>0</BatchNum>
<FinncPriod>0</FinncPriod>
<RelTransId>-1</RelTransId>
<RelLineID>-1</RelLineID>
<RelType>N</RelType>
<LogInstanc>0</LogInstanc>
<VatGroup/>
<BaseSum>0.000000</BaseSum>
<VatRate>0.000000</VatRate>
<Indicator/>
<AdjTran>N</AdjTran>
<RevSource>N</RevSource>
<ObjType>30</ObjType>
<VatDate/>
<PaymentRef/>
<SYSBaseSum>0.000000</SYSBaseSum>
<MultMatch>0</MultMatch>
<VatLine>N</VatLine>
<VatAmount>0.000000</VatAmount>
<SYSVatSum>0.000000</SYSVatSum>
<Closed>N</Closed>
<GrossValue>0.000000</GrossValue>
<CheckAbs>0</CheckAbs>
<LineType>0</LineType>
<DebCred/>
<SequenceNr>0</SequenceNr>
<StornoAcc/>
<BalDueDeb>0.000000</BalDueDeb>
<BalDueCred>0.000000</BalDueCred>
<BalFcDeb>0.000000</BalFcDeb>
<BalFcCred>0.000000</BalFcCred>
<BalScDeb>0.000000</BalScDeb>
<BalScCred>0.000000</BalScCred>
<IsNet>Y</IsNet>
<DunWizBlck>N</DunWizBlck>
<DunnLevel>0</DunnLevel>
<DunDate/>
<TaxType>0</TaxType>
<TaxPostAcc>N</TaxPostAcc>
<StaCode/>
<StaType>0</StaType>
<TaxCode/>
<ValidFrom>19000101</ValidFrom>
<GrossValFc>0.000000</GrossValFc>
<LvlUpdDate/>
<U_BPP_CTAD/>
<U_BPP_CTAPAT/>
<U_BPP_DCCD>0</U_BPP_DCCD>
<U_BPP_DCPR>N</U_BPP_DCPR>
<U_INFOPE01/>
<U_INFOPE02/>
<U_INFOPE03/>
<U_InfoCo01/>
<U_YVA_TIENDA/>
<U_YVA_UNDTRANS/>
<U_YVA_FECDOC/>
<U_HYP_Status>3</U_HYP_Status>
<U_HYP_BofEx400>268302</U_HYP_BofEx400>
<U_HYP_Closed>N</U_HYP_Closed>
</row>
<row>
<TransId>0</TransId>
<Line_ID>0</Line_ID>
<Account>12311</Account>
<Debit>0.000000</Debit>
<Credit>0.000000</Credit>
<SYSCred>0.000000</SYSCred>
<SYSDeb>0.000000</SYSDeb>
<FCDebit>431.710000</FCDebit>
<FCCredit>0.000000</FCCredit>
<FCCurrency>USD</FCCurrency>
<DueDate>20140305</DueDate>
<SourceID>0</SourceID>
<SourceLine>0</SourceLine>
<ShortName>C10211220550</ShortName>
<IntrnMatch>0</IntrnMatch>
<ExtrMatch>0</ExtrMatch>
<ContraAct>C10211220550</ContraAct>
<LineMemo>LT-268303</LineMemo>
<Ref3Line/>
<TransType>-1</TransType>
<RefDate/>
<Ref2Date/>
<Ref1/>
<Ref2>268303</Ref2>
<CreatedBy>0</CreatedBy>
<BaseRef/>
<Project/>
<TransCode/>
<ProfitCode/>
<TaxDate/>
<SystemRate>0.000000</SystemRate>
<MthDate/>
<ToMthSum>0.000000</ToMthSum>
<UserSign>0</UserSign>
<BatchNum>0</BatchNum>
<FinncPriod>0</FinncPriod>
<RelTransId>-1</RelTransId>
<RelLineID>-1</RelLineID>
<RelType>N</RelType>
<LogInstanc>0</LogInstanc>
<VatGroup/>
<BaseSum>0.000000</BaseSum>
<VatRate>0.000000</VatRate>
<Indicator/>
<AdjTran>N</AdjTran>
<RevSource>N</RevSource>
<ObjType>30</ObjType>
<VatDate/>
<PaymentRef/>
<SYSBaseSum>0.000000</SYSBaseSum>
<MultMatch>0</MultMatch>
<VatLine>N</VatLine>
<VatAmount>0.000000</VatAmount>
<SYSVatSum>0.000000</SYSVatSum>
<Closed>N</Closed>
<GrossValue>0.000000</GrossValue>
<CheckAbs>0</CheckAbs>
<LineType>0</LineType>
<DebCred/>
<SequenceNr>0</SequenceNr>
<StornoAcc/>
<BalDueDeb>0.000000</BalDueDeb>
<BalDueCred>0.000000</BalDueCred>
<BalFcDeb>0.000000</BalFcDeb>
<BalFcCred>0.000000</BalFcCred>
<BalScDeb>0.000000</BalScDeb>
<BalScCred>0.000000</BalScCred>
<IsNet>Y</IsNet>
<DunWizBlck>N</DunWizBlck>
<DunnLevel>0</DunnLevel>
<DunDate/>
<TaxType>0</TaxType>
<TaxPostAcc>N</TaxPostAcc>
<StaCode/>
<StaType>0</StaType>
<TaxCode/>
<ValidFrom>19000101</ValidFrom>
<GrossValFc>0.000000</GrossValFc>
<LvlUpdDate/>
<U_BPP_CTAD/>
<U_BPP_CTAPAT/>
<U_BPP_DCCD>0</U_BPP_DCCD>
<U_BPP_DCPR>N</U_BPP_DCPR>
<U_INFOPE01/>
<U_INFOPE02/>
<U_INFOPE03/>
<U_InfoCo01/>
<U_YVA_TIENDA/>
<U_YVA_UNDTRANS/>
<U_YVA_FECDOC/>
<U_HYP_Status>3</U_HYP_Status>
<U_HYP_BofEx400>268303</U_HYP_BofEx400>
<U_HYP_Closed>N</U_HYP_Closed>
</row>
</JDT1>
</BO>
</BOM> -
Query for Journal Entry as Incoming/Outgoing Payment
Hi all,
I need a query that returns all journal entries that are incoming/outgoing payments.
I have not found anything in the journal entries tables that marks it as a payment.
thanks,
Lucas.Hi Lucas,
I am afraid 2 queries could be more meaningful. That might be more convenient:
Incoming:
SELECT T0.TransId as [Journal Entry#],
T0.RefDate as [Posting Date],
T0.BaseRef as [Incoming Payment #],
Isnull(T1.AcctName,T0.ShortName) as [GL Account Name/Vendor Code],
T0.Credit
from JDT1 T0
Left JOIN OACT T1 ON T1.AcctCode= T0.ShortName
where T0.TransType=24 AND
T0.Credit > 0
Order By T0.RefDate
Outgoing:
SELECT T0.TransId as [Journal Entry#],
T0.RefDate as [Posting Date],
T0.BaseRef as [Outgoing Payment #],
Isnull(T1.AcctName,T0.ShortName) as [GL Account Name/Vendor Code],
T0.debit
from JDT1 T0
Left JOIN OACT T1 ON T1.AcctCode= T0.ShortName
where T0.TransType=46 AND
T0.debit > 0
Order By T0.RefDate
Thanks,
Gordon -
Hi everybody.
We've developed an addon for B1 2007A PL 42 and we are facing some concurrency issues.
Some background information:
The add-on has to create a Journal Entry every time an Incoming Payment is made for an Invoice that is in foreign currency and the exchange rate of the day the document is paid is different of that of the Invoice.
This is acheived by catching a successful Incoming Payment using the following code:
if (pVal.EventType == SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED && pVal.FormTypeEx == "170"
&& pVal.ItemUID == "1" && pVal.Action_Success && !pVal.BeforeAction)
//some calculations
oJEntry.Add();
This works fine except when 2 (or more) users simultaneously add an Incoming Payment (i.e They click the ADD button (almost) at the same time)
When this happens only the last Journal Entry gets added.
Any idea how to solve this?
Thankstry to use transactions in je adding as
If Not SAP.Connection.oCompany.InTransaction Then
SAP.Connection.oCompany.StartTransaction()
End If
create je
if its added ok, use¨
If SAP.Connection.oCompany.InTransaction Then
SAP.Connection.oCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_Commit)
End If
otherwise
If SAP.Connection.oCompany.InTransaction Then
SAP.Connection.oCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_RollBack)
End If -
Hi All,
I need to come up with a Query/Report that displays a list of all the Manually-Entered journals with the Debit and Credit amounts as well as the User who did the Journal. How do I go about this?
Are there better tables for achieving this than OJDT and JDT1? I'm asking this because these two tables have no link to OUSR where I was planing to obtain the user's name.
I will appreciate any suggestions/solutions very much. Thanks.
Rgds,
Henryhi henry,
Standard report -
Transaction Journal Report will suit ur requirement,user name is also displayed along with JE's.
Administration --> Financical --> Financial Reports --> Accounting --> Transaction Journal Report.
Jeyakanthan -
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.
-
Transaction Notification - Journal Entry
Dear Experts,
Can anyone tell me how to validate Journal Entry line wise using Transaction Notification Stored Procedures. I want to validate each and every row of the Journal Entry.
Thanks in advance
Regards
NeslinHi,
Please close this duplicated thread. Check this announcement:
FYI
Thanks & Regards,
Nagarajan -
Hello,
I am using SAP 2007 B PL 15 and SAP user making a journal entry document but after 115 lines users unable to add new rows its happned more then one user
Is there limitation for rows ? if not then how can i solve this issue please take a higher priority.
Thanks and Regards
RahulRahul,
You can try to create more than 100 line of journal entry but make sure if the total debit or credit digit number are not more than 13.
JimM -
Problem in passing Journal Entry with Business partner
I intend to pass journal entry for a particular Business partner but business partner is a control account how should I pass journal entry for that particular BP.
Need for this entry is for adjusting some G/L accounts with BP accounts.Hi Monica,
Here's a short example of how to use a business partner in a journal entry.
Dim oJnl As SAPbobsCOM.JournalEntries
oJnl = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oJournalEntries)
oJnl.DueDate = Now
oJnl.Lines.ShortName = "C1000"
oJnl.Lines.Debit = 100
oJnl.Lines.Add()
oJnl.Lines.AccountCode = "100000"
oJnl.Lines.Credit = 100
If oJnl.Add <> 0 Then
oApplication.MessageBox(oCompany.GetLastErrorDescription)
Else
oApplication.MessageBox("Success")
End If
Hope it helps,
Adele -
Document numbering of Journal Entry problem
Hi,
I've set document numbering format of all documents by related with period indicator. Document number format of all documents such as A/R invoice, A/P invoice, etc is correct except Journal Entry. It is still running by series of default but not relate with peiod indicator which specified in document numbering set up. Please suggest me how to solve or there is any restriction for Journal Entry?
Thanks you in advanced.Thanks Thanga Raj.K for your response.
I've already defined period indicator in document number series for JE document. And period indicator is related to posting period. When I create JE, document number series is not changed to relate with posting period. But for other document ( ex. A/R invoice), document number series is changed to relate with posting period automatically. I'm not sure what wrong with JE or there is restriction or not.
Thanks, -
Hi All,
I have to update one field(Header- User defined) in journal entry using DI API for each and every transaction. I know how to update journal entries using DI API but my issue is under which event i will write my update code when system post Journal entries automatically
or
How I will update journal entry which is posted by system using DI API.
I dont want to write update query in Transaction notification Procedure also.
Regards
FirosHello Firoz,
The problem:
Documents using integration booking (JE-s) are notified by SP_TRANSACTIONNOTIFICATION, but JE.-s are not recorded there. So you cannot monitor the creation of JE-s.
But, some logic you can find the JE-s booked by Integration
You monitor the et_form_data_Add event on all forms,
- if you are before action, record the journal entry autokey from ONNM (object type 30)
- and when this event executed, you can compare the autokey of journal entries in ONNM table as you have recorded. If the number is difference, you have a background posting happened, so you can call your DI API update procedure.
What i would do in this situation (running logic of the addon)
1. Create an SQL table for storing the updated JE keys
2. Check the OJDT table by time to time (ET_FORM_DATA_ADD event is a good)
3. Update JE headers and record the updated keys in the SQL table created in point 1.
By this method you can populate your field. This solution is also good when an addon is not running on each client.
Regards
János
Maybe you are looking for
-
Upgrade fails in the phase STARTSAP_TBUPG during the upgrade of CRM 4 to 5
Hello, Upgrade failed with the below message in the upgrade phase STARTSAP_TBUPG during the upgrade of CRM 4.0 to CRM 5.0 Error Message: SYSTEM START failed, code -1 -1: 'startsap.exe' returned an error See file 'D:\usr\sap\
-
Hi guys, is it possible to download all facebook photo at once to iphoto? Is there any plugin, app, etc that may do this task? Regards, Filippo
-
Requirement is like that first it will go to another servlet ,will do some processing like session id ,security and then it will generate JSF view. When I am forwarding from my login servlet to JSF page , i am getting this error Oracle.ClassLoader.Ut
-
How do I install an older version of Premiere CS6
I want to install Premiere CS6 6.0.3 but have 6.0.5 installed. I downloaded the 6.0.3 update from this page: http://www.adobe.com/support/downloads/product.jsp?product=98&platform=Windows but when I tried to install it I got an error. How do I instal
-
My ipod touch's screen is changing colors and will not respond to the buttons
my sisters ipod touch is a 4th gen and the screen recently started changing colors, it does not respond to the buttons and will not turn off. should i wait for the battery to die then charge it. she said it started happening when she was charging it.