Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-3820

Script to update the employer field

    Details

    • Type: New Feature
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.1
    • Fix Version/s: None
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Hi,

      On some cases (eg. when you import individuals with current_employer), the relationship is set, but the employer field is left empty.

      This script (you can/should run it from php-cli), updates these fields.

      Put it in your bin directory

      usage:
      $ php5 bin/UpdateEmployer.php -u user -p password -s yoursite.org

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lobo Donald A. Lobo
                Reporter:
                xavier xavier dutoit
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: