Custom Sync Plugin Sample for Web Tools 2007

Hello,
Does anyone have a sample Custom Sync Plugin that works for Web Tools 2007?  I have been unable to get the sample provided working, actually cannot even compile it, and was just curious if there was a simple sample that worked that I could use as my base.  Please let me know.
Thank you,
Kristen

Hi Shawn,
Yes, I am using Visual Studio 2005 Professional with the .Net 2.0 framework and 2007.  However, most of the methods are not there, and things seem to have changed drastically, however the sample is still referencing the old.  Is there something that I am missing?
Please let me know.
Thanks,
Kristen

Similar Messages

  • Patch 5 for Web tools 2007 released (2007.625)

    To download go to the Software Download Center [http://service.sap.com/sbo-swcenter|http://service.sap.com/sbo-swcenter]
    -> SAP Business One Products
    ->Updates
    -> Choose B1 Version(2005A or 2007A)
    -> SAP B1 Web tools Server 2007
    -> Win32
    -> Click Download Tab
    ->B12007WEBTOOLS00_05-20001835.ZIP
    Fixes include:
    Number    Short text
    1147013   B1 Delivery based on WT order does not synchronize to WT
    1146979   Set DB sever type to MSSQL 2005 for Synch Plugin
    1145100   Prospect can be added to mailing list several times
    1141368   Discount (coupon) refactoring
    1141362   SynchManager does not function properly with .NET 3.5
    1141309   Small improvements to synch manager
    1141307   It was possible to modify saved delivery
    1141306   Malfunctioning paging navigator (Coupons -> Audit)
    1141301   Search returns wrong icon on variant item
    1141246   Problem with creation of support queues hierarchy
    1141245   Task Status and Priority have no values
    1141208   Parent Category entry lost during Category creation
    1141205   Incorrect synchronization of 'End Date' (activities)
    1141202   Tasks (activities) created in WT cannot be synchronized
    1141119   SiteMapNodes error during upgrade from 5.9
    1141116   To lock an Order causes internal error if CC Gateway is set
    1141115   Manager of support queue should be required
    1140909   object_type in PRX_Transaction_Queue shouldbe nvarchar(20)
    1140906   Selected prospect's activities are not deleted on merging
    1140904   Ignore option on address merge does not work
    1140903   Quote expiration date defined by user is ignored
    1140760   Order without payment method can be created
    1140758   Payment method 'COD' with account number
    1140757   Add support of SkipJack CC Gateway in WT 2007 SP0
    1140755   Orders are synchronizd to B1 twice
    1140676   Address & user can be synchronized to multiple BPs
    1140675   Industry defined in WT & assigned to BP causes synch.error
    1140123   Problem adding language strings for opportunity stage
    1140122   Static page has wrong save functionality

    Download the new install file from the Service Market Place
    Stop the 'SAP Business One WebTools MessagingService' in Administrative Tools > Services
    Stop Synch Windows Service 'SAP Business Synch Service' in Administrative Tools > Services OR in WebTools Synch Manager > Windows Service
    Remove Synch Windows Service by going to WebTools Synch Manager > Windows Service > Click Remove Service
    Goto Start > Settings > Control Panel > Add or Remove Programs > remove SAP WebTools 2007
    Run setup.exe from the downloaded patch
    Choose to install Installer or Synchmanager or both > Click on Next
    Launch WebTools Installer which should be on your desktop now
    Choose Instance. Select the instance you wish to upgrade (this is the database your webpage is connected to)
    Select Upgrade Selected Instance
    Click Finish to start the upgrade
    Wait until green bar has completed and then select Finish
    Start SAP Business One WebTools Messaging Service in Administrative Tools > Services
    Launch WebTools Synch Manager
    Install Synch Service and it will start automatically. To do this go to WebTools Synch Manager > Windows Service > Click Install Service
    Upgrade to the latest patch is now complete

  • Version Numbers Vs. Patch Levels For Web Tools

    I have noticed that version numbers for Web Tools such as 620, 621, 622, 624, 625, 627, and 628 correspond somehow to the patch level (6, 8, 10, etc.). What is the difference between the version numbers and patch levels, and which ones match up with which?

    Hi Michael,
    Prior to p10, the last digit of the version corresponds to the patch level.
    From p10 going forward, the last set of digits represents the patch.
    Patch 10 is 2007.0.630.10
    Patch 11 will be 2007.0.631.11
    The version will only change if there are upgrade scripts that need to run for the patch.

  • Error Business Partner Synch - Web Tools 2007 PL 01

    Hello everyone,
    I recently upgraded to Web Tools 2007 PL 01 (from 2007 PL 00) and my business partners do not synch from Web Tools to B1.  I receive the following error:
    Object reference not set to an instance of an object.
       at NetPoint.SynchSBO.SBOObjects.SBOPartner.NetPointToSBO(NPQueueObject qData)
       at NetPoint.SynchSBO.SynchObjectBase.Synch()
    Anyone have any suggestions?  Everything else seems to be synching fine.
    Thanks for your assistance,
    Kristen

    Hi Kristen,
    This appears to be a bug.
    This thread may be helpful, if you haven't already read it.
    Problem synching B2C accounts

  • Script Needed to work with "Save for Web" Tool

    I am looking to compress the JPG image files using the Save for Web tool within Photoshop CS2. As you know, this tool yields better results in image quality and file size than the standard Photoshop Save As command.
    To this end, I would like to batch process multiple images within multiple sub-folders. Unfortunately, I havent found a process that will allow the use of the Save for Web JPG compression, batch process the JPG files within a sub-folder structure and re-write the images to the same folder.
    What I have managed to accomplish up to this point, is create a Photoshop Action incorporating the Save for Web tool. However, the Save for Web menu always prompts to save a file to a specified folder. This seems to be the Catch-22 to the batch processing capabilities. When using Photoshops batch processing feature with this Action, and also enabling include all sub-folders, all the resulting files created are always saved to one specified folder.
    I need a script (perhaps Java or Visual Basic) which will run in Photoshop, and allow the use the Save for Web tool (JPG High, Quality 60, Optimized), batch process a series of images contained within a sub-folder structure and then re-write the image files to the same location. Can anyone help with this?

    The files must be very large.
    On my machine
    AMD Athlon 64 3200+ 2.01GHz 1GB Ram
    It failed with an uncompressed file 347.6MB (40.9MB on Hard Disc) with not enough memory.
    It managed to do a 277.4MB uncompressed file (34.3MB) with no problem although it was slow.
    With such large files it might be betted to just do a folder at a time so there are two new vars that you can alter.
    MAXJPGSIZE this is the size of the file on the Hard Drive.
    SUBFOLDERS setting this to true will include subfolders and false will only process the selected folder.
    Paul.
    //GLOBAL vars, amend values to suit.
    //Maximum size of file in Megabytes  to process (This is the file size on the Hard Drive)
    MAXJPGSIZE = 34;
    // "true" = include subfolders - "false" do not include subfolders
    SUBFOLDERS = true;
    var imageFolder = Folder.selectDialog("Select the folder with JPGs to process");
    if (imageFolder != null)  processFolder(imageFolder);
    function processFolder(folder) {
        var fileList = folder.getFiles()
         for (var i = 0; i < fileList.length; i++) {
            var file = fileList[i];
      if (file instanceof File && file.name.match(/\.jpg$/i)) {
         if((file.length/1024/1024).toFixed(0) < MAXJPGSIZE +1){
                  open(file);
    var doc = app.activeDocument;
    var strtRulerUnits = app.preferences.rulerUnits;
    var strtTypeUnits = app.preferences.typeUnits;
    app.preferences.rulerUnits = Units.PIXELS;
    app.preferences.typeUnits = TypeUnits.PIXELS;
    var saveFile = new File(decodeURI(activeDocument.fullName.fsName));
    saveFile.remove();
    SaveForWeb(saveFile,60);
    app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);
    app.purge(PurgeTarget.ALLCACHES);
    $.gc();
    app.preferences.rulerUnits = strtRulerUnits;
    app.preferences.typeUnits = strtTypeUnits;    
      } else
    if (file instanceof Folder && SUBFOLDERS) {
           processFolder(file);
    function SaveForWeb(saveFile,jpegQuality) {
    var sfwOptions = new ExportOptionsSaveForWeb();
       sfwOptions.format = SaveDocumentType.JPEG;
       sfwOptions.includeProfile = false;
       sfwOptions.interlaced = 0;
       sfwOptions.optimized = true;
       sfwOptions.quality = jpegQuality;
    app.activeDocument.exportDocument(saveFile, ExportType.SAVEFORWEB, sfwOptions);

  • Best practices available for web channel 2007

    Hi All
    Is there any best practices available for web channel 2007,
    can any one please guide where to get them
    regards
    Jaju

    Hi,
    [http://help.sap.com/bp_crmv12007/CRM_DE/HTML/index.htm|http://help.sap.com/bp_crmv12007/CRM_DE/HTML/index.htm]
    In the above link go to Technical Information >Building Block Library > C78: CRM Interaction Center
    Regards,
    Sateesh Chandra

  • Documentation and Samples for Web Intelligence Extension Points url.

    I have been trying to find documentation and samples for Web Intelligence Extension Points. Can someone give me the link ?
    The files are
    1.)  webi_dhtml_EP_samples.zip
    2.) xi3-2_web_dhtml_customization_and_integration_ext_points_en.pdf

    Hello,
    I'm trying to find the API documentation and samples for Web Intelligence Extension Points for BO XI 3.1.
    The downloadable ZIP is no longer available at the URL Simply customize your WebIntelligence User Interface
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80f21e8b-711d-2c10-6f9a-ae191653f848
    Anyone could you give me a new link for this feature ?
    Thank in advance.
    Sincerely,

  • B1 version compatability with Web Tools 2007

    Hello - I was wondering if Business One 2005A is compatible with Web Tools 2007 eCommerce. If so what is the required B1 patch level?
    Thanks!

    Hi Lynnette,
    WT 2007 does work with 2005A sp1.  I know it works with p23, 29 and 32.  I believe there were problems with patch 26 and 27.
    I would suggest getting the latest patch, since there are being regression tested.

  • ICal: STRANGE syncing of Appointments for "Oct 28th, 2007"

    When syncing iCal to .Mac all dates/times are synched correctly. Only appointments for Oct 28th, 2007 sync to one hour earlier.
    *What did I do? How to reproduce?*
    - My MacBook is in TimeZone CEST (Berlin - Germany)
    - in iCal created a new calendar "test"
    - created an appointment for Oct 26th, 2007 at 11:00
    - copied that appointment and moved copies to Oct 27th, Oct 28th, ... Nov 1st
    - published calendar to .mac
    - all appointments on .mac-calendar on the web show appointment start time of 11:00, only on Oct 28th the appointment starts at 10:00.
    *Troubleshoot attempts:*
    - checked Timeszone settings - even changed, synched, re-set timezone to correct value
    - moved appointment for Oct 28th to later time; delta of one hour remained
    - exported calendar to desktop and reloaded it - no change
    - moved appointment to last Sunday of October 2008 (Oct 26th, 2008) - SUDDENLY SHOWS SAME PROBLEM OF ONE HOUR DELTA
    - however, trying LAST SUNDAY in other months (July 07, Aug 07, Sep 07, Nov 08) did work fine
    => Problem seems to exist for last Sunday of each October

    iCommit,
    Your Macbook is running Mac OS X 10.4.8, and according to:
    About Daylight Saving Time changes in 2007 Apple is providing software updates for Mac OS X 10.3, 10.4 and later based on worldwide time zone information available as of January 8, 2007. To make sure that your clock maintains the proper time, simply install the updates that are shown for your computer in Software Update. You should install these updates even if your computer is used in a time zone that is not affected.
    Since the Mac OS X 10.4.9 Update specifically contained DST changes, I would recommend that you update both systems to 10.4.10.
    ;~)

  • Web tools 2007 installer

    I'm trying to install Web Tools installer 2007 on the server (windows 2003 R2 x64) and when I get to Installing Wedfiles on the screen Installation Tasks. I get following error:
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    Exception Text **************
    System.BadImageFormatException: Could not load file or assembly 'ChilkatDotNet2, Version=7.7.2379.17467, Culture=neutral, PublicKeyToken=eb5fc1fc52ef09bd' or one of its dependencies. An attempt was made to load a program with an incorrect format.
    File name: 'ChilkatDotNet2, Version=7.7.2379.17467, Culture=neutral, PublicKeyToken=eb5fc1fc52ef09bd'
       at Installer.Utilities.Compression..ctor()
       at Installer.Workers.FileWorker..ctor()
       at Installer.Workers.FileWorker..ctor(Instance inst)
       at Installer.Install.dw_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.832 (QFE.050727-8300)
        CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
    Installer
        Assembly Version: 2007.0.620.35237
        Win32 Version: 2007.0.620.0
        CodeBase: file:///C:/Program%20Files%20(x86)/SAP/SAP%20Business%20One%20Web%20Tools/Installer/Installer.exe
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.832 (QFE.050727-8300)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.832 (QFE.050727-8300)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.832 (QFE.050727-8300)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.832 (QFE.050727-8300)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    System.ServiceProcess
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.ServiceProcess/2.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
    Accessibility
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    System.Data
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.832 (QFE.050727-8300)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.832 (QFE.050727-8300)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    System.Transactions
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.832 (QFE.050727-8300)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_64/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
    System.EnterpriseServices
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.832 (QFE.050727-8300)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_64/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
    JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.

    FYI this is what SAP sent me
    We did some research on the BadImageFormatException and found that this
    is .NET 3.0 framework error.
    Webtools was built on .NET 2.0 and while 3.0 is supposed to be backward
    compatible, it may be that the Chilkat component is not.
    If you have installed the .NET 3.0, please try downgrading the .NET
    framework to 2.0 to check if you that solves the issue.
    Should you consider this issue as completed, I kindly ask you to
    confirm this message at your earliest convenience.

  • How are OAM custom authentication plugins used for concurrent requests

    Custom authentication plug-ins are loaded by Access Server.
    I want to understand how they are used or how they work when multiple concurrent request start pouring in.
    Thanks.

    The access server is a multi-threaded application. The "Fn" function of the plugin is executed in each of the thread of the access server.

  • WebTools Sync - Orders from Web Tools to B1

    Hi everyone,
    Hopefully this is a simple question...  What is the proper way to sync an Order from Web Tools to B1?  I have a few fields that I want to update and cannot find an object type to set it to that will sync for orders.  The sample says that you should use WebToolsUsers for BP's, but there is no WebToolsOrders for Orders.  What is the proper object type that I should use.
    Thanks so much for your time!
    Kristen

    In 2007 you don't need to worry about getting the queue.  The synch takes care of this for you.
    The WebToolsToB1() method will be called for every order in queue, you need to use the qData object passed in to get the data you need.
    public override void WebToolsToB1(NetPoint.SynchSBO.framework.NPQueueObject qData) {
                if (qData.TranType == TransactionType.Add ||
                    qData.TranType == TransactionType.Update) {
                    NPOrder o = new NPOrder(Convert.ToInt32(qData.KeyFieldValues[0]), NPConn, NPSecurityTicket.PrivateKey);
                    // your stuff

  • Sample customize sync plugin

    Hi,
    Can any one send sample code for sync plugin. please  i need badly
    that is i wants to sync user defined fields for that i wants to create customized
    sync plugin
    its very urgent.
    Regards
    Kannan.D

    Sample code is included in the SDK folder
    SDK folder is included in the download for webtools and netpoint
    There is also a sample synch plugin and a tester

  • Custom Sync - Target Invocation Error

    Hello,
    I wrote a custom sync that runs fine in my enviornment, however when I port the .dll over to my customers server, I get the following error:
    Exception has been thrown by the target of an invocation.
    I have searched the internet for advice, and found things related to permissions and other issues, but none that seem to fit.  I figured I would just query the group here to see if anyone else ran into this problem and was able to resolve.
    Thanks,
    Kristen

    This is happening with me too, Shane. Here's some version data:
    SAP: 2005 PL 43
    Web Tools: 2007 v625
    Interop.SAPbobsCOM.dll: 2005.0.0.0
    NetPoint.API.dll: 2007.0.625.0
    NetPoint.SynchSBO.dll: 2007.0.625.0
    And here's the error message that gets thrown by SynchManager:
    Exception has been thrown by the target of an invocation.
       at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)
       at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)
       at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object [ ] parameters, CultureInfo culture)
       at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object [ ] args, CultureInfo culture, Object [ ] activationAttributes)
       at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object [ ] args, CultureInfo culture, Object [ ] activationAttributes)
       at System.Activator.CreateInstance(Type type, Object [ ] args)
       at NetPoint.SynchSBO.Synch.SynchPlugins(PluginExecutionLocation loc)
    This happens just after the objects get loaded into memory from the PRX_Transaction_Queue table, but before the actual data synching begins.
    There is another error that occurs, immediately after the data synching ends and right before the SynchNotification begins (looks like it might be the same one):
    Exception has been thrown by the target of an invocation.
       at System.RuntimeMethodHandle._InvokeConstructor(Object [ ] args, SignatureStruct& signature, IntPtr declaringType)
       at System.RuntimeMethodHandle.InvokeConstructor(Object [ ] args, SignatureStruct signature, RuntimeTypeHandle declaringType)
       at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object [ ] parameters, CultureInfo culture)
       at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object [ ] args, CultureInfo culture, Object [ ] activationAttributes)
       at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object [ ] args, CultureInfo culture, Object [ ] activationAttributes)
       at System.Activator.CreateInstance(Type type, Object [ ] args)
       at NetPoint.SynchSBO.Synch.SynchPlugins(PluginExecutionLocation loc)
    I'm using two synch plugins, one for Items and one for BusinessPartners. Both of them have been compiled referencing the same versions of the .dlls listed above, the same versions that both SAP and Web Tools use.

  • Service Orders not displayed in Web Tools

    Hello everyone,
    We are creating Service Type Orders within B1 and they are syncing over to Web Tools just fine, however they are not displayed on the Order History page for the user.  Is that 'as designed'?  I know there is no traditional information that can be displayed about these, but was just curious how these should be viewed if at all within WebTools or if I should create custom development for this.  Any thoughts are greatly appreciated.  FYI, we are using Web Tools 2007 PL 01.
    Thanks,
    Kristen

    Hi Bryce,
    I am talking about orders of type 'Service' versus 'Item'.  So, it is just a Service Order, for a dollar amount to a G/L Account, rather than having a list of items.  These are shown in the Web Tools tables, but are not displayed to the user.  Just curious if they were designed to or not.  Please let me know if that makes sense.
    Thanks,
    Kristen

Maybe you are looking for

  • Invoking ODI Scenario from a BPEL process - Resolved

    I new to Oracle products. I am exploring Oracle Data Integrator tool. I would like to call ODI scenario from a BPEL process. I created a scenario in ODI, I have SOA suite10.1.3.3 installed in my machine. In some portal I have read that, we need to de

  • How to get list of folders containing documents of certain type?

    Hello, I need to perform iFS search which returns list of folders containing documents of certain custom document class. What is the best way of doing it? I tried to build search clause in the following manner: JoinQualification jq = new JoinQualific

  • Solman trusted system not working

    Dear Experts, Few Months back we have completed the OS/DB Hardware migration. After that whenever any end user trying to post the message from production system, system is asking for password then posting the message. before that w/o asking the passw

  • Salmple at How to Create Dynamical Object for RTTC

    Hi all, I need a sample at How to Create Dynamical Object for RTTC.   you can help me?.

  • Help! Lost my third party plug-ins after restoring OSX!

    Hi everyone Thanks for the help in advance! I restored my Mac last night to a previous time machine backup. When I tried to open Logic just now, it seems that all my plug-ins have disappeared! I don't see any of them listed on the menu and yet all of