Open Payment Means Form

Hello Everyone
I'm trying to open "Payment Means" form via the following code:
SBO_Application.ActivateMenuItem("5892");
but i'm getting the error : Menu - Not found  [66000-27]
From what i checked, it is the correct Menu UID, and it is enabled.
What might be the problem?
Thanks
Mosh

Hi moshababo,
Sorry, my mistake.
Then you are correct, the Menu ID is 5892 and it's working in my system.
I've created a button in the A/R Invoice (form 133) with the following code
                oForm.Items.Add("btt", BoFormItemTypes.it_BUTTON)
                oForm.Items.Item("btt").Top = oForm.Items.Item("1").Top
                oForm.Items.Item("btt").Left = 250
                oForm.Items.Item("btt").Specific.Caption = "Payment means"
                oForm.Items.Item("btt").Width = 150
                oForm.Items.Item("btt").FromPane = 0
                oForm.Items.Item("btt").ToPane = 0
I then caught the ItemPressed event, for item "btt" and activated the menu 5892 with no problems.
            If pVal.BeforeAction And pVal.ItemUID = "btt" Then
                oApplication.ActivateMenuItem("5892")
            End If
Regards,
Vítor Vieira

Similar Messages

  • Can I open Payment terms form ?

    Hello friends,
    I want to add new payment terms through my user defined form
    but how can I open the form because this form is not associated with menu item
    so i cannot use  SBOApplication.ActivatemenuItem("") function
    Note:The payment term form can be opened via purchase order form after choosing define new.

    Hi...
    You can use choose from list for payment terms...
    for this u have to use document object of payment terms
    that is
    CTG     40     Payment terms types     
    and use this code
    For this you have to use choose from list method.. this is the sample of code... and set this code for payemnt terms object..
    SAPbouiCOM.ChooseFromListCollection oCFLs = null;
    SAPbouiCOM.Conditions oCons = null;
    SAPbouiCOM.Condition oCon = null;
    oCFLs = oForm.ChooseFromLists;
    SAPbouiCOM.ChooseFromList oCFL = null;
    SAPbouiCOM.ChooseFromListCreationParams oCFLCreationParams = null;
    oCFLCreationParams = ( ( SAPbouiCOM.ChooseFromListCreationParams )( SBO_Application.CreateObject( SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams ) ) );
    oCFLCreationParams.MultiSelection = false;
    oCFLCreationParams.ObjectType = "4";
    /// here use have to use object type="40" for payemnts types
    //Object type="4" for ItemMaster Data
    oCFLCreationParams.UniqueID = "CFL1";
    oCFL = oCFLs.Add( oCFLCreationParams );
    //Add Column to user data source and then assign the CFL UID to the column.
    oColumn.ChooseFromListUID = "CFL1";
    if u r facing again problem feel free to ask...and
    if get help... please give rewards points...
    thanx
    deepak

  • Stored Procedure to Validate My Payment Means Screen.

    Hi All,
    I want to make use of the Stored Procedure for a Payment Means Screen, where the scenario is that, when ever the end user is making an Out Going Payment for amount more than 20000 Rs for the day, there should be an error message that should be generated and also if possible make the Total Field in the Payment Means Form as ZERO Value or block such transactions.
    This Stored Procedure should be triggered when the OK Button is clicked in the Payment Means Screen.
    This is an important requirement and have no idea how to set the Stored Procedure for the same.
    Please help in providing the Stored Procedure for the same.
    Thanks
    Rohan

    Hi Rohan
    If you are using B1 2005 SP1 PL XX put this in your SP SBO_SP_TransactionNotification
    @object_type nvarchar(20),                     -- SBO Object Type
    @transaction_type nchar(1),                    -- [A]dd, <u>pdate, [D]elete, [C]ancel, C[L]ose
    @num_of_cols_in_key int,
    @list_of_key_cols_tab_del nvarchar(255),
    @list_of_cols_val_tab_del nvarchar(255)
    AS
    begin
    -- Return values
    DECLARE @Error INT                                   -- Result (0 for no error)
    DECLARE @Error_Message VARCHAR (200)           -- Error string to be displayed
    Declare @Total MONEY
    SELECT @Error = 0
    SELECT @Error_Message = N'Ok'
    ADD YOUR CODE HERE -
    /********************************************************* OUTGOING PAYMENTS **********************************************************************/
    if @object_type = '46' and @transaction_type in ('A')
    begin
         select @Total = DocTotal
         from OVPM
         where DocEntry = cast(@list_of_cols_val_tab_del as int)
         if @Total > 20000
         begin
              set @Error_Message = 'Ammount to big. Cannot Create de Payment'
              set @Error = 1
         end
    end
    select @Error, @Error_Message
    end
    This code, prevents than anyone can make a Outgoing Paymente over 20,000; but triggers unti press OK in the Outgoing Payment form.
    Hope this help
    Slds,.
    Esteban

  • Payments Inquiry form is not opening for a user

    Dear All,
    In AP, when a user trying to open the Payments Inquiry form, entire Oracle applications is freezing and have to kill the browser. But when tried in Test environment the form is opening normally for the same user. Did anyone encountered this problem?
    Thanks in advance,
    Pramod

    Duplicate post (please post only once):
    form is not opening
    form is not opening

  • How to query a list of open Incoming Payment with its Payment Means

    Dear Experts,
    As subjected, can anyone throw some light onto writing a query which list Open Incoming Payment and its total and payment means.
    Much Thanks!
    Warmest Regards,
    Chinho

    Try this one to start:
    SELECT T0.CardCode Customer, T0.CardName 'Customer Name', CASE WHEN T0.CashSum > 0 THEN 'Cash' WHEN T0.CreditSum > 0 THEN 'Credit Card' WHEN T0.TrsfrSum > 0 THEN 'WIRE' ELSE 'Check' END AS 'Method', T0.DocNum, T0.DocDate
    FROM dbo.ORCT T0 
    WHERE DateDiff(DD,T0.DocDate,GetDate())< 31
    Thanks,
    Gordon

  • Payment Means-General Entry

    Hi Guys,
    Can any one solve this issue regarding the Banking->Incoming Payments. In that i am Entering New record in Incomming payments in that Form ie Document Lines ie Document For Payments in that Matrix(Document Lines) some Data is their in that right Click on the that in that i am selecting Payment Means in when i am selecting the DueDate,Country,Bank Name all i am selecting when comming to Branch , Account its unable to Select and unable to Enter data Entry on it.how is is it possible but when pressing Tab on Branch pop window is opening but unable to get & Choose data on it. How we make possible to Enter data & on that Column . please solve this issue ASAP.
    Thanks & Regards
    ANAND

    Anand,
    I am curious to know if you are required to record for each Incoming Check the Bank, Branch and other information.
    Is it a mandatory requirement or you are just entering them because there are columns for them.  This is for my information purpose only.
    Please let me know
    Suda

  • "Open Interface Invoices" Form takes time to open!

    Hi Guys,
    In our production system, it takes 3 minutes to open "Open Interface Invoices" form (AP Manager>Invoices>Entry>Open Interface Invoices). So what should we do so as to avoid this.
    I was thinking to delete data from two tables (AP_INVOICES_INTERFACE & AP_INVOICE_LINES_INTERFACE) based on certain crieterions. Like all the records which have been successfully imported i.e. with status='PROCESSED' can be deleted. So, I can achieve this using two methods:
    1. Manually using SQL Delete statement. i.e.
    DELETE FROM AP_INVOICES_INTERFACE WHERE status='PROCESSED';
    DELETE FROM AP_INVOICE_LINES_INTERFACE
    WHERE invoice_id IN (SELECT invoice_id FROM AP_INVOICES_INTERFACE WHERE status='PROCESSED');
    2. Or I can use "Payables Open Interface Purge" Program.
    I ran this program for my specific source, and checked the count from tables but the result is the same. This means this program has not deleted any of the processed records from these two tables for the particular source.
    What can be the reason for this? Please suggest me on this.
    Thanks a lot!
    Regards,
    Sumir Chawla

    So I tested it out on Windows Pro Reader X 3GB and it opened right away. Then I put it down to 1GB and it took over a minute! Best bet is to get a faster machine! (or at least a memory upgrade)
    In the mean time, I had a look at your form and there were a lot of objects and subforms that didn't need to be there, so I cleaned it up and made one repeatable subform. It works a lot faster now even on a 1GB.
    You can edit the title of each entry in the scripting object myLists.
    Here you go:
    http://www.fieldeffecttechnologies.com/AdobeForums/PAR_v3.pdf
    Kyle

  • Closing an invoice with an open payment

    Hello,
    Can anyone help in getting me started on how to close an invoice with an open payment?.  I have a requirement to find the open payments for an invoice and close the invoice programmatically.
    Thanks.
    -Richard.

    Dear Richard,
    Generally, we will close the invoices when we do payment on the invoices by function 'Incoming Payments' and 'Outgoing Payments' under 'Banking' in B1.
    Could you explain what mean 'open payment'?
    How to create the 'open payment'?
    Best Regards
    Jane Jing
    SAP Business One Forums Team

  • In dev server my payment advice form f110_prenum_chc  is not working

    hi,
    friends i need urgent help.
    1) i have copied f110_avis_in frm 000 client to 200 client with form name
       z_prenum_dup.
    2) i have copied f110_prenum_chc frm 000 client to 200 client form name
      zf110_prenum_chc1.
    3) then i modified my both forms in 200 saved assigned TRs and
    transported frm DEV server to PRD server(client 700).
    4)in dev server 200 client my both forms are working
      but in prd server 700 client my form cheque z_prenum_dup is
      working but payment advice form zf110_prenum_chc1 is
    not working.
    5) but i can see my both forms r their in 700 prd server in se71 t.code.
    6) if i run f-58 tr.code and by switching on debug mode i can see my
       cheque form but not payment advice form.
    7) if i run in 200 client i can see my both forms.
    can any body plz help me out of this issue.

    Dear,
       I will be able to put some points, if you can give me some more idea about ur problem,
    1, Does system giving any error..?
    2, Can you see a preview..?
      As I understood, it must not have any problem in transportation.
      You can also check with Respective functional consultant whether he has done with required customization in NACE..?
      One more thing you can do is,
      open a program RSNAST00 and put break point at "  PERFORM (tnapr-ronam) IN PROGRAM (tnapr-pgnam) USING returncode", here you can check at runtime ( While in debugging mode) the value of field TNAPR-FONAM, this value must be your SmartForm.  If it is not the case then, there is problem with NACE settings and contact your functional counterpart.
    Hope it's helpful .......Enjoy.
    Regards,
    Chetan

  • How to open a pdf form with fdf data

    Hi all,
          I am working on a new project. In that, I have to load a PDF contract form with FDF data on Internet Explorer Window.
    I don't know how to do it. Actually I tried using this format on the URL (while loading the respective page)
    http://www.example.org/pdf_file_name.pdf#FDF=http://www.example.org/fdf_file_name.fdf
    But it opened as an empty pdf document. . Actually I need it with the fdf data.
    Can anyone know any other way to do this?
    Or is this not possible to open a pdf form with fdf data in a browser?
    Thanks in advance
    Annamalai

    @ Bernd. It still opens a text file
    Here's my FDF file sample
    %FDF-1.2
    %âãÏÓ
    1 0 obj
    <<
    /FDF << /Fields
    <</V (07/22/2009)/T (Loan_Note_Date)>><</V (22.29)/T (Loan_AnnualPercentage_Rate)>></V ()/T (Seller_ESignatureArea1_Date)>><</V (GA Dealer)/T (Seller_Signer_FullNameTitle)>><</V ()/T (ThirdParty_ESignatureArea1_Date)>>
    /F (MARSMFLZ.pdf)/ID [ <1f0b6b55f345db39e8246247138fe562><e960588530b0d06d35cd618b34d4c314>
    ]>>
    >> endobj
    trailer
    <<
    /Root 1 0 R
    >>
    %%EOF
    (I have uploaded the related pdf file before.)
    Just now I got an idea to use WScript (the code is written in javascript)
    ws = new ActiveXObject("WScript.shell");
    ws.Run('"AcroRd32.exe" "C:\\annukar\\Refi\\Refinance_Module\\Forms\\Contract.fdf"', 1, true);
    this opens my fdf document in Acrobat reader using command prompt.
    I have a doubt now, can i use some string in place of "C:\\annukar\\Refi\\Refinance_Module\\Forms\\Contract.fdf" in the above command?
    I mean something like fdf_file = "C:\\annukar\\Refi\\Refinance_Module\\Forms\\Contract.fdf"
    and replace ws.Run('"AcroRd32.exe" fdf_file,1,true). I tried it but it doesn't work Any idea's? Since the path will not remain the same always. So i need to change it

  • Opening  the same form more then one time in the same session

    H! I want to accomplish the following .... I have a form that has a button. The code in the when-buttin-pressed trigger is a call_form - to open another form. I want to be able to push this button as many times as the user may want and the form should keep opening a new form. Meaning I can have 10 forms of the second form open if I want. The user basically wants to be able to flip between the data on the same form opening up this form a couple of times in different windows. when I use the call form the button on the initial form is becoming disabled - not allowing me to push it again to open another form without closing the one already open. Please HELP!

    Sounds like you need Run_product rather than Call_form.
    It will establish multiple database sessions, and the user will be responsible for terminating them. And I am not sure, but this may only be possible in client/server forms.

  • Payment Means - Bank Transfer

    In SAP 8.8, we recorded a bank transfer incoming payment from one Business Partner for a partocular Sales Order. This is under Banking > Incoming Payments.
    When I open that Sales Order transaction, I clicked on 'Payment Means' icon and go to 'Bank Transfer' tab. However, I don't see the bank transfer showing here. I thought the incoming payment supposed to be automatically linked to the Sales Order but it's not. Any idea how do I link them together?
    Thanks.

    Incoming payment can never link to a sales order. You need a down payment or reserved invoice for this order to link.
    Thanks,
    Gordon

  • Payment means

    Hi all,
    Is there a workaround or a patch that corrects the behaviour below:
    When we are adding an invoice in SAP, the payment means screen comes up automatically when the payment means field "open incoming payment" is set to other than no. However if there is important information missing, such as tax codes, etc, the payment comes up first, and THEN the check for tax values, etc.
    Thanks
    Charles

    Dear charlas,
    As understand that when you add the invoice at that time your payment means window pop up.
    before adding particular  invoice go to account tab of that invoice go to payment terms  click on the orange arrow > in that payment terms you set  >Open Incoming Payment.> No.
    update the payment terms.
    and than just refresh the payment term.
    May if definitely help you.
    REGARDS
    MANGESH PAGDHARE.

  • Set Project for Payment Mean for Cash Sale

    Hi Anyone,
    Do you have any idea to set the project code when user process the cash sale (AR Invoice + Payment) in payment screen? This is because there are only payment mean screen prompt out and on the screen no place to define project code. Once the transaction saved and the project code fields in payment screen is locked.
    Thx
    KC

    Hi,
    Have youu2019re tried in Project Code field which is in AR Invoice line item level screen.
    If that field is not there in that line item screen, please enable that project code filed in the form setting.  While doing AR invoice + Payment process, you can be able to capture project code in AR invoice screen it self  and that will automatically copied to Payment screen.
    Regards,
    Senthil Mauthappan.

  • Showing Advance adjustment accounts in Incoming Payment(payment means)

    Hi Experts,
    At the time of Incoming payment in banking module , when  open the incoming payment means screen system show the default account in GL account which is Advance payment Adjustment Account head. Please tell me the reasone behind this  logic.
    Thanks
    Aurangzaib Khan

    Dear Mr. Sridharan
    I am asking what is the reason behing  this mapping, suppose if I received Cheque from a customer, but at the time received such cheque is not Cleared, therefore how to post this transction, please tell me Detail procedure for this  Transctions.
    Thanks
    Aurangzaib Khan

Maybe you are looking for

  • Question about GSS

    1. Can the customer customize the health check of backend server ? Eg. Using SNMP to poll the OID to check if the threshold is greater than a specific value. 2. Do GSS has database to check the location of client so that they can result the IP of tha

  • JMS Web Service Configuration

    Hi folks, I'm trying to set up a JMS web service on a WebLogic 7.0 server. I want this web service to listen for messages on a queue on another server running WebLogic 6.1 sp2. Here's what I've done: Created web service using WebLogic Workshop modele

  • Standard service category usage

    hello MM Gurus, i am little bit confused how to take the advantage or utilize the functionality of standard service category . can any one explain me significance of 1. Structure of service type where it shows TXT MNO FORMAT LENGTH SEP IND T1        

  • Available update not available

    For the past month I have had (1) update showing in iTunes menu, but when I go to the "apps" area, there are no updates listed. But still the (1) update on the lower bar. How do I find what this missing item is? Its driving me nuts. This has happened

  • Dynamic naming of Vectors

    Hi, I need to be able to create vectors dynamically, for example vectorName1, vectorName2 and so on. I've managed to do this with JButtons using setName(). Is there a similar way to set the name of vectors using a string? Thanx