Reporting too

Is there any reporting tool available .
Where i can create reports for oracle ?

Hello Sandip,
what kind of reports do you need,
- simple csv files
- formatted export to excel
- do you need graphics
- reports that can be configured by end users
- do you have to query multiple DBs in one report
- do you have to query only ORACLE DBs or other vendors to, XML-files
If you give us more input we can give you better answers
Regards
Marcus

Similar Messages

  • Flexible employee report - too many employees in output

    Hi,
    We are running on ECC 6. while running flexible employee report (t-code S_AHR_61016362 ) using the organizational structure button on selection screen too many employees are getting selected.
    When I select a single org.unit and not the underlying ones, the employees from underlying org.units are also being displayed in the output.
    I tried searching for an SAP note but invain. Appreciate your help.
    Thanks for your time,
    Kumar.

    Hi Kumar,
    perhaps you could use S_AHR_61016533 instead. There you coudl change the
    Evaluation Path to select the persons.
    Regards
    Bernd

  • MS Office Report, too many dimensions

    Hello,
    I'm trying to add some code to a program I wrote for Diode Testing. Basically I want the program to run thru the tests and then send the data to Excel automatically. I was able to use the configure MS Office report function in labview to do this, but it will only work if I use a String or a double. Neither of these works for what I'm trying to do as I have negative datapoints and have them linked to formulas. When I try to select integer and run the program it gives me an error saying "Report Generation Toolkit: You cannot use arrays with more than two dimensions.". I've spent about 2 hours looking thru my code today and cannot find any location where I have an array of Dimension 3. I've attached my code. Also note that I am only using the case 1 after the boolean for testing purposes, the other cases have code, but it needs to be changed still so can be ignored.
    Any help would be greatly appreciated!,
    Konrad
    Attachments:
    frontpanelbackup.vi ‏279 KB

    Hi,
    The file you attached is missing some subVIs (Instrument Control VIs?) and global variables, so I can't run your program to recreate the error.  Please post your error code number, that would help in moving forward.  Also have you tried placing probes?  If you place probes on the input wires of all  your arrays you can monitor what is passing through the wires as inputs.
    Peter T
    Applications Engineer
    National Instruments

  • File sharing reports too many users connected

    SPECS: Mac Mini Core 2 Duo 2 GHz, 2G RAM, Mac OS X 10.6.4. Other users in office also running similar hardware and Mac OS X 10.6.4.
    CLARIFICATION: This Mini is used as a file server in a small law office (4 other workstations). It is running Mac OS X Client, not Server. I refer to the machine as "the server" but wanted to be clear the operating system is the same on all stations.
    HISTORY & CONFIG: This system was setup in November 2009. It provides simple file sharing storage for a 4-user law office and runs Retrospect (version 8.1.626) to do some local and network backup operations. At the time it was setup, it was also running Now Up-to-Date Server but that program is no longer supported, and it has been removed from the computer (May 31, 2010). In late March 2010, I installed Daylite Server as a replacement for Now Up-to-Date. All stations are running Mac OS X 10.6.4, and have always been at the most recent Mac OS X 10.6.x revision within a few days of the release of a major update.
    PROBLEM: Occasionally, clients cannot connect to the server (and I don't have the exact error message -- next time it happens, someone is supposed to get a screenshot). When this happens, if you go to the server and open the file sharing control panel, then click "options", you will see an impossible number of people are connected. The first time this happened was on April 28, 2010, when it reported 41 users were connected. Mac OS X Client has an upper limit of 10 simultaneous user connections, so you can see this number is not possible. Additionally, these are "phantom" logins because you can execute this command in Terminal to see the IP addresses of any connected users:
    netstat -n | grep '.548'
    And when I do this, unless there was someone who had logged in prior to the "phantom explosion", it never shows any connections. On two occasions, I've actually been in the office late one night to do maintenance, checked the server before I left and found 0 connected users, then got a call in the morning that the first person who attempted to connect was blocked and the server showed 10 or more users connected.
    I do not believe this is some kind of security breach. The server is not Internet-accessible, and as is shown by the netstat command, there really isn't anyone logged in anyway. I consulted with Marketcircle (makers of Daylite) because it seemed very coincidental that I installed their software just prior to the beginning of this problem, but they claim Daylite does not make any use of the Mac file sharing system. But, again, since these aren't real users, I suppose it's possible a bug in their software is somehow upping the Mac's connected user count erroneously?
    Restarting the server always fixes the problem -- until it happens again. This Mac Mini is a pretty simple station -- just runs Daylite Server and Retrospect Single Server, plus the basic file sharing. Anyone have any ideas why this keeps happening?

    I would say odds are likely this is correct. On at least two occasions I can think of where I verified everything was okay and later discovered a "phantom explosion", a Retrospect backup would have run. Our backups typically run at 3 AM. Is this a known issue with Retrospect? If so... not sure why it doesn't happen all the time. And in my own office I have a pretty similar setup on an entirely different computer that multiple people connect to, and it never does this. Color me confused.

  • Retrieving data/Opening reports too slow

    Hi Experts,
    We have a Finance Application with 12 dimensions. Two of those dimension holds a lot of members Product has 16,000 members with 7 hierarchies and the customer dimension has 40,000 members with 3 hierarchies. On the first part of our development we haven't encountered any trouble opening reports specially for a template which expands for almost 9,000 rows of members. After uploading 3 months of data with almost 400,000 lines each. We are now having trouble opening reports or even retrieving the data using ADHOC reports.
    We've already tried various performance tuning and still there are no improvement. We also deleted the uploaded data to see if it's causing the low performance but still the performance is still the same. Any suggestion what's causing this?
    By the way we're currently using BPC 7.0 MS SP03. We're using a single server setup. Server Memory is 10GB and Hardisk free space is 100GB
    Thanks,
    Marvin

    Hi Sorin,
    Sorry I forgot to mention that I've already tried removing other hierarchies leaving only two hierarchies to test if there is an improvement in performance but its still the same. And also other application which are far less complicated than Finance application and do not share the Product and Customer dimension are experiencing slow retrieval of data in reports. And yes, I build those hierarchies for reporting reasons, actually my first option really is to use properties but the clients requirement is for them to be able to drill-down each groupings that's why we've set them up as hierarchies.
    We've already tried creating partitions but still there's only a slight improvement in performance.
    As for the reports, we just created simple EVDRE to test if the design of the report is causing it but even a simple EVDRE hangs.
    Thanks,
    Marvin

  • JSF-Reporting Toos- Ambikadevi

    Hai Respected Ambikadevi
    Please help me out this problem
    I have to generate Jasper Report in my JSF Application . Firstly I Designed Jasper Report file(.jrxml) by Using Jasper Software simply , i did nothing for getting database connection in the Jasper Report because I have Array Data to Display on the Report
    String[][] data = pd.getdata(); This Array having 102 number of Rows , but my jasper report simply showing only first row even though i used for loop to retried the data one by one .
    Hereby I have Attached my full source code :
    String[][] data = pd.getData();
    System.out.println("Selvakumar Data length Testing Second" + data.length);
    Map ob = new HashMap();
    List simpleMasterList = new ArrayList();
    System.out.println("Selvakumar Testing Third");
    for (int i = 0; i < data.length; i++) {
    System.out.println("Inside For Loop");
    ob.put("REGN_NO", data[0]);
    System.out.println("Inside For Loop" + data[i][0]);
    ob.put("REGN_DT", data[i][1]);
    ob.put("O_NAME", data[i][2]);
    ob.put("ADD1", data[i][3]);
    ob.put("PADD1", data[i][4]);
    ob.put("VHCLASS", data[i][5]);
    ob.put("MAKER_MODEL", data[i][6]);
    ob.put("MAKER_MODEL", data[i][7]);
    ob.put("COLOR", data[i][8]);
    ob.put("FIT_DT", data[i][9]);
    simpleMasterList.add(ob);
    obj = new JRMapCollectionDataSource(simpleMasterList);
    System.out.println("Debug 4444...." + obj);
    JasperDesign jasperDesign = JRXmlLoader.load("/vahan3.0.1/TestingExpired.jrxml");
    jasperReport = JasperCompileManager.compileReport(jasperDesign);
    System.out.println("Debug 55555555555555....");
    jasperPrint = JasperFillManager.fillReport(jasperReport, new HashMap(), obj);
    // jasperPrint = JasperFillManager.
    System.out.println("Debug 5555....");
    pdfByteArray = JasperExportManager.exportReportToPdf(jasperPrint);
    // byte[] pdfByteArray=JasperExportManager.exportReportToHtmlFile(jasperPrint, regnType)jasperPrint, regnType);
    System.out.println("Debug 6666...." + pdfByteArray.length);
    // JasperViewer.viewReport(jasperPrint);
    response.setContentType("application/pdf");
    response.setContentLength(pdfByteArray.length);
    servletOutputStream.write(pdfByteArray, 0, pdfByteArray.length);
    // System.out.println("Debug 77777....");
    // servletOutputStream.flush();
    // servletOutputStream.close();
    hai please help me out, this is very urgent task to done my me today itself .
    Thanks
    Selvakumar

    Hi,
    maybe you like to try the [jsf-typewriter XSL-FO reporting|http://code.google.com/p/jsf-typewriter/] . You can use (standard) XSL-FO as Reporting Language and save all the hassle like implementing an own servlet and pass through all needed variable. It is completely integrated in JSF.

  • -z defs on a dll sharable reports too many unresolveds

    I'm developing a dso on solaris. I know I have a few undefined symbols -- i'm just getting my link line in order.
    So, to see all unresolved symbols in my dso, I link the dso with -z defs.
    The trouble is, it is now complaining about all the "implicit dependencies" in libc.
    Might there be another option to not report implicit dependencies, because they will be automatically (implicitly) loaded anyway?
    Thanks.
    CC -mt -xarch=v8 -xchip=ultra -G -o /dmhome/b1413657/DMproj/build/sun2.8-u32/lib/libSybaseQueryServiceImpl.sybase.so -z defs SybaseQueryResultsImpl.o SybaseQueryServiceImpl.o SybaseQueryServiceFactoryImpl.o \
                     -L/dmhome/b1413657/DMproj/build/sun2.8-u32/lib -lQueryServiceUtils -lTabularQueryService -lExpressionUtils -lCore -lamiThread -lBasePrims -L/dmhome/b1413657/DMproj/build/sun2.8-u32/lib -lamiThread -lBasePrims -ldebugTools -L/dmhome/b1413657/DMproj/DM-thirdpartyTree/sun2.8-u32/ctez/lib -lctez -L/dmhome/b1413657/DMproj/DM-thirdpartyTree/sun2.8-u32/sybase/lib -Bstatic -lsybct_r -lsybcs_r -lsybtcl_r -lsybcomn_r -lsybintl_r -lsybunic -Bdynamic -lpthread -lrt
    Undefined                       first referenced
    symbol                             in file
    .div                                /dmhome/b1413657/DMproj/DM-thirdpartyTree/sun2.8-u32/sybase/lib/libsybct_r.a(nprecv.o)  (symbol belongs to implicit dependency /lib/libc.so.1)
    .mul                                /dmhome/b1413657/DMproj/DM-thirdpartyTree/sun2.8-u32/sybase/lib/libsybct_r.a(ctstutil.o)  (symbol belongs to implicit dependency /lib/libc.so.1)
    .rem                                /dmhome/b1413657/DMproj/DM-thirdpartyTree/sun2.8-u32/sybase/lib/libsybct_r.a(ctconn.o)  (symbol belongs to implicit dependency /lib/libc.so.1)
    atoi                                /dmhome/b1413657/DMproj/DM-thirdpartyTree/sun2.8-u32/sybase/lib/libsybtcl_r.a(dc_ifile.o)  (symbol belongs to implicit dependency /lib/libc.so.1)
    exit                                /dmhome/b1413657/DMproj/DM-thirdpartyTree/sun2.8-u32/sybase/lib/libsybcomn_r.a(com_dbg.o)  (symbol belongs to implicit dependency /lib/libc.so.1)
    free                                /dmhome/b1413657/DMproj/build/sun2.8-u32/lib/libBasePrims.a(CharPtr.o)  (symbol belongs to implicit dependency /lib/libc.so.1)

    When building an executable program (a.out), you do not need to list the default system libraries (like libc) explicitly. The compiler driver will add the default libraries, and they would then be listed twice. Listing the libraries twice might not hurt, but is never helpful. It could cause improper proper program linking in some cases.
    When building a shared library, no libraries are linked by default. You should therefore always list all dependent libraries explicitly.
    For historical reasons (none of them good), -znodefs is the default when building shared libraries, although -zdefs is the default for executable programs. Using -zdefs when building a shared library is therefore a good idea, to ensure that all dependencies are linked. Having all dependencies present ensures libraries will be initialized in the correct order.
    More here:
    [http://blogs.sun.com/rie/entry/tt_dependencies_tt_define_what]

  • Report too slow

    I have a 3 query report (Q_1,Q_2,Q_3), when I run this report it takes seconds in execution. But if I put 2 Formula Column into a group the report takes 30 minutes in execution. CF_1 contains a query which is similar to Q_1 and I use it to handle data in Q_3, CF_2 is:
    begin
    return (round((:CF_1/:countcliente)-1)*100,2));
    end;
    CF_1 contains data from Q_1 and :countcliente is data from Q_3.
    Why if I add CF_1 to my report, it takes so many minutes?
    Thanks in advance

    Hi Phillip.
    I've removed CF's from the group and I tried to make the same with CS's out of the group, these CS's contain :countcliente and :countcliente2 (this is what CF_1 returns) but the results are global, I mean in CF_1 :countcliente2 has the values 5,10,12 and 15 and :countcliente 12,10,5 and 8.
    Now CS_1 returns 42, and CS_2 35. That is because I assigned function count in order I wanted to count the number of records, but what it shows is a count of all records without grouping data.
    If I could send you a e-mail you'll see what I did and probably will be easier for you giving me an answer.
    Thanks

  • CC 5.2 Detailed reports too large for Excel

    We are upgrading Compliance Calibrator from 4.0 to 5.2. We are required to run several large scans that result in more than the Excel limit of 65,000 lines. CC truncates the reports at the line limit. Has anyone found a way to export these reports in full so we can work with all of the data in MS Access?
    Thank you.

    If you run the reports in the background you can retreive the raw files by going to the server.  The default location is \usr\sap\SID\DVEBMGS<instance number>\j2ee\cluster\server0\virsa\bgJobSpool\ if you haven't specified a different location in the configuration tab.
    Files on the server can be identified by Job ID.
    The different types of reports are labelled as follows:
    [JobID].d.0 = Technical Detail Report
    [JobID].s.0 = Summary Report
    [JobID].m.0 = Management Summary Report
    [JobID].e.0 = Executive Summary Report
    [JobID].i = Information about the job
    Ways to get the files.
    Use an FTP program to connect to the share.
    Be sure to transfer files as "text" rather than binary.  However, if you are transferring a zipped file, transfer as "binary."
    Using SAP GUI (ABAP method)
    Log into the ABAP side of your NetWeaver installation.
    T-code: AL11  (maybe there are other t-codes that can access the filesystem also)
    Browse to the directory on the server: /usr/sap/<SID>/DVEBMGS<instance number>/j2ee/cluster/server0/virsa/bgJobSpool
    Use standard SAP GUI functionality to save the file locally, as unconverted text.

  • Report too wide for viewer

    I have a report that is 20 inches wide. When I open the viewer, the right side is cut off. Is there a way to change the page width in the viewer?
    Thanks....Linda

    sample code that calls the viewer:
        Public Overloads Sub ShowReport(ByVal path As String, _
            ByVal parameters As ArrayList, _
            Optional ByVal formCaption As String = "Report Viewer")
            Dim splashScreen As Csg.Reporting.CrystalManager.frmSplash = New Csg.Reporting.CrystalManager.frmSplash
            Try
                splashScreen.Show()
                System.Windows.Forms.Application.DoEvents()
                Dim myReport As ReportDocument = New ReportDocument
                myReport.Load(path, CrystalDecisions.Shared.OpenReportMethod.OpenReportByDefault)
                'create a new report database table object
                Dim tbCurrent As CrystalDecisions.CrystalReports.Engine.Table
                'create a new logon info object
                Dim tliCurrent As CrystalDecisions.Shared.TableLogOnInfo
                'Note: this code loops through each table in the report, but Customers.rpt
                'was designed off of only one table, the Customers table. Therefore, this
                'loop is not really needed, and one could reference
                'rdCustomers.Database.Tables(0). The loop is provided for flexibility,
                'if a report created off of more than one table was used.
                'for each table in the tables collection of the report
                For Each tbCurrent In myReport.Database.Tables
                    'get the logon info
                    tliCurrent = tbCurrent.LogOnInfo
                    'with the logon info's ConnectionInfo object
                    With tliCurrent.ConnectionInfo
                        'change the connection info to point to the Xtreme_small.mdb
                        'Access database located in the current application directory
                        'Note: for Access databases, the .ServerName property points
                        'to the .mdb file and the .DatabaseName property is blank.
                        '(UserID is "Admin" with a blank password for this database.)
                        'For SQL Server and other databases, the .ServerName property
                        'is the database server name and the .DatabaseName is the name
                        'of the database. .UserID and .Password are the userID and password
                        'needed to connect to the database.
                        .DatabaseName = DatabaseName
                        .UserID = ""
                        .Password = ""
                        .ServerName = ServerName
                    End With
                    'apply changes made to the TableLogonInfo object
                    tbCurrent.ApplyLogOnInfo(tliCurrent)
                Next tbCurrent
                If Not (parameters Is Nothing) Then
                    SetCurrentValuesForParameterField(myReport, parameters)
                End If
                Dim frm As New ReportDisplay
                frm.CrystalReportViewer1.ReportSource = myReport
                frm.CrystalReportViewer1.ShowRefreshButton = False
                frm.Text = formCaption
                frm.StartPosition = Windows.Forms.FormStartPosition.CenterScreen
                frm.Show()
                splashScreen.Close()
            Catch ex As Exception
                splashScreen.Close()
                Throw New ApplicationException(ex.Message, ex.InnerException)
            End Try
        End Sub

  • Bug Report: Lr3 does not report error when SDK version is too low.

    Lr3 should report an error if SDK is under-version'd. For example, I have this in one of my plugins:
        LrSdkVersion = 2.0,
        LrSdkMinimumVersion = 2.0, -- minimum SDK version required by this plugin.
    If I put Lr3.0 specific stuff in the plugin, Lr3 does not report an error, but it should - otherwise whats the point in specifying a version.
    I have to take the plugin into Lr2 to test for inadvertent Lr3 specific inclusion mistakes. Thank goodness I'm not worrying about Lr1...
    Rob

    Hi ,
    Could you please helping me out on finding the Patches (SP4,SP5)?
    ans also i have tested very oftenly, that my log in credentials are seems to be fine since its working for other reports too.
    With Hunting,
    MAK

  • Ssrs scheduled report

    Hello,
    Users are using a report daily which has two parameters:
    @Date and @clientName
    The users run this report for different month-ends manually...
    This report is now scheduled to run on the 10th of every month at 2:00 am. with th efollowing parameters:
    The @Date is set for the last day of the previous month.
    The @ClientName is always the same. i.e. @client1
    The way I have scheduled it is, say today is 21st July 2014, I placed the date 30 june 2014 into the @Date parameter.
    Question:
    Instead of me typing the date for the @Date parameter, i.e. 31 june 2014, how can the report do this so that it knows what @Date parameter to use when it automatically runs.
    If I do not manually change the @Date parameter, then for the following month it still uses 31 june 2014 but I have to manually change the scheduled report and enter 31 july 2014 for the next run and so forth.
    Remember that I do not want to change the format of the report because the users run this report too and they use different dates.
    Any suggestions please?

    Hi arkiboys,
    According to your description, you want the report can auto type the last day of the previous month as the @Date value, rather than manually type the date. To fix this issue, we can type the last day of the previous month with expression as the default value
    for the @Date. Then it automatically runs with the default date based on the date, without manually modification. For more details, please see:
    Edit the report with Report Builder.
    Right-click the @Date parameter to open the Report Parameter Properties dialog box.
    Click Default Values in the left pane.
    Specify a value with the expression below:
    =dateadd("d",-day(today),today)
    Users can change the date for the @Date parameter to others based on their region when he view the report.
    Hope this helps.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • LO 02010 / LO 26631 error while embedding a crystal report in a Dashboard

    Hi Experts,
    I am trying to embed a crystal report in a Dashboard Design using LiveOffice 4, and i am getting the below error.
    "An error occurred while opening the report. The report does not exist; you have insufficient rights to open the report; or you cannot make a connection to the BusinessObjects Web Service. (LO 02010)" and "Crystal Reports Java Format is not supported. (LO 26631)"
    I am logging in as an administrator and the report does exist in the CMC.
    Pls. Help
    Thanks
    Asiri

    Hi Amit,
    Thanks for replying.
    We did a upgrade from BOBJ 3.1 to 4.0 recently, and need to migrate the existing dashboards. DB connections to the reports have changed, hence the need to embed the migrated reports to the dashboard.
    Yes, I get this error when i try to embed a crystal report in dashboard. I do get the same error when trying to embed a WEBi report too. As you suggested, i tried inserting a sample crystal report, and that inserts like a charm.
    Pls. advice.
    thanks
    Asiri

  • Help! MASSIVE MacbookPro ISSUES with all mac softwares - diagnostic report incl.

    Hello all,
    I have posted something almost 1 year ago but never got a reply.. The issues became so bad lately that even checking emails becomes a performance (for my nerves..)
    My computer is a Macbookpro from mid-2012 OSX 10.8.5
    bought in 2013, in france (azerty keyboard)
    (NOTE: I'm french, so some of my terms might be a translation of the error messages i get in my descriptions)
    The 2 browsers I'm using (ideally in parallel) are Safari & Chrome, I have their latest versions for both ot them
    The programs i'm mostly using are : those 2 browsers, textedit, itunes, sometimes preview and rarely iphoto (but nowadays, only safari and textedit, as every click already takes up to 40sec...)
    Here are the issues I'm experiencing daily:
    - Any click, any command takes a min. of 5sec to be fullfiled - sometimes up to 30sec - be it wanting to switch from one progr to another or turning the volume up/down via the keyboard)
    - Rainbow ball spinning at almost every click i make..
    - When i open a finder window, it takes min. a few seconds, up to 10sec for its content to appear
    - If 2 finder windws are open, sometimes clicking on one of them does not put in the front (the other window remains, overlapping the one i'm selecting though)
    - same thing happens with a finder window and itunes
    - Pages on ANY browser take sometimes up to 40 sec to load
    - Chrome gives me all the time the message that "the pages so and so won't respond" and that i can either "wait" or "close" those windows.. waiting moslty won't help.. - i have to quit the program.. wich mosly doesn't work.. so i try to force quit..which also sometimes doesn't work..or only after several minutes...
    - When opening a progr. in the dock bar, the prog icon keeps bouncing over and over (takes between 15sec-1mn for the program to open, nomatter which one)
    - Lately, when reopening Chrome, some tabs are missing : not being retaured, they are just ..gone.
    In SAFARI:
    - as soon as not ON a tab left open on browser, the page is first completely WHITE (takes up to 30sec for content to appear)
    - Safari "force reloads" all page and tabs open several times a day, lately directly after restarting the browser
    - After force reloading, the page happen to be blank, and/or no address in the url bar : i have to click the "back" arrow, in order to make the url reappear,
    -..but sometimes even this isn't possible, though the name of the page is still showing on the tab window
    - After a force reload, pages such as youtube display as a simple text content - have to REload for the page to display properly
    - Computer often freezes sometimes completely,
    .. and the mouse disappears
    .. sometimes so hard (rainbow ball spinning non stop) that i can't force quit, not even shut down properly (exit through the "physical" start button as only chance)
    - Computer sometimes freezes but by making a restart on his own : screen becomes blue, grey, everything disappears, big start button symbol appears on screen with message in several languages and computer restarts on his own..
    - Dock/program bar sometimes won't show up.. all i can do is restart the computer
    - Force-Quitting programs can take up to 2 to 10 min until the force quit window appears...
    - Computer generates aliases or copies (?) of documents, that can't be open anyway, adding things in the name of doc such as "NAME.rtf.sb-0352fd77-9bU6Yb"
    - Bottom line : Mac softwares (and NO other!) crash or freeze on regular basis (such as : textedit, safari, iphoto,  preview etc.), they mostly show not to be responding in the force quit window
    ...But sometimes, one of these programs won't respond BUT no sign of it in the force quit window
    - Dashboard always takes 10 to 40 sec to make information/content appear
    ISSUES that occured ONCE lately:
    - was looking for files via the search field of the finder, it worked normally until it became all blank and nothing, not a single file would show - had to restart computer
    - could not make a copy-paste anymore from one tab to my tab with gmail account - had to restart computer.
    Desperately trying to improve if not solve those problems I happen to do more and more often those things:
    onyx automation and clean
    erasing cache in chrome and safari
    checking the disk with utility disk (always says it's all fine!)
    repairing the "rights" via utility disk progr.
    (if i happen do it every day : i happen to have an endless list each time of repaired issues)
    I also start the computer with cmd+alt+p+r.. never changed anyhting
    I recently did the SMC restart.. didn't change a thing
    I'm desperate !
    Bottom line : those problems occur ever since 2 months after i bought this computer (new!), giving it for repair 3 times and deinstalling + reinstalling the whole system 5 TIMES NEVER changed anything.. Even partitioning the disk, by following someones advice didn't change anything.. As a matter of a fact, the problems are recurrent and only becoming worse and worse...
    Last but not least, it's been 2 months now that the trackpad is "dead"..i can't press it anymore and have to use the "finger tip" mode or whatever it's called..
    Thank you for taking the time to read, I'd be super grateful for any help!
    HERE IS THE LAST (todays) DIAGNOSTIC REPORT TOO:
    Process:         mDNSResponder [42]
    Path:            /usr/sbin/mDNSResponder
    Identifier:      mDNSResponder
    Version:         ???
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [1]
    User ID:         65
    Date/Time:       2015-04-04 15:55:28.762 +0200
    OS Version:      Mac OS X 10.8.5 (12F2501)
    Report Version:  10
    Crashed Thread:  2
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000038
    VM Regions Near 0x38:
    -->
        __TEXT                 000000010ab9e000-000000010ac2e000 [  576K] r-x/rwx SM=COW  /usr/sbin/mDNSResponder
    Application Specific Information:
    mDNSResponder mDNSResponder-379.38.1 (Apr 25 2013 19:19:56)
    Thread 0:: Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib         0x00007fff8c670686 mach_msg_trap + 10
    1   libsystem_kernel.dylib         0x00007fff8c66fc42 mach_msg + 70
    2   com.apple.CoreFoundation       0x00007fff86a44233 __CFRunLoopServiceMachPort + 195
    3   com.apple.CoreFoundation       0x00007fff86a49916 __CFRunLoopRun + 1078
    4   com.apple.CoreFoundation       0x00007fff86a490e2 CFRunLoopRunSpecific + 290
    5   com.apple.CoreFoundation       0x00007fff86a57dd1 CFRunLoopRun + 97
    6   mDNSResponder                 0x000000010ab9fca4 main + 3362
    7   mDNSResponder                 0x000000010abd26ac start + 52
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib         0x00007fff8c672d16 kevent + 10
    1   libdispatch.dylib             0x00007fff88aacdea _dispatch_mgr_invoke + 883
    2   libdispatch.dylib             0x00007fff88aac9ee _dispatch_mgr_thread + 54
    Thread 2 Crashed:
    0   mDNSResponder                 0x000000010aba42bd mDNS_Lock_ + 24
    1   mDNSResponder                 0x000000010abf5ac8 tcpConnectionCallback + 199
    2   mDNSResponder                 0x000000010abccfc7 tcpKQSocketCallback + 374
    3   mDNSResponder                 0x000000010abb03f9 KQueueLoop + 3003
    4   libsystem_c.dylib             0x00007fff87c0b772 _pthread_start + 327
    5   libsystem_c.dylib             0x00007fff87bf81a1 thread_start + 13
    Thread 3:
    0   libsystem_kernel.dylib         0x00007fff8c6726d6 __workq_kernreturn + 10
    1   libsystem_c.dylib             0x00007fff87c0df1c _pthread_workq_return + 25
    2   libsystem_c.dylib             0x00007fff87c0dce3 _pthread_wqthread + 412
    3   libsystem_c.dylib             0x00007fff87bf8191 start_wqthread + 13
    Thread 4:
    0   libsystem_kernel.dylib         0x00007fff8c6726d6 __workq_kernreturn + 10
    1   libsystem_c.dylib             0x00007fff87c0df1c _pthread_workq_return + 25
    2   libsystem_c.dylib             0x00007fff87c0dce3 _pthread_wqthread + 412
    3   libsystem_c.dylib             0x00007fff87bf8191 start_wqthread + 13
    Thread 2 crashed with X86 Thread State (64-bit):
      rax: 0x41876e62157f7935  rbx: 0x0000000000000000  rcx: 0x00000000000fc080  rdx: 0x00000000000f9e60
      rdi: 0x0000000000000000  rsi: 0x000000010ac1e6ee  rbp: 0x000000010aecc2a0  rsp: 0x000000010aecc280
       r8: 0x000000000000001c   r9: 0x000000004de38472  r10: 0x0000000000000000  r11: 0x000000004de38472
      r12: 0x000000010ac3ac40  r13: 0x000000010aecc420  r14: 0x000000010ac1e6ee  r15: 0x0000000000000000
      rip: 0x000000010aba42bd  rfl: 0x0000000000010206  cr2: 0x0000000000000038
    Logical CPU: 2
    Binary Images:
           0x10ab9e000 -        0x10ac2dfff  mDNSResponder (???) <1792F6EF-2D34-3047-89FC-1643D1C5C214> /usr/sbin/mDNSResponder
           0x10ac5a000 -        0x10ac5bfff  com.apple.webcontentfilter.WebFilterDNS (2.0 - 5) <7D53E6E9-BBF7-3A82-A758-557815123A5B> /System/Library/PrivateFrameworks/WebFilterDNS.framework/Versions/A/WebFilterDN S
           0x10ac61000 -        0x10ac62fff  com.apple.DeviceToDeviceManager (31.0 - 29) <6ADF4070-B53A-3CA5-888F-09D37FADC05F> /System/Library/PrivateFrameworks/DeviceToDeviceManager.framework/Versions/A/De viceToDeviceManager
           0x10accb000 -        0x10acccfff  com.apple.BluetoothD2DManagerPlugin (4.1.7 - 4.1.7f5) <73068841-54B7-3BC4-A765-A3F1B9908B06> /System/Library/PrivateFrameworks/DeviceToDeviceManager.framework/PlugIns/Bluet ooth.bundle/Contents/MacOS/Bluetooth
           0x10acd1000 -        0x10acd4fff  com.apple.airport.d2d (2.4 - 240.1) <76CD41A4-1F6E-378C-8182-E5D2E89F050D> /System/Library/PrivateFrameworks/DeviceToDeviceManager.framework/PlugIns/WiFi. bundle/Contents/MacOS/WiFi
        0x7fff6a79e000 -     0x7fff6a7d293f  dyld (210.2.3) <36CAA36E-72BC-3E48-96D9-B96A2DF77730> /usr/lib/dyld
        0x7fff841f0000 -     0x7fff842edff7  libxml2.2.dylib (22.3) <47B09CB2-C636-3024-8B55-6040F7829B4C> /usr/lib/libxml2.2.dylib
        0x7fff84419000 -     0x7fff8441afff  liblangid.dylib (116) <864C409D-D56B-383E-9B44-A435A47F2346> /usr/lib/liblangid.dylib
        0x7fff8441b000 -     0x7fff84423ff7  libsystem_dnssd.dylib (379.38.1) <BDCB8566-0189-34C0-9634-35ABD3EFE25B> /usr/lib/system/libsystem_dnssd.dylib
        0x7fff84424000 -     0x7fff84428ff7  com.apple.TCC (1.0 - 1) <F2F3B753-FC73-3543-8BBE-859FDBB4D6A6> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
        0x7fff84c08000 -     0x7fff84c33fff  libxslt.1.dylib (11.3) <441776B8-9130-3893-956F-39C85FFA644F> /usr/lib/libxslt.1.dylib
        0x7fff84e16000 -     0x7fff84e16fff  libOpenScriptingUtil.dylib (148.3) <F8681222-0969-3B10-8BCE-C55A4B9C520C> /usr/lib/libOpenScriptingUtil.dylib
        0x7fff84ee6000 -     0x7fff84ef3fff  libbz2.1.0.dylib (29) <CE9785E8-B535-3504-B392-82F0064D9AF2> /usr/lib/libbz2.1.0.dylib
        0x7fff85162000 -     0x7fff85164fff  libquarantine.dylib (52.1) <143B726E-DF47-37A8-90AA-F059CFD1A2E4> /usr/lib/system/libquarantine.dylib
        0x7fff85165000 -     0x7fff85166fff  libsystem_blocks.dylib (59) <D92DCBC3-541C-37BD-AADE-ACC75A0C59C8> /usr/lib/system/libsystem_blocks.dylib
        0x7fff865e4000 -     0x7fff865f1ff7  com.apple.NetAuth (4.0 - 4.0) <F5BC7D7D-AF28-3C83-A674-DADA48FF7810> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
        0x7fff869fc000 -     0x7fff86a00fff  libpam.2.dylib (20) <C8F45864-5B58-3237-87E1-2C258A1D73B8> /usr/lib/libpam.2.dylib
        0x7fff86a05000 -     0x7fff86a13ff7  libsystem_network.dylib (77.10) <0D99F24E-56FE-380F-B81B-4A4C630EE587> /usr/lib/system/libsystem_network.dylib
        0x7fff86a14000 -     0x7fff86bfeff7  com.apple.CoreFoundation (6.8 - 744.19) <0F7403CA-2CB8-3D0A-992B-679701DF27CA> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
        0x7fff86de2000 -     0x7fff86de2fff  libkeymgr.dylib (25) <CC9E3394-BE16-397F-926B-E579B60EE429> /usr/lib/system/libkeymgr.dylib
        0x7fff87092000 -     0x7fff870a5ff7  libbsm.0.dylib (32) <F497D3CE-40D9-3551-84B4-3D5E39600737> /usr/lib/libbsm.0.dylib
        0x7fff870aa000 -     0x7fff870d8ff7  libsystem_m.dylib (3022.6) <B434BE5C-25AB-3EBD-BAA7-5304B34E3441> /usr/lib/system/libsystem_m.dylib
        0x7fff870d9000 -     0x7fff8718bff7  com.apple.LaunchServices (539.12 - 539.12) <A57EA823-BC17-3794-818F-72F241E22725> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
        0x7fff87195000 -     0x7fff871e6ff7  com.apple.SystemConfiguration (1.12.2 - 1.12.2) <581BF463-C15A-363B-999A-E830222FA925> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
        0x7fff8732e000 -     0x7fff8738dfff  com.apple.AE (645.6 - 645.6) <44F403C1-660A-3543-AB9C-3902E02F936F> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
        0x7fff877b3000 -     0x7fff877ffff7  libauto.dylib (185.4) <AD5A4CE7-CB53-313C-9FAE-673303CC2D35> /usr/lib/libauto.dylib
        0x7fff87800000 -     0x7fff87881fff  com.apple.Metadata (10.7.0 - 707.13) <A3690F85-076C-3D42-9FA7-5C98167029E1> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
        0x7fff87b0e000 -     0x7fff87b1cfff  libcommonCrypto.dylib (60027) <BAAFE0C9-BB86-3CA7-88C0-E3CBA98DA06F> /usr/lib/system/libcommonCrypto.dylib
        0x7fff87bf7000 -     0x7fff87cc3ff7  libsystem_c.dylib (825.40.1) <543B05AE-CFA5-3EFE-8E58-77225411BA6B> /usr/lib/system/libsystem_c.dylib
        0x7fff87cfb000 -     0x7fff87d69fff  com.apple.framework.IOKit (2.0.1 - 755.42.2) <18E64CC5-2671-3C47-B2C6-0EEEDF899461> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
        0x7fff87dc5000 -     0x7fff87dccfff  com.apple.NetFS (5.0 - 4.0) <82E24B9A-7742-3DA3-9E99-ED267D98C05E> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
        0x7fff88591000 -     0x7fff88595fff  libMatch.1.dylib (17) <E10E50F3-25F8-3B9B-AA11-923E40F5FFDD> /usr/lib/libMatch.1.dylib
        0x7fff88596000 -     0x7fff8859cfff  libmacho.dylib (829) <BF332AD9-E89F-387E-92A4-6E1AB74BD4D9> /usr/lib/system/libmacho.dylib
        0x7fff8859d000 -     0x7fff885a0ff7  libdyld.dylib (210.2.3) <F59367C9-C110-382B-A695-9035A6DD387E> /usr/lib/system/libdyld.dylib
        0x7fff885a1000 -     0x7fff885cafff  libsandbox.1.dylib (220.4) <E3CEE0A1-9602-31F7-8FF9-42B7B74E8592> /usr/lib/libsandbox.1.dylib
        0x7fff88655000 -     0x7fff88752fff  libsqlite3.dylib (138.1) <ADE9CB98-D77D-300C-A32A-556B7440769F> /usr/lib/libsqlite3.dylib
        0x7fff887f4000 -     0x7fff887fffff  libsystem_notify.dylib (98.6) <1E490CB2-9311-3B36-8372-37D3FB0FD818> /usr/lib/system/libsystem_notify.dylib
        0x7fff88aa8000 -     0x7fff88abdff7  libdispatch.dylib (228.23) <D26996BF-FC57-39EB-8829-F63585561E09> /usr/lib/system/libdispatch.dylib
        0x7fff88abe000 -     0x7fff88c33fff  com.apple.CFNetwork (596.6.3 - 596.6.3) <883CE0E5-17B6-3227-B7B1-0CCC16D2739E> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
        0x7fff88c34000 -     0x7fff88c39fff  libcache.dylib (57) <65187C6E-3FBF-3EB8-A1AA-389445E2984D> /usr/lib/system/libcache.dylib
        0x7fff88c56000 -     0x7fff88e56fff  libicucore.A.dylib (491.11.3) <5783D305-04E8-3D17-94F7-1CEAFA975240> /usr/lib/libicucore.A.dylib
        0x7fff89bfb000 -     0x7fff89c00fff  libcompiler_rt.dylib (30) <08F8731D-5961-39F1-AD00-4590321D24A9> /usr/lib/system/libcompiler_rt.dylib
        0x7fff89e71000 -     0x7fff89e71fff  com.apple.CoreServices (57 - 57) <9DD44CB0-C644-35C3-8F57-0B41B3EC147D> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
        0x7fff89eb9000 -     0x7fff89edeff7  libc++abi.dylib (26) <D86169F3-9F31-377A-9AF3-DB17142052E4> /usr/lib/libc++abi.dylib
        0x7fff89eec000 -     0x7fff89f3bff7  libcorecrypto.dylib (106.2) <CE0C29A3-C420-339B-ADAA-52F4683233CC> /usr/lib/system/libcorecrypto.dylib
        0x7fff8a400000 -     0x7fff8a469fff  libstdc++.6.dylib (56) <EAA2B53E-EADE-39CF-A0EF-FB9D4940672A> /usr/lib/libstdc++.6.dylib
        0x7fff8a971000 -     0x7fff8a972ff7  libSystem.B.dylib (169.3) <9089D72D-E714-31E1-80C8-698A8E8B05AD> /usr/lib/libSystem.B.dylib
        0x7fff8aa32000 -     0x7fff8ad03fff  com.apple.security (7.0 - 55719.16.6) <E00808AF-B6C5-3EBA-A604-A97E203E7D1B> /System/Library/Frameworks/Security.framework/Versions/A/Security
        0x7fff8b02b000 -     0x7fff8b02dff7  libunc.dylib (25) <92805328-CD36-34FF-9436-571AB0485072> /usr/lib/system/libunc.dylib
        0x7fff8b02e000 -     0x7fff8b09bff7  com.apple.datadetectorscore (4.1 - 269.3) <5775F0DB-87D6-310D-8B03-E2AD729EFB28> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDe tectorsCore
        0x7fff8b09c000 -     0x7fff8b1b492f  libobjc.A.dylib (532.2) <90D31928-F48D-3E37-874F-220A51FD9E37> /usr/lib/libobjc.A.dylib
        0x7fff8b1b5000 -     0x7fff8b21dff7  libc++.1.dylib (65.1) <20E31B90-19B9-3C2A-A9EB-474E08F9FE05> /usr/lib/libc++.1.dylib
        0x7fff8b30b000 -     0x7fff8b313fff  liblaunch.dylib (442.26.2) <2F71CAF8-6524-329E-AC56-C506658B4C0C> /usr/lib/system/liblaunch.dylib
        0x7fff8b317000 -     0x7fff8b62eff7  com.apple.CoreServices.CarbonCore (1037.6 - 1037.6) <1E567A52-677F-3168-979F-5FBB0818D52B> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
        0x7fff8b9f3000 -     0x7fff8ba29fff  libsystem_info.dylib (406.17) <4FFCA242-7F04-365F-87A6-D4EFB89503C1> /usr/lib/system/libsystem_info.dylib
        0x7fff8c5b2000 -     0x7fff8c5e3ff7  com.apple.DictionaryServices (1.2 - 184.4) <FB0540FF-5034-3591-A28D-6887FBC220F7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
        0x7fff8c5e4000 -     0x7fff8c5eafff  com.apple.DiskArbitration (2.5.2 - 2.5.2) <C713A35A-360E-36CE-AC0A-25C86A3F50CA> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
        0x7fff8c60c000 -     0x7fff8c61aff7  libkxld.dylib (2050.48.15) <11B0E186-E47C-3833-882C-317BC0E1C10D> /usr/lib/system/libkxld.dylib
        0x7fff8c61b000 -     0x7fff8c632fff  com.apple.CFOpenDirectory (10.8 - 151.10) <10F41DA4-AD54-3F52-B898-588D9A117171> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpen Directory.framework/Versions/A/CFOpenDirectory
        0x7fff8c660000 -     0x7fff8c67bff7  libsystem_kernel.dylib (2050.48.15) <3415C7F3-5807-3F5E-ABB1-EDD9494DB207> /usr/lib/system/libsystem_kernel.dylib
        0x7fff8c702000 -     0x7fff8c78fff7  com.apple.SearchKit (1.4.0 - 1.4.0) <C7F43889-F8BF-3CB9-AD66-11AEFCBCEDE7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
        0x7fff8cc98000 -     0x7fff8ccaaff7  libz.1.dylib (43) <2A1551E8-A272-3DE5-B692-955974FE1416> /usr/lib/libz.1.dylib
        0x7fff8d026000 -     0x7fff8d035ff7  libxar.1.dylib (105) <370ED355-E516-311E-BAFD-D80633A84BE1> /usr/lib/libxar.1.dylib
        0x7fff8d2ba000 -     0x7fff8d619fff  com.apple.Foundation (6.8 - 945.19) <C98E55BA-553B-314B-B056-849FFB20C220> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
        0x7fff8da6a000 -     0x7fff8da6bff7  libsystem_sandbox.dylib (220.4) <E2A3D8A9-80A3-3666-8D8B-D22829C2B0EC> /usr/lib/system/libsystem_sandbox.dylib
        0x7fff8da6c000 -     0x7fff8da72ff7  libunwind.dylib (35.1) <21703D36-2DAB-3D8B-8442-EAAB23C060D3> /usr/lib/system/libunwind.dylib
        0x7fff8dda4000 -     0x7fff8de4aff7  com.apple.CoreServices.OSServices (557.6 - 557.6) <E91B0882-E75C-30E9-8DCD-7A0EEE4405CC> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
        0x7fff8dee8000 -     0x7fff8df09ff7  libCRFSuite.dylib (33) <736ABE58-8DED-3289-A042-C25AF7AE5B23> /usr/lib/libCRFSuite.dylib
        0x7fff8e0c8000 -     0x7fff8e0dffff  com.apple.GenerationalStorage (1.1 - 132.3) <FD4A84B3-13A8-3C60-A59E-25A361447A17> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/Gene rationalStorage
        0x7fff8e67a000 -     0x7fff8e681ff7  libcopyfile.dylib (89.0.70) <30824A67-6743-3D99-8DC3-92578FA9D7CB> /usr/lib/system/libcopyfile.dylib
        0x7fff8f3b8000 -     0x7fff8f3daff7  libxpc.dylib (140.43) <70BC645B-6952-3264-930C-C835010CCEF9> /usr/lib/system/libxpc.dylib
        0x7fff90156000 -     0x7fff90157fff  libDiagnosticMessagesClient.dylib (8) <8548E0DC-0D2F-30B6-B045-FE8A038E76D8> /usr/lib/libDiagnosticMessagesClient.dylib
        0x7fff90158000 -     0x7fff90159ff7  libdnsinfo.dylib (453.19) <14202FFB-C3CA-3FCC-94B0-14611BF8692D> /usr/lib/system/libdnsinfo.dylib
        0x7fff90bf3000 -     0x7fff90bf4ff7  libremovefile.dylib (23.2) <6763BC8E-18B8-3AD9-8FFA-B43713A7264F> /usr/lib/system/libremovefile.dylib
    External Modification Summary:
      Calls made by other processes targeting this process:
        task_for_pid: 38
        thread_create: 0
        thread_set_state: 0
      Calls made by this process:
        task_for_pid: 0
        thread_create: 0
        thread_set_state: 0
      Calls made by all processes on this machine:
        task_for_pid: 4696
        thread_create: 1
        thread_set_state: 0
    VM Region Summary:
    ReadOnly portion of Libraries: Total=80.1M resident=29.4M(37%) swapped_out_or_unallocated=50.7M(63%)
    Writable regions: Total=60.7M written=1348K(2%) resident=1256K(2%) swapped_out=384K(1%) unallocated=59.5M(98%)
    REGION TYPE                      VIRTUAL
    ===========                      =======
    MALLOC                             50.4M
    MALLOC guard page                    32K
    STACK GUARD                        56.0M
    Stack                              10.0M
    VM_ALLOCATE                           8K
    __DATA                             3300K
    __LINKEDIT                         52.3M
    __TEXT                             27.8M
    __UNICODE                           544K
    mapped file                          32K
    shared memory                        12K
    ===========                      =======
    TOTAL                             200.4M

    deekaygee wrote:
    Csound1 wrote:
    Open Contacts, see what accounts are attached to it, only the contacts in the iCloud account 'pushes' to iCloud.
    Understood. But if I really want the iCloud contacts to synchronize with the contacts "On My Mac", do I have to manually copy and paste (or drag) in the Contacts application? Is this really the definition of "synchronization" ?
    Again. The 'On My Mac' account is a local account, it's on your Mac (hence the name) but not anywhere else.
    You may be trying to sync it to iCloud but you will fail, put the contacts where they need to be, if you want them distributed by iCloud they will need to be in the iCloud account.
    One simple way to move them is to export the On My Mac account to a vcard file and then import the vcard file into the iCloud account (do all this in Contacts, not the website)
    deekaygee wrote:
    Additionally - will the iCloud contacts remain visibile on the computer when a web connection is unavailable? And - if so - what is the function of "On My Mac" contacts. (Just a bit confused over the concept, I suppose...)
    Yes to the first question and as for the second, if you didn't have iCloud where would you keep your contacts?

  • Store all values from updateable report on clientside for later use

    apex 4.2 , 11xe
    hello,
    it is possible to store all values from an updateable report to something like an cache BEFORE sent it to DB ?
    Background:
    i have an modified updateable report ,look the jpg
    http://www10.pic-upload.de/25.06.13/3zq5wr23awwg.jpg
    updateable report have ever 29 rows. as example i make time entrys for an employee. very often the next employee have the same timeentrys. now iam thinking about to make the entrys for the first employee, then click a button to store the values from ALL cells into somting like a javascript cache or jquery.data() . when i pull another employee from lov i have a fresh empty report( with 29 rows) and now  i want to call the data back from cache to the cells (with another button). the cache shouldnt  be destroyed when refresh the page,cause there is a page refresh when pull another employee from lov.
    is it possible to store all cell values(empty or not) from report all in one?
    what is the best and simplest way ?
    good would be an example for the code or method i should use.
    or is somthing inside apex i could use for that. i looked in apex.api  but didnt found something.
    my report based on a view with iof trigger and apex collection.
    greets/christian

    thx for answer jarola and sorry for my bad english.
    apex collection will not work.
    let me explain why not and i think something like javascript/jquery is better for that.
    there is a table MAZEIT and i have this updateable report. when i select an employee from lov, a collection will be created.  the collection look in MAZEIT ,perhaps there are real timeentrys, in this case the collection will be modified and give me 29 rows,some are filled. or there are no real entrys and the collection give me 29 empty rows.
    here my report sql:
    select
    "HID_SEQ_ID",
    "DATUM",
    "WOTAG",
    "WOTAGNR",
    "KNDABT_ID",
    "ZEIT",
    "BEGINN",
    "ENDE",
    "PAUSE",
    "ZUSCHLAG",
    "BEM",
    "MELDUNG"
    from "#OWNER#"."V_COLL_MAZEIT"
    here the v_coll_mazeit (view) sql
    CREATE OR REPLACE VIEW V_COLL_MAZEIT AS
    SELECT seq_id HID_SEQ_ID        -- APEX_COLLECTIONS.SEQ_ID
            ,C001   HID_MAZEIT_ID     -- MAZEIT.ID
            ,C002   DATUM             -- Datum DD.MM.YYYY
            ,C003   WOTAG             -- Wochentag Mo/Di/...
            ,C004   WOTAGNR           -- Wochentag 1/2/...
            ,C005   KNDABT_ID         -- Abteilung
            ,C006   ZEIT              -- Zeit in HH24:MI
            ,C007   BEGINN            -- Beginn in HH24:MI
            ,C008   ENDE              -- Ende in HH24:MI
            ,C009   PAUSE             -- Pause in HH24:MI
            ,C010   ZUSCHLAG
            ,C011   BEM
            ,C040   HID_MANDANT_ID
            ,C041   HID_KND_ID
            ,C042   HID_MA_ID
            ,C043   HID_KW
            ,C048   HID_HASH4CHECK    -- Hash für Check auf Änderungen MAZEIT
            ,C049   HID_SORTIER       -- für ORDER BY hier Arbeitsbeginn
            ,C050   MELDUNG           -- für FehlerMeldungen
        FROM APEX_COLLECTIONS
       WHERE COLLECTION_NAME='V_COLL_MAZEIT'
       ORDER BY HID_SORTIER;
    here the trigger (iof) from v_coll_mazeit
    CREATE OR REPLACE TRIGGER "V_COLL_MAZEIT_IOF_U_TRG"
      INSTEAD OF UPDATE ON V_COLL_MAZEIT
      FOR EACH ROW
    BEGIN
      --RAISE_APPLICATION_ERROR(-20004,'NIX DA');
      CM_MEAT.V_COLL_MAZEIT_IOF_U_TRG(
             :NEW.HID_SEQ_ID
            ,:NEW.HID_MAZEIT_ID
            ,:NEW.DATUM
            ,:NEW.WOTAG
            ,:NEW.WOTAGNR
            ,:NEW.KNDABT_ID
            ,:NEW.ZEIT
            ,:NEW.BEGINN
            ,:NEW.ENDE
            ,:NEW.PAUSE
            ,:NEW.ZUSCHLAG
            ,:NEW.BEM
            ,:NEW.HID_HASH4CHECK
            ,:NEW.HID_SORTIER
            ,:NEW.MELDUNG
    END V_COLL_MAZEIT_IOF_U_TRG;
    and here a package procedure when i select an employee:
      PROCEDURE V_COLL_MAZEIT_PROC(
                    iAction    IN PLS_INTEGER,
                    iDatum     IN DATE DEFAULT SYSDATE,
                    iMandantId IN MAZEIT.MANDANT_ID%TYPE,
                    iKndId     IN MAZEIT.KND_ID%TYPE,
                    iMaId      IN MAZEIT.MA_ID%TYPE,
                    oCollName OUT VARCHAR2)
      IS
        TK_FUNC_NAME  CONSTANT USER_OBJECTS.OBJECT_NAME%TYPE := 'V_COLL_MAZEIT_PROC';
        TK_COLL_NAME  CONSTANT APEX_COLLECTIONS.COLLECTION_NAME%TYPE := 'V_COLL_MAZEIT';
        TK_MD5        CONSTANT VARCHAR2(2) := 'NO';
        TYPE t_Tage_TAB IS TABLE OF DATE INDEX BY BINARY_INTEGER;
        TYPE t_TageVC_TAB IS TABLE OF VARCHAR2(8) INDEX BY BINARY_INTEGER;
        TYPE t_TageI_TAB IS TABLE OF PLS_INTEGER INDEX BY BINARY_INTEGER;
        tTage   t_Tage_TAB;
        tTageVC t_TageVC_TAB;
        tTageI  t_TageI_TAB;
        vDatum  DATE;
        vDatumCh  VARCHAR2(8);
        vKW4Db  MAZEIT.KW%TYPE;
        vI      PLS_INTEGER := 0;
        vAnz    PLS_INTEGER := 0;
      BEGIN
        FOR rec IN (SELECT * FROM NLS_SESSION_PARAMETERS)
        LOOP
          InsProto(rec.PARAMETER||'=['||rec.VALUE||']',
                    QK_PACK_NAME,TK_FUNC_NAME);
        END LOOP;
        CMT.InsProto('iAction='||iAction||', iDatum='||iDatum||', iMandantId='||iMandantId||', iKndId='||iKndId||', iMaId'||iMaId,
                  QK_PACK_NAME,TK_FUNC_NAME);
        oCollName := TK_COLL_NAME;
        IF iAction=0 THEN -- löschen
          IF APEX_COLLECTION.COLLECTION_EXISTS(p_collection_name=>TK_COLL_NAME) THEN
            APEX_COLLECTION.TRUNCATE_COLLECTION(TK_COLL_NAME);
            APEX_COLLECTION.DELETE_COLLECTION(TK_COLL_NAME);
          END IF;
        || Säubern und anlegen
        ELSIF iAction=1 THEN
          IF APEX_COLLECTION.COLLECTION_EXISTS(p_collection_name=>TK_COLL_NAME) THEN
            APEX_COLLECTION.TRUNCATE_COLLECTION(p_collection_name=>TK_COLL_NAME);
          ELSE
            APEX_COLLECTION.CREATE_COLLECTION(p_collection_name=>TK_COLL_NAME);
          END IF;
          vDatum := NVL(iDATUM,SYSDATE);
          vDatum := TO_DATE(TO_CHAR(vDatum,'YYYYMMDD')||'000000','YYYYMMDDHH24MISS');
          vKW4Db := GetKW4Db(vDatum);
          tTage(1) := CMT.GetMonday(vDATUM,0);
          SELECT tTage(1) + 1DAY,tTage(1) + 2DAY,tTage(1) + 3DAY,tTage(1) + 4DAY,tTage(1) + 5DAY,tTage(1) + 6DAY
            INTO tTage(2),tTage(3),tTage(4),tTage(5),tTage(6),tTage(7)
            FROM DUAL;
          FOR i IN 1..7 LOOP tTageI(i) := 0; tTageVC(i) := TO_CHAR(tTage(i),'YYYYMMDD'); END LOOP;
          -- erste Zeile enthält Default-Werte
          APEX_COLLECTION.add_member( p_COLLECTION_name=> TK_COLL_NAME,p_generate_md5=>TK_MD5
            ,P_C001 => 0                                                -- MAZEIT.ID
            ,P_C002 => '<b>Vorgabe</b>'                                           -- Datum DD.MM.YYYY
            ,P_C003 => ' '                                              -- Wochentag Mo/Di/...
            ,P_C004 => ' '                                              -- Wochentag 1/2/...
            ,P_C005 => 0                                                -- MAZEIT.KNDABT_ID
            ,P_C006 => NULL                                             -- Zeit in HH24:MI
            ,P_C007 => NULL                                             -- Beginn in HH24:MI
            ,P_C008 => NULL                                             -- Ende in HH24:MI
            ,P_C009 => NULL                                             -- Pause in HH24:MI
            ,P_C010 => NULL                                             -- Zuschlag
            ,P_C011 => NULL                                             -- Bem
            ,P_C040 => iMandantId
            ,P_C041 => iKndId
            ,P_C042 => iMaId
            ,P_C043 => vKW4Db
            ,P_C048 => '-1'                                             -- Hash für Check auf Änderungen MAZEIT
            ,P_C049 => ' '                                             -- für ORDER BY hier Arbeitsbeginn
            ,P_C050 => NULL
          FOR rec IN (SELECT z.*,
                             TO_CHAR(DBMS_UTILITY.get_hash_value(
                                        z.id||'|'||
                                        z.mandant_id||'|'||
                                        z.majob_id||'|'||
                                        z.ma_id||'|'||
                                        z.knd_id||'|'||
                                        z.kndabt_id||'|'||
                                        z.kw||'|'||
                                        z.arb_beg||'|'||
                                        z.arb_end||'|'||
                                        z.zeit||'|'||
                                        z.pause||'|'||
                                        z.zuschlag||'|'||
                                        z.stk_anz||'|'||
                                        z.stk_kg||'|'||
                                        z.stk_gemuur||'|'||
                                        z.stk_bezahlt||'|'||
                                        z.bem||'|'||
                                        z.ART4RECH
                                        ,1,POWER(2,30))) AS HID_HASH4CHECK
                        FROM MAZEIT z
                       WHERE z.MANDANT_ID=iMandantId AND
                             z.KND_ID=iKndId AND
                             z.MA_ID=iMaId AND
                             z.KW = GetKW4Db(tTage(1)) AND
                             z.ART4RECH  IN (CMT.GetTCVNum('MAZEIT_ART4RECH_STD'),CMT.GetTCVNum('MAZEIT_ART4RECH_STK'),CMT.GetTCVNum('MAZEIT_ART4RECH_KG'))
                       ORDER BY z.ARB_BEG)
          LOOP
            IF rec.ZUSCHLAG=0 THEN
              rec.ZUSCHLAG := NULL;
            END IF;
            vI := 0;
            vDatumCh := TO_CHAR(rec.ARB_BEG,'YYYYMMDD');
            FOR i IN 1..7 LOOP
              IF tTageVC(i)=vDatumCh THEN
                tTageI(i) := tTageI(i) + 1;
                vI := i;
                EXIT;
              END IF;
            END LOOP;
            -- Stücklohn kommt an den Anfang der Bemerkung gekennzeichnet mit QK_COLL_MAZEIT_STK_KZ ursprüngliche Bemekuung nach dem :
            rec.BEM := RTRIM(rec.BEM);
            IF rec.ART4RECH = CMT.GetTCVNum('MAZEIT_ART4RECH_STK') THEN
              DECLARE
                vBem  MAZEIT.BEM%TYPE := QK_COLL_MAZEIT_STK_KZ;
              BEGIN
                IF rec.STK_BEZAHLT > 0. THEN
                  vBem := QK_COLL_MAZEIT_STK_KZ||TO_CHAR(rec.stk_bezahlt,'FM9999D00');
                ELSIF rec.STK_ANZ > 0 THEN
                  vBem := QK_COLL_MAZEIT_STA_KZ||TO_CHAR(rec.stk_anz,'FM9999');
                END IF;
                IF rec.BEM IS NULL THEN
                  rec.BEM := vBem;
                ELSE
                  rec.BEM := SUBSTR(vBem||':'||rec.BEM,1,CMT.GetColLen('MAZEIT','BEM'));
                END IF;
              END;
            ELSIF rec.ART4RECH = CMT.GetTCVNum('MAZEIT_ART4RECH_KG') THEN
              DECLARE
                vBem  MAZEIT.BEM%TYPE := QK_COLL_MAZEIT_KG_KZ;
              BEGIN
                IF rec.STK_KG > 0. THEN
                  vBem := QK_COLL_MAZEIT_KG_KZ||TO_CHAR(rec.stk_kg,'FM999999D000');
                END IF;
                IF rec.BEM IS NULL THEN
                  rec.BEM := vBem;
                ELSE
                  rec.BEM := SUBSTR(vBem||':'||rec.BEM,1,CMT.GetColLen('MAZEIT','BEM'));
                END IF;
              END;
            END IF;
            IF vI>0 THEN
              IF tTageI(vI)=1 THEN
                APEX_COLLECTION.add_member( p_COLLECTION_name=> TK_COLL_NAME,p_generate_md5=>TK_MD5
                  ,P_C001 => rec.id                                           -- MAZEIT.ID
                  ,P_C002 => TO_CHAR(rec.ARB_BEG,'DD.MM.YYYY')                -- Datum DD.MM.YYYY
                  ,P_C003 => CMT.WoTag(rec.ARB_BEG)                           -- Wochentag Mo/Di/...
                  ,P_C004 => CMT.WoTagNr(rec.ARB_BEG)                         -- Wochentag 1/2/...
                  ,P_C005 => rec.KNDABT_ID                                    -- MAZEIT.KNDABT_ID
                  ,P_C006 => CMT.Minuten2InduZeit(rec.ZEIT)                   -- Zeit als InduZeit in HH24,MI
                  ,P_C007 => TO_CHAR(rec.ARB_BEG,'HH24:MI')                   -- Beginn in HH24:MI
                  ,P_C008 => TO_CHAR(rec.ARB_END,'HH24:MI')                   -- Ende in HH24:MI
                  ,P_C009 => CMT.Minuten2HHMI(rec.PAUSE,TRUE)                     -- Pause in HH24:MI
                  ,P_C010 => rec.ZUSCHLAG
                  ,P_C011 => rec.BEM
                  ,P_C040 => iMandantId
                  ,P_C041 => iKndId
                  ,P_C042 => iMaId
                  ,P_C043 => vKW4Db
                  ,P_C048 => rec.HID_HASH4CHECK                               -- Hash für Check auf Änderungen MAZEIT
                  ,P_C049 => TO_CHAR(rec.ARB_BEG,'YYYYMMDDHH24MI')            -- für ORDER BY hier Arbeitsbeginn
                  ,P_C050 => NULL                                             -- für FehlerMeldungen
              ELSE
                APEX_COLLECTION.add_member( p_COLLECTION_name=> TK_COLL_NAME,p_generate_md5=>TK_MD5
                  ,P_C001 => rec.id                                           -- MAZEIT.ID
                  ,P_C002 => NULL                                             -- Datum DD.MM.YYYY
                  ,P_C003 => NULL                                             -- Wochentag Mo/Di/...
                  ,P_C004 => NULL                                             -- Wochentag 1/2/...
                  ,P_C005 => rec.KNDABT_ID                                    -- MAZEIT.KNDABT_ID
                  ,P_C006 => CMT.Minuten2InduZeit(rec.ZEIT)                       -- Zeit als InduZeit in HH24,MI
                  ,P_C007 => TO_CHAR(rec.ARB_BEG,'HH24:MI')                   -- Beginn in HH24:MI
                  ,P_C008 => TO_CHAR(rec.ARB_END,'HH24:MI')                   -- Ende in HH24:MI
                  ,P_C009 => CMT.Minuten2HHMI(rec.PAUSE,TRUE)                     -- Pause in HH24:MI
                  ,P_C010 => rec.ZUSCHLAG
                  ,P_C011 => rec.BEM
                  ,P_C040 => iMandantId
                  ,P_C041 => iKndId
                  ,P_C042 => iMaId
                  ,P_C043 => vKW4Db
                  ,P_C048 => rec.HID_HASH4CHECK                               -- Hash für Check auf Änderungen MAZEIT
                  ,P_C049 => TO_CHAR(rec.ARB_BEG,'YYYYMMDDHH24MI')            -- für ORDER BY hier Arbeitsbeginn
                  ,P_C050 => NULL                                             -- für FehlerMeldungen
              END IF;
              vAnz := vAnz + 1;
            END IF;
          END LOOP;
          FOR i IN 1..7 LOOP
            IF tTageI(i)<4 THEN
              FOR j IN tTageI(i)+1..4 LOOP
                IF j=1 THEN
                  APEX_COLLECTION.add_member( p_COLLECTION_name=> TK_COLL_NAME,p_generate_md5=>TK_MD5
                    ,P_C001 => -1                                               -- MAZEIT.ID
                    ,P_C002 => TO_CHAR(tTage(i),'DD.MM.YYYY')                   -- Datum DD.MM.YYYY
                    ,P_C003 => CMT.WoTag(tTage(i))                              -- Wochentag Mo/Di/...
                    ,P_C004 => CMT.WoTagNr(tTage(i))                            -- Wochentag 1/2/...
                    ,P_C005 => 0                                                -- MAZEIT.KNDABT_ID
                    --,P_C006 => Minuten2InduZeit(0)                            -- Zeit als InduZeit in HH24,MI
                    ,P_C006 => NULL                                             -- Zeit als InduZeit in HH24,MI
                    --,P_C007 => '06:30'                                        -- Beginn in HH24:MI
                    ,P_C007 => NULL                                             -- Beginn in HH24:MI
                    ,P_C008 => NULL                                             -- Ende in HH24:MI
                    --,P_C009 => Minuten2HHMI(0)                                -- Pause in HH24:MI
                    ,P_C009 => NULL                                             -- Pause in HH24:MI
                    ,P_C010 => NULL                                             -- Zuschlag
                    ,P_C011 => NULL                                             -- Bem
                    ,P_C040 => iMandantId
                    ,P_C041 => iKndId
                    ,P_C042 => iMaId
                    ,P_C043 => vKW4Db
                     ,P_C048 => '-1'                                             -- Hash für Check auf Änderungen MAZEIT
                    ,P_C049 => TO_CHAR(tTage(i),'YYYYMMDD')||'99'||TO_CHAR(j,'FM09')  -- für ORDER BY hier Arbeitsbeginn
                    ,P_C050 => NULL
                ELSE -- auffüllen
                   APEX_COLLECTION.add_member( p_COLLECTION_name=> TK_COLL_NAME,p_generate_md5=>TK_MD5
                    ,P_C001 => -1                                               -- MAZEIT.ID
                    ,P_C002 => NULL                                             -- Datum DD.MM.YYYY
                    ,P_C003 => NULL                                             -- Wochentag Mo/Di/...
                    ,P_C004 => NULL                                             -- Wochentag 1/2/...
                    ,P_C005 => 0                                                -- MAZEIT.KNDABT_ID
                    --,P_C006 => Minuten2HHMI(0)                                -- Zeit in HH24:MI
                    ,P_C006 => NULL                                             -- Zeit in HH24:MI
                    --,P_C007 => '06:30'                                        -- Beginn in HH24:MI
                    ,P_C007 => NULL                                             -- Beginn in HH24:MI
                    ,P_C008 => NULL                                             -- Ende in HH24:MI
                    --,P_C009 => Minuten2InduZeit(0)                            -- Pause als InduZeit in HH24,MI
                    ,P_C009 => NULL                                             -- Pause als InduZeit in HH24,MI
                    ,P_C010 => NULL                                             -- Zuschlag
                    ,P_C011 => NULL                                             -- Bem
                    ,P_C040 => iMandantId
                    ,P_C041 => iKndId
                    ,P_C042 => iMaId
                    ,P_C043 => vKW4Db
                    ,P_C048 => '-1'                                             -- Hash für Check auf Änderungen MAZEIT
                    ,P_C049 => TO_CHAR(tTage(i),'YYYYMMDD')||'99'||TO_CHAR(j,'FM09')  -- für ORDER BY hier Arbeitsbeginn
                    ,P_C050 => NULL
                END IF;
              END LOOP;
            END IF;
          END LOOP;
          vI := 0;
          FOR rec IN (SELECT * FROM V_COLL_MAZEIT) LOOP
            vI := vI + 1;
            CMT.InsProto('i='||LPAD(TO_CHAR(vI),3,' ')||':'||
                    rec.hid_seq_id||'|'||
                    rec.hid_mazeit_id||'|'||
                    rec.datum||'|'||
                    rec.wotag||'|'||
                    rec.wotagnr||'|'||
                    rec.zeit||'|'||
                    rec.beginn||'|'||
                    rec.ende||'|'||
                    rec.pause||'|'||
                    rec.zuschlag||'|'||
                    rec.bem||'|'||
                    rec.hid_hash4check||'|'||
                    rec.hid_sortier||'|'||
                    rec.meldung
                  ,QK_PACK_NAME,TK_FUNC_NAME);
          END LOOP;
       ELSE
         raise_Application_ERROR(-20100,'kann ich doch nicht Action='||TO_CHAR(iAction));
        END IF;
      END V_COLL_MAZEIT_PROC;
    and here the procedure (look for real entrys in table)
    PROCEDURE V_COLL_MAZEIT_IOF_U_TRG(
             iHID_SEQ_ID      apex_collections.seq_id%TYPE
            ,iHID_MAZEIT_ID   apex_collections.C001%TYPE
            ,iDATUM           apex_collections.C002%TYPE
            ,iWOTAG           apex_collections.C003%TYPE
            ,iWOTAGNR         apex_collections.C004%TYPE
            ,iKNDABT_ID       apex_collections.C005%TYPE
            ,iZEIT            apex_collections.C006%TYPE
            ,iBEGINN          apex_collections.C007%TYPE
            ,iENDE            apex_collections.C008%TYPE
            ,iPAUSE           apex_collections.C009%TYPE
            ,iZUSCHLAG        apex_collections.C010%TYPE
            ,iBEM             apex_collections.C011%TYPE
            ,iHID_HASH4CHECK  apex_collections.C048%TYPE
            ,iHID_SORTIER     apex_collections.C049%TYPE
            ,iMELDUNG         apex_collections.C050%TYPE
      IS
      PRAGMA AUTONOMOUS_TRANSACTION;
        TK_FUNC_NAME  CONSTANT USER_OBJECTS.OBJECT_NAME%TYPE := 'V_COLL_MAZEIT_IOF_U_TRG';
        TK_COLL_NAME  CONSTANT APEX_COLLECTIONS.COLLECTION_NAME%TYPE := 'V_COLL_MAZEIT';
        vRcString VARCHAR2(2000) := NULL;
        rCollMaZeit0  V_COLL_MAZEIT%ROWTYPE;
        rCollMaZeit   V_COLL_MAZEIT%ROWTYPE;
        rMaZeit       MAZEIT%ROWTYPE;
        vHash4Check   PLS_INTEGER;
        vURow         ROWID;
      BEGIN
        CMT.InsProto(
                ihid_seq_id||'|'||
                ihid_mazeit_id||'|'||
                idatum||'|'||
                iwotag||'|'||
                iwotagnr||'|'||
                iKNDABT_ID||'|'||
                izeit||'|'||
                ibeginn||'|'||
                iende||'|'||
                ipause||'|'||
                izuschlag||'|'||
                ibem||'|'||
                ihid_hash4check||'|'||
                ihid_sortier||'|'||
                imeldung
              ,QK_PACK_NAME,TK_FUNC_NAME);
        -- VIEW-ZeitZeile lesen
        SELECT t.* INTO rCollMaZeit
          FROM V_COLL_MAZEIT t
         WHERE t.HID_SEQ_ID = iHID_SEQ_ID;
        IF iHID_MAZEIT_ID!=rCollMaZeit.HID_MAZEIT_ID OR
            iHID_HASH4CHECK!=rCollMaZeit.HID_HASH4CHECK THEN
          vRcString := 'Daten seit Anzeige verändert';
          GOTO MARK_TRANSEND;
        END IF;
        -- VIEW-ZeitDefaultZeile setzen
        IF rCollMaZeit.HID_MAZEIT_ID=0 THEN
            --,P_C005 => 0                                                -- MAZEIT.KNDABT_ID
            --,P_C006 => NULL                                             -- Zeit in HH24,MI
            --,P_C007 => NULL                                             -- Beginn in HH24:MI
            --,P_C008 => NULL                                             -- Ende in HH24:MI
            --,P_C009 => NULL                                             -- Pause in HH24,MI
            --,P_C010 => NULL                                             -- Zuschlag
            --,P_C011 => NULL                                             -- Bem
          APEX_COLLECTION.update_member_attribute( p_COLLECTION_name=> TK_COLL_NAME, p_seq=>rCollMaZeit.HID_SEQ_ID
                ,p_attr_number=>5, p_attr_value=>iKNDABT_ID);
          APEX_COLLECTION.update_member_attribute( p_COLLECTION_name=> TK_COLL_NAME, p_seq=>rCollMaZeit.HID_SEQ_ID
                ,p_attr_number=>6, p_attr_value=>iZEIT);
          APEX_COLLECTION.update_member_attribute( p_COLLECTION_name=> TK_COLL_NAME, p_seq=>rCollMaZeit.HID_SEQ_ID
                ,p_attr_number=>7, p_attr_value=>iBEGINN);
          APEX_COLLECTION.update_member_attribute( p_COLLECTION_name=> TK_COLL_NAME, p_seq=>rCollMaZeit.HID_SEQ_ID
                ,p_attr_number=>8, p_attr_value=>iENDE);
          APEX_COLLECTION.update_member_attribute( p_COLLECTION_name=> TK_COLL_NAME, p_seq=>rCollMaZeit.HID_SEQ_ID
                ,p_attr_number=>9, p_attr_value=>iPAUSE);
          APEX_COLLECTION.update_member_attribute( p_COLLECTION_name=> TK_COLL_NAME, p_seq=>rCollMaZeit.HID_SEQ_ID
                ,p_attr_number=>10, p_attr_value=>iZUSCHLAG);
          APEX_COLLECTION.update_member_attribute( p_COLLECTION_name=> TK_COLL_NAME, p_seq=>rCollMaZeit.HID_SEQ_ID
                ,p_attr_number=>11, p_attr_value=>iBEM);
          IF iBEM LIKE '#%' THEN  -- Verteilen
            -- VIEW-ZeitDefaultZeile lesen
            SELECT t.* INTO rCollMaZeit0
              FROM V_COLL_MAZEIT t
             WHERE t.HID_MAZEIT_ID = 0;
             rCollMaZeit0.BEM := SUBSTR(iBEM,2);
            DECLARE
              vAnz          PLS_INTEGER := 0;
              nVert         MAZEIT.ZEIT%TYPE;
              nZeitMinuten  MAZEIT.ZEIT%TYPE;
              nDiffMinuten  MAZEIT.ZEIT%TYPE;
            BEGIN
              SELECT NVL(COUNT(*),0) INTO vAnz
                FROM V_COLL_MAZEIT t
               WHERE t.HID_MAZEIT_ID = -1 AND
                     t.DATUM IS NOT NULL AND
                     t.WOTAGNR IN ('1','2','3','4','5'); -- nur Mo-Fr
              IF vAnz<=0 THEN
                vRcString := 'Verteilen nicht möglich keine freien Tage gefunden';
              ELSIF TRIM(iZEIT) IS NULL OR TRIM(iZEIT) IN ('00,00','0,00','0',',00',',0','0,','0,0') THEN
                vRcString := 'Verteilen von Null Minuten nicht möglich';
              ELSE
                nDiffMinuten := 0;
                nZeitMinuten := CMT.InduZeit2MinutenNum(TRIM(iZEIT));
                IF nZeitMinuten>(vAnz*1440) THEN
                  vRcString := 'Zu verteilende Zeit zu groß';
                ELSIF vAnz>1 THEN
                  nVert := FLOOR(nZeitMinuten/vAnz);
                  nDiffMinuten := nZeitMinuten - (nVert*vAnz);
                  nZeitMinuten := nVert;
                END IF;
                IF vRcString IS NULL THEN
                  FOR rec IN (SELECT t.* INTO rCollMaZeit
                                FROM V_COLL_MAZEIT t
                               WHERE t.HID_MAZEIT_ID = -1 AND
                                     t.DATUM IS NOT NULL AND
                                     t.WOTAGNR IN ('1','2','3','4','5')) -- nur Mo-Fr)
                  LOOP
                    rCollMaZeit := rec;
                    vRcString := qV_COLL_MAZEIT_Insert(iKNDABT_ID, iZEIT, nZeitMinuten+nDiffMinuten, iBEGINN, iENDE, iPAUSE, iZUSCHLAG, SUBSTR(iBEM,2),
                                                       rCollMaZeit0, rCollMaZeit, rMaZeit);
                    IF vRcString IS NOT NULL THEN
                      EXIT;
                    END IF;
                    nDiffMinuten := 0;
                  END LOOP;
                END IF;
              END IF;
            END;
          END IF;
        -- MAZEIT-Vorhandener Eintrag
        ELSIF rCollMaZeit.HID_MAZEIT_ID>0 THEN
          SELECT z.ROWID, TO_CHAR(DBMS_UTILITY.get_hash_value(
                                      z.id||'|'||
                                      z.mandant_id||'|'||
                                      z.majob_id||'|'||
                                      z.ma_id||'|'||
                                      z.knd_id||'|'||
                                      z.kndabt_id||'|'||
                                      z.kw||'|'||
                                      z.arb_beg||'|'||
                                      z.arb_end||'|'||
                                      z.zeit||'|'||
                                      z.pause||'|'||
                                      z.zuschlag||'|'||
                                      z.stk_anz||'|'||
                                      z.stk_kg||'|'||
                                      z.stk_gemuur||'|'||
                                      z.stk_bezahlt||'|'||
                                      z.bem||'|'||
                                      z.ART4RECH
                                      ,1,POWER(2,30))) AS HID_HASH4CHECK
            INTO vURow, vHash4Check
            FROM MAZEIT z
           WHERE z.ID=rCollMaZeit.HID_MAZEIT_ID
             FOR UPDATE NOWAIT;
          IF vHash4Check!=rCollMaZeit.HID_HASH4CHECK THEN
            vRcString := 'Daten seit Anzeige verändert';
            GOTO MARK_TRANSEND;
          END IF;
          SELECT z.* INTO rMaZeit
            FROM MAZEIT z
           WHERE ROWID=vURow;
          rMaZeit.KNDABT_ID := TO_NUMBER(TRIM(iKNDABT_ID));
          IF TRIM(iBEGINN) IS NULL THEN
             rMaZeit.ARB_BEG := NULL;
          ELSE
             rMaZeit.ARB_BEG := TO_DATE(TO_CHAR(rMaZeit.ARB_BEG,'YYYYMMDD')||TRIM(SUBSTR(iBEGINN,1,5)),'YYYYMMDDHH24:MI');
          END IF;
          IF TRIM(iENDE) IS NULL THEN
             rMaZeit.ARB_END := NULL;
          ELSE
             rMaZeit.ARB_END := TO_DATE(TO_CHAR(rMaZeit.ARB_BEG,'YYYYMMDD')||TRIM(SUBSTR(iENDE,1,5)),'YYYYMMDDHH24:MI');
          END IF;
          IF TRIM(iZEIT) IS NULL THEN
             rMaZeit.ZEIT := NULL;
          ELSE
             rMaZeit.ZEIT := CMT.InduZeit2MinutenNum(TRIM(iZEIT));
          END IF;
          IF TRIM(iPAUSE) IS NULL THEN
             rMaZeit.PAUSE := NULL;
          ELSE
             rMaZeit.PAUSE := CMT.HHMI2Minuten(TRIM(iPAUSE));
          END IF;
          IF iWOTAGNR IN (6,7) AND
             rMaZeit.PAUSE IS NOT NULL AND rMaZeit.PAUSE<>0 THEN
            vRcString := 'Eintrag Pause am Wochenende nicht erlaubt';
            GOTO MARK_TRANSEND;
          END IF;
          IF TRIM(iZUSCHLAG) IS NULL THEN
             rMaZeit.ZUSCHLAG := NULL;
          ELSE
             rMaZeit.ZUSCHLAG := TO_NUMBER(TRIM(iZUSCHLAG));
          END IF;
          IF RTRIM(iBEM) IS NULL THEN
             rMaZeit.BEM := NULL;
          ELSE
             rMaZeit.BEM := RTRIM(iBEM);
          END IF;
          IF (rMaZeit.KNDABT_ID IS NOT NULL AND rMaZeit.KNDABT_ID>0) OR
              rMaZeit.ARB_BEG IS NOT NULL OR rMaZeit.ARB_END IS NOT NULL OR
              (rMaZeit.ZEIT IS NOT NULL AND rMaZeit.ZEIT!=0) OR rMaZeit.PAUSE IS NOT NULL OR
              rMaZeit.ZUSCHLAG IS NOT NULL OR rMaZeit.BEM IS NOT NULL THEN
            DECLARE
              vBem  MAZEIT.BEM%TYPE := rMaZeit.BEM;
            BEGIN
              rMaZeit.ZUSCHLAG := NVL(rMaZeit.ZUSCHLAG,0.0);
              qV_COLL_MAZEIT_BEM_CHK(rMaZeit);  -- Bem prüfen wg. ART4RECH Verschlüsselung mittels QK_COLL_MAZEIT_STK_KZ
              UPDATE MAZEIT z
                 SET z.KNDABT_ID = rMaZeit.KNDABT_ID
                    ,z.ARB_BEG = rMaZeit.ARB_BEG
                    ,z.ARB_END = rMaZeit.ARB_END
                    ,z.ZEIT = rMaZeit.ZEIT
                    ,z.PAUSE = rMaZeit.PAUSE
                    ,z.ZUSCHLAG = rMaZeit.ZUSCHLAG
                    ,z.BEM = rMaZeit.BEM
                    ,z.STK_BEZAHLT = rMaZeit.STK_BEZAHLT
                    ,z.STK_ANZ = rMaZeit.STK_ANZ
                    ,z.STK_KG = rMaZeit.STK_KG
                    ,z.ART4RECH = rMaZeit.ART4RECH
               WHERE ROWID=vURow;
              IF SQL%ROWCOUNT=1 THEN
                NULL;
              ELSIF SQL%ROWCOUNT<1 THEN
                RAISE NO_DATA_FOUND;
              ELSE
                RAISE TOO_MANY_ROWS;
              END IF;
              rMaZeit.BEM := vBem;
            END;
          ELSE
            DELETE FROM MAZEIT z
             WHERE ROWID=vURow;
            IF SQL%ROWCOUNT=1 THEN
              NULL;
            ELSIF SQL%ROWCOUNT<1 THEN
              RAISE NO_DATA_FOUND;
            ELSE
              RAISE TOO_MANY_ROWS;
            END IF;
            APEX_COLLECTION.update_member_attribute( p_COLLECTION_name=> TK_COLL_NAME, p_seq=>rCollMaZeit.HID_SEQ_ID
                  ,p_attr_number=>1, p_attr_value=>-1);
            APEX_COLLECTION.update_member_attribute( p_COLLECTION_name=> TK_COLL_NAME, p_seq=>rCollMaZeit.HID_SEQ_ID
                  ,p_attr_number=>48, p_attr_value=>'-1');
          END IF;
          APEX_COLLECTION.update_member_attribute( p_COLLECTION_name=> TK_COLL_NAME, p_seq=>rCollMaZeit.HID_SEQ_ID
                ,p_attr_number=>5, p_attr_value=>rMaZeit.KNDABT_ID);
          APEX_COLLECTION.update_member_attribute( p_COLLECTION_name=> TK_COLL_NAME, p_seq=>rCollMaZeit.HID_SEQ_ID
                ,p_attr_number=>6, p_attr_value=>CMT.Minuten2InduZeit(rMaZeit.ZEIT));
          APEX_COLLECTION.update_member_attribute( p_COLLECTION_name=> TK_COLL_NAME, p_seq=>rCollMaZeit.HID_SEQ_ID
                ,p_attr_number=>7, p_attr_value=>TO_CHAR(rMaZeit.ARB_BEG,'HH24:MI'));
          APEX_COLLECTION.update_member_attribute( p_COLLECTION_name=> TK_COLL_NAME, p_seq=>rCollMaZeit.HID_SEQ_ID
                ,p_attr_number=>8, p_attr_value=>TO_CHAR(rMaZeit.ARB_END,'HH24:MI'));
          APEX_COLLECTION.update_member_attribute( p_COLLECTION_name=> TK_COLL_NAME, p_seq=>rCollMaZeit.HID_SEQ_ID
                ,p_attr_number=>9, p_attr_value=>CMT.Minuten2InduZeit(rMaZeit.PAUSE,TRUE) );
          APEX_COLLECTION.update_member_attribute( p_COLLECTION_name=> TK_COLL_NAME, p_seq=>rCollMaZeit.HID_SEQ_ID
                ,p_attr_number=>10, p_attr_value=>rMaZeit.ZUSCHLAG);
          APEX_COLLECTION.update_member_attribute( p_COLLECTION_name=> TK_COLL_NAME, p_seq=>rCollMaZeit.HID_SEQ_ID
                ,p_attr_number=>11, p_attr_value=>RTRIM(rMaZeit.BEM));
        -- MAZEIT neuer Eintrag
        ELSIF rCollMaZeit.HID_MAZEIT_ID=-1 THEN
          -- VIEW-ZeitDefaultZeile lesen
          SELECT t.* INTO rCollMaZeit0
            FROM V_COLL_MAZEIT t
           WHERE t.HID_MAZEIT_ID = 0;
          vRcString := qV_COLL_MAZEIT_Insert(iKNDABT_ID, iZEIT, NULL, iBEGINN, iENDE, iPAUSE, iZUSCHLAG, iBEM,
                                             rCollMaZeit0, rCollMaZeit, rMaZeit);
        ELSE
          vRcString := 'Ungültige HID_MAZEIT_ID '||TO_CHAR(rCollMaZeit.HID_MAZEIT_ID);
        END IF;
        <<MARK_TRANSEND>>
        IF vRcString IS NULL THEN
          COMMIT;
        ELSE
          ROLLBACK;
          RAISE_APPLICATION_ERROR(-20100,vRcString);
        END IF;
      END V_COLL_MAZEIT_IOF_U_TRG;
    and in end there are 3 other procedures, all for table MAZEIT, the collection and and the report.
    in princip its a good idea,to create another collection, but difficult to bind it to the report TOO,cause my "cell-fill- functionality" is to complicated.
    my idea is another: to look with javascript/jquery whatever on clientside the cell-values. and only the editable cells. not the hidden cells.there would be ca. 180 editable cells. i want store the values from this cells all in one in a cache (clientside! ).
    then select next employee (collection will be created with view  ect.) and give me this 29 rows. in this moment i have cells  with ID f02_0001 as example and can use the cache values with that. the ID's ever the same,cause i have ever 29 rows.
    greets/christian

Maybe you are looking for

  • Limit order items to be sent back to sourcing on deletion

    Hi all, We are on SRM 7.1 Extended classic. Can anyone confirm if the limitatin on the LIMIT orders not being sent back to SOURCING even after the PO items are deleted is stilll valid in SRM 7.1.??? Also we want to use LIMIT orders instead of service

  • Problem Importing Keywords with jpg photos into Library

    I am a new and enthusiastic LR user working to migrate from iMatch, where I have kept my ~80,000 photos organized for the last several years. However, my last roadblock to being able to do that is the import of keyword information (or as iMatch calls

  • Why can't I open a new tab manually?

    All of a sudden I am not able to manually open a new tab. It was working fine until yesterday. I click on the "plus" and nothing happens.

  • Can't Access Tutorials

    Hi, I can't access any of the Tutorials. When I submit the userID/password/LicenseNumber, the browser just hangs, and does not bring me the PDF documents like it used to. Can somebody please help on why this is happening? Regards Haroon

  • LDAP -- plain text password

    Hi All - Does any one know how to retrieve the password from LDAP in plain text form? Thanks, Giri