Any Control or Solution for Two Payment Draft Knock off to same invoice?

Hi,
Q1) Would like to ask is it any control or solution proposed to prevent 2 outgoing payment draft knock off to same invoice?
Notes:
This is important because someone had choosed same invoice no 1 to knock off and save as payment draft.The problem will happen when 2nd outgoing payment draft with same invoice add to e system. E system will consider the second payment as payment on account(advance payment).
Edited by: Marc Riar on Mar 6, 2008 12:44 PM

Hi,
the sbo_sp_transactionnotification is somethink like triger in tables. It`s called when you add, update or delete data to db and it`s on you, which condition you wrote there. In the sp you will have for your case as input parameters identification of payment draft, so you need to prepare sql query which based on payment draft will make control, if exists some invoice, for which is more than one payment drafts. If yes, set @error = 1 and @error_message to some explanation (will be shown in status bar of sbo).
I dont know how you create the payment draft, so I will write some example for testing, which control if in cretaed or updated delivery from vendor is filled vendors no of delivery.
if @object_type = '20'  and (@transaction_type= 'A' or @transaction_type= 'U')
begin
     if 1 = (select count(docentry) from opdn with(nolock) where docentry =@list_of_cols_val_tab_del and (numatcard is null or len(numatcard) = 0) )
     begin
          select @error =1
          select @error_message = 'The vendors no isn`t filled
     end
end
This sp will be inserted into body of sbo_sp_transactionnotificitaion procedure in your sql.
Some explanation:
@object_type = '20'  - vendors delivery
(@transaction_type= 'A' or @transaction_type= 'U') - A - add, U - update - Im testing it for insert and update existing
@list_of_cols_val_tab_del - docentry of delivery - input parameters
if 1 = (select count(docentry) from opdn with(nolock) where docentry =@list_of_cols_val_tab_del and (numatcard is null or len(numatcard) = 0) ) - testing if vendors no is filled
select @error =1
select @error_message - throwing error
hope it helps
Petr

