Form settings using SDK

Hi Friends
I am doing on Purchase order form.i need to set visible some column of matrix visible and active (in table Format and RowFormat) with out using form setting inter face , means through code using SDK.Is it possible
Thanks

sorry, i haven't yet get a solution.
actually i need to  position my userfield in between Quandity and UnitPrice. In Table CPRF I Changed its 'VisualIndx' and 'ExpandIndx'
Now in Table CPRF Record is Like below
ColID                            VisualIndx             ExtendIndx
Quantity(Coulumn11)             13                          13
UnitPrice(Coulnn 14)              17                         257
UserField -                            14                          14
But still dispalying my UserField on last Column.
I did all the process after SAPB1 Application stoped
Edited by: Muna on Jul 24, 2008 12:03 PM
Edited by: Muna on Jul 24, 2008 12:05 PM

Similar Messages

  • Form Setting using SDK

    Hi,
    How i will do form setting using SDK.
    Regards,
    Avijit

    Hi,
    Refer this.
    Form settings using SDK
    Regards,
    Mahendra

  • Using Form Settings In A SDK Form

    Hi
    I am creating a form using SDK and one of the requirements for it if possible is to utilize the Business One Form Settings window with the form so that columns contained inside of a matrix, which is located on the form can be made visible/invisible.
    Is this possible? And if so how do I go about doing it.
    Thanks

    I've got the form settings window modifying my matrix using the following code:
    Dim oFormSettings As SAPbouiCOM.FormSettings
    oFormSettings = oForm.Settings
    oFormSettings.Enabled = True
    oFormSettings.MatrixUID = "Matrix1"
    What I would like to do now however is limit what columns the user can actually set to being visible and editable whilst in the form settings window, as this should only be done to user defined fields. Is there a way to do this?

  • BP Maintenance Screen - Can no longer size it or use the form settings

    All the other screens are fine, but the BP Master screen no longer has the icon in the top right that allows me to maximize the screen and I cannot drag the screen wider or bigger. Also, the Form Settings for this screen is no longer active.
    Any ideas?

    Sorry for the lack of information:
    1) I'm using the manager's login
    2) 2006A SP01 PL41
    2) This db has been around and in use for a few months now and I haven't seen this problem before.
    3) I had just updated the Payment System Tab - Payment Methods. I have two to pick from and I set the other one to the default and unchecked the original default one.

  • Deleting Column using Form Settings issue

    I have a problem deleting a column from the Sale Order Enty screen.  I added the Bar Code column to the Sales Order Entry grid to 5 users using Forms Settings.  I decided to delete it from all 5 users, so I went back to Forms Settings and deleted the column.  Actually, I checked the Visable check box to have the Br Code column displayed and then I unchecked the Visable check box on the Form Settings form.
    The problem I am experiencing is that one of the 5 users,  I delete the column, and when the user logs back into the system again,  the column is back, and I have to delete it again.  This happens each time the user logs out and then back in.  Has anyone else experienced this problem? And if so, how did you resolve it?
    Thanks in advance!!
    Dana

    This user's profile must have some problems.  One way to check is log this user in another workstation to see. Make sure only one session for this user whenever you change and save form settings for the user.
    Thanks,
    Gordon

  • Set value of System Matrix Form using SDK

    Is is possible to set matrix value using SDK of user defined form. Plz forward code for same.

    Yes it is possible. You need to get the form and into the form the item, cast it to a matrix and then set the values into it.
    There is plenty of samples you can use to learn about UI API. You can download them directly from SDN.

  • Saving and loading plugin's settings by using SDK APIs.

    Hi All.
    I am trying to save and load plugin's settings, ex. dialog setting values and strings.
    OS platform is windows XP.
    First I programmed the way of using *.ini file.
    But that not appropriate for Macintosh.
    So, I like to know common way by using SDK's APIs.
    Development env. is VS2008 and Ai CS5 SDK.
    Thanks.

    Use AIPreferenceSuite (AIPreference.h)

  • How to block the Form Settings for Main Menu to use ONLY "My Menu"?

    Hi everyone:
    Our customer wants to define an User Menu (My Menu) for each B1 user within the company and restrict the Modules at main menuu2026
    How can I block the Form Settings for the Main Menu?... It is possible to give an user Only access to My Menu and denied Authorization to the Modules?. 
    I appreciate your help!!. Thanks very much
    Claudia Gutiérrez

    Hi,
    'My Menu' refers to the third tab on the Main Menu, and the
    authorization of 'Organize My Menu' works as below:
    - Full Authorization: Allows the user to access the Organize User Menu
      window (Tools -> User Menu -> Organize) and customize the menu.
    - No Authorization: The user cannot open this window.
    Check the Note  [1062635|https://websmp130.sap-ag.de/sap(bD1odSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1062635] if you are looking for it.
    Regards,
    Jitin
    SAP Business One Forum Team

  • How to edit 'uses-sdk' element in manifest settings

    Hi,
    I created an Android App that works perfectly on my HTC Inspire.  It's just three buttons that link to web pages, a browser loads, very basic. I got it to install on 3 android devices, but it doesn't install on a Galaxy Tab and another unknown android device.  Those devices get a Parse Error.
    So I searched around and I found this possible solution from a few days ago:
    http://www.droidforums.net/forum/rescue-squad-help/148308-error-while-installing-android-a pplication-problem-parsing-package.html
    After hours of search, i found a little answer, actually it has every thing to do with the manifest, i changed the minSdkVersion="8" to minSdkVersion="7", and it worek on the first samsung mobile that i found, i have to check with other mobiles, but i think that is the solution!
    I decided that I better figure out how to edit the Manifest, only to find that:
    I found this bit of unsettling information in the Community Help files:
    uses-sdk elementI see there is a checkbox to 'Manually manage premissions and manifest additions in the application descriptor file.' But i'm not sure if I can just add the line
    You cannot include a uses-sdk element.
    <uses-sdk android:minSdkVersion="7" />
    Any work arounds?
    Thanks in advance!
    Tek

    Hi Pooja
    You can find the text in <b>ResourceEditControl**.properties</b> file, which is available under   <i>com.sap.km.cm.ui\lib\km.appl.ui.edit_api\com\sapportals\wcm\control\edit</i>..
    The text is represented by the key <b>txtUploadControl</b>..
    Regards,
    Sandip

  • Print a report in crystal Report using SDK

    Hi Dear;
    any body can publish a sample code how can i print a report built in crystal report using SDK?
    regards;

    Hi Dany,
    Hope the following code will help u .
    before calling the function make a XML by using dataset.writexml, in which you have to pass the name of your stored procedure.
    for this you have to decalre commantype as stored procedure.
    first parameter of this is rpt name . asecon paramer is ur xml name which you got from DAtaset.writexml.
    Sub ShowReport(ByVal rptName As String, ByVal SourceXML As String)
            Try
                Dim oSubReport As CrystalDecisions.CrystalReports.Engine.SubreportObject
                Dim rptSubReportDoc As CrystalDecisions.CrystalReports.Engine.ReportDocument
                Dim rptView As New CrystalDecisions.Windows.Forms.CrystalReportViewer
                Dim rptPath As String = System.Windows.Forms.Application.StartupPath & "\" & rptName
                Dim rptDoc As New CrystalDecisions.CrystalReports.Engine.ReportDocument
                rptDoc.Load(rptPath)
                For Each oMainReportTable As CrystalDecisions.CrystalReports.Engine.Table In rptDoc.Database.Tables
                    oMainReportTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
                Next
                For Each rptSection As CrystalDecisions.CrystalReports.Engine.Section In rptDoc.ReportDefinition.Sections
                    For Each rptObject As CrystalDecisions.CrystalReports.Engine.ReportObject In rptSection.ReportObjects
                        If rptObject.Kind = CrystalDecisions.Shared.ReportObjectKind.SubreportObject Then
                            oSubReport = rptObject
                            rptSubReportDoc = oSubReport.OpenSubreport(oSubReport.SubreportName)
                            For Each oSubTable As CrystalDecisions.CrystalReports.Engine.Table In rptSubReportDoc.Database.Tables
                                oSubTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
                            Next
                        End If
                    Next
                Next
                rptView.ReportSource = rptDoc
                rptView.Show()
                Dim oFrm As New System.Windows.Forms.Form
                rptView.DisplayGroupTree = False
                rptView.Dock = System.Windows.Forms.DockStyle.Fill
                rptView.Location = New System.Drawing.Point(0, 0)
                oFrm.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
                oFrm.Controls.Add(rptView)
                oFrm.Name = "rptForm"
                oFrm.Text = "rptForm"
                oFrm.ResumeLayout(False)
                oFrm.WindowState = System.Windows.Forms.FormWindowState.Maximized
                oFrm.TopMost = True
                oFrm.ShowDialog()
            Catch ex As Exception
                oApplication.MessageBox(ex.Message)
            End Try
        End Sub

  • Form Settings - Item Cost on Sales Order row

    Hello,
    I used form settings to add the field Item Cost onto my AR invoice row. I tried to add the same with Sales Order form settings but the field is not available when I go to Form Settings. Is there any way to add it? I'm using 8.81 PL09.
    Thank You
    Naomi xxx

    Hi Naomi,
    This is by design. If you want to add, you need a row level UDF plus FMS to display. Because Sales Order is not an accounting document, that is why this field has been omitted. Item cost is available to Delivery and AR Invoice.
    Thanks,
    Gordon

  • Sap Business One 8.8 Form Settings Error

    Hi,
    I cant hide the Financial  and Reports Label in the Main Menu of 8.8 using Form Settings..  i have already tested it on Patches 5,10 and 11.. Any advice Experts?
    Thanks,
    Darius Gragasin

    Hi Gordon,
    Yes I have already Tried it on all 3 patches,except for patch 12.. 
    Thanks,
    Chino

  • How do I do validation using SDK.

    How do I do validation using SDK.
    We have created different warehouses for the client business operations.
    For eg:
    1. Inspection Stores
    2. Rejection Stores
    3. Main Stores
    In Goods Return & A/P Credit Memo, other than RejectionStores is
    selected, we want to generate a warning message.
    How do I do this through SDK.
    I need the code sample for the following activity:
    1. Reading the data available at each row of the current form (Goods
    Return/ A/P Credit memo)
    2. Validate the data with a paricular warehouse
    3. Generate warning message.
    I could not find any samples related to this.

    There is a method called MessageBox for the Application object. Have a look at
    the documentation, everything is there.

  • Customer/Vendor Code in Form Settings

    Hello everyone,
    I'm facing a strange problem. When I want to add an extra column (Customer/Vendor Code) using form settings in the list of A/R Invoices, the system is displaying Customer/Vendor name instead of the code. When I use the View System Information, the CardCode is displayed at the bottom of the screen. This is happening in all sales documents. I tested this issue in different versions (2007A, 8.8 and 8.81), but the same problem exists.
    Please any idea? Thank you.

    Hi Nadia.....
    At every Form Setting you find Restore Default Button at the bottom.
    Please press that button and then try to see the same you trying to see.......
    Hope this will solve your problem.........
    Regards,
    Rahul

  • Form settings in a form created from xml

    Hello,
    I've load a form with a matrix from xml and I was wondering if its possible to group the lines and order the results via the form settings. The problem is that when I load the form, form settings button is deactivated. ¿Is there anyway to configure the visualization of the data on the matrix via this button in user forms?
    Thanks in advance

    Martin,
    The User Setting button is not available for user forms in Business One versions 2004A and prior.  With the release of SAP Business One 2005A, the User Settings button is available for user forms via the FormsSettings object.  You can get more information on the FormSettings object for the 2005A SSK on the Business One page on SDN and then under Help > SDK Help Center v 2005.
    Hope this helps,
    Eddy

Maybe you are looking for

  • Looking for an iPhone App developer

    Hi, I'm looking for an iPhone app developer, preferably in the UK, to work with me on a couple of reference apps. Drop me a line if you'd like more information; [email protected] Cheers Phil

  • Group by calculated column?

    How can one group by a colum that is derived? E.g. select a.col1, a.col2, (select count(*) from table_b b where b.ix=a.ix) as foo, count(*) from table_a a group by ?????? Unlike "order by" I cannot simply "group by 1,2,3", and calling out the volumn

  • Zen Micro 6GB PROBLEMS (help

    I'm really starting to not like these! The st one i bought didn;t work, and now the second one is about half as bad!When i plug in my zen mirco to the computer, it finally acknoledges it, by charging it and such, but yet when i try and use the progra

  • Select with One-to-Many and Many-to-One without repeating

    Hi I have a customer who needs a report two sides left and right, but allowing for One-to-Many and Many-to-One relationships in the one report. A little background:- This has do do with listings on land and buildings. One building can be built on a f

  • Time Machine backup problems

    Good morning. I have a Quad-Core Intel Xeon G5, running Leopard 10.5.4. I have attached a LaCie 1TB external HD via firewire to be used as a Time Machine. The initial backup went smoothly, taking only about 6 hours to backup nearly 5.5 GB of informat