Alternate way to implement Calendar Rules
Hi All,
We have a requirement to implement calendar rules for different regions. WE added dummy OU in our studio and tested. Since we have integrated with MSAD Microsoft Active Directory), we are unable to add OU.
Is there any other way to implement Calendar rule restriction using PBL code? or is there any other alternative available??
Kindly help me.
Thanks
Edited by: user12859640 on Sep 6, 2011 3:36 AM
Enio,
Realize you're confounded and probably a bit upset but you didn't explain exactly what your problem is. Before you reply though, here are a couple of things to ponder: did any of Apple's techies suggest that you archive all the address books to your HD and delete the address book database, reopen Address Book and reimport the archived files? Also, did any of your discussions with Apple touch on the idea of resetting the synch history on any of your computers and "reseeding" the database on .ME? And I'd definitely like to hear what problems you're having with calendars - I could write a book . Stay in touch.
Mike
Similar Messages
-
How to access calendar rules via java
Hi to all,
We have a process in which we need to set a Timer, but the date must be validated against Calendar Rules. We searched in forums, webs, documentation and we couldn't find a way to do this.
I know it is possible to set an expiration date based on Business Calendar on a Human Task (deadline tab in Human task editor), but this is not what we need.
We actually need a way to set a variable date in the process that can handle only business days. e.g.: 'now' + 2 business days.
Right now we are setting the Timers with this expression from a Business Rule: Duration.from string("PT48H")
Then I associate the business rule output with a Time type variable(deadlineTime) doing: 'now' + deadlineTime
So right after that I can use the Time variable on a timer attached to the human tasks I need. * We need to use business rules because the customer may want to change the times accordingly to their needs through BPM Composer. *
The problem is that this solution does not take into account Saturday and Sundays (holidays are a concern too).
We need to set the expiration time to timers attached to human tasks, but the time should consider working days only. We consulted with experts from Oracle and told us that functionality is available in the PS 6 version. At the moment it is impossible to migrate to that version. I need to know how to access via Java APIs to the calendar rules for checking programmatically.
JDeveloper version: 11.1.1.6
Any suggestion?
Thanks in advance
MarceloHi Yarner,
Once you have all your dll included in a jar and used the nativelib tag, you have to use, at the beginning of you application, the command System.loadLibrary to load all the dll you need. Including the ones called by the others you have direct access.
The dll�s have to be explicitly loaded in the order they are called.
For example: you use lib1.dll and lib2.dll. The lib1.dll needs lib0.dll.
Even if you don't use lib0.dll directly, once its called by lib1.dll you have to put then in the order.
System.loadLibrary("lib0.dll");
System.loadLibrary("lib1.dll");
System.loadLibrary("lib2.dll");
I hope it may help you, good luck.
Mario -
Search option for multiple lines in iPad for fixed layout ePub is not working. Is there any alternate way to search multiple lines in ePub?
Hi SAP Gurus
I need a big favour, I am trying to map serach string with internal order, my search string is MV-38610573 which I have mapped with posting rule 'GENT' which debits bank account and credit revanue accounts but this revanue account requires assignment with internal order, so I have created another 3 search string with same search string 'MV-38610573' and mapped with BSEG-ASUFNR,60000LC ( internal order),3 (bdc account type) respectively, also maintained three entries in search string use which is for BDC FIELD NAME1, BDC FIELD VALUE 1 & BDC ACCOUNT TYPE 1,
But this is not working it gives me following error,
> Error: (KI 235) Account 4421 requires an assignment to a CO object
Your help will be highly appreciated, -
How to implement a ruler?
Hi, I am trying to figure out to implement a ruler like the online TLF demo has, http://labs.adobe.com/technologies/textlayout/demos/.
Could you let me know what would be the best way to do this? And also, is it possible to open the source of this demo?
Thanks in advance.
Luke.We have a SimpleEditor example project, which is useful if you are starting a user interface, but it doesn't include a ruler. Unfortunately the code for the online editor UI is something we can't release at present. I can say that it is possible to do it all in Flex. I think one of the tricky parts is likely to be tracking the tab when it gets dragged.
Sorry!
- robin -
The Excel-Mania - Best Ways of Implementing Excel-Like ADF
Hello people, good afternoon!
I would like to share with you a doubt i have implementing complex, matrix-like forms in ADF. More often than i'd like to hear, users ask for input forms that closely resemble Microsoft Excel, where the dimensions are layered both vertically and horizontally, and the intersection between them must contain an input or output component, allowing themselves to rapidly input the data they need or to create a web version of Oracle Reports' Matrix Report. Some cases are:
1) The user wishes to associate the employees (located in table EMPLOYEES) to the projects (located in table PROJECTS) in a screen that lays out the employees as columns and the projects as rows in a table. The intersection between them must contain a checkbox, which will insert a third record when selected, on a table called EMP_PROJ, which associates the employees to the projects.
2) The user wishes to input a timecard in a time control system. This system must have a screen that shows the days in the week as columns, and the projects the employee is working on as rows. On the intersection, we must provide an input text where he will enter the hours he worked on that specific project on that day.
3) The user wishes to see a screen that shows the Open Auctions they have in a Purchasing system as rows in a table, crossed with the suppliers that have bidded on these (as the columns). The intersection must contain the price each supplier bidded on each Auction.
As you can see, i run across this requirement A LOT =). And, as much as i have polished my "Web-Like-Applications-Are-Not-Like-This" and "You-Are-Not-Working-With-Excel" speeches, our beloved users never learn ;)
Nevertheless, i have been looking for a consistent way to implement this behavior, and i have found some options along the way. I would like to know your impressions on this matter, and if you have any "Best-Practices" that you imagine for this case.
CASE 1: Creating a Dynamic, On-The-Fly View Object by using ADF BC APIs and using af:table component to do the trick on the page
PROS: Less work in the View layer, Preservation of the Table CSS Layout (very nice blue header and light brown cells)
CONS: A LOT of work on the BC layer, creates an awful lot of View Objects, and generates tons of java code on the Application Modules.
CASE 2: Creating the model as usual and working with repeating layouts on ADF Faces (for example, enclosing an af:cellFormat on an af:forEach to repeat each column)
PROS: Simplifies the BC layer, making it much cleaner and maintainable.
CONS: Loses a lot of the declarative wonders of ADF Faces and also the CSS Layouts, since we are using cellFormat, rowLayout and tableLayout instead of table tag we have to manually apply the styles to the columns and rows.
Of course, both implementations take an awful lot of time. Any other implementation styles are quite welcome (ADF Wizards, step in!)
Anyone wants to discuss better ways of doing it?
Best Regards,
Thiago SouzaWell, you could do the following:
1) Create a stored procedure that assembles the data into a rowset with rows and fields like the format you want.
2) Create stored procedures that handle insert, update, and delete.
3) Create an entity object definition with all transient attributes. Make the attributes match the elements of one row.
4) Override doDML() in the entity object class to call your procedures (the doc explains how to do this). You might also need to do a bit of research and figure out if you need to override some other method so you can report rows with transient attribute changes only as needing posting. (getPostState(), maybe?)
5) Create a view object definition with entity-derived attributes based on your EO attributes.
6) Override the appropriate methods to call your data assembly procedure rather than execute a query (this is also in the doc).
Still kind of kludgy, but it keeps your business components pretty clean, especially if you use framework classes to do most of the work for you. (I have a partial example of how to do that here.) Of course, it keeps your business components clean by moving the real work to the DB, but some people find that more maintainable that a kazillion business components.
Hope this helps,
Avrom -
TREX Error while implementing a Rule Modeler in ERMS
Hi Experts,
I am getting the below error when i am implementing a Rule in ERMS. Please suggest how to rectify the error.
Exception in method execute(CL_CRM_ERMS_SERVICE_MANAGER) : Service CL_CRM_ERMS_ADD2FB_CA failed. TREX error:Error in the RFC communication: Error when opening an RFC connection (IMSDEFAULT)[error code =] at: CL_CRM_ERMS_ADD2FB_CA=========CP : CL_CRM_ERMS_
Processing policy ZTEST_RULE1
Exception in method execute(CL_CRM_ERMS_SERVICE_MANAGER) : Service CL_CRM_ERMS_RULE_EXEC failed. Policy not found in repository:ERMS:ZTEST_RULE1 at: CL_CRM_ERMS_RULE_REPOSITORY===CP : CL_CRM_ERMS_RULE_REPOSITORY===CM005 : 44
BOR: returned from Service Manager.
Regards,
NilouferHi Niloufer123
Have you regenerated your Repository after making changes?
If not, go to SA38 and run program CRM_ERMS_REGEN_RULES for ERMS context for your Policy (check box checkboxes).
Now re-run your scenario. Hopefully this has helped.
Thanks,
Andrew G. -
Best way to implement m to n relation?
Could you please give me some advice on the best way to implement m-n relations in apex?
Example: I want to store server and database info. A server can have multiple database of course. But in case of a RAC database, the database can be running on multiple servers. So I have tables:
create table SERVERS (id number primary key, name varchar2(30));
create table DATABASES(id number primary key, name varchar2(30))
and an m-to-n table
create table SERV_DB(serv_id number references SERVERS(id), db_id number references DATABASES(id), instance_name varchar2(30))
So the table SERV_DB can tell me e.g. that database PROD is running on server 'prdsrv1' with instance PROD1 and on server 'prdsrv2' with instance name PROD2
How would you design an apex page to maintain this information (adding relations, updating instance names, etc)? I have a solution using checkboxes and 2 for-loops over htmldb_application.g_f40 (to process checkboxes) and g_f41 (to process text fields with instance names) and some delete statements but the logic behind it looks too complex for me. I am convinced that this can be done more simpler. Seems like a common problem to me, so I wonder if there is no out-of-the-box solution in apex for this?
Could you please show me or create a small demo application with the solution that looks most elegant to you?
Thanks,
GeertThanks for your reply. You modified the question slightly, but conceptually it is still the same. What you call the instances table corresponds with my serv_db table. I understand the solution you propose using the tabular report. If I see it correctly, you would have an insert button above the tabular report for each new relation (instance - server) you would want to add. This is ok for the case i used (databases, servers, instances) because there are relatively few relations. However I would not like this solution for other cases. E.g.:
case: you have a list of persons and a list of tasks. You want to assign tasks to persons in a way that each person has multiple tasks to do and each task can be assigned to multiple persons.
Suppose you add a new person, and you want to assign 15 tasks to him. The solution above (with the tabular report) would be quite some work because you would have to click 15 times on the insert button and on each click select a task from the select list. In this case it would be more appropriate to, after selecting the new person, see a list of all tasks (e.g. 30 tasks) with a checkbox in front, so you can mark 15 out of the 30 checkboxes and press submit. It gets more complex when you want to assign also an attribute to the relation, i.e. showing the list with all tasks, a checkbox in front and a select list next to each task where you can choose from e.g. "priority high" or "priority low" to indicate that this task is high or low priority for that person. Is there an easy way to implement that? -
Displaying Multiple Values on GUI components - best way to implement
Hi,
my program needs to implement a basic function that most commercial programs use very widely: If the program requires that a GUI component (say a JTextField) needs to display multiple values it either goes <blank> or say something more meaningfull like "multiple values". What is the best way of implementing it?
In particular:
My data is a class called "Student" that among other things has a field for the student name, like: protected String name; and the usual accessor methods (getName, setName) for it.
Assuming that the above data (i.e. Student objects) is stored in a ListModel and the user can select multiple "Students", if a JTextField is required to display the user selection (blank for multiple selections, or the student "name" for a single selection), what is the best (OO) way of implementing it? Is there any design pattern (best practice) for this basic piece of functionality? A crude way is to have the JTextField check and compare all the time the user selections one by one, but I'm sure there must be a more OO/better approach.
Any ideas much appreciated.
Kyri.Ok, I will focus on building a solution on 12c.
right now I have used a USER_DATASTORE with a procedure to glue all the field together in one document.
This works fine for the search.
I have created a dummy table on which the index is created and also has an extra field which contains the key related to all the tables.
So, I have the following tables:
dummy_search
contracts
contract_ref
person_data
nac_data
and some other tables...
the current design is:
the index is on dummy_search.
When we update contracts table a trigger will update dummy_search.
same configuration for the other tables.
Now we see locking issues when having a lot of updates on these tables as the same time.
What is you advice for this situation?
Thanks,
Edward -
Best way to implement an EULA popup (imprint) in RH 9
Hello there ,
I have a question about RoboHelp 9. The fact is my help page is divided into 2 iframes.
A left sidebar iframe containing a navigation menu, and a right sided iframe, the main one, containing the data. (index, content, ...)
The fact is I want, when the user load my helpdesk, to pop up a message, asking him if he agree to the legal terms of our society (EULA).
If he answer Yes, the popup is closed, and he can navigate freely in the menu, but if he answer No, I want him being redirected on our official website.
Is there a simple way to implement this kind of popup, with the following features :
focus locked on the popup (the user cannot naviguate until he didn't agreed)
the redirection have to take over the whole window, including the iframes (because if he is redirected only on the main iframe, he still can load pages from the left sidebar menu)
I tried :
to use BSSCPopup(), but it loses focus as I click outside the popup, and it cannot be closed properly.
I tried to use jQuery, but RoboHelp don't appreciate the library, and reformat the code (impossible to make it works).
I tried to use simply javascript, was the best results, as I could keep the focus, close the popup, but the redirection was always made on the main iframe, whatever I tried.
Thus, that leads me to begging for help, 'cause I just don't get why it's that hard to implement this in RH.
Thank you for any suggestions or helpActually, it is a bit more complex than you think. For example, when the user leaves the page and returns an hour later, you don't want to show the popup (overlay, because you can close a popup) again. This means that you need to save the acceptance in a cookie. The content files should also check whether the terms are accepted and whether the navigation frame is not shown. If the navigation is not shown, the content must show the EULA acceptance overlay as well.
Note that there will be a way to circumvent this with web development tools if you are using JavaScript (just disable the overlay with the tool). Or even the possibility that JavaScript is turned off. The only reliable way would be server side scripting (PHP etc.) and RH doesn't support that. So make sure that your EULA contains some information on this possibility as well, such as a link in your topics stating that using the pages means that you accept the EULA. This may even be easier to implement, but I have no idea of the legal implications.
You can use jQuery for RoboHelp (I've used it quite a bit.) In my experience, RoboHelp doesn't reformat the code when it is in an external script file. I use a lot of script files and I have never seen this behaviour before (though that doesn't mean it doesn't of course).
Such a requirement is a lot of work and the best I can do on the forum is point you in the right direction.
If you require professional support, contact me via my site: http://www.wvanweelden.eu/ and we can talk about your options. Note that this is not associated with my forum contributions nor is it in any way affiliated with Adobe.
Greet,
Willam -
I'm in a multi-page Pages document, how can i rearrange the pages or insert blank pages in front of pages? Also, is there a way to show the ruler both horizontally and vertically?
Not on my document. I have a 7 page document open. The "flashing vertical bar" is at the top of page 3. I have the thumbnail view showing. I click page break and two blank pages are added to the end of my document. I have to scrool thru the pages to see that the 2 pages were added as they do not appear in the layout view... I'm not sure if it is inserting a "section" as it adds two blank pages.. But I am clicking on "INSERT PAGE BREAK".. So guess there are still a lot of bugs to fix..
Thanks again -
What is the best way to implement a cluster-wide object ID generator?
What is the best way to implement a cluster-wide object ID generator?
What is the best way to implement a cluster-wide
object ID generator?Always use 3 because it is prime.
Alternatively more information about the system and the needs of the system might prompt alternative ideas some of which are likely to be better than others for your particular implementation and system constraints. -
Best way to implement a shared Blocking Queue?
What's the best way to implement a shared Blocking Queue that multiple JVMs can enqueue objects in and multiple JVM's can dequeue from simultaneously?
Also, I see references on the web to com.tangosol.coherence.component.util.queue.ConcurrentQueue but I don't see it in the current API docs...
ThanksHi snidely_whiplash,
snidely_whiplash wrote:
What's the best way to implement a shared Blocking Queue that multiple JVMs can enqueue objects in and multiple JVM's can dequeue from simultaneously?
Also, I see references on the web to com.tangosol.coherence.component.util.queue.ConcurrentQueue but I don't see it in the current API docs...
ThanksThat class is an internal class, AFAIK.
As for implementing a queue, you might want to look at Ashish Srivastava's ezMQ component for some ideas:
http://ezsaid.blogspot.com/2009/01/implementing-jms-queue-on-top-of-oracle.html
Best regards,
Robert -
Different ways to implement OM Module
Hi All,
I am new to this, Please let me know all the 5 different ways to implement OM and PA module in HCMBasics of OM
OM is mainly used to perform numerous business and human resources processes. As the first step an organizational plan is created. The organizational plan is a functional structure representing the enterprise. In OM, the current organizational plan can be created and additional organizational plans are created as archives (this provides a clear picture of the organization at any point in time:past, present or future). Organizational Management is the basis for additional Human Resources components and functions as well as for SAP Business Workflow.
OM is installed before Personnel Development(PD), Recruitment, Compensation Management (CM/ECM), Workflow, Time Management, Security, ESS/MSS etc. OM structure provides the foundation for these modules and streamlines business processes. For example MSS setup can be such that the manager will be able to view only the details of those working under him/her - the details of persons working under the manager are picked up from OM. Similarly data from OM is used when WF has to route the work of approving the leave of an employee to his/her manager.
OM is based on the objects and their relationships. Jobs, tasks, positions, etc are the objects. These objects are created in OM. The relationship between various objects is also stored in OM.
Transaction codes
PPOM - Change org Unit
PO03 - Maintain Jobs
P013 - Maintain Position
PO10 - Maintain Organizational Unit
PP01 - Maintain Plan Data (menu-guided)
PP02 - Maintain Plan Data (Open)
PP03 - Maintain Plan Data (Event-guided)
PP05 - Number Ranges
PP06 - Number Ranges Maintenance HR Data
PP07 - Tasks/Descriptions
PP69 - Choose Text for Organizational Unit
PP90 - Setup Organization
PP01 - Change Cost Center Assignment
PP02 - Display Cost Center Assignment
PP03 - Change Reporting Structure
PP04 - Display Reporting Structure
PP05 - Change Object indicators (O/S)
PP06 - Change Object indicators OS
PPOA - Display Menu Interface (with dyn.)
PPOC - Create Organizational Unit
PPOM - Maintain Organizational Plan
PPOS - Display Organizational Plan
PQ01 - Events for Work Center
PQ02 - Events for Training Program
PQ03 - Events for Job
PQ04 - Events for Business Event Type
PQ06 - Local Events
PQ07 - Resource Events
PQ08 - Events for External Person
PQ09 - Events for Business Event Group
PQ10 - Events for Organizational Unit
PQ11 - Events for Qualification
PQ12 - Resource Type Events
PQ13 - Events for Position
PQ14 - Events for Task
PQ15 - Events for Company
PSO5 - PD : Administration Tool
PSOA - Work Center Reporting
PSOC - Job Reporting
PSOG - Org Mgmt General Reporting
PSO1 - Tools Integration PA-PD
PSOO - Organizational Unit Reporting
PSOS - Position Reporting
PSOT - Task Reporting
Configuration steps apart from steps which were given by Teja
IMGPersonnel management Organizational management Basic settings Maintain number ranges set up number assignment for all plan versions
Maintain object type:
IMGPersonnel management Organizational management Basic settings Data model enhancement maintain object type
Maintain infotypes
IMGPersonnel management Organizational management Basic settings Data model enhancementu2014infotype maintenance maintain infotypes
Relationaship maintenance:
IMGPersonnel management Organisational management Basic settings Data model enhancement Relationship maintenance maintain relationships
Maintain evaluation paths:
IMGPersonnel management Organisational management Basic settings Maintain evaluation paths
Maintain personnel actions:
IMGPersonnel management Organisational management Basic settings Maintain personnel actions
Activate inheritance of account assignment features
IMGPersonnel management Organisational management Basic settings Activate inheritance of account assignment features
Setup integration with Personnel Administration
IMGPersonnel management Organisational management Basic settings Integration Setup integration with PA
Transfer data from Pa
IMGPersonnel management Organisational management Basic settings integration transfer data from PA
Perepare integration with Pa
MGPersonnel management Organisational management Basic settings integration Prepare integration with PA
Transfer data to PA
IMGPersonnel management Organisational management Basic settings integration Transfer data to PA
Check integration consistency
IMGPersonnel management Organisational management Basic settings integration Check integration consistency -
Best way to implement app wide process
I am working on an application that has a list of art work in an sql report.. I want to be able to add each piece to a collection of items (which is stored in a table), so I added another column to the sql report to store the id of the art work. I am just wondering what is the best way to implement the process to insert the item to the collection of items. Since I want to do this from multiple pages - link from art work sql report; link from the edit page for a particular art work; and on the artists page where there is also an sql report, I thought it may be best to have an application process, to save duplicating the process on multiple pages.. however I don't think there's a way to pass the id of the item to the application process? as I was thinking best to have the application process conditional based on request, and then have the link as a doSubmit().
So is it best just to have the link redirect to the same page, passing the id of the item, and then having a process that runs before header that inserts the item, then assigning the item to NULL?
Thanks in advance,
TrentDaniel:
Thanks for the info. I have found that the IFRAME works nicely for some applications,
however, some applications I want to re-write the front end to look better in
the portal rather than screen scrape.
Thanks for the help
Ryan
"Daniel Selman" <[email protected]> wrote:
Ryan,
Check out the thread (a few days old) titled "Different ways of creating
portlets".
Sincerely,
Daniel Selman
"Ryan Richards" <[email protected]> wrote in message
news:3d2eda12$[email protected]..
I have a few existing applications that I need to port over to portletsin
Weblogic
Portal 4.0. One application is a servlet based web application witha few
html front-end
screens. I am trying to determine how to do this in the best way. Ihave
noticed
that portlets behave differently inside the portal than do stand-aloneweb
apps.
Any help would be appreciated.
The other web application is the Microsoft Outlook Web Access. (Thisone
is going
to be difficult because it is actually an ASP app. I dont know if thisis
possible
without building some proxy code between bea and iis.)
Thanks
Ryan -
Best way to implement this code in labview
Hi
What is the best way to implement this code in labview programming.
I have an analogue input which triggers a boolean light when it reaches a certain voltage. but at the same time i would like it to enable two other outputs one for a set period of time and the other stay on until another statement becomes true.
For example
case 1:
Set output high
Delay(2000ms)
Set output low
Case 2:
Set output high
If statement 2 is true
then set out put low
if not then repeat until statement is true
Thanks for your helpHi David,
The code you posted will work, although note that the front panel becomes 'unresponsive' - as changes in the controls are only read once per iteration. The wait function is an example of an execution timing VI, however if we want to do software timing (like a 2 hour wait) - we should use software timing VIs.
Check out the following example (note we can stop execution during run-time):
Regards,
Peter D
Attachments:
SoftwareTiming.vi 26 KB
Maybe you are looking for
-
I bought yesterday my macbook pro and I want to join the FaceTime and I just can´t... It said that is not working and try it later... but since yesterday said that .. What should I do?
-
SAP Gui 7.10 setup question
Hi All I am a complete newbie to SAP so please bear with me.. We connect to our SAP server in one of our offices in Holland and for our Windows XP systems use SAP GUI 620. However we now have a few Windows 7 systems around and the 620 installer does
-
Hi, How can we setup a file path so as by default it is not empty, in other words when running the VI, it would not ask to specify a file. Thanks
-
Missing audio from half my video clips
Hi guys, i'm young & new here so sorry if i'm not very technical. Here goes: At college we had to film interviews with a range of students. We filmed with a stadard digital camcorder on two days: * On the first day we filmed with the internal microph
-
File name on the menu page of a DVD project
When I import my video project into iDVD 5.0 the file name ends up on the Menu page. If I try to delete it, it erases the project from the DVD. How do I get rid of the file name on my menu page without deleting the video itself? Dual G4 1000hnz Mac