Somehow after finding the logs, I figured out that we need UserCustomerID 
instead of ID.

Logs are :
[Sat Feb 23 17:41:50 
2013][Error][Kernel::System::CustomerUser::DB::CustomerUserUpdate][686] Need 
UserCustomerID!   .


Thanks,
Jignesh

From: [email protected] [mailto:[email protected]] On Behalf Of Jignesh 
Kakka (jkakka)
Sent: Saturday, February 23, 2013 3:58 PM
To: [email protected]
Subject: [dev] Problems in Customer Update

I am using following syntax as mentioned in dev.otrs.org to update Customer


$CustomerUserObject->CustomerUserUpdate(
        Source        => 'CustomerUser', # CustomerUser source config
        ID            => 'mh'            # current user login
        UserLogin     => 'mhuber',       # new user login
        UserFirstname => 'Huber',
        UserLastname  => 'Manfred',
        UserPassword  => 'some-pass',    # not required
        UserEmail     => '[email protected]',
        ValidID       => 1,
        UserID        => 123,
    );



Unfortunately, I am not able to update customer.

I would like to know the values that I should enter in these fields
ID, and UserID



Thanks,
Jignesh


_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Reply via email to