Change System Form Title
Hi All,
Is it possible to change the name/description of system forms? For eg. I want to change the name of "Sales Order" form to "Service Order" or probably something else..can this be done?
If it is possible, can anyone please help me with a sample code? Also, if the changes are possible then will the name change also reflect in the main menu?
Thanks in advance.
HI,
Write this code inside Item Event
If pVal.FormTypeEx = "139" Then
If pVal.EventType <> SAPbouiCOM.BoEventTypes.et_FORM_UNLOAD Then
Dim oForm As SAPbouiCOM.Form
Try
oForm =SBO_Application.Forms.Item(FORMUID)
oForm.Title="Service Order"
Catch ex As Exception
End Try
End If
End If
Hope this will help you
Regards,
BBN
Similar Messages
-
Item ID for Minimize, Maximize button at system form title bar
Hi,
Can anyone help me out finding Item ID for Minimize, Maximize and close buttons at system form title bar (Left side Title of form and right side three buttons). I need ID for these items, if anyone knows please reply. will appreciate help on same.
Thanks,
JayI'm tryin to get over with Item master screen strech machenism. I've Added matrix at pane 6 and position is not fixed when ever form is rezised or base product font size is changed. I've alredy tried providing values to top left width height through oexisting item vaues, I'm not using any integer value. Let me know if i can freez it's position ....... Sample code below
oExistingItem = oForm.Items.Item("174")
oItem = oForm.Items.Add("mtx_MFGALS", SAPbouiCOM.BoFormItemTypes.it_MATRIX)
oItem.Top = oExistingItem.Top + oExistingItem.Height + oExistingItem.Height
oItem.Width = oExistingItem.Width + oExistingItem.Width
oItem.Height = oExistingItem.Width
oItem.Left = oExistingItem.Left
oItem.FromPane = "6"
oItem.ToPane = "6"
oMatrix = oItem.Specific
oMatrix.Columns.Add("Col0", SAPbouiCOM.BoFormItemTypes.it_EDIT)
oMatrix.Columns.Item("Col0").TitleObject.Caption = "Line #"
oMatrix.Columns.Add("Col1", SAPbouiCOM.BoFormItemTypes.it_EDIT)
oMatrix.Columns.Item("Col1").TitleObject.Caption = "Name"
oMatrix.AutoResizeColumns()
Regards,
Jay -
Hi all,
I want to modify the BP master data form title.
I have developed an add-on where i used a BP master data form. when i click on my submenu the BP master data form is activate but i won't the title "Business Partners master data". I want "Fiche consignataire" when BP master data form is activate.
Help me please.Hi,
If I understand you question wll you should try this:
Select Case pVal.FormTypeEx
Case "134"
Select Case pVal.EventType
Case SAPbouiCOM.BoEventTypes.et_FORM_LOAD
Dim form As SAPbouiCOM.Form = SBO_Application.Forms.Item(pVal.FormUID)
form.Title = "my title"
End Select
End Select
Hope it helps,
D. -
Hi,
I am trying to chagne the name of the "Sales Quotation" to something else. Pl. note I am totally new to B1 SDK's and .NET also. Any help will be appriciated.
Awaiting replies.Dear Premal Mistry,
Please try following UI API sample code
If pVal.FormTypeEx = "149" Then
If pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD And pVal.BeforeAction = False then
Dim oForm As SAPbouiCOM.Form
oForm = oApp.Forms.Item(pVal.FormUID)
oForm.Title = "new form title"
oForm = Nothing
End If
End If
Regards Regards
Jane Jing
SAP Business One Forums team -
Hi all,
I want to modify BP system form. The form title is in french="Fiche Partenaire" but i want to have "Fiche consignataire" if i click on my add-on submenu. And also the static text "Name" to "Nom consignataire".
Help me please.Hi,
It is forbidden to change the system form. I think you can't change the form title.
But you can change the label by press CTRL + Double Click on the label in SAP Business One.
Hope it helps
Carmine -
Hi All,
I have my choosefromlist from a user-defined table registered as a user-defined object. My problem is I would like to change the form title of that form instead of using this format: <List of (Name of the object in User-Defined Object Registration)>. Thanks.
Regards,
RodmannDu,
It is just the requirement of my functional to have a more descriptive title of my choose from list. Thanks anyway..
Regards,
Rodmann
Edited by: Rodmann Navarro on Nov 24, 2009 4:06 AM -
How can i change the title in the system form 'Sales Order Form'
hai
how can i change the title in the system form 'Sales Order Form' and then how can i call this form?Hi Sanjoy,
You find the form property like this :
SAPbouiCOM.Form oForm = null;
oForm = SBO_Application.Forms.Item(pVal.FormUID);
oForm.Title = "New Title";
Michael -
Dear Expert.,
Pls tell me the method to change form title i have code as below :
If (pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD) Or (pVal.EventType = SAPbouiCOM.BoEventTypes.et_ALL_EVENTS) Then
If pVal.FormTypeEx = "149" Then
oForm.Title = "สำนักงาน"
end if
end if
but it have problem when i choose from list or I do anything on this form... it will change to the standard form title..
Do u have the method to change it forever.?
Thanks for ur help.
sivhour.do it in the eventtype et_FORM_ACTIVATE.
Regards,
Wilson -
Hiding items in system form by changing record
Hi,
I have on system form textbox binded to UDF. If user change the record, the textbox is not showing. I know about possibility to catch events like form_load, resize and data_load where I can set visible to true to this textbox, but my question is, if exists some better method how to say to SBO that this field will be always visible.
thx
PetrI found the problem, in some forms in diferent modes is set diferent panelevel...
-
How can I change the tax formula in system form ?
Hi,
Usually the tax is extra-added for 5% in calcaulating.
But now I need to change the formula of tax to be embeded.
How can I change the tax formula in system form ?
Besr regard!Great!
I suppose "Speed-button" is the same as "toolbar button", right?
To all (more or less):
It confirms that I am on the right track when I bother the participants in this forum time-after-time with remarks to train themselves - or get trained - in application + customization features (+ SDK).
Of course as developers we can use the SDK for whatever purpose and try to develop additional functionality - ... that might already be there, but we just don't know about it
In addition the power of customization features (UDFs/UDTs/queries/formatted searches (also bound to fields on SAP Business One forms)...) should not be underestimated!!!
When starting development with SDK you - or the person who writes the specifications for an Add-On must IMHO be familiar with the application + the customization features + being trained with SDK to avoid unnecessary development or getting into trouble latest when the solution is shipped to a customer...
Please again note that there's a lot of eLearning available in the education area in the SMB Portal on SAP Service Marketplace.
Regards,
Frank -
How to add new fields to the system form (Ex.expenses to a/r invoice form)
hi
can any one tell me how to add new fields to the system form (Ex.expenses to a/r invoice form)
i want to add expenses field to system a/r invoice form and connect data base also.
i used the code of samples\11.system form manipulation(vb.net) but i'm not able to get it....so can any one help with code or concepts.
reply soon plz..
thankQIf I understood you correctly, you are just trying to add new fields to the invoice form and then use them in your form. you should first go and add the field to your tables, which you would do by going to Tool --> User Defined Fields --> Manage User Fields. There are different documents or categories given. For ex. for invoices, Sales Orders you would add your field under the Marketing Documents. If you want the field to be just one per invoice, add it to the Title, otherwise if you want a field per invoice or Sales Order line, add it to the Rows section. Once you have done that then you can just create a edit box or drop down to represent the field and set the datasource for that to your field. If you want example code to do that, let me know.
-
Form Settings getting cleared for system form
Hi All,
I have added the code for setting editable=false for the following items in Updatemode and Ok mode.Then in add mode,i made the columns to editable = true .First time it is working fine.
the next time, I got the error message as "item is not a user defined item" on ItemCodeCol.editable = true.Then i check the form settings, the Active field for the itemcode cleared.When i set to Active as checked and run my code,it is working fine.How to solve the issue and how to avoid the setting of the fields.
This is my code :
If oSalesQuotationForm.Mode = SAPbouiCOM.BoFormMode.fm_ADD_MODE Then
oSQItemCodeCol.Editable = True
oSQItemNameCol.Editable = True
oSQQtyCol.Editable = True
oSQWhsCodeCol.Editable = True
ElseIf oSalesQuotationForm.Mode = SAPbouiCOM.BoFormMode.fm_UPDATE_MODE Or oSalesQuotationForm.Mode = SAPbouiCOM.BoFormMode.fm_OK_MODE Then
oSQItemCodeCol.Editable = False
oSQItemNameCol.Editable = False
oSQQtyCol.Editable = False
oSQWhsCodeCol.Editable = False
End If
Thanx in advance
Regards
Mohana
Edited by: Mohana Annadurai on Feb 20, 2009 5:28 AMHi,
This is not UDF in system form.That is , the itemcode,itemname,qty,warehouse field in the content tab of the sales quotation form.when i change the field to editable and noneditable,
1)it is allowing to set the editable property to false and true for the first time.
2) After adding the record,i navigate the record to check ,at that time,as per my code,in update mode,it is not allowing to edit.
3)When i click add menu,and i chose customer, at that time it is not allowing to add a itemcode,becoz the itemcode field is disabled.
4)when i check in form settings, in Table format, Active gets unchecked for the above fields.
5)I want to avoid this changing of active in form settings.How to to this...
Regards
Mohana -
How to change the application title in apex while importing it ..
Hi ,
I have an issue here. As per the requirements I need to change the application title in Apex while
importing it from One instance to another instance.
Ex: My application title is WATERFALL PORTAL in iWATERFALL instance ,it must be changed to PUAT PORTAL if im Importing it to PUAT instance.
This change has to be done Dynamically. Without Entering it Manually.
Kindly help me out and Will be Great for your Assistance.
Thanks,
Vishal1001804 wrote:
Hi ,Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your forum profile with a real handle instead of "1001804".
When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
<li>Full APEX version
<li>Full DB/version/edition/host OS
<li>Web server architecture (EPG, OHS or APEX listener/host OS)
<li>Browser(s) and version(s) used
<li>Theme
<li>Template(s)
<li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
I have an issue here. As per the requirements I need to change the application title in Apex while
importing it from One instance to another instance.Please clarify what you mean by "application title". The Application Name in the application definition? The displayed Logo in the user interface properties?
Ex: My application title is WATERFALL PORTAL in iWATERFALL instance ,it must be changed to PUAT PORTAL if im Importing it to PUAT instance.
This change has to be done Dynamically. Without Entering it Manually.Also clarify what you mean by "instance". An "APEX instance" refers to the APEX installation in a database. The "APEX instance" does not have a specific name property, and would therefore usually be referred to using the database name. Or do you mean the APEX workspace containing the application? -
Display FirstName and Last Name on change password form
Hi,
I have to display FirstName and Last Name in change password form instead of DN of the user the below syntax is displaying complete DN.
resourceAccounts.currentResourceAccount[$(name)].accountDisplayName, would appreciate if anybody can guide me on this.
ThanksHi,
For anyone searching how to do this, I've modified the Change User Password Form to contain a user's first and last names. As the User view is not accessible from this form, I added the following:
<Field name='fullname'>
<Display class='Label'>
<Property name='title' value='Full Name'/>
<Property name='value'>
<rule name='EndUserRuleLibrary:getRealName'>
<argument name='accountId' value='$(resourceAccounts.id)'/>
</rule>
</Property>
</Display>
<Disable>
<or>
<ref>answersVerified</ref>
<isnull>
<ref>resourceAccounts.id</ref>
</isnull>
</or>
</Disable>
</Field> I'm not at all sure this is the best way of accomplishing this, but I couldn't find forum search results that would allow me to display additional user attributes on this form.
Hope it helps!
Nick. -
System Form Manipulation under Condition
Dear All,
I want to modify a System Form like (Sales Order) in a specific way (eg add folder), when I trigger a user specific Item Menu (eg Order Requisition).
If I use _ItemEvent... (pVal.FormType = 142) everytime the System form is loaded it will change, but I want this happen ONLY WHEN IS TRIGGERED from Specific Item Menu.
I tried the following code but no luck.
Private Sub SBO_Application_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.MenuEvent
If pVal.BeforeAction = False Then
Select Case pVal.MenuUID
Case "SM_PurReq"
DrawPurReqForm()
End Select
End If
End Sub
========
Sub DrawPurReqForm()
SBO_Application.ActivateMenuItem("2305") 'to get Sales Order form
Dim oItem As SAPbouiCOM.Item
Dim f As SAPbouiCOM.Form
f = SBO_Application.Forms.Item("142")
oItem = f.Items.Item("138")
oItem.Visible = False
End Sub
Thanks in Advance,
Vangelis
Edited by: Vangelis Kanellopoulos on Jul 12, 2008 12:54 PMHi Vangelis,
I think this would work:
1) Create a global boolean variable. Set its value to false by default.
2) Add code to the load event of the sales order form that will add your item if the global flag is true. The code should set the global flag to false after the item is added.
3) Add code to the menu event that checks for your menu activation and then sets the global flag to true and activates the sales order menu.
This will mean that the code in the sales order form load event will only be triggered if the sales order form is opened via your menu. If the user opens the sales order form by any other means (eg drag-and-relate, menu or link) then your item will not be added.
Kind Regards,
Owen
Maybe you are looking for
-
Messages sending to iPhone as SMS instead of iMessage
I have an iPhone 6 Plus running iOS 8.3 and a MacBook Pro 17" running OS X Yosemite (10.10.2). My wife has an iPhone 6 and a MacBook running an older version of OS X. Occasionally when I try to send her an iMessage using the OS X Messages app, it tri
-
PostX PxEnvelope End User Guide
PostX / IronPort Encryption Appliance Customers A convenient online pdf guide can be found on our public website to assist end-users with workflow and troubleshooting PxEnvelope. PDF http://www.ironport.com/pdf/Ironport_PxEnvelope_FAQ.pdf OR FAQ >> P
-
Installation error for OBI 11.1.1.5
Hello, In the middle of OBI installation(28%) on a virtual machine(windows XP 32 bit) I receive the following error : Installation failed OUI session failed Invalid entry size (expected 359303298 but got 182344 bytes) What can I do? I made all the st
-
5800 problem after updating to new firmware
When, I first bought my phone the icon on the phone were all unbranded but I did a firmware update and they've all been replaced by t-mobile ones. eg the internet icon has now become "web 'n' walk". How do I get the old unbranded icons back?
-
Date/Time: 2012-10-01 17:49:55 +0100 OS Version: 10.7.5 (Build 11G56) Architecture: x86_64 Report Version: 9 Command: Mail Path: /Applications/Mail.app/Contents/MacOS/Mail Version: 5.3 (1283) Build Version: