Script to copy/update metadata

Hi
I process several hundred videos a week and have to update the metadata on them.  I think it would be possible to write a Javascript that will automate some of this process.  I've some previous programming experience with VB.NET but never in Javascript.  I currently process initially in Bridge because I prefer tagging in here rather than Prelude, plus I can reject/delete footage quickly here, then do ingest/commenting in Prelude. 
To save some time I want to copy the contents of the Preserved Filename field to the Tape Name field.  The reason being that it keeps the information providing I only rename the file once.  However, if its renamed again, the original filename is lost.  I am quite happy to have a go at writing the script but have absolutely no idea where to start and my time is limited because I must continue to tag and edit the video footage as well.
If I could afford it, I would pay someone to write the script but unfortunately that is not an option at the present time.
Any help that is offered would be greatly appreciated.  Thank you in advance.
Debbie

I wrote my own script.

Similar Messages

  • Copy GPS Metadata Back into Photoshop TIFFs with Bridge Scripting

    I've published a sample script on the Bridge blog about metadata scripting with Bridge and AdobeXMPScript -- specifically the script deals with GPS metadata and automation that synchronizes work done by both Bridge and Photoshop.
    Here is the link:
    http://blogs.adobe.com/bridge/2009/01/copy_gps_metada_1.html
    Enjoy!
    -David

    I couldn't read all through your post as I am jetting out of here.
    Buy this:
    http://www.fastpictureviewer.com/codecs/
    and install it. It's relatively cheap. Screen shot is from Windows Explorer.
    Handles ID, PSD, etc., files as well. Though the preview uses greeked text for the most part for the ID files.
    Take care, Mike

  • Bridge locks briefly when updating metadata on large PSD files

    When updating metadata on a large PSD file, Bridge "locks" up for a brief period of time. This is apparently when it's rewriting that large PSD file to update the metadata. I'd like to be able to use Bridge in an uninterrupted fashion while metadata is updated in the background. This normally works for smaller files, just not on large PSD files. You can reproduce this easily by just adding a keyword to a couple 100MB PSD files.
    --John

    Chris,
    How large are the PSD files? If they are over 400MB, I think I know what's wrong.
    Bridge has a file-size preference, and won't process files that are larger than your setting. You'll find this preference on the Thumbnails panel in the Bridge Preferences dialog. The default is 400MB--try bumping it up to a size larger than your largest PSD and then purge the cache for the folder containing those PSDs.
    If that does not work, I'd like to have a copy of one of the PSDs that is not working for you.
    -David Franzen
    Quality Engineer,
    Adobe Systems, Inc.

  • The 'Update Metadata' icon displays even after saving metadata

    After upgrading from v3 to v4.3, I opened my catalog (Lightroom made a copy of the file and converted it for v4.3). I didn't do anything to the images, but noticed several displayed the 'Update Metadata' icon. (I should note the 'update metadata automatically' option in the preferences is turned off to save ROM.)
    Since I update the metadata manually, it's possible I forgot to save these several files — but when I try to save them, the icon persistently returns within seconds, or when I scroll away and come back.
    I'm running an iMac with OS X 10.6.8 and 165 GB of disc space. The Lightroom files are on an external drive, and the images are DNGs.

    rjmooreii wrote:
    The Lightroom files are on an external drive, and the images are DNGs.
    For DNG the best solution is to run the 'Update DNG Preview and Metadata' command, which can be found under the Metadata menu. This method builds a completely new DNG file before removing the old file.
    As to the cause - two known at present:
    1. Auto Exposure or Lens corrections, and
    2. Applying Spot Heal corrections with opacity less than 100%
    The first is complicated by the fact that it's also associated with updating of the thumbnail previews (basically a timing issue) and has been around for a long time, although not everyone sees it. The second is more recent and much easier to reproduce.
    Adobe engineering are aware of these bugs, but I supect that the fix is still some way off. The user level fix for both is as mentioned above, but further develop adjustments can result in it returning.

  • Logon Scripts for copying files in Windows 7

    Issues using Logon scripts to copy files in windows 7.  Its default is to append the file rather than copy and replace, which is what XP did.  How can I achieve the same results using
    logon scripts in W7 to copy any files to specified folders and replacing old files.  The reason for this is that we use a software that performs offsite/onsite updates and the only way all the users can have the correct version/tables is to either manually
    update each user in a 90+ user environment or use a logon script to perform the coping of the updates.  Unfortunately the software support won’t create a (while logging in to software) patch for this.  So we have to force it during the user logon.

    Hi Novice,
    It should depend on your script content. it's recommended you ask in the official scripting guys forum for professional help:
    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    Karen Hu
    TechNet Community Support

  • XML script to copy data from one repository to another

    Hi all,
    a customer wants an xml script that copy all data from the repository A to the repository B. I think that this is not possible to do this with an xml script, because the script tags (add-item, update-item, query-item, import-item, load-item, remove-item) seems don't give this feature. The same for RQL, that doesn't give you a command like "SELECT INTO".
    But what i'm asking is: Is there a way to run the copy using the repository script tags?
    Thanks.
    Edited by: user10980894 on 11-lug-2011 3.33

    Please elaborate , If what you need is to copy data from between two dissimliar repositories then it is not possible , but if a and b are having the same structure then you might be able to do that using the following and tweaking the generated xml
    Both the repositories should have the same structure and name , please follow the below commands and you will be able to export the data in below format , see if this is all you want
    export using
    bin/startSQLReository -m module -export all outputfile.xml -repository repositoryA
    Change the reference to repositoryA in the file
    import using
    bin/startSQLRepository - m module - import outputfile.xml -repository repositoryB
    <add-item item-descriptor="priceList" id="plist4350003">
    <set-property name="description"><![CDATA[Group of Thirteen States which is generally called as L13 in AT&T]]></set-property>
    <set-property name="displayName"><![CDATA[L13]]></set-property>
    <!-- export is false <set-property name="version"><![CDATA[7]]></set-property> -->
    <set-property name="basePriceList"><![CDATA[listPrices]]></set-property>
    <set-property name="creationDate"><![CDATA[9/3/2010 07:38:49]]></set-property>
    <set-property name="lastModifiedDate"><![CDATA[9/10/2010 17:02:09]]></set-property>
    <set-property name="itemAcl"><![CDATA[Admin$role$administrators-group:list,write,write_owner,write_acl,read_owner,destroy,read_acl,read;Admin$role$everyone-group:list,read]]></set-property>
    </add-item>
    please refer to this section of ATG Repository guide for further info

  • Powershell Script to copy mobilephone number to telephone number

    Hello Friends,
    I need a powershell script to copy mobilephone attribute to telephone attribute.
    Scenario is below:
    I have Group "Test1" , I need to copy mobilephone attribute to telephone attribute of all the uses in this Group.
    I have created the script but its not giving desired result
    "Get-QADGroup "test1"|
    ForEach-Object{
    Get-QADGroupMember$_.samaccountname}|
    selectsamaccountname,mobilephone
    | export-csvD:\test1.csv
    Import-Csv "D:\test1.csv"|
    %{Get-QADUSer$_.Samaccountname
    | Set-QADUser-ObjectAttributes@{telephonenumber=$_.mobilephone}}"
    My observation:
    1.while I exporting the attribute , i am not getting proper telephone format in CSV which is "+919999XXX1111" 
    2. If Telephonenumber attribute of a user is allready filled , it does not update the attribute. it only update the attribute if it is blank
    Plase help to resolve it.
    this is kind of urgent , thank you all in advance

    Thank you for your reply
    but it is not changing anything however scripts executes perfectly.
    I want to add one more thing here when i export the "mobilePhone" attribute it comes in the format "9.2E+11"
    whereas it should come in the format "+919999XXX111".
    So, as i said earlier if "telephonenumber" fields remains blank it takes the value "9.2E+11" which is error. but it is not replacing if fileld has some value and value format is not correct.

  • How to allow CS users to update metadata on several items? (UCM 10gR3)

    In the UCM 10gR3 portal user interface:
    It is convenient for us to allow users to update metadata fields on a group of items in one action. We want to allow users to select any number of files from a CS search result.
    After selecting the items, we want to users to be able to set new values for some fields (e.g. Security Group and Document Type) without touching the values of the other metadata fields (such as Author).
    This seems to be pretty basic functionality, but we cannot seem to find it in the CS user interface. What is the easiest way to do this in the CS user interface?
    Thanks!

    Unfortunately freezing the metadata model is not an option in practice. While we may make a model that serves us well for the time being, we are likely to end up in a situation where the outside world invalidates our metadata model.
    A hypothetical case
    From the UCM Administration Manual:
    "Choose only static information as a security group. For example, department names change infrequently, so they can be considered static; projects come and go, so they might not be considered static."
    Although department names may change infrequently, they are likely to change sometimes. Sometimes departments are split up or merged.
    A real case
    In our concrete case, a project will generate a large amount of content distributed over many content items. After the production of this content within the project the responsibility will be transferred to a number of different departments. It is thus impossible to know in advance which metadata model will be suitable and it seems that the archiver is inefficient in solving the problem of delegating the content to different security groups.
    Obviously, we are not interested in making heavy customization that we need to maintain. And reassigning the security group of many content items individually is not a feasible solution.
    Has anyone had similar needs? What solutions have you used?

  • Error when copying update rules!!!

    Hello All,
             I am trying install 0SD_C03 from business content, however I am getting following error. Cube got installed properly.
    Error when copying update rules
    Patch levels are
    SAP_BW  - 0014
    BI_CONT - 0005
    Please help me in solving this error.
    Regards,
      PNK

    Hi,
           The error message show as below. There is no longtext
    Error when copying update rules
    Message no. RSAU457
    But, when I installed FI-AP cubes, update rules are installed without any error. Is there any settings differs from FI to logistics datasources?
    Regards,
    PNK

  • How can I script Adobe Reader updates using vbScript, PowerShell or C#?

    I would like to script Adobe Reader updates using vbScript, PowerShell or C#, are there any Adobe API calls I use to do this.  There are several different version that I support and auto update is not an option. I do updates at a specific time of the month. I would like to write a script that would download and install the update for the currently installed version of Adobe Reader (32 or 64 bit) for the version of the OS (32 or 64bit). I can detect the OS version and the Adobe version.  I can download updates but I do not want to hard code anything

    Sabian is correct.
    Most admins download the updates from the ftp site and push via AIP, GPO, SCCM, or some other method whenever it makes sense for them.
    Ben

  • Updating metadata

    Hi guys,
    I have a big problem here and I need help. Its getting very urgent! I am trying to find the best way to update the metadata in Hyperion 11.1.1.3. I am actually creating a cube that will be using for reporting only. That cube must be updated very frequently to follow the structural changes in the company. It will be use as a reporting utility for the moment so I will have all the data in there. My problem is that everytime I am creating a profile to update the flat file for account metadata, I am creating shared members where there are changes in the structure. When I am loading my profile, instead of replacing the old accounts and creating the new ones, the system creates a shared member at one place and leave the old member where it was. The problem with these shared members is that the value of the member is double count so it causes me lots of problems when its time to analyse the data.
    Does anyone can suggest me a way to update metadata frequently while avoiding the shared member problem?
    Thanks for your suggestions!
    Cheers!

    We are rolling out 11.1.1.3 on February 14, and are having the exact same issue. The "replace" option does not actually replace the dimension--hence, the shared member problem. Oracle said that the latest patches would resolve this issue, but we applied the latest EPMA patches with no resolution. I have an open support case with them right now.
    We are loading from the interface tables, but if you are loading from a flat file--you can use the "IsPrimary" property to prevent a second member (shared) from coming in.

  • This script is not updating or returning anything..

    This script is not updating or returning anything.. Ive also tried running it as a Stored Procedure but didnt get very far..
    I'm reluctant to remove the line from the get_employee cursor that gets only one record..
    Also, Ive got a couple of 'dbms_output..' lines to catch the employee number but nothing. Can anyone suggest how I at least debug it?
    I can also supply it as Stored Procedure but I didnt really know how to run it and it just hung in UNIX at what looked at the last line number..
    here's the code
    /* Formatted on 2009/04/22 14:43 (Formatter Plus v4.8.7) */
    SET serveroutput ON SIZE 1000000 FORMAT WRAPPED
    SET verify OFF
    SET feedback OFF
    DECLARE
    -- Debugging/error handling
    -- Work variables
       p_emp_number                     VARCHAR2 (14);
       v_rec_cnt                        NUMBER                     := 0;
       insert_flag                      VARCHAR2 (8);
       job_exists                       VARCHAR2 (8);
       err_num                          NUMBER;
       err_msg                          VARCHAR2 (150);
       err_line                         VARCHAR2 (350);
       err_seq                          NUMBER                     := 0;
       l_date                           DATE                       := SYSDATE;
       l_validate                       BOOLEAN                    DEFAULT FALSE;
       l_ass_obj                        NUMBER;
       l_emp_obj                        NUMBER;
       l_default_code_comb_id           NUMBER                     := 217269;
       l_datetrack_update_mode          VARCHAR2 (30)             := 'CORRECTION';
       l_organization_id                NUMBER                     := 0;
       l_concatenated_segments          VARCHAR2 (240);
       l_soft_coding_keyflex_id         NUMBER;
       l_comment_id                     NUMBER;
       l_effective_end_date             DATE
                                        := TO_DATE ('17-FEB-2059', 'DD-MON-YYYY');
       l_no_managers_warning            BOOLEAN;
       l_special_ceiling_step_id        NUMBER;
       l_people_group_id                NUMBER;
       l_group_name                     VARCHAR2 (30);
       l_entries_changed_warning        VARCHAR2 (30);
       l_spp_delete_warning             BOOLEAN;
       l_org_now_no_manager_warning     BOOLEAN;
       l_tax_district_changed_warning   BOOLEAN;
       l_other_manager_warning          BOOLEAN;
       l_business_group_id              NUMBER                     := 0;
       l_person_id                      NUMBER;
       l_assignment_number              VARCHAR2 (35);
       l_style                          VARCHAR2 (4)               := 'GB';
       ip_p_address_id                  NUMBER;
       l_effective_date                 DATE                       := SYSDATE;
       l_date_from                      DATE                       := SYSDATE;
       l_date_to                        DATE                       := NULL;
    -- CURSOR 1 - get all Existing Employees (well, for testing purps.. just Peter Barlow for now..)
       CURSOR c_get_employee_details
       IS
          SELECT DISTINCT per.person_id, per.employee_number, per.full_name,
                          paas.assignment_id, paas.supervisor_id,
                          paas.default_code_comb_id
                     FROM per_all_people_f per, per_all_assignments_f paas
                    WHERE per.employee_number = p_emp_number
                      AND paas.person_id(+) = per.person_id
                      AND per.person_id = '30188';
    -- CURSOR 2 - get all Existing Employees (well, for testing purps.. just Peter Barlow for now..)
       CURSOR c_check_employee (p_emp_number VARCHAR2)
       IS
          SELECT DISTINCT per.person_id, per.employee_number, per.full_name,
                          paas.assignment_id, paas.supervisor_id,
                          paas.default_code_comb_id
                     FROM per_all_people_f per, per_all_assignments_f paas
                    WHERE per.employee_number = p_emp_number
                      AND paas.person_id(+) = per.person_id
                      AND per.person_id = '30188';
       emp_rec                          c_check_employee%ROWTYPE;
    -- Cursor 3 to SELECT all existing Employees that DO NOT have a JOB specified.
    /*   CURSOR c_check_emps_job (p_emp_number VARCHAR2)
       IS
          SELECT DISTINCT per.person_id, per.full_name, paas.assignment_id,
                          paas.supervisor_id, paas.default_code_comb_id
                     FROM per_all_people_f per, per_all_assignments_f paas
                    WHERE per.employee_number = p_emp_number
                      AND paas.person_id(+) = per.person_id
                      AND paas.job_id IS NULL
                      AND per.person_id = '30188';
       empjob_rec                       c_check_emps_job%ROWTYPE;
    -- Cursor 4 retrieves latest Object Version Number from per_assignments_f table..
       CURSOR csr_ass_ovn (cp_person_id IN per_all_people_f.person_id%TYPE)
       IS
          SELECT MAX (paas.object_version_number)
            FROM per_assignments_f paas, per_all_people_f per
           WHERE paas.person_id = per.person_id
             AND per.employee_number = paas.assignment_number
             AND per.person_id = cp_person_id;
    BEGIN
    -- UPDATE of EXISTING Employees Details from work table..
       FOR v_emp IN c_get_employee_details
       LOOP
    -- determine whether customer already exists
          OPEN c_check_employee (v_emp.employee_number);
          FETCH c_check_employee
           INTO emp_rec;
          IF c_check_employee%FOUND
          THEN
             insert_flag := 'I';
             DBMS_OUTPUT.PUT_LINE ('Employee No: ' || v_emp.employee_number);
          ELSE
             DBMS_OUTPUT.PUT_LINE (   'Employee No: '
                                   || v_emp.employee_number
                                   || '  has not been found!  '
             insert_flag := 'X';
          END IF;
          CLOSE c_check_employee;
    -- determine which customers already have been assigned a Job
          /*  OPEN c_check_emps_job (v_emp.employee_number);
           FETCH c_check_emps_job
           INTO empjob_rec;
           IF c_check_emps_job%FOUND
          THEN       job_exists := 'X';   -- so we're wanting all those with job_exists := 'X'..
          ELSE        job_exists := 'I';
          END IF;
          CLOSE c_check_employee;
    -- Obtain the most recent Object Version Number..
          OPEN csr_ass_ovn (v_emp.person_id);
          FETCH csr_ass_ovn
           INTO l_ass_obj;
          CLOSE csr_ass_ovn;
    -- Now Update PER_ALL_PEOPLE_F and PER_ASSIGNMENTS with default Cost Code '9999'
          IF insert_flag = 'I'
          THEN
             BEGIN
         DBMS_OUTPUT.PUT_LINE (   ' Updating Employee..:' || v_emp.employee_number );
                -- Importing Emp Job, Default Cost Code and Supervisor details --
                Hr_Assignment_Api.update_emp_asg
                   (p_validate                    => l_validate,
                    p_effective_date              => SYSDATE,           -- l_date,
                    p_datetrack_update_mode       => l_datetrack_update_mode,
                    p_assignment_id               => v_emp.assignment_id,
                                                          --- ** REQUIRED FIELD **
                    p_object_version_number       => l_ass_obj,
                    p_supervisor_id               => v_emp.supervisor_id,
                    p_default_code_comb_id        => l_default_code_comb_id,
                    p_concatenated_segments       => l_concatenated_segments,
                    p_soft_coding_keyflex_id      => l_soft_coding_keyflex_id,
                    p_comment_id                  => l_comment_id,
                    p_effective_start_date        => l_date,              --IN/OUT
                    p_effective_end_date          => l_effective_end_date,
                    p_no_managers_warning         => l_no_managers_warning,
                    p_other_manager_warning       => l_other_manager_warning
                Hr_Assignment_Api.update_emp_asg_criteria
                   (p_validate                          => l_validate,
                    p_effective_date                    => SYSDATE,     -- l_date,
                    p_datetrack_update_mode             => l_datetrack_update_mode,
                    p_assignment_id                     => v_emp.assignment_id,
                                                          --- ** REQUIRED FIELD **
                    p_object_version_number             => l_ass_obj,
                    p_organization_id                   => l_organization_id,
    --            p_location_id                       => std_location_id,
    --            p_job_id                            => l_job_id,
    --            p_position_id                       => std_position_id,
                    p_special_ceiling_step_id           => l_special_ceiling_step_id,
                    p_effective_start_date              => l_date,
                    p_effective_end_date                => l_effective_end_date,
                    p_people_group_id                   => l_people_group_id,
                    p_group_name                        => l_group_name,
                    p_org_now_no_manager_warning        => l_org_now_no_manager_warning,
                    p_other_manager_warning             => l_other_manager_warning,
                    p_spp_delete_warning                => l_spp_delete_warning,
                    p_entries_changed_warning           => l_entries_changed_warning,
                    p_tax_district_changed_warning      => l_tax_district_changed_warning
                DBMS_OUTPUT.PUT_LINE (   ' Employee Updated..:'
                                      || v_emp.employee_number
    -- End of customer related details
             END;
          END IF;
       END LOOP;
       COMMIT;
    EXCEPTION
       WHEN NO_DATA_FOUND
       THEN
          ROLLBACK;
    -- DBMS_OUTPUT.PUT_LINE ( '"No Data Found" for Employee:'  || v_emp.employee_number || SQLERRM );
       WHEN OTHERS
       THEN
          ROLLBACK;
          err_num := TO_CHAR (SQLCODE);
          err_msg := SUBSTR (SQLERRM, 1, 150);
          err_line :=
                'Oracle error (seqno='
             || err_seq
             || ') '
             || err_num
             || ' occurred processing record '
             || TO_CHAR (v_rec_cnt + 1)
             || ' : '
             || err_msg;
          DBMS_OUTPUT.PUT_LINE (err_line);
          INSERT INTO SU_SL_ERRORS
               VALUES (err_num, err_msg, SYSTIMESTAMP);
    END;
    EXIT;

    Hi
    Check if that works for you
    /* Formatted on 2009/04/22 14:43 (Formatter Plus v4.8.7) */
    SET serveroutput ON SIZE 1000000 FORMAT WRAPPED
    SET verify OFF
    SET feedback OFF
    DECLARE
    -- Debugging/error handling
    -- Work variables
       p_emp_number                     VARCHAR2 (14);
       v_rec_cnt                        NUMBER                     := 0;
       insert_flag                      VARCHAR2 (8);
       job_exists                       VARCHAR2 (8);
       err_num                          NUMBER;
       err_msg                          VARCHAR2 (150);
       err_line                         VARCHAR2 (350);
       err_seq                          NUMBER                     := 0;
       l_date                           DATE                       := SYSDATE;
       l_validate                       BOOLEAN                    DEFAULT FALSE;
       l_***_obj                        NUMBER;
       l_emp_obj                        NUMBER;
       l_default_code_comb_id           NUMBER                     := 217269;
       l_datetrack_update_mode          VARCHAR2 (30)             := 'CORRECTION';
       l_organization_id                NUMBER                     := 0;
       l_concatenated_segments          VARCHAR2 (240);
       l_soft_coding_keyflex_id         NUMBER;
       l_comment_id                     NUMBER;
       l_effective_end_date             DATE
                                        := TO_DATE ('17-FEB-2059', 'DD-MON-YYYY');
       l_no_managers_warning            BOOLEAN;
       l_special_ceiling_step_id        NUMBER;
       l_people_group_id                NUMBER;
       l_group_name                     VARCHAR2 (30);
       l_entries_changed_warning        VARCHAR2 (30);
       l_spp_delete_warning             BOOLEAN;
       l_org_now_no_manager_warning     BOOLEAN;
       l_tax_district_changed_warning   BOOLEAN;
       l_other_manager_warning          BOOLEAN;
       l_business_group_id              NUMBER                     := 0;
       l_person_id                      NUMBER;
       l_assignment_number              VARCHAR2 (35);
       l_style                          VARCHAR2 (4)               := 'GB';
       ip_p_address_id                  NUMBER;
       l_effective_date                 DATE                       := SYSDATE;
       l_date_from                      DATE                       := SYSDATE;
       l_date_to                        DATE                       := NULL;
    -- CURSOR 1 - get all Existing Employees (well, for testing purps..
    just Peter Barlow for now..)
       CURSOR c_get_employee_details
       IS
          SELECT DISTINCT per.person_id, per.employee_number, per.full_name,
                          paas.assignment_id, paas.supervisor_id,
                          paas.default_code_comb_id
                     FROM per_all_people_f per, per_all_assignments_f paas
                    WHERE per.employee_number = p_emp_number
                      AND paas.person_id(+) = per.person_id
                      AND per.person_id = '30188';
    -- CURSOR 2 - get all Existing Employees (well, for testing purps.. just Peter Barlow for now..)
       CURSOR c_check_employee (p_emp_number VARCHAR2)
       IS
          SELECT DISTINCT per.person_id, per.employee_number, per.full_name,
                          paas.assignment_id, paas.supervisor_id,
                          paas.default_code_comb_id
                     FROM per_all_people_f per, per_all_assignments_f paas
                    WHERE per.employee_number = p_emp_number
                      AND paas.person_id(+) = per.person_id
                      AND per.person_id = '30188';
       emp_rec                          c_check_employee%ROWTYPE;
    -- Cursor 4 retrieves latest Object Version Number from per_assignments_f table..
       CURSOR csr_***_ovn (cp_person_id IN per_all_people_f.person_id%TYPE)
       IS
          SELECT MAX (paas.object_version_number)
            FROM per_assignments_f paas, per_all_people_f per
           WHERE paas.person_id = per.person_id
             AND per.employee_number = paas.assignment_number
             AND per.person_id = cp_person_id;
    BEGIN
    -- UPDATE of EXISTING Employees Details from work table..
       FOR v_emp IN c_get_employee_details
       LOOP
    -- determine whether customer already exists
          OPEN c_check_employee (v_emp.employee_number);
          LOOP
          FETCH c_check_employee
           INTO emp_rec;
          IF c_check_employee%FOUND
          THEN
             insert_flag := 'I';
             DBMS_OUTPUT.PUT_LINE ('Employee No: ' || v_emp.employee_number);
          ELSE
             DBMS_OUTPUT.PUT_LINE (   'Employee No: '
                                   || v_emp.employee_number
                                   || '  has not been found!  '
             insert_flag := 'X';
          END IF;
          END LOOP;
          CLOSE c_check_employee;
    -- Obtain the most recent Object Version Number..
          OPEN csr_***_ovn (v_emp.person_id);
          LOOP
          FETCH csr_***_ovn
           INTO l_***_obj;
          END LOOP;
          CLOSE csr_***_ovn;
    -- Now Update PER_ALL_PEOPLE_F and PER_ASSIGNMENTS with default Cost Code '9999'
          IF insert_flag = 'I'
          THEN
             BEGIN
         DBMS_OUTPUT.PUT_LINE (   ' Updating Employee..:' || v_emp.employee_number );
                -- Importing Emp Job, Default Cost Code and Supervisor details --
                Hr_Assignment_Api.update_emp_asg
                   (p_validate                    => l_validate,
                    p_effective_date              => SYSDATE,           -- l_date,
                    p_datetrack_update_mode       => l_datetrack_update_mode,
                    p_assignment_id               => v_emp.assignment_id,
                                                          --- ** REQUIRED FIELD **
                    p_object_version_number       => l_***_obj,
                    p_supervisor_id               => v_emp.supervisor_id,
                    p_default_code_comb_id        => l_default_code_comb_id,
                    p_concatenated_segments       => l_concatenated_segments,
                    p_soft_coding_keyflex_id      => l_soft_coding_keyflex_id,
                    p_comment_id                  => l_comment_id,
                    p_effective_start_date        => l_date,              --IN/OUT
                    p_effective_end_date          => l_effective_end_date,
                    p_no_managers_warning         => l_no_managers_warning,
                    p_other_manager_warning       => l_other_manager_warning
                Hr_Assignment_Api.update_emp_asg_criteria
                   (p_validate                          => l_validate,
                    p_effective_date                    => SYSDATE,     -- l_date,
                    p_datetrack_update_mode             => l_datetrack_update_mode,
                    p_assignment_id                     => v_emp.assignment_id,
                                                          --- ** REQUIRED FIELD **
                    p_object_version_number             => l_***_obj,
                    p_organization_id                   => l_organization_id,
    --            p_location_id                       => std_location_id,
    --            p_job_id                            => l_job_id,
    --            p_position_id                       => std_position_id,
                    p_special_ceiling_step_id           => l_special_ceiling_step_id,
                    p_effective_start_date              => l_date,
                    p_effective_end_date                => l_effective_end_date,
                    p_people_group_id                   => l_people_group_id,
                    p_group_name                        => l_group_name,
                    p_org_now_no_manager_warning        => l_org_now_no_manager_warning,
                    p_other_manager_warning             => l_other_manager_warning,
                    p_spp_delete_warning                => l_spp_delete_warning,
                    p_entries_changed_warning           => l_entries_changed_warning,
                    p_tax_district_changed_warning      => l_tax_district_changed_warning
                DBMS_OUTPUT.PUT_LINE (   ' Employee Updated..:'
                                      || v_emp.employee_number
    -- End of customer related details
             END;
          END IF;
       END LOOP;
       COMMIT;
    END;
    EXIT;Thanks

  • Request: Ability to update metadata via spreadsheet view or csv file upload

    A fairly simple change to make Muse more efficient and user-friendly.
    I'm in the process of building out a medium size site for a client (90+ pages) - my first experience using Muse - and editing metadata is a pain. I've planned the site: page titles, descriptions, page names, etc, but updating metadata isn't the first step in my creation process and now I'm going back through updating information. My have a 2013 Mac Pro and 2013 Macbook Pro and both systems take time to update this information with so much data buffering and being updated.
    My request:
    The ability to update metadata across a site without the changes being executed until we applied the changes. For example, changing site view to a spreadsheet view with each pages information. Then, I could update a bunch of pages and hit enter, and walk away while it takes 5 minutes to update. This would also eliminate the hassle of requesting page properties from each page separately.
    Thanks in advance.

    Is your DTP full or delta.
    Here is some interesting discussion.
    /thread/348238 [original link is broken]

  • Java script--Version 6, update 21.  Is this legitimate?

    I keep getting a message that I MUST! make a critical update to Java script--Version 6, update 21.  The only way I can get out of it is by foreced quit. Is this legitimate?

    Java, rather than Javascript ?
    Post a screenshot, & confirm that Software Update isn't showing any new updates.
    You should also typically Un-check Safari - Preferences - Security - Allow Java unless you're on a trusted site that requires it.

  • Updating metadata in OWB after modifying tables in the database

    Hi All,
    In our data warehouse, one key field will suffer a change in data precision, from number(4) to number(5). This field exists in several tables across the database and I have created a procedure to alter all related tables in Oracle (10g). Is there a way to create a similar procedure or script to modify the metadata in OWB in order to reflect the changes in the altered tables from the database? I think the script should refresh the tables in the metadata but I'm not sure if it would be necessary to sincronize or validate the related mappings.
    I'm newbie in OWB so I'm not sure whether this is achievable or not.
    Thanks in advance for your guidance.
    Regards,
    Mauricio
    Edited by: mcruz on 21/03/2010 17:07

    Below is a OMBPlus tcl script to set the precision and scale of a specific column name in all tables of the current oracle module
    Prerequisite is that you have made the connection to the OWB repository in OMBPlus (OMBCONNECT) and have set the context to the right oracle module (OMBCC and set OMBPROMPT ON, the latter to display your current context in the prompt)
    Happy scripting.
    proc set_nbr_len {p_objtyp p_col_name p_scale p_precision} {
       set tbls [OMBLIST ${p_objtyp}S]
       foreach tbl $tbls {
          set cols [OMBRETRIEVE $p_objtyp '$tbl' GET COLUMNS '$p_col_name']
          foreach col $cols {
           set dattyp [OMBRETRIEVE $p_objtyp '$tbl' COLUMN '$col' \
                         GET PROPERTIES (DATATYPE)]
           if { [string first "NUMBER" $dattyp] != -1 } {
                puts "Column $col scale & precision reset in $p_objtyp $tbl"
                    OMBALTER $p_objtyp '$tbl' MODIFY COLUMN '$col' SET PROPERTIES \
                         (SCALE, PRECISION) VALUES \
                   ('$p_scale', '$p_precision')
       OMBCOMMIT
    set_nbr_len TABLE <your column name> <your precision> <your scale>

Maybe you are looking for

  • Pop up not working

    I am having table and i have to delete the record from that table........when i click that delete button the popup to be displayed..... for the generation of the popup i have used the below coding......... DATA: LR_API_COMP_CONTRL      TYPE REF TO IF

  • Custom Interface Program Errors out with ORA-01722: invalid number in R12

    Hi, We were upgrading to R12 in which our custom interface load program errors out with "ORA-01722: invalid number". Please find structure of control file as below : LOAD DATA APPEND INTO TABLE RRAT_RCAP_GIO_MAN_ADJ_STG FIELDS TERMINATED BY ',' OPTIO

  • HP Pavilion DV 9000 battery dead?

    I have a DV9000 series PC.  Several months ago I received a message from HP that the batteries in some DV9000 laptops were failing unexpectedly.  A link in the message sent me to a page with a program that scanned my PC and told me my battery was fin

  • Reports Builder 9iDS Rel2 and SQL Server 2000

    Hi, I need to connect to a SQL Server 2000 database from within Report Builder (for a proof of concept) and I am getting error 62000-Failed to connect to datasource. Can you help? My OS is Windows Prof 2000. I have Downloaded Oracle 9iDS Rel2 and Ora

  • MacBook Travel Adaptor

    I've just purchased a new MacBook. With an iGo universal adaptor and an appropriate "tip", I was able to power my previous laptops on air. Also, buying other tips allow me to powre ipod, blackberry, cell phones with the same adoptor. Does anyone know