Order of execution of the user form
If for Active synch configuration there is one admin assigned who has a form say AdminForm. At the same time there is one Active syncuser form attached say ActiveSynchUser form. What will be the order of execution of the two forms.
Will the ActiveSynchUserForm gets evaluated first and then the user form attached to the admin or it is other way.
keep in mind that prcidence in this case means that BOTH forms are executed.
i believe the form assigned to the active sync is first..then the form assigned to the admin user is second.
i could be wrong on this as we dont use the admin forms for Active Sync. I have found them to be very limiting in your ability to fulfill requirements. You may wish to look into executing a workflow on each account instead of using the forms. Sun will reccommend using the forms, but again, I have found them to be extremely limiting in practice.
Dana Reed
AegisUSA
Denver, Co
[email protected]
Similar Messages
-
hi,
Can I see the intermediate values for the fields in the User forms.
ThanksEnable trace in the System Configuration object.
From Debug page > List Objects> Configuration> System Configuration. Click Edit.
Look for Workflow Trace and enable it. Write it to a file if it is your local server. If it is a remote server then set the value of console trace to true.
This will genetrate the output onto the browser.
Regards
Vinod -
How to rearrange field positions in the user form
Hi all,
I have added some fields to user creation form, i want to rearrange these fields (like i want to keep some fields which i created in the begining and some in the end ) .is it possible to rearrange the fields.If, can anybody help me by giving detailed steps.
Thanks,
Kishore.
Edited by: user10457483 on Oct 22, 2008 4:08 AMTo rearrange your User Defined Fields you just have to edit the "order" column in the UDF Form in Design Console.
If you want to put an User Defined Field between the Default Fields, the process is a bit more complex:
1) Set the field property VISIBLE to false.
2) Open the FormMetadata.xml file (oim_server_home\xellerate\config\FormMetadata.xml).
3) Declare your UDF there, just before the line <Form name="3"> (this is the create user form):
(e.g.)
<Attribute name="-1003" label="Country" displayComponentType="ComboBox" variantType="String" dataLength="1" map="USR_UDF_COUNTRY">
<ValidValues lookupCode="Lookup.Country" selectionColumn="lkv_encoded"/>
</Attribute>
4) Finally add the reference to this field to the <Form name="3"> section, in the desired position:
(e.g.)
<AttributeReference editable="true" optional="true">-1003</AttributeReference>
An important note is that (in my experience) this procedure only works for optional fields. I don't know why it fails when I do it with mandatory fields.
Regards, -
I imported a PDF from for my survey. Then, I distributed it. People have completed it and the results have been submitted back to my FormsCentral account. The first two questions are text entry, then there are two 6 option multiple-choice questions before a 3 option multiple choice question. Why is it that in the report gives me results from four 6-option multiple choice questions before the 3-option question when there are only two? To make matters worse, the questions aren't coded with the text of the questions. They're coded cryptically, as are the responses. What the heck is going on and can I fix this?
Drew:
I'm having trouble deciphering what you wrote: "As I said, the initial order seems somewhat arbitrary from the user's perspective." As I work in the political arena, I'm parsing this out. It's either a brilliantly worded "you're screwed" statement, or there is some ambiguity and hope here. Let's deconstruct:
"initial order" Does this mean the order of my questions in the survey? There's nothing arbitrary about them. I know the order of my questions
"somewhat arbitrary" Does this mean there's actually some order to the way the results are being outputted? If so, how do I determine that order?
"from the user's perspective." Is there another perspective from which the actual (original/initial) ordering of the questions can be resurrected?
I'm not trying to badger. That's not my intent. You have a user here who is reading hope from your words, and I'm trying to distinguish between real hope and a nice way of saying "SOL."
So:
Answer One: There is some hope
Answer Two: SOL
After this, I can mark the question. Thank you.
Glenn -
Stoping process of saving purchase order(ME21/ME21N) in the user exit.
Hi,
I am using user exit "EXIT_SAPMM06E_016" of purchase order. While creating PO and after user enters 1st line item or more items and presses save button, then this user exit will be called.
Now my requirement is I have to check "item delivery date" , if it is more than 300 days from creation date then I have to show popup for warning the user for the same and if user want to make the changes then this user exit should stops the process of saving the PO and returns and allows to change the PO.
Please help me in this.
how I can stop the saving process.
Thanks,
DeepakHi Deepak,
You can do it in IM_ITEM method
DATA: ls_mepoitem TYPE mepoitem.
ls_mepoitem = im_item->get_data( ).
if you check ls_mepoitem-quantity field it will give your required value....pls Go through the documentation below for the method
Documentation for the method
Processing of Item Data
Functionality
The PROCESS_ITEM method enables you to change the item data and check it
for correctness.
Parameters
The following parameters are available:
o IM_ITEM - Document item
The interface reference is of the category
IF_PURCHASE_ORDER_ITEM_MM. You can use all methods defined there.
Note
Please note the general hints on Error Handling.
If you wish to mark the document item as invalid, use the
INVALIDATE() method of the IF_PURCHASE_ORDER_ITEM_MM interface.
Regards
Byju -
How to maintain order of execution of the Queries in Data Model
Hi,
I have 5 queries in the Data Model
Query_1 will fetch some values based on the selection criteria and inserts values in a table(say Table_1) using a formula column
The other queries will fetch data from DB using the records in Table_1
The problem now i am facing is Query_2|Query_3|Query_4|Query_5 is being executed before Query_1
How can we maintain the order of execution
Any help will be appreciated
thanks
sivaNo there is no join between Q_1 and other queries
all the queries are individually hanging in the data model
moreover we cannot have a Master-Detail kinda relasionship in this case
please give me some suggestions -
Sales order forceful completion using the USER-EXIT
Hi all,
We have a requirement as follows: As soon as the sales order is created a smartform should get triggered. the configurations are done in nace. It is working fine. But in our case we dont enter the PO number in the sales order this will show an incompletion log throwing a warning message. So we need to do modification in the user exit MV45AFZZ for the forceful completion of the sales order
This is to be done for the order type Zxxx. As i have not worked in the userexits before can anyone help me with the code.
Thanks and Regards
venu.mulaparthiHi,
Try this..
Create a new incompletion procedure in SPRO without that PO number field..
In the user exit USEREXIT_SAVE_DOCUMENT_PREPARE in the include MV45AFZZ..
IF VBAK-AUART = 'Zxxx'.
* Switch the incompletion procedure.
TVAK-FEHGR = 'ZZ'. " New incompletion procedure..
* Then call the function module with the new incompletion procedure..
* I believe the function module name RV_CHECK_DOCUMENT.
* Or check RV*check*document in SE37..
* This will make sure the sales order to recognize
* the new incompletion procedure..
ENDIF.
Thanks
Naren -
UDF in Work order of Production in the user defined field management
Hi all
I wanted to know which is the Screen for which this path indicates
Tools >Customisation Tools->User defined Field Management-->Production--> Work Order Row
when i create a UDF here i dont know where it is created or attached to which screen.
Pls Guide me
Praveen B KHi Marcia
Thank you for replying
I have SAP Business One 2007 B installed in my system and was installed just few days ago.
help me.
Praveen B K -
Tracking the order of execution of sql scripts in SQL*Plus
In our production environment we sometimes have to run some .sql scripts in a particular order. Since the order of execution is important , i have created another .sql file caller caller.sql(shown at the bottom) which will call all the scripts in the right order.
i thought of putting a exec DBMS_LOCK.SLEEP (5); after the end of every execution of the script so that i can see the
'Ending script1'message .
The spooling within the caller script(execute_stack.log) has become meaningless because each script has a spool <filename.log> and spool off within it. These spool logs (for every script) is important for tracking purposes as each script belongs to a different development team and i have to send them the spooled log file after the execution.
I don't want to see the entire scripts running by in my screen. Since these scripts have their own spooling, i can later check the logs if the scripts where executed properly.
So i need two things.
1.I just need to see the following and nothing else in the screen.
Ending script1
Ending script2
Ending script3
.2. I need to log the order of execution. ie. the execute_stack.log should look like the above.Since there is a spool off within each script, this wouldn't be possible.Right?
Ending script1
Ending script2
Ending script3
.The caller.sql script which calls all the scripts in the right order
alter session set nls_date_format = 'DD-MON-YYYY hh24:MI:SS';
set serveroutput on
set echo on;
set feedback on;
spool execute_stack.log
@script1.sql
exec dbms_output.put_line ('Ending script1');
dbms_output.put_line(chr(10)||chr(10)||'.'||chr(10)||'.'||chr(10));
exec DBMS_LOCK.SLEEP (5);
@script2.sql
exec dbms_output.put_line ('Ending script2');
dbms_output.put_line(chr(10)||chr(10)||'.'||chr(10)||'.'||chr(10));
exec DBMS_LOCK.SLEEP (5);
@script3.sql
exec dbms_output.put_line ('Ending script3');
dbms_output.put_line(chr(10)||chr(10)||'.'||chr(10)||'.'||chr(10));
exec DBMS_LOCK.SLEEP (5);
@script4.sql
dbms_output.put_line(chr(10)||chr(10)||'.'||chr(10)||'.'||chr(10));
exec dbms_output.put_line ('Ending script3');
commit;
spool off;Is this a professional way of tracking the execution of .sql scripts?Pete_Sg1 wrote:
Is this a professional way of tracking the execution of .sql scripts?No. There is very little professional about using .sql scripts on a production system - when stored procedures are safer, more robust, easier managed and controlled and secure.. and where a log table can be used to properly log the runtimes (and other stats) of each processing step.
Let's just take a look at the number of moving parts you need to schedule and run a .sql script. A cron job needs to be configured with the proper environment setting. It needs to run a shell script. That shell script needs to load SQL*Plus. SQL*Plus needs to connect to the database (starting a dedicated server process most likely). SQL*Plus then needs to read a .sql file, parse these commands and either execute these locally (SQL*Plus commands) or remotely (PL/SQL and SQL commands).
How can this be considered professional when the very same can be achieved with a
- stored procedure
- using DBMS_JOB to schedule the procedure for execution
There are so many things that can go wrong with the first method. And so few things that could go wrong with the last one. No contest as to which method is not only better, but also professional.
PS. See that you use Windows to run these scripts. It is even worse as it introduces another hardware and software layer making the scenario even more insecure & unsafe with more moving parts that can go wrong or simply fail. -
I’m in the early stages of creating a spreadsheet that will require data entry into the worksheet. The worksheet could get to 1000s of rows, depending on the particular user.
When I refer to the ‘Form Command’ I’m referring to the option of adding a Quick Access Tool bar button by selecting ‘more commands’, ‘all commands’, ‘Form…’
My questions/concerns would be relating to ‘should I develop this spreadsheet with the Form Command or a User Form in VBA?
Concerns/Questions:
Deployment to other users
Protecting worksheet cells so the user can only add records using the form command or the user form in vba. In other words, don’t allow users to edit cells that are not within the table structure of the sheet or add rows if they’re not using the form
Data validation when entering data…
Keith
Keith AulHi,
Both variants have pro's and cons. If you plan to use VBA you have to consider the deployment settings on other p.c.'s where you have to allow macro's where as a regular form doesn't have the need for that.
That said the userform gives you much more control because the form command is not saved. it is simply a temporary form which you have to setup every time. It's perfect for data entry. If you are looking for data validation the userform is the one to go
for. You also have the possibility to work on placements of the data entry.
So if you are looking for speed and simplicity then go for the form command. If it is handling control you are after I'd go for a userform.
Just my 2 cts
Maurice
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. Thank You -
Order of execution of used DCs(doModifyView) in a Main DC
Hello all,
I am working in an application using webdynprojava.
The Application has a main DC and this main DC uses four seperate DCs as used DCs.
We have code written in doModifyView in all the respective DCs(views). And all those are executing in specific order.
My question is,
what decides the order of execution of used DCs(doModifyView).
If any one has any knowledge on the above querry please provide your suggestions
Thanks
Uvendu BalaHi Uvendu,
From what you mentioned, you are using 4 DCs as Used DCs in a the main DC.
Say you have view1 in used DC1,view2 in used DC2,view3 in used DC3 and view4 in used DC4.
If during the application execution view4 appears before others then the wdDoModifyView of view4 is called first.
The wdDoModifyView is called just before the view is displayed in the browser. Hence, the order of execution of the wdDoModifyView will depend on the order the views are being displayed to the end user.
If say, you just calling a method in the component controller in DC1 means that the wdDoModifyView of view1 will not be called.
Regards,
Kartikaye
P.S :- Please grant points for correct or helpful posts. -
I tried to use the new method (AddEx) in event filter class to add filter to form that I've created myself by referring to formtype, but there is no filter done on this form. Anyone has encountered this problem before?
The code to create the user form is
Dim oCreationParams As SAPbouiCOM.FormCreationParams
oCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
oCreationParams.BorderStyle = SAPbouiCOM.BoFormBorderStyle.fbs_Fixed
oCreationParams.UniqueID = "MySimpleForm"
oCreationParams.FormType = "MyForm"
oForm = SBO_Application.Forms.AddEx(oCreationParams)
'// add a User Data Source to the form
oForm.DataSources.UserDataSources.Add("EditSource", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 20)
oForm.DataSources.UserDataSources.Add("CombSource", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 20)
'// set the form properties
oForm.Title = "Simple Form"
oForm.Left = 400
oForm.Top = 100
oForm.ClientHeight = 80
oForm.ClientWidth = 350
The code to add event filter is:
oFilter.AddEx("139") 'Orders Form
oFilter.AddEx("MyForm") 'my form
oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_KEY_DOWN)
This code is not working. -
Hi!, does anyone know where SAP B1 does have every single Standard Form and also the users forms?. I want to create a query that returns all the forms that SAP has and also the user forms.
Also, is any how or there is a way to know which forms are related to a SAP B1 module?
Thanks..... and greetings
ReynaldoHi Reynaldo,
the CPRF table contains some system forms but not all, because not all forms have matrix/columns.
i fear that for your problem doesn't exist a real solution - it's like i said in my first post: the primary information
of all forms is stored outside of database.
lg David -
Hello,
I'd like to know if somebody find a solution for the font size issue on user form.
since BO 2005, the user can change the font size. the application will format all the controls of form with the good size.
However, the layout does not follow very well for user form.
If the font size is changed while a user form is open, the aplication will reformat it perfectly, the controls are bigger, and the distance between the controls are ok
But when the user form is open again, it keeps the distance and control size of the XML file but change the font size, so the layout is very bad, sometime the static text or the caption could not be read, so it's not possible to use the form as is.
I use XML to create form, I haven't try by code, but in my case, I can't use code because there are a lot of controls in the form.
Any idea if it's possible to call the Business One procedure to resize the form and its control (not only the font) ?
Thanks youTry resetting the FontSize of all items (and columns) to the one you used for the design after loading the form.
I use a simple loop over all items and an inner loop for matrixes and grids to set the font size in their columns.
Now users can have a larger font, but the added forms will use the original design's font size.
This approach has some drawbacks:
- Added forms use a different font size
- Some of the controls will still get their size based on the system default font size
(checkboxes, drill-down arrays, headercolumns, perhaps more?).
- Focused item is not resized by this (so far I have been able to work around this).
- Changing the font size while the form is open, will break the design as the
font size does not change, but the control sizes do.
This is not an ideal solution, but it might give some help, until a better one presents itself.
If the users don't use a dramatically different font size, my form design work quite ok,
even with the drawbacks or at least it is better than nothing. It is a good idea to test
the form with different font sizes to make it more flexible.
Tero -
HI
We r assuming " freezing = Absent"
When we select " freezing" in the combo box in the system form, "Absent" should be displayed in the matrix for the particular row in the user form.
Freezing should be displayed as Absent
Working should be displayed as Present
what is the coding for this process . can anyone help me...
Regards
Bhuvana
Edited by: bhuvana eshwari on Jul 30, 2008 6:45 AMHi Bhuvana,
In the combo Select Event, get the user form and then get the matrix then set the value. The code sample is as follows.
Case SAPbouiCOM.BoEventTypes.et_COMBO_SELECT
If oCmbBox.Selected.Value = Freezing Then
oForm = getForm("UserFormID")
objMatrix = oForm.Items.Item("UID").Specific
objedit = objMatrix.Columns.Item("V_14").Cells.Item(pVal.Row).Specific
ObjEdit.String = Absent
ElseIF oCmbBox.Selected.Value = Working
'Use same logic
EndIF
Reward with points if helpful.
Regards,
Vasu Natari.
Maybe you are looking for
-
I have a credit in the iTunes store but when I try to purchase apps I am asked for credit card information Are there two separate stores. How can I make purchases?
-
Is this even possible? (Rotation question)
Hi! I'm new to Java 3D... What I am trying to do is to rotate one transform group around another transform group. i.e. get a moon spinning the earth does anyone know how to do this? I am posting my code below.... I've searched the forums already and
-
Maps in Places not displayed correctly
The Map in Places never loads completely – there are always blank squares, like when you attempt to use Google Maps with very flaky internet connection. Interestingly, this happens only in Terrain Mode. Satellite and Hybrid modes look allright. The p
-
I am trying to improve this query? Is there a better way to write the query and get the same results. I hate the fact that I am querying a table 3 times. Select statement WITH t1 AS (SELECT 101 AS ID , 1 AS a , NULL AS b
-
If I try to access the iTunes Store the progress bar goes half way and just sits and then all I get is a blank screen. If I run the Help Run Diagnostics it complains about a secure connection. If I go and do all the Apple says to do it still doesn'