Adding or Updating BusinessPartner ContactEmployee

Hi all,
How can I set the value for FirstName and LastName  while creating or updating BusinessPartner ContactEmployee from DIServer. The WSDL below is from the current DIServer:
<ContactEmployee>
                  <Name>Galit</Name>
                  <Position>No.1</Position>
                  <Address>Anileviz 1</Address>
                  <Phone1>03-5073192</Phone1>
                  <Phone2>03-8548580</Phone2>
                  <MobilePhone>058-3445566</MobilePhone>
                  <Fax>03-3344556</Fax>
                  <E_Mail>xxx</E_Mail>
                  <Pager>sss</Pager>
                  <Remarks1>Remarks1</Remarks1>
                  <Remarks2>Remarks2</Remarks2>
                  <Password>123qwe</Password>
                  <PlaceOfBirth>IL</PlaceOfBirth>
                  <DateOfBirth>1975-08-17</DateOfBirth>
                  <Gender>gt_Female</Gender>
                  <Profession>ShuProfession</Profession>
                  <Title>Title</Title>
</ContactEmployee>

Hi,
Unlike employee in your own company, B1 has only Contact Persons for Business Partner. There is no First Name and Last Name fields in this table (OCPR). You can only add the full name in one field.
You may create UDF to get them if you like.
Thanks,
Gordon

