Is it possible to remove a ContactEmployees using DI-API?

Hi:
I need to remove from B1 database a lot of contact employees without remove the business partner, i checked out the DI-API reference and i noted that the ContactEmployees object not have a Remove method.  Does exists any form of remove this object of the database without remove the BP? (some BP's already have transactions.
Thanks in advance for your help.
Jose Montanez

Jose,
The SAP Business One SDK Help Center documentation does not show that there is a remove or delete method for the ContactEmployees object via the DI API.
Eddy

Similar Messages

  • Users are not removed from role using UME API

    Hello,
    I am using this code to remove users from a batch of roles that I have.
    Everything is running OK, no exception is thrown and at the System.out I see all the actions that needs to be taken correctly. The problem is that if I'll go later to one of the roles the users are still assigned to it. Any idea what I'm doing wrong here?
    try
    IRoleFactory roles = UMFactory.getRoleFactory();
    IUserFactory users = UMFactory.getUserFactory();
    IRoleSearchFilter filter = roles.getRoleSearchFilter();
    filter.setUniqueName("<My_filter>", ISearchAttribute.LIKE_OPERATOR, false);
    ISearchResult sresult = roles.searchRoles(filter);
    if ( sresult.getState() == ISearchResult.SEARCH_RESULT_OK )
         while(sresult.hasNext())
         String id = (String)sresult.next();
         IRole role = UMFactory.getRoleFactory().getMutableRole(id);
         Iterator i = role.getUserMembers(false);
         while (i.hasNext())
                         String uid = (String)i.next();
              IUser user = users.getUser(uid);
              role.removeUserMember(user.getUniqueName());
              System.out.println("Removed user: " + user.getUniqueName() + " from role: " + role.getDisplayName());
         role.save();
         role.commit();
    catch (Exception e)
         manager.reportException(new WDNonFatalException(e), false);

    Solved it!
    It needs the FQDN User ID...

  • Remove hidden text using SDK api

    HI Guys,
    I am new to SDK and would like to know if there is an API to remove hidden text functionality the one that described here. I need a separate .Net library on top of Acrobat SDK that could remove all hidden data from pdf and save it.
    Please point me to an example or documentation where to start from, if it can be done?
    Thanks,
    Andrey

    I have found in sdk api the following method:
    PDWordFinderAcquireVisibleWordList()
    "Finds all words on the specified page that are visible in the given optional-content context" what does it means 'visible'? it is related with the 'heuristic' Acrobat uses to show 'hidden text'?
    It is not clear also the 'PDOCContext ocContext' parameter this method uses.
    Thanks

  • Guide procedures (callable objects ) using ABAP API.

    Hi,
    Is it possible to develop callable objects using ABAP APIs?
    IF yes how ?
    Regards
    Nisha

    hello Nisha,
    Plz see the basic information link on GP
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/92811997-0d01-0010-9584-f7d535177831

  • Renaming OCS Folder using webservices API

    Hi,
    Will it be possible to rename OCS Folder using webservices API?..
    Thanks,

    This is resolved by using, FileManager.updateFolder()

  • How to detect exchange server version using EWS API?

    Hello there,
    I am new to this EWS area and I am looking for a way to detect exchange server version information whether user mailbox is exchange 2007 or 2010 or 2013 etc. Apologize if we already have such question posted earlier, I am posting it here as I could now find
    any such forum.
    1. Is it possible to fetch this information using EWS API? I am using EWS 2.0 libraries for now.
    2. If yes, how can i get that information? can you please provide some sample?
    Thanks in advance.
    sureshh...

    1. On 2010 and above you can use Autodiscover to get the EWS Schema version this is most accurate method to use. It's import to understand the EWS Schema version vs just the Server there is a good write up in
    http://msdn.microsoft.com/en-us/library/office/dn741586%28v=exchg.150%29.aspx . Some EWS Managed API code to get the server version would look like
    AutodiscoverService adAutoDiscoverService = new AutodiscoverService();
    adAutoDiscoverService.Credentials = ncCred;
    adAutoDiscoverService.EnableScpLookup = true;
    adAutoDiscoverService.RedirectionUrlValidationCallback = adAutoDiscoCallBack;
    adAutoDiscoverService.PreAuthenticate = true;
    adAutoDiscoverService.TraceEnabled = true;
    adAutoDiscoverService.KeepAlive = false;
    GetUserSettingsResponse adResponse = adAutoDiscoverService.GetUserSettings("[email protected]", (new UserSettingName[1] { UserSettingName.EwsSupportedSchemas }));
    This won't work on 2007 but the other method you can use is if you set the version to 2007_SP1 and make a call like binding to the Inbox folder and then check the result in ServerInfo http://msdn.microsoft.com/en-us/library/microsoft.exchange.webservices.data.exchangeservicebase.serverinfo(v=exchg.80).aspx
    . (Note if your are going to use ServerInfo you do need to make a request like a FolderBind ).
    Cheers
    Glen

  • Is it possible to install windows 7 on my macbook from a removable hard drive using boot camp? How would I do this?

    Is it possible to install windows 7 on my macbook from a removable hard drive using boot camp?
    How would I do this?

    If you have Lion installed, and run Boot Camp, it will create the boot flash for you, just followe the tutorial on screen. As far as I remember, this was not possible prior to Lion.

  • In the numbers app, using the "date and time" function, is it possible to remove the time? I need to put together a list of dates, but I don't need or want times.

    In the numbers app, using the "date and time" function, is it possible to remove the time? I need to put together a list of dates, but I don't need or want times.

    When formatting your column to date/time, pick Date & time, and then pick the letter i in the circle to the right. Then scroll down and pick "No time"
    Jason

  • So my brother is using my e-mail address and number for iMessage on his iPad and i do not want that but he is far away, is it possible to remove a device from using my e-mail address from my macbook ?

    So my brother is using my e-mail address and number for iMessage on his iPad and i do not want that but he is far away, is it possible to remove a device from using my e-mail address from my macbook ?

    Hi ShantellePhilips,
    Thanks for visiting Apple Support Communities.
    If your brother's iPad is using your Apple ID and phone number, and you want to remove this association, you can reset your Apple ID password. See this link for more information:
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    Note: If you no longer have access to the [iOS device] that is using the number you want to remove, reset your Apple ID password.
    Apple ID: Changing your password
    http://support.apple.com/kb/HT5624
    All the best,
    Jeremy

  • I would like to delete all Apps archived in the clouds of "purchased" and not in used now and in the future. How is possible to remove definitively these Apps?

    I would like to delete all Apps archived in the clouds of "purchased" and not in used now and in the future. How is possible to remove definitively these Apps. Thank you

    All you can do is hide them from your purchased list.  You cannot permaneently delete anything from your purchased history.
    Also, these are not stored in your iCloud account storage space.  The purchases reside in the online store and all you see is a list of those purchases made with your account, with a cloud-link to redownload them, but you are merely re-downloading them directly from the store.

  • We have 3 iphones in my family. With the new upgrade 5.1 all the batteries last for just half day in normal use. The same problems happens to a lot fo friends after the upgrade! Is it possible to remove the problem?? Thanks. Mauro, Italy.

    We have 3 iphones in my family. With the new upgrade 5.1 all the batteries last for just half day in normal use. The same problem happens t a lot of friends of mine after the upgrade. Is it possible to remove the problem??? Thanx!

    We have 3 iphones in my family. With the new upgrade 5.1 all the batteries last for just half day in normal use. The same problem happens t a lot of friends of mine after the upgrade. Is it possible to remove the problem??? Thanx!

  • Is it possible to remove the submit form button that's automatically created when you distribute a form?

    I have created a form for my boss and distributed it. She doesn't want the submit form button to appear as people don't need to submit the form to anyone, just fill it in and keep a copy. I can't figure out how to remove this button. It's not one I've created, it's the one that it automatically generates when you don't have a submit button in your form. Is it possible to remove this button or do we just have to live with it? I am using Adobe Acrobat X Pro.
    Thanks

    You can have more control on the email subject/ to and CC Email address, if you use a regular button and place the code in the click event.
    Refer to the attached sample below.
    https://acrobat.com/#d=HouRLov3lOntSbqAfsr5Hg
    Thanks
    Srini

  • Is it possible to remove my hard drive from the Macbook and install it in a new Macbook Pro?

    I currently have a 2009 Macbook and am wanting to upgrade to a new Macbook Pro.  I have upgraded my hard drive in the macbook to a 500gb and have a duel boot with Windows 7 installed with Boot Camp along with other software that I do not want to lose.  Is it possible to remove my hard drive from the Macbook and install it in a new Macbook Pro?

    A much better solution is to hook your two Mac together and the first time you start the new Mac and it asks if you wish to recover data from another Mac, answer yes. This will invoke Setup Assitant which will do the job for you but intelligently.
    I know because I just used Setup Assitant. It worked like  a charm.
    Allan

  • Is it possible to remove yellow text background in the entire document?

    I have the same problem as the one that is mentioned here:http://forums.adobe.com/message/1155089 In my case the yellow background is already in the pdf-file which was created with a virtual pdf printer and then manipulated with another pdf-editor.  I noticed accidentally that it is possible to remove the yellow background in Acrobat Pro as if I'd edit an object. Getting rid of it on each page by hand would be a daunting task. Is it possible to do this somehow with the entire document? All help would be much appreciated.
    cheers
    Btw: The yellowish background does not appear in other pdf viewers.

    I'll try to describe the process but the exact numbers will depend on your document - as I said earlier when I ran a test of your file I got 3.4%, but you may not.
    Your file has a mixture of color spaces (CMYK/RGB/etc.) and so you must first run the Convert Colors tool from the Print Production Panel to get everything into a consistent space, or Preflight will choke. Run the default profile to convert to the SWOP v2 profile.
    Open the Output Preview tool from the Print production Panel and hover over one of the yellow areas, write down the percentage of yellow. Hopefully nothing else in the document will have the same percentage.
    Now open Preflight from the Print Production Panel, switch to the Single Checks tab.
    Open the Options menu, choose "Create new Preflight Check".
    Name it "yellow boxes" and apply it to "Page contents" and "Current file".
    Select the Colors group and pick "object uses Yellow with a percentage of..." - press ADD.
    Configure it with "Equal to" and your percentage (no % sign)
    Click OK, then switch to the Single Fixups tab.
    Options menu > Create new Preflight Fixup
    Name it "move yellow  to layer"
    Choose the Layers category, "Put objects on layer" and press ADD
    In the "Objects identified by a check" dropdown, select your "yellow boxes" check.
    In the Layer name field, type "yellow boxes"
    Click OK, then click the Fix button to run it.
    You'll get a message to save/close and reopen the file.
    When you do, (hopefully) all your yellow boxes will now be in their own layer.
    Open the layers navigator on the left side of Acrobat's window and turn off the eyeball for that layer.
    Print

  • Is it possible to remove "Revision" from standard check in

    Hi,
    Is it possible to remove or disable the revision text box in the standard check in screen. This number can be changed by the user each time the document is checked in. It can be changed to go backwards and use duplicated is the user changes it without giving an error i.e. 1 - 3 - 2 - 3. The documentation says "The revision increments automatically with each check-in of the content item, so generally, you should not change this value"
    Is there a way to remove/disable this from the standard check-in to prevent people changing it.
    Thanks

    Kizume and Rhm Zanz it should be still there as that is what manages that specific feature.
    In the top menu bar, where is says:      Finder   File   Edit   View   Go   Windows   Help
    Click on the Go, and in the same time click the option key on your keyboard near the space bar.  In that the drop down menu list the word Library will appear.
    Click on Library and Finder will open, look for the Preferences folder. Within that folder which should be in alphabetical order look for the file named, com.apple.sharekit.recents.plist
    Drag that file out of finder and unto your desktop. Close out the Finder window and close out all other your applications, including Safari, and reboot your Mac and once it turns on, reopen Safari and look at your share sheet. Any recents should be gone. That file named com.apple.sharekit.recents.plist will recreate itself on a clean slate in that folder. Should you encounter that you shared something again to a contact with Safari's share sheet, be sure to follow the same directions.
    Cheers!

Maybe you are looking for

  • Comp doesnt recognize that iPod is connected

    When I connect my iPod (15 gig, 3rd gen) via dock to USB, the computer does nothing. I tried skipping the dock, still nothing. I tried using my friend's iPod cable, still nothing. I know for a fact that it is not a usb port problem because other hard

  • Additional parameters for catalog call don't work

    we are using BADI  BBP_CAT_CALL_ENRICH and try to add to parameters to the catalog link. We don't use these parameters in the web service definition, they are only added in the BADI. Do I have to use Parameter "PARAM_BADI" for this? Why do we loose p

  • Upgrade directly from 1.2 to 2.0?

    Hi, Do I need to upgrade from my current version of 1.2 to the last pre 2.0 version (1.4 or whatever it was last on) before I can upgrade to 2.0? Thanks a lot. -keith.

  • How to save a document on Web Ui Sales order screen after pressing Print

    Hi All, I am tyring to save the whole Sales Order document from Web Ui screen and want to send this document by email. But when I click the standard print button, it generates a html file but I am not able to save this file . Also there is no option

  • Add domain name only to spam filter?

    Is it possible to use a domain name only to whitelist, or "Add Sender" to Apple Mail?