Approval Query for Outgoing Payment
Hi All Experts,
I have to Create Approval for Outgoing Payment where payment means is Cash,Cheque or Bank Transfer but not Credit Card.
In other words approval should be raised for all payment means other than Credit card payment means.
For which I have Created Query as follows
select Distinct 'true' FROM dbo.OVPM T0
Left join dbo.VPM3 T1 on T0.DocEntry=T1.Docnum
WHERE T0.CreditSum=0 And T1.CreditAcct is null
payments goes for approval but Credit Card payment also goes for Approval which is not required.
Please Help me to Correct the Query.
Regards,
Gayatri Shukla.
Hi,
Little modification to your query. Try this.
select Distinct 'true' FROM dbo.OVPM T0
Left join dbo.VPM3 T1 on T0.DocEntry=T1.Docnum
WHERE T0.CreditSum = 0
Regards,
Amrut Sabnis.
Similar Messages
-
Approver name for outgoing payment
Hi Friends,
I want a query for outgoing payment with the Username of the person who approved this and along with requester (originator) name .To print on crystal report one for requester name and other approved person name.Hi Pradyuman,
Please check below Query for Approver Name for Outgoing Payment.
SELECT T3.U_NAME
FROM OVPM T0
INNER JOIN OWDD T1 on T0.DocEntry = T1.DocEntry
INNER JOIN WDD1 T2 on T1.WddCode = T2.WddCode
INNER JOIN OUSR T3 ON T2.UserID = T3.USERID
WHERE T2.Status = 'Y' and T1.ObjType = 46 And T0.DocNum = $[OVPM.DocNum]
Please try below Query for User Name for Login User.
SELECT T0.U_NAME FROM OUSR T0 WHERE INTERNAL_K = $[USER] FOR BROWSE
Please put above Two FMS in Two Different UDF to Get Result of above FMS.
Please also check below links.
Approved by User name query
Name of authorizers within an approval procedure
Hope this helps
Regards::::
Atul Chakraborty -
Approval procedure for Outgoing payment
Dear all expert,
I want to know how to make approval procedures for outgoing payment. So, everytime user create outgoing payment, it can't be printed until it's approved by Chief Acct. Where do i set this approval, because i see in the approval module, there is no outgoing payment document.
ThanksI have checked that, at least until 2007A version PL49 Outgoing payment has not yet added to Approval Template. You may use SP Transaction Notification to block some users for posting.
Thanks,
Gordon -
Hi All,
i need a report for the outgoing payment where i could display the account details, the doc remarks, row total and also the payment mode, whther by cash or by cheque. I have a query but i dont know how to get the mode of payment and also how to get the row total??
SELECT T0.[DocNum], T0.[DocDate], T1.[AcctName], T1.[Descrip], T0.[CashAcct], T0.[CheckAcct] FROM OVPM T0 INNER JOIN VPM4 T1 ON T0.DocEntry = T1.DocNum WHERE T0.[DocDate] = [%0]
How do i get the row total and the mode of payment incorporated in the query? apart from the doc date, can i also get a selection criteria for the mode of payment as well?? Can anyone please suggest a better query??
Thanks in advance,
JosephTry this one to start:
SELECT T0.DocNum, T0.DocDate, T1.AcctName, T1.Descrip, T0.CashAcct, T0.CheckAcct, T0.DocTotal, CASE WHEN T0.CashSum > 0 THEN 'Cash' WHEN T0.CreditSum > 0 THEN 'CC' WHEN T0.TrsfrSum > 0 THEN 'WIRE' ELSE 'Check' END AS 'Mode'
FROM dbo.OVPM T0
LEFT JOIN dbo.VPM4 T1 ON T0.DocEntry = T1.DocNum
WHERE T0.DocDate = [%0\] AND T0.JrnlMemo != 'Cancelled'
Thanks,
Gordon -
Stored Procedure for Outgoing Payment Approval
Hi
I am writing a stored procedure for Outgoing Payment (Draft) which is not validating my fields
1.Outgoing Draft (Procedure Not Working)
If @object_type = '140' and @transaction_type = 'A'
begin
if exists(select t0.DocEntry from OPDF T0 inner join PDF4 T1 on
T0.DocNum = T1.DocNum where t1.ObjType ='46' AND (T0.Series = '15' AND T1.OcrCode <> 'U-1')
and T0.DocEntry = @list_of_cols_val_tab_del)
begin
set @error = 1
set @error_message = 'Check Unit'
end
End
Regards
John
Edited by: JohnSmith@B1 on Sep 9, 2011 4:49 PMJohn......
Try this.....
IF (@object_type = '140' And (Select ObjType From OPDF
Where DocEntry = @list_of_cols_val_tab_del)='46'
AND @transaction_type IN ('A'))
BEGIN
if exists(select t0.DocEntry from OPDF T0 inner join PDF4 T1 on
T0.DocNum = T1.DocNum where t1.ObjType ='46' AND (T0.Series = '15' AND T1.OcrCode != 'U-1')
and T0.DocEntry = @list_of_cols_val_tab_del)
begin
select @error = 1,
@error_message = 'Check Unit'
end
End
Above SP will only work when your Series Code is 15 and OcrCode is not equal to 'U-1'....
Please confirm........
And Object type for Payment Draft 140 is right.....
Regards,
Rahul -
Can set approval procedures in outgoing payment?
hi all,
can we set approval procedures in outgoing payment?Hi Grace,
at this point approval procedures for Purchasing are only supported on the following Business One document types:
- Purchase Order
- Goods receipt PO
- Goods return
- A/P Invoice
- A/P Credit Memo
Typically you would use purchase orders to facilitate a business process that requires approval for purchasing items.
What is your Business Process that would otherwise require an approval procedure to be in place before releasing payment?
A different approach could be to enhace the application utilizing our APIs.
Regards,
Torsten Budesheim -
DI FOR OUTGOING PAYMENT(VENDOR) PAYMENT MEANS CHECKS
Hi Experts,
Can you give me a sample DI code for outgoing payments(vendor) through payment means on check. thanks
Regards,
PhoenixHi Lucas,
Are you trying to refund a customer or pay a supplier's invoice? If it's the latter then you need to use SAPbobsCOM.BoRcptInvTypes.it_PurchaseInvoice as the document type rather then it_Invoice.
Kind Regards,
Owen -
What are the Transactions for outgoing payment ?
Hi,
i look for the transactions to use for outgoing payment for each payment method
Please advise
Regards.You need to add payment method (ZLSCH) as an additional selection item using T Code O7F1. It will then appear as an addition selection in F-53 (post outgoing payment), when you select radio button 'Others' under Additional Selections. You must be already aware that you can restrict automatic payment program (F110) to certain payment method(s).
-
Data Ownership for Outgoing payment document?
Hi All
How do I enable data ownership authorisations for outgoing payments window?
Thanks
SV ReddyHi
Read Below line
The checkbox labeled Owner Filtering Active is a global flag to activate or deactivate data ownership authorizations for the entire company. Once this is activated, for all sales or purchasing documents and sales opportunities, access will be granted only if the user has a relationship to the owner and has the permission for that relationship either as Read Only or Full. In the case that a document or sales opportunity has no owner, then any user can access it as if no data ownership is in place. Any user can assign an owner to a document or sales opportunity that does not have an owner. Once an owner is assigned, only the owneru2019s manager or a superuser can change the owner.
Excluded Forms Tab
For each selected document, choose one of the filtering options:
· No filtering: Data ownership is not active for this specific form irrespective of the owner fields at the header or line or stage.
· By Header Owner Only: The document or sales opportunity is visible to the owner of the document and to all those users that have a defined relationship to the owner of the header and have the requisite permission for the specific relationship. The owner of any of the lines or stages will have no affect on providing access to the document or sales opportunity
Kevin -
Accounting Entry for Outgoing Payment
Dear experts,
I am currently doing PLD for outgoing payment. Just want to know how I can include in the disbursement voucher I am doing the accounting entries for this., Example:
Accounts Payable (Control Account) 20,000.00
Cash in Bank MBTC (GL account of the chosen Bank account) 20,000.00
Thanks
SandraYou may check this thread to have a reference:
Re: Branch Code in a bank transfer summary report
Thanks,
Gordon -
Why the Docentry and DocNum for Outgoing payment is same?
Hi,
I have define the numbering series for Outgoing payment , But while i created the outgoing payment document, in the backend the docentry and docnum values are same.
Anyone have idea why its happened?
i am using 2007 B
Regards,
Senthil KumarHi senthilkumar,
That is the normal behavior in that table.
Regards,
Vítor Vieira -
Hi Guys,
I written a query for incoming payments for some particular account heads and i have tried this.
But did not achieved the desired result.
Anybody please modify the query.
SELECT T1.[DocNum], T0.DocNum, T0.AcctCode, T0.SumApplied, T0.AcctName ,
(Select sum(SumApplied) from rct4 where T0.docnum = t1.docentry and T0.acctcode='355102'),
(Select sum(SumApplied) from rct4 where T0.docnum = t1.docentry and T0.acctcode='211417'),
(Select sum(SumApplied) from rct4 where T0.docnum = t1.docentry and T0.acctcode='355103'),
(Select sum(SumApplied) from rct4 where T0.docnum = t1.docentry and T0.acctcode='211436')
FROM RCT4 T0
Left outer JOIN ORCT T1 ON T0.DocNum = T1.DocEntry INNER JOIN NNM1 T2 ON T1.Series = T2.Series
WHERE T2.[SeriesName] ='Spares' and t1.docdate between [%0] and [%1]
Regards,
VamsiHi Vamsi,
Try this:
SELECT T1.DocNum, T0.DocNum,
(Select SumApplied from rct4 where docnum = t1.docentry and T0.acctcode='355102') AS '355102',
(Select SumApplied from rct4 where docnum = t1.docentry and T0.acctcode='211417') AS '211417',
(Select SumApplied from rct4 where docnum = t1.docentry and T0.acctcode='355103') AS '355103',
(Select SumApplied from rct4 where docnum = t1.docentry and T0.acctcode='211436') AS '211436'
FROM RCT4 T0
INNER JOIN ORCT T1 ON T0.docnum = T1.DocEntry
INNER JOIN NNM1 T2 ON T1.Series = T2.Series
WHERE T2.SeriesName ='Spares' and t1.docdate between [%0\] and [%1\]
Thanks,
Gordon -
Approval procedure for Incoming Payments
Hi All,
I need to setup an approval procedure in such a way that not all incoming payments raised from "User1" should be approved by "user2". Incoming payments rased only for particular doument series should be approved by "user2".
Answers will be appreciated.
Thankyou,
Sree.Hi
It not possible to raise Approval procedure for Incoming Payments
Thanks
Kevin -
Approval procedure on outgoing payment for Cash and bank transfer
Dear Expert
I want to know about outgoing payment approval
Is it possible to set approval on payment means base ?
Like I need to set approval for my user
case 1 is : - If my user make payment by cash more then 5000 then approval it should be approved by manager
And if my user make a outgoing payment by cash more then 100000 then it should be approved by MD
Case 2 is If my user create outgoing payment by Bank transfer then more then 25000 then it should be approved by manager
And if it is by bank transfer more then 500000 then it should be approved by MD
IS it possible ????? Please guide me
Thanks
RinyHello Sir
Thanks for reply , Well I created query and executed but its giving false value but when i attached this query on approval , Its not working ..
Please help me and also please comment on my another thread which is about No matching record found error
Thanks -
Query of Outgoing Payments Monthwise
Hi Gurus,
I have a written a simple query which gives me a summarized outgoing payment list group by vendor with date range. Query is working fine, now I want that report in monthwise (column) format from the given date range. Cau u help me how do I write this ...
Select T0.CardCode, T0.CardName, T1.GroupCode,T2.GroupName, sum(T0.DocTotal) as 'Total Sum'
from OVPM T0, OCRD T1, OCRG T2
where T0.CardCode = T1.CardCode and T1.GroupCode =T2.GroupCode and T0.DocDate>=[%0] and T0.DocDate <=[%1]
Group by T1.GroupCode, T2.GroupName
What I want is : If I give Date range of From 01-08-2011 to 31-10-2011 then the out come will be like as
Group Name August September October
Group A 100 150 125
Group B 200 150 0
Group C 500 150 200
Please help me find the way.
Regards,
SKTry this..
select p.GroupCode,p.GroupName,
sum([1]) as [Jan],
sum([2]) as [Feb],
sum([3]) as [Mar],
sum([4]) as [Apr],
sum([5]) as [May],
sum([6]) as [Jun],
sum([7]) as [Jul],
sum([8]) as [Aug],
sum([9]) as [Sep],
sum([10]) as [Oct],
sum([11]) as [Nov],
sum([12]) as [Dec]
from(Select
T0.CardCode, T0.CardName,
T1.GroupCode,T2.GroupName,
(T0.DocTotal) as 'Total',MONTH(T0.Docdate)as month
from OVPM T0, OCRD T1, OCRG T2
where T0.CardCode = T1.CardCode and T1.GroupCode =T2.GroupCode
and T0.DocDate>='[%0]' and T0.DocDate <='[%1]'
)S
PIVOT (sum(Total) FOR [month] IN
([4],[5],[6],[7],[8],[9],[10],[11],[12],[1],[2],[3])) P
group by p.GroupCode,p.GroupName
ORDER BY P.[GroupCode]
Maybe you are looking for
-
How to update Adobe Flash Player?
I have gone through all the steps (including uninstalling Flash Player) and I still get the error message: "Unable to load metafile" - what do I do now?
-
Hi, my Dev Alpha C Smartphone has a problem with the camera, when I open the camera says that is not possible initiate the camera, and also can't capture screens. I swipe the smartphone and change the OS to different version, but nothing happen, the
-
IPod 5G Movie Length Limit?
Greetings, I had earlier ripped The Lord of the Rings: The Return of the King (extended edition) onto my iPod 5G as two separate MP4 files (since it came on two DVDs). However, I didn't like having one movie broken up as two files. So I converted the
-
AirPort Express as Relay Station?
I have read the article at http://docs.info.apple.com/article.html?artnum=107454, but I am still a little confused. - Can I use the Express as a relay station or can only Extremes be used as such? - If so, are there certain models that can or can't?
-
Solaris Release Upgrade Path u3 to u8
Hi, I would like to upgrade Solaris Release from u3 to u8. In the same ref. I have below queries. Can I directly upgrade from u3 to u8 ? Whether I need to upgrade first u3 to u6 and then u6 to u8. Please suggest. Thanks Rajan