Similar Messages

  • Blocking of Adding or Updation of Business partner

    Hi Folks,
    I am having problem with the transaction notification where i am having a udf in the business partner master data where in that udf i want to maintain only unique records for that i have used transaction notification but i am getting error message for every unique record updation or adding of the record
    iF @transaction_type IN (N'A', N'U') AND
    (@Object_type = N'2')
    begin
    select t0.sortkey
    from ocrd t0
    where t0.cardcode =  @list_of_cols_val_tab_del
         and t0.sortkey in (select t1.sortkey  from ocrd t1 where t1.U_Envsrtky <> '' and t1.CardCode <> @list_of_cols_val_tab_del )
    end
    Begin
    SET @error = 14
    SET @error_message = N'Same Sort key is not allowed'
    End
    Here sort key is my udf.Please help me regarding this
    Thanks & Regards
    Charan.B

    Hi,
    Plz check dis :
    IF @transaction_type IN (N'A', N'U') AND
    (@Object_type = N'2)
    BEGIN
    If EXISTS (SELECT T0.[U_Envsrtky ]
    FROM OCRD T0
    WHERE T0.[cardcdoe] = @list_of_cols_val_tab_del and T0.[U_Envsrtky ]  =  T0.[U_Envsrtky ])
    Begin
    SET @error = 14
    SET @error_message = N'Same Sort key is not allowed'
    End
    END

  • Adding or updating bookmarks

    The bookmarks that were added from my IE7 favorites aren't up-to-date. How do I update my bookmarks in Safari? Also, if I want to delete the IE7 folder that is not current in Safari and start over, how do I find the right folder to import all of my IE7 favorites/bookmarks without a window telling me "file not found"?

    Hi,
    Unlike employee in your own company, B1 has only Contact Persons for Business Partner. There is no First Name and Last Name fields in this table (OCPR). You can only add the full name in one field.
    You may create UDF to get them if you like.
    Thanks,
    Gordon

  • Adding Insert & Updated By User Info In table(more than one user)

    Hi All,
    I have bonus table(column empid,empnm,percentage,insertedby,updatedby) with logged user as user1.
    Now i create a application in which at one page i added a report with form.My intention is that
    when i insert a new record the insertedby & updatedby column shld be automatically added with APP_USER.
    But after logged in with diff user say user2 the report shld have user1 in two columns.But now as user2
    when i want to modify that record the updatedby column value should have user2.How can i achieve that?
    If u have any further issue for not understanding kindly revert back to me.
    Thanks in advance .
    Bye,

    The best thing to achive this is to use triggers - before or after insert or update. Assuming that your collumns, where you store the user information are named like:
    user_created and
    user_changed
    you need two triggers:
    1. for inserting new rows:
    CREATE OR REPLACE TRIGGER trigger_name
    BEFORE INSERT
    ON your_table
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    BEGIN
    :NEW.user_created := NVL (htmldb_application.g_user, USER);
    :NEW.user_changed := NVL (htmldb_application.g_user, USER);
    EXCEPTION
    WHEN OTHERS
    THEN
    NULL;
    END;
    2. for updating rows:
    CREATE OR REPLACE TRIGGER trigger_name
    BEFORE UPDATE
    ON your_table
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    BEGIN
    :NEW.user_changed := NVL (htmldb_application.g_user, USER);
    EXCEPTION
    WHEN OTHERS
    THEN
    NULL;
    END;
    There are of course other methods where you can create simmilar processes managed by the application but the best was is to do it on the database level, using triggers.
    Denes Kubicek

  • Adding Software Updates to Software Groups After Deployment

    Hi all -
    I went through and created 3 software update groups (for 2013, 2014, and 2015), and then distributed all three of them to a certain collection (and to all DPs). After that point, I then realized I had forgotten a number of updates for each software
    update group. I downloaded the software updates and edited their membership so they would be a part of the existing software groups. When I did that their statuses said they were deployed. However, when I look at content distribution I don't see
    anything changing. Almost like the new updates didn't go out to the DPs.
    Do you need to redeploy the software update groups after adding new software updates? Or should this automatically distribute the new updates as part of the existing deployments.
    Kind of unrelated, and not really part of my main question. Is there a best practice on the maximum number of software updates for a group? My largest group has 632 updates. I realize the dependency on reporting and all that, I am purely speak from a performance
    or issues best practice.
    Thanks,
    --Julius

    A software update group and a deployment package are two different things. When you download the updates, you download them to your deployment package. To look at the status of that process you can look at
    Content Status node in the console or the distmgr.log
    file.
    The best-practice maximum number of updates per update group is a 1000, see also:
    https://technet.microsoft.com/en-us/library/hh692394.aspx.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Error -1029 when updating BusinessPartner

    i have a problem with BusinessPartner object. When i updat a
    business partner i have the errro "[OCRD.DebPayAcct] -1029".
    I don't change che field debitAccount of business partner.
    thanks in advice

    Hi,
    I have the similar problem when I update the description of BP field (i.e. CARDNAME) or the telephone field ...
    The error is:
    [OCRD]. Field is not updatatable (ODBC -1029)
    My SBO version is: 6.50.098 SP: 01 EF:14
    Any idea?
    Thanks in advance
    Roberto

  • BP Activity send outlook email automatically while adding or updating an activity

    Hi All,
    We are using SAP B1 9.0 .In Activity screen we are assigning Tasks and meeting to our customer and internal sap users .Is it possible to send an oulook email automatically when i ADD OR UPDATE  a Task or activity.Please give your valuable comments.

    Hi Sri,
    The e-mail send to outlook integration is a manually executed task from within SAP Business One.
    Unfortunately in the current release, there is no automation built in.
    Please refer to The SP_TransactionNotification Stored Procedure
    There is an option for post (after the transaction os added in SBO) transaction notification that can be used, that you can query information and despatch via an email.
    Note that you need to configure the SQL mailer as well for this to work effectively.
    Regards,
    Kiran

  • [SOLVED] Problem with adding package update count to dwm's status bar

    Following http://www.andreascarpino.it/blog/posts … s-part-ii/, I added:
    $ crontab -l
    */10 * * * * ~/bin/tempdb
    Along with
    #!/bin/bash
    # ~/bin/tempdb
    fakedb=/dev/shm/fakepacdb
    realdb=/var/lib/pacman
    [[ ! -d $fakedb ]] && { mkdir -p "$fakedb/sync" || exit 1; }
    [[ ! -L $fakedb/local ]] && { ln -s "$realdb/local" "$fakedb" || exit 2; }
    exec fakeroot pacman --dbpath "$fakedb" -Sy
    pkgs=$(pacman --dbpath "$fakedb" -Qqu | wc -l)
    aurpkgs=$(cower -udf 2> /dev/null | wc -l)
    unset msg1
    unset msg2
    unset packages
    msg1="pacman: 0"
    msg2="aur: 0"
    if [[ ${pkgs} -gt 0 ]]; then
    msg1="pacman: ${pkgs}"
    fi
    if [[ ${aurpkgs} -gt 0 ]]; then
    msg2="aur: ${aurpkgs}"
    fi
    updb="UPDB: ${msg1}, ${msg2}"
    export updb
    The problems is with being able to export the variable updb, because exporting only exports to subshells. I also have my ~/bin/dwmstatus script:
    #!/bin/bash
    sep=" | "
    volsep="VOL"
    datesep="DATE"
    timesep="TIME"
    vol=$(amixer get Master | tail -1 | sed 's/.*\[\([0-9]*%\)\].*/\1/')
    volstat=$(amixer get Master | tail -n 1 | cut -d' ' -f 8-)
    sdate=$(date +"%B %d")
    stime=$(date +"%r")
    if [[ ${volstat} == "[off]" ]];
    then
    vol="--%"
    fi
    out="${updb} ${sep} ${volsep} ${vol} ${sep} ${datesep} ${sdate} ${sep} ${timesep} ${stime}"
    xsetroot -name "${out}"
    I only want the checking of updates to occur every few minutes (for now I tried 10), and just using the exported variable that contains the whole
    "UPDB: pacman:3, aur:1",..
    I'm not exactly sure how to fix my hacked-together scripts. When I simply run the tempdb script, it doesn't do much exept for updating to the fake database, but being able to use the updb variable has not worked yet. I also tried sourcing the script, but that just quits urxvt when running in dwm, and it logs me out when sourcing from plain X.
    I guess my main question is: what is the best way to show updates from the dwm status bar, or how can I fix what I am trying to do now?
    Last edited by wolfcore (2012-03-17 00:21:47)

    jasonwryan wrote:
    I use this:
    crontab -e
    @hourly /home/jason/Scripts/checkupdates
    grep ups Scripts/dwm-status
    ups(){
    ups="$(/tmp/aurupdates | wc -l)"
    if [ $ups = 0 ]; then
    echo "0"
    else echo -en "$ups"
    fi
    Script is keenerd's from here: http://www.mail-archive.com/pacman-dev@ … 08405.html
    Okay, I see it. But your ups() function checks /tmp/aurupdates; how do you check for AUR updates? I looked at your repos, and saw
    pac()
    pup="$(pacman -Qqu --dbpath /tmp/checkup-db-jason/ | wc -l)"
    if [ $pup == 0 ]; then
    echo "0"
    else
    echo -en "\x05$pup\x01"
    fi
    This is what you use along with keenerd's checkupdates, right?

  • How do i uninstall added on updates, need the disc space

    I am low on disc space, and firefox installed updates, espically one where when I'm going to a new tab, a bunch of windows appear below for me to click. Don't need tath. Want to take off any added updates they installed since I've downloaded firefox.

    See this article about the New Tab (about:newtab) page:
    *https://support.mozilla.org/kb/new-tab-page-show-hide-and-customize-top-sites

  • Added Mars update site but 'No updates were found'

    I'm currently using Eclipse Luna Service Release 2 (4.4.2) on Win 7 Professional (64 bit).
    I'm trying to update to Mars and I've added 'http://download.eclipse.org/releases/mars/' as an update site but when hitting 'Check for Updates' I'm just getting 'No updates were found'.
    I've tried closing and re-opening Eclipse, and reloading the update site, but no change.
    Any ideas what the problem is?

    Am 03.07.2015 um 20:28 schrieb Andy Ingham:
    > I'm currently using Eclipse Luna Service Release 2 (4.4.2) on Win 7 Professional (64 bit).
    >
    > I'm trying to update to Mars and I've added 'http://download.eclipse.org/releases/mars/' as an update site but when
    > hitting 'Check for Updates' I'm just getting 'No updates were found'.
    >
    > I've tried closing and re-opening Eclipse, and reloading the update site, but no change.
    > Any ideas what the problem is?
    This can be caused by additional software that you had installed into your Luna IDE. Can you please show us a screenshot
    of your Installed Software dialog?
    I've tried it with a fresh Luna SR2 IDE (for Java Developers, no other software installed) and it properly updates to
    Mars after I added http://download.eclipse.org/releases/mars .
    Cheers
    /Eike
    http://www.esc-net.de
    http://thegordian.blogspot.com
    http://twitter.com/eikestepper

  • Adding new Updates makes Reports show compliance status as "Enforcement state unknown". Old updates are still installing though.

    Hi, Just wondering if anyone has seen this before and resolved it?
    Basically, 2012 Software Updates have been working fine for over a year. Last months Patch Tuesday updates were fine too.
    However, this week I added a new update to a Software Update Group/deployment. This update did not deploy, and when I run a report, I get "Enforcement state unknown" for ALL clients in the collection. This happens to any deployment I amend. And
    also if I create a new update group and new deployment - same thing - "enforcement status unknown".
    However, updates previous to this week continue to download and install fine for all deployments. Deployments which I have not changed appear to continue to report correctly (unknown, compliant, pending system restart, etc).
    In the SCCM console for Software Updates, the "required" and "installed" figures are still showing correctly.
    Custom software packages continue to download and install too.
    All servers have sufficient disk space. Most collections dont have maintenance windows, and the deadlines are correct.
    Not sure what this could be, a problem with the Management Point? But I can see any errors in the "monitoring" view on the server. The client log files like "wuahandler.log" and "windowsUpdate.log" appear fine also, no obvious
    errors.
    I cant see any evidence of a group policy conflict. The WSUS entry is still correct in the local group policy (GPEDIT.MSC/admin template/windows comp/ windows update).
    Any ideas here? Thanks

    There were absolutely no errors in WUAhandler.log on existing machines - all looked normal, which baffled me. Machines with newly installed SCCM client only had machine and user policy update, so could not check for Software Updates.
    However, I through web searches, I found a solution on another discussion here:
    https://social.technet.microsoft.com/Forums/en-US/1cefa9e0-a7f9-48d1-83b9-34d2293bab64/sccm-2012-r2-problem-with-device-deployment-user-deployments-ok?forum=configmanagerapps
    Basically the issue was described as a "corrupt PADBID in the database". A SQL query code detects if the issue is present, and another SQL code fixes the issue.
    What lead me to this fix was searching for this error in "CCMEXEC.LOG" online: "System task 'PolicyEvaluator_Unlock' returned error code 0x8000ffff".

  • Added additional update to software update group, do I need to deploy it?

    Hi,
    I am fairly new to SCCM and I am not sure about this. Couple days ago I downloaded some windows updates and placed them into a software update group 2015Clients and created the required deployments. So today I found an additional update that needed
    to be added to this update group 2015clients. So I downloaded the additional update and it was placed into the 2015Clients deployment package. My first question is why is it in the deployment package 2015Clients and not in the software update group 2015Clients
    as well? Second question, the new update that is now in the deployment package group says that it is not deployed like the other updates do. Do I need to deploy this new update? I was confused because when I tried to deploy it using the same deployment name
    as the other updates it wants me to use a different name. TIA

    Downloading an additional update doesn't directly add an update to an update group. Those are two separate things and by that two separate actions. There is no direct link between an update group and a deployment package.
    The deployed update group tells the client which updates it should install and the deployment package is the method to make the content of the update available.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Item added & item updated events fired twice.

    Hello everyone, 
    I have item added and item updated events and both sends e-mails twice cos they are fired twice. 
    I tried the below method but the problem still continues. Any suggessions?
    base.EventFiringEnabled=false;
    base.EventFiringEnabled=true;
    note: my list is custom list. (not document lib)

    If you have required checkout enabled the events can be triggered twice. See this post for more information and how to bypass it:
    Managing ItemUpdating and ItemUpdated Events Firing Twice in a SharePoint Item Event Receiver

  • Why "Just added" not updated this week?

    After upgrading ITunes, this weeks Just Added lists still says July 19th.  What happened to July 26's adds?  Is it me or is anyone else not seeing the updated list?

    I'm having the same problem.  Very unusual for it not to be updated on Tuesday.  I've checked every day this week expecting the update.

  • Need to send notification to user when salary added or updated on Salary form (11.5.10.2)

    We do not have AME so workflows are not available to us, but I need to find a way to send notifications to users/managers of salary changes.  When a user adds or updates a salary, it needs to go to a second user for approval.  The second user is not going to know to approve without a notification that one is ready to approve.  Can someone help me set this up?  I don't see anywhere in the form where it can be personalized. Is there a simple way to do this?  I see from blogs that some used an alert which fired when the salary admin record is inserted and sent a message to the manager. The manager could then go back into the salary admin form with the salary admin:approve profile on and approve it.  Or if that wouldn't work, then to use a trigger.  Where would these be done at using the Salary form?
    Any help would be appreciated!

    Any thoughts?Just kill the user

Maybe you are looking for

  • My wireless keyboard won't work for one of the users

    All of a sudden the wireless keyboard stopped working for me, but it works when my wife logs in.  I had to create a new account for myself and the keyboard now works.  However, the keyboard won't work for my original account. Any thoughts?

  • Dbms_metadata package

    hello experts, there is an error while using above package SQL> ED Wrote file afiedt.buf 1* select dbms_metadata.get_ddl( 'TABLE', 'T1' ) from dual SQL> / select dbms_metadata.get_ddl( 'TABLE', 'T1' ) from dual ERROR at line 1: ORA-01024: invalid dat

  • I can't get notifications.

    So there seems to be a problem with my phone, or with Skype. I can't get any notifications, or even calls when I'm not in Skype. Yes I have those settings turned on in the Skype options, but there are no options in my phones notification menu. Please

  • Filter the SSID for Lobby Admin

    Hi, I've created a sponsor portal on wlc 5508 by using LobbyAdmin account, but I noticed that the person who will have access to this portal is  able to assign any vlan to the visitor because there is a drop down list which displays all SSID which ar

  • Use of customer group 1, 2 , 3, 4, 5 in Sales order Header Additional dat ?

    Hi, Can somebody explain the Use of customer group 1, 2 , 3, 4, 5 in Sales order Header ? Is it only meant for reporting? Thanks