Similar Messages

  • Does any one implemented solution for httpservlet request/response object in IWSDLInterceptor implemented class?

    I am trying to handle Producer not available situation in which I am using Interceptor IWSDLInterceptor in WLP 10.3.4. I am able to retrieve exception using onWSDLException but from here if I have to forward my pageURL object I need httpservlet request and response. I tried my own filter class to have its own customize request and also tried it out all other Interceptor to see if any one can handle IOException. I did manage to throw my own Customize exception but  that also did not work out as Page does not have any backing file or any supportive Controller class.
    Does any one implemented solution for httpservlet request/response object in IWSDLInterceptor implemented class? or do we have any specific documentation in regards to this? As I am not able to find much martial on IWSDLInterceptor except Java API from Oracle and article defining Two way SSL handshake Producer.
    Any kind of help is appreciated.
    Thanks
    PT

    Thanks Emmanuel for your response but render behavior is not available for IWSDLRequestContext/IWDSLResponseContext object which IWSDLInterceptor uses for implementation.
    Let me put my question in little simpler manner. May be my approach to the problem is not proper.
    Problem : Handle Producer Not available (no application exists on server) on consumer side.
    So far tried approach : Producer is not running then I am able to handle that TransportException at IInitCookieInterceptor/IHandleEventInterceptor onFault behaviour but in the case of Producer not even exists Consumer try to get WSDL fetch operation and failed with FileNotFoundException.
    To handle this exception, I used IWSDLInterceptor which is available under IWSDLInterceptor.OnWSDLException (Oracle Fusion Middleware Java API for Oracle WebLogic Portal)
    I am able to catch the exception but problem arise when application needs to forward at specific page/render portlet for this situation. For that it required request/response object but IWSDLInterceptor does not give any kind of instances to redirect request as there is no direct access to HTTPServlet request/response object.
    I tried my custom request object to use there. I tried out custom filter object of IWSDLrequestContext. nothing works.
    One approach works is to put producer WSDL file at consumer level. But in that, you need to handle different producer files for different environment. Which I don't think its a good approach.
    eAny one Let me know if my approach to the problem/scenario is wrong. Or if I am missing out any other supporting interface which also required to handle this scenario. or I am using wrong interface for this scenario.
    Thanks for your help in advance.
    PT.

  • Any 3rd party solutions for subject tags in blogs?

    I really like iWeb, but I don't care for the fact that now after three versions, the blog entries still do not have the ability to add subject tags. I'm not talking about meta tags here, just a subject classification that is standard to most other blogging platforms.
    So I wonder if there are any third party solutions for doing this since I've heard that iWeb is getting a lot of third party support now?
    Thanks

    I think we're talking about two separate things. It's standard for blog posts to have "tags" which are links that a reader can click on to see other posts based around this same subject.
    If I understand what the iWeb SEO tool is doing, it is creating tags for better search engine optimization. I didn't see any indication that subject tags could be added to each individual blog entry and that clicking on them would bring up a list of other posts on the same subjects.

  • HT6147 I am not able to create a hotspot form my iphone 4 after upgrading to ios 7 . Do any one have solution for it

    I am not able to create a hotspot form my iphone 4 after upgrading to ios 7 . Do any one have solution for it

    Verify that your carrier supports Personal Hotspot for your device and that you have Personal Hotspot enabled on your cellular plan:
    From Here  >  http://support.apple.com/kb/HT3574
    Trouble Shooting  >  http://support.apple.com/kb/TS2756

  • Can you have two separate icloud accounts for two iphones that sync with the same imac?

    can you have two separate icloud accounts for two iphones that sync with the same imac?

    Welcome to the Apple Community.
    Yes and no.
    There is no issues at all if you use two user accounts on the mac, each can sync with one of the accounts.
    If you are using a single user account, you can add the second account as a secondary account in settings > mail, contacts and calendars and you can then sync mail, contacts, calendars, notes and reminders from the second account, but not documents and data, back to my mac or photostream.

  • Why doesn't Verizon offer any Contacts backup solution for prepaid customers?

    So I used to be on a contract plan, had my branch office close down, went out of work, and ended up having my contract lapse (this was a couple years ago). After all the monthly service charges for two lines mounted up before Verizon actually shut off the service, combined with early disconnect penalties and the like, the final bill was like $1100.
    I wasn't about to pay this, so I ended up switching to a prepaid plan. I understand that prepaid services naturally will carry certain limitations and restrictions of service as compared to contract plans, but one of the most absurd and ridiculous limitations is having no way to backup contacts, whether in general, or when switching devices (particularly from Android to Apple, or vise versa).
    As soon as I switched to prepaid, the Backup Assistant feature designed exclusively to backup contacts stopped working. To add, the Verizon Cloud service is not available for prepaid customers. You would think as small as a vcf namecard file is to backup, that either 1) Verizon Cloud should be accessible to prepaid customers, maybe not to the extent of backing up photos, etc., but at least to backup contacts, or 2) enable the original Backup Assistant feature for prepaid customers to backup contacts.
    I'm now switching from an Android device to an Apple device, and Verizon is offering me no solutions to backup my contacts, other than a customer service rep telling me I could try taking both devices in to a store to see what they could do, but promised nothing in regards to them actually being able to do it. Android to android is simple, as you can export your contacts to an external SD card, and then import them back in via the external SD. But when switching to apple device, you can't do that. There's also no indication I could import contacts from Gmail to an apple device.
    Even after getting gouged with an $1100 collection debt from Verizon due to an unfortunate loss of job, I stayed loyal to them, continue to reach in to my pocket and send them money every month for the last 2 years on prepaid, yet I can't even backup my contacts? It's completely absurd.

    if you have an iPhone you'd just do it through iCloud( I ssume ) and if you have Android you'd just do it through your Google account

  • Question for Outgoing Payment Drafts Report

    HI:
          Experts.I use a non-superuser to login SBO, I couldn't choose user for payment drafts report, but I could choose user for Document Drafts.  How counld I choose a user for Payment drafts report as a non-superuser?
    Regards

    Hi qiang peng,
    Your Super User was Assigned No Authorization for Payments Drafts Report in Banking Module.
    Create to Check this,
    ->> Login Super user in SAP.
    ->> Administration -> System Initialization  -> Authorizations -> General Authorization.
    ->> Open the General Authorization Window and Check the below steps.
    ->> Select the Particular Non Super User.
    -> Banking -> Outgoing Payments. -> Payments Drafts Report (Select the Full Authorizations).
    Update the Authorizations.
    Regards,
    Madhan.

  • Is there any way to judge whether two streamings are casted by the same client?

    Hello,
    My app use two different streams to send video and audio from flash clients to the server.
    So another client need to judge whether two streamings are casted by the same client or not.
    Is there any way to do this?
    For example, if it is possible to get ip address from netStream instance, it will be a solution.
    Could anyone teach me this?
    Thanks in advance!

    From the FCP 7 User Manual. You can access your copy of the Manual through the HELP menu on the menu bar at the top of your main screen.
    x
    Subtract Composite Mode
    Subtract darkens all overlapping colors. Whites in the foreground image go black, while whites in the background image invert overlapping color values in the foreground image, creating a negative effect.
    Blacks in the foreground image become transparent, while blacks in the background image are preserved.
    Overlapping midrange color values are darkened based on the color of the background image. In areas where the background is lighter than the foreground, the background image is darkened. In areas where the background is darker than the foreground, the colors are inverted.
    The order of two clips affected by the Subtract composite mode is important.
    Difference Composite Mode
    The Difference composite mode is similar to the Subtract composite mode, except that areas of the image that would be severely darkened by the Subtract composite mode are colored differently.
    The order of two clips affected by the Difference composite mode does not matter.

  • Clearing Customer down payment for down payment amount not equal to Customer Invoice amount

    Dear All,
                   Below process are posting Customer transaction directly via FI without SD cycle.
                Customer down payment = 102 INR
                Customer Invoice = 103 INR
    While doing Customer clearing w.r.t Invoice system has cleared the down payment document but posted an open item in Customer account with clearing document number  of value Rs 102  .
    Concern:-
                   1) How 1 INR difference will be countered , via receipt payment from customer from bank account ?
                   2) In case we have defined tolerance limit of 5% for Customer and this come to be > 1 INR ,does SAP provide clearing Customer items
                       automatically via any Standard Customer clearing process based on rule defined  ?
    Pls suggest
    Regards
    MJ

    Hi,
    the information of the exchange rates used for down payments, is
    stored in table TCURR ( exchange rates)
    For the request down payment the actual exchange rate of table TCURR
    or the rate of document header is taken.
    When this down payment request is payed, also the exchange rate of
    the actual day (TCURR) is taken.
    That´s why the amount in the bank posting in local currency result
    from translating the foreign currency amount at the current rate,
    instead of resulting from the total of the local currency amounts
    from the settled items.
    Regards,
    Attila

  • Solution For Two Workstations

    Hello,
    Does anyone know if there is a Remote Desktop solution, or other good third party solution that provides remote desktop capability between two workstations, both running OS 10.4.9, that does not require purchasing the full server-based Remote Desktop solution?
    Thanks in advance...Ethan

    if all you need is to be able to control another computer, then ARD would be overkill. Look into the freeware VNC. That will give you control capabilities and not cost you anything. You can find VNC applications for Mac here. Most people seem to find Chicken of the VNC works well for them.

  • Does any have a solution for supporting 2 DVI monitors on an Intel xServe

    Can anyone tell me how to configure two DVI monitors to a mid-2009 Apple xServe3.1 running OS X Server 10.5.8 that only has a miniDisplayPort?

    Before recommending using a PCI Express 2.0 video please identify any such solution with a manufacture and model identification of the adapter that will work with this series of Apple xServe. I.A.W. Apple reps. there no PCI Express video adapters that are available presently that will work with the Intel based xServe systems.

  • Any 3rd party solutions for reports management?

    We have a small IT team, trying to manage a lot of reports.  We have 3 people that create reports.  Right now there are about 400 reports that are actively being used.  The problem is that up until now we have not had documented standards for report design and no documentation on the reports that have been created.  I am new to the company and am trying to get the reports under control.  I'm a relative newbie when it comes to Crystal.
    We really have several issues. The 2 most critical are:
    gathering documenation on what views, tables, etc. are used in our reports (any way to do that without going into each report, one by one?)
    Standardizing the look and feel of each report.
    I have been able to put in a report counter which updates a record in our database everytime the report is run so I can target the more important reports, as well as finding reports which are not utilized.
    Any ideas?  The first idea I had, was to hire someone to solely focus on reporting issues, but that's nto going to happen.
    Scott

    Hi Scott,
    One option that quite a few of our customers use is a tool called Source Safe. It's the control program that comes with Microsoft Visual Studio. It allows you to check in and out code and manage changes. It can also be used for files like Reports.
    Check Microsoft's site for more info on how to and what it can do...
    Others may have suggestions also.
    Thank you

  • How to control Netpay amount for minimum payment case i.e. can't be less than 500

    Hi
    My user is coming up with a new scenario in relate to netpay amount. The netpay amount can't be less than 500 in any case where total deduction(monthly) is more than the gross(monthly). Let's say an employee's gross salary is Rs. 10,000 and the total deduction amount is 10,500 so in that case the netpay will be 500. The balance deduction amount i.e. Rs. 1000 will be carry fwd to the next month's deduction.
    Please guide me to work on the above scenario..
    Thanks,
    Santosh

    You can maintain this fixed amount in the Minimum net pay - Fixed Amount Constant (MNPAM) of table view Payroll Constants (V_T511P).
    You can find more detailed information here: http://help.sap.com/saphelp_470/helpdata/EN/0f/4c8c3c042e49d4bcd7ae4dad92225d/content.htm

  • Solution for viewing AR credit memo relevant to AP invoice

    In R12, we no longer have the functionality of applying miscellaneous receipts to credit memos. Using this functionality in 11i, we were able to make payments through AR.
    In 11i, we were using API (AR_CM_APPLICATION_PUB.activity_application) for creating and applying Misc Receipts to Credit Memos. In this process, it would first create miscellaneous receipt using API (AR_Receipt_API_PUB.Create_Misc) and then apply it to corresponding credit memo. Then standard remittance process in AR would pick up the receipts and generate a remittance file which would be transmitted to the bank as a payment instruction. Hence, we were not using AP for payments.
    However in R12, the above mentioned standard functionality has changed. Now the same API (AR_CM_APPLICATION_PUB.activity_application) creates a receivable activity (“Refund”) in AR and creates an AP Invoice in AP instead of Miscellaneous receipt in AR. This AP invoice can then be paid using Oracle Payments. However, this is making our solution more complex in R12 compared to 11i.
    Technical Details from R12
    1. In R12 API - AR_CM_APPLICATION_PUB.activity_application is calling API “ar_refunds_pvt.create_refund” instead of “AR_RECEIPT_API_PUB.create_misc”, which creates the AP Invoice.
    2. Form - ARXTWMAI is calling one pll in one of the form trigger and in turn the procedure (ar_refunds_pvt.create_refund) is called, which creates AP Invoice.
    Un-answered questions:
    1. Is there anyway to view the refund in AR independently (Other than going to Credit Memo and see the activities)?
    2. How aging and customer exposure in AR are impacted, if payment is not made for the refund AP invoice?
    3. Is it possible to drill down to the original credit memos from AP Invoices?
    4. Invoice fields like pay group, payment terms are defaulted from the Payables system setups. Is it possible to pass those in the API or can we use different values for these parameters other than payable system setup?

    Hi Anil,
    Thanks for the response. When an invoice has the exact same distribution accounting as a credit memo then your scenario is valid. I think that scenario occurs when you create an RMA for a particular sales order for example. The RMA would then reverse the exact accounting of the original sales invoice.
    However a manual credit memo in AR can be applied to any valid invoice for that customer (from any point in time). At a point in time the auto accounting rules may have been different causing the generated account string to be different for the same customer. We regularly have cases where a credit memo for a customer applied to an older invoice for that same customer has different distribution accounts. The credit memo application journal actually adjusts this so that the accounting in GL will be correct.
    ie
    Invoice from 01-Jan-2008
    DR Receivables Account 130000 -> $1000
    CR Revenue Account 400000 -> $1000
    Now if you create a manual credit for the item in full today, the entry of the Credit memo might look like this
    DR Revenue Account 400000 -> $1000
    CR Receivables Account 120000 -> $1000
    Credit memo application to apply the credit memo to the original invoice:
    CR account 130000 $1000
    DR account 120000 $1000
    Now this functionality was standard functionality in 11i because I guess the designers realised if there was no "correction" journal then your GL would be imbalanced at an account level.
    Rgds
    Shankar

  • XI testing for two SAP R/3 systems with same system id/logical system

    Hi
    We are currently in the process of upgrading our R/3 4.7 to ECC 6.0 and plan to maintain dual landscape for DEV & QA (4.7 & ECC 6.0) for a period  for testing and maintaining existing applications for fixes etc. The second DEV & QA (upgraded to ECC 6.0) are copy of respective systems and these systems are created automatically under technical systems in SLD by auto update (RZ70).
    The question is, can we use the same XI system for testing inbound/outbound interfaces for both the systems i.e 4.7 & ECC 6.0 at the same time.  I am aware of the fact that XI Technical/Business sytems dependent on unique logical systems, so we cannot create new business system for the upgraded DEV-II ECC 6.0 system. 
    For your information, we have two slds (one for XID/XIQ and second one for XIP).
    What are the options without disturbing & maintaining the current XI system set up?
    1) Can we change current Business systems e.g DEV010 to use new technical system i.e DEV-II ECC 6.0 for testing for a period and switch it back to DEV-I 4.7 technical system?
    2) or change logitical system name of DEV-II ECC 6.0 and create new business sytem in SLD without interfering the existing setup and modify/create interfaces to use this new business system?
    3) Do we need to refresh cache from time to time in XI ?
    4) Any other implications
    We will be upgrading XI to PI 7.1 after ECC 6. 0 Upgrade.
    Any views on this would be highly appreciated.
    Regards
    Chandu

    Hi
    Technical System was created in the SLD automatically after RZ70 configuration in the new DEV-II system. We then modified Business System to use the new Technical system and carried out following steps:
    1)     Original Idoc metadata was deleted from XID
    2)     The port definition  was deleted
    3)     A new port definition was created for new system
    4)     The metadata for each idoc type used was re-created in IDX2 , using METADATA -> CREATE
    5)     This brought in all known versions of the idoc segments, including the 7.1 version.
    I have already checked the guides suggested for our upgrade and we are thinking of going ahead with fresh installation and migrating the interfaces.
    Regards
    Chandu

Maybe you are looking for