Webtools2007 and Netpoint 5.9
Is there an issue having webtools2007 and netpoint5.9 installaed on the same machine (will sync to 2 different companies).
Thanks
M.
You probably will have to make sure that you run them on two separate application pools in IIS.
That's because although .NET 1.1 and 2.0 can indeed co-exist, any given process can only load one version of .NET at a time. By default every Website or Application you create in IIS will run off the Default App Pool.
Only by creating two separate application pools, you can assign the first website (running 5.9) to use .NET 1.1, and the second website (running 2007) to run on .NET 2.0
Just something to be aware of - I've had to do it on my site where some other piece of asp.net on the server required 2.0.
Similar Messages
-
To all,
Have installed Netpoint installer 5.9 patch 7 and connected to my B1 db and netpoint db succesfully. Running B12005A SP01 PL22.
Can get into the web site and have created all my codes for tables to sync up in Netpoint Synch etc.
When i go to sync all queued records i get the error "synch in progress...cancelling new synch request".
I found the synch.lock file and deleted it but still does not sync.
Does anyone know how to resolve this issue?
RegardsHi Steven,
This happens when the synch is stopped duing a synch.
In the install directory of your synch manager there a .lock file. Probably synch.lock or default.lock.
This prevents the synch from restarting on top of itself.
Delete this file. -
Error there is no source code for current location
Hi,
i am very new web tool customization this my first sample page for testing how the netpont.api.dll and netpoint.dll below i add code
pls guide me how to compile in aspx,iam very new
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using netpoint.api;
using netpoint.classes;
public partial class _Default: NPBasePage
protected void Page_Load(object sender, EventArgs e)There are a number of examples in the plugins directory. If you are on 5.9, look at the ones that have no .cs files.
The connection is created for you automatically in NPBasePage. I gave you an example of using it in your other post.
I can't give you a complete example because the forum does not allow script tags to be posted.
If you use the API objects you should be able to get most of the data you need. If you want to do a direct query of the db you can use ADO or the the DataFunctions, which are simply a wrapper of ADO. Following is an example of using the DataFunctions:
<%@ Control Language="c#" %>
<%@ Import Namespace="netpoint.classes" %>
<%@ Import Namespace="netpoint.api.catalog" %>
<%@ Import Namespace="netpoint.api.data" %>
<%@ Import Namespace="System.Text" %>
--script tag here
void Page_Load(object sender, System.EventArgs e)
// this is the object that contains the connection object
NPBasePage bp = (NPBasePage)Page;
Stringbuilder sb = new Stringbuilder();
sb.Append("SELECT OrderID, AccountID, UserID, GrandTotal ");
sb.Append("FROM OrderMaster ");
sb.Append("WHERE CartType = 'O' AND AccountID = @acctid");
DataParameters dp = new DataParameters (1);
dp.Add(NPDataType.NPString, "@acctid", bp.AccountID);
myGridView.DataSource = DataFunctions.GetDataSet(sb.ToString(), dp.Paramters, bp.ConnectionString);
myGridView.DataBind();
--close script tag here -
How to display stock count on partlist page
Hi everyone
Can anybody tell me which aspx or ascx file I need to modify in order to display the stock count on the partlist page where now only presents Image PartNo Description Price and AddtoCart button.
Thanks and regards
Skyhi sky,
here is one possible solution - because I am not sure it's possible to do what you want to do with the supplied controls, as you have no access to the codebehinds.
Instead, rewrite the PartListblock.ascx to function exactly the way you want to (it's really just a table of data). I've been doing this with my own setup because I find a lot of the time I just can't get the exact functions that I need using the builtin controls.
Here is an example (very basic) of how you could do it.
Create a new Web User Control in the catalog/controls folder.
This would be the .ascx file: (using C#)
(note I am using .NET 2.0, its OK as long as you also have .NET 1.1 installed on the server as well I have found you can create your own controls using 2.0 and Netpoint will still work fine)
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="MyPartsListBlock.ascx.cs" Inherits="catalog_controls_MyPartsListBlock" %>
<%@ Import Namespace="netpoint.api.catalog" %>
<asp:Repeater ID="repItems" runat="server">
<ItemTemplate>
<table>
<tr>
<td><%#((NPPart)Container.DataItem).ThumbNail %></td>
<td><%# ((NPPart)Container.DataItem).PartNo%></td>
<td><%# ((NPPart)Container.DataItem).Inventory %></td>
<td>Buttons etc</td>
</tr></table></ItemTemplate>
</asp:Repeater>
and here is the codebehind for the control: (MyPartsListBlock.ascx.cs)
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using netpoint.classes;
using netpoint.api.catalog;
public partial class catalog_controls_MyPartsListBlock : System.Web.UI.UserControl
private int catID;
protected void Page_Load(object sender, EventArgs e)
//get the CategoryID that was passed into us
catID = Convert.ToInt32(Request["CategoryID"]);
//get the page object
NPBasePage p = (NPBasePage)Page;
//now get the list of parts for the catalog category we are in
ArrayList parts = p.Catalog.CategoryParts(catID, p.UserID, p.PriceList, p.Encoding);
//initialise each part's Inventory count
foreach (NPPart temp in parts)
temp.GetInventoryCount(p.UserID);
//finally bind them to the repeater
repItems.DataSource = parts;
repItems.DataBind();
If you want to use only .Net 1.1 then take out the "Codefile" reference in the first section and put in 2 @Import directives to import the netpoint.api.catalog and netpoint.classes namespaces, then override Page_Load in the ascx file.
Once you have tested this you can then replace the control on the partslist.aspx with your own control.
I am assuming you are familiar with asp.net - as you can see all I've done is put in a very basic repeater here which is bound to an ArrayList of NPParts, this list is initialised by getting the CategoryID Request variable and just using the builtin methods of the NPBasePage to get tye list of items
This way you get total control over the ability to call GetInventoryCount() on the items in the list.
Obviously you will want to put more elements like images and links into the Repeater's ItemTemplate, but that's just the usual, you can override repItems_OnDataBound to set the image path and the links as each row in the repeater is created, etc.
Hope this helps, and sorry if its confusing but it will work for you if you just take some time with it.
Steve -
Hey All.
I am writing a simple custom synch plugin for webtools 2007 PL2. I used the sample from the SDK as a guide. WHen I run the synch I get the following errors:
Synch Synching Plugin: FruitCompanySynchPlugin SynchPlugins()
Synch Object reference not set to an instance of an object. SynchPlugins()
FruitCompanySynchPlugin Loading Plugin Plugin Contructor
I am getting messages that I write to the log and I have try catches all over my code that is just displaying a log message in each method. Some where it still throws that exception and I cannot figure out what is going wrong.
How can I debug this>
(I also get the exact same problem when running B1WEBTOOLS2007\SDK\SynchPlugin\SampleProject\ that comes with the SDK)
Anybody else out there have a synch plugin running in webtools 2007?
Message was edited by:
Curtis TraverseHi Curtis,
I have tested the sample and it works in the tester project but is failing in the actual synch. The B1 company is being disconnected by the synch.
As for testing yours, I would suggest using the tester project. You will need to change the references to the InterOp.SAPbobsCOM, NetPoint.API and NetPoint.SynchSBO to reference the copies that your synch is using.
You should be able to step through your code with this.
Message was edited by:
Shane Hart
Message was edited by:
Shane Hart -
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.DSample 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 -
Hi,
A query about Tax options. I must be driving everyone mad at this point with my issues yes
Anyway, one of the things I had to do recently was redo the AccountCreation page so that it added a default tax code when a B2C account was created (because we're always charging the same basic VAT rate and it only changes for some VAT free items)
Now, what I haven't managed to do, is get the site to display VAT when someone comes and is just browsing the site (i.e not logged in). So if you add something to the cart, you see no VAT until you actually login.
Is there anything obvious I can do to rectify this (I noticed in the Sync Tool there is a dropdown "default website tax code" but this has never had any values in it, even though I have tax codes in both B1 and Netpoint - nothwithstanding that they don't sync, I would have thought this was reading from one of the databases?
Or will I need to make maybe some more modification to my cart page so that if you're not logged in it can calculate the VAT on the fly?
many thanks,
SteveI'm pretty sure the dropdown for default website tax code is populated from SBO (at least they always show up for me) so I'm not sure if there's any way of configuring taxes in SBO to prevent them from showing up. This dropdown is used to set the tax code for all orders that are synched to SBO so in your case I would set this dropdown to the VAT code you are duplicating in NP, otherwise (I assume) your totals will be off and you will probably end up with a negative discount in SBO to accomodate the extra tax costs assigned in NP.
As for displaying the tax amount on the cart page ... I don't know of an option to do this other than adding your own control to populate the tax total in the order master table before NP usually does it. I'm not sure if there's an API call to do this or if you would need to figure out the logic yourself.
Steve -
Creating an online shooping site
I've been using Dreamweaver for a few years now to develop
html/css sites, and have just been asked to create an online
shopping site for a small company. I note that many magazines
recommend Actinic as a complete solution, but I would be interested
to know if there is an easy way to develop the site and its various
elements in Dreamweaver?
My understanding is that Actinic (and, I presume, other
shopping site development apps) handles the creation and deployment
of much of the server-side technology, and as I want to get this
right first time, I would be interested to hear the group'sDepends also on what you mean by “small company”.
I have developed several small company sites just using
Paypal
No matter what application you use, even your own, you will
need a credit card processing company to handle your transactions
and you DO NOT want to tackle that alone.
If the company has fewer than say 50 products, Paypal works
great. I takes some maintenance on someone’s part for price
changes etc. but is robust enough for most things and is free to
use (except for pretty small transaction fees)
If you have many more products than that, or a lot of options
(sizes, colors, etc.) you’ll need a commercial product.
I’ve never used Actinic so I can’t vouch for it
specifically. I’ve developed a site with over 19,000 parts in
several categories using Comersus and I’m in the process of
doing one with NetPoint. Yes, they pretty much have all of the
active parts worked out and you are lots of money ahead to buy a
good product rather than try and do it yourself.
The benefits to most products like these is the ability to
drive them with databases. When an inventory item is changed in the
company database, Comersus and Netpoint will modify the web page in
real time. So if there are 5 items in stock and somebody buys one,
the next shopper sees 4 items in stock. Or if you change a price or
description, the web page changes immediately. With thousands of
items this is a mandatory feature. -
Netpoint 5.9.0 and Payflow Pro
I'm sorry if this has been asked before - i've been looking around for more information but have not found much as of yet.
Simply put, I am trying to get Netpoint working with Payflow pro, and I'm not entirely sure what steps I need to follow to do so. Is there a walkthrough or some such that gives some instructions? Currently the only information I seem to find deals with Webtools, which seems to be quite differently configured than Netpoint.
Thanks in advanced for your help.Hey Jennifer, payflowpro can be a little complicated to set up, that's why I always use auth.net if given a choice.
If you look in the payflowpro folder there should be some testing bat files in the win32\bin folder. You need to enter you credentials and order info and run it in command prompt and see what returns. It may be a problem with how it's installed and not necessarily a problem with webtools.
I haven't installed this in a while but I do remember having problems with the cert path. I believe in some environments it has to be installed in a certain location but I don't remember where. If the test batch file doesn't work I'd suggest looking on the payflowpro site and search based on your OS.
Steve -
How to cancel an order in Netpoint?
Hello,
From time to time we have an order that will not sync to business one, and it has to be entered manually. How do we delete the order that is still showing on the website?
The other scenario is when a customer places the order, and then calls to cancel it because they changed their mind. If the order hasn't sync'd yet, how do we cancel it in netpoint?
Thanksgo into sql query analyzer
and say the netpoint orderid is 150
then enter the following.
delete from orderpayment where orderid=150
delete from orderdetail where orderid=150
delete from ordermaster where orderid=150
it is not suggested to take this action lightly and recommended only to be done with test data. -
Link between OrderDetail and SBO Sales Order Lines
Hey All,
can anyone tell me how I can tell which order detail records are linked to which SBO sales order lines? I know I can find the sales order based on the synch id in the ordermaster table. But I don't see a link between the child orderdetail table and RDR1 in B1.
Any ideas?Hi Curtis,
This is actually a bug.
(Fixed in sp1--release date who knows when)
Way back in the olden days, Webtools (NetPoint) did not allow the same item on multiple lines, so synchid, partno was a unique key.
When this changed in 5.96, no synchid was added to the orderdetail, resulting in a bug if the following happens:
1. order is created in Webtools with the same item on multiple lines
2. order is synchronized to B1
3. order detail data is editted on the duplicate items
4. synch back to Webtools
The line item data may be incorrect on the duplicate items
So, the moral of the story is, your best bet is a compound key of ordermaster.synchid/orderdetail.partno-->rdr1.docentry/rdr1.itemcode. But be warned that there could be synch issues if you end up in the above scenario. -
Problem with WT2007, SBO2005 and Opportunities
I am trying to synch opportunities between WebTools 2007 PL3 and SBO 2005 PL31 but every opportunity errors with the following error:
-5002:Potential amount is missing [OPR1.MaxSumLoc][line: 3]
at NetPoint.SynchSBO.SBOObjects.SBOOpportunity.NetPointToSBO(NPQueueObject qData)
at NetPoint.SynchSBO.SynchObjectBase.Synch()
When entering an opportunity there is no place to enter a value for Total Sale (it's displayed as $0.00) until a stage is added and then that value is displayed as the Total Sale instead. If I look in the Opportunity table there is a field for Amount which is 0 but even if I manually enter a value here I still get the same error.
Has anyone had a similar problem? Could it be a issue with WT and SBO2005 compatibility?
SteveProblem Solved!
It turns out there was an opportunity linked to a Vendor in SBO which was failing in the synch because the Vendor BP did not exist in the WebTools database. This is the error raised by that problem:
SBO ContactPerson (OCPR) 1467 does not correspond to a NetPoint Users.UserID.
at NetPoint.SynchSBO.SBOObjects.SBOOpportunity.SBOToNetPoint(SBOQueueObject qData)
at NetPoint.SynchSBO.SynchObjectBase.Synch()
Once I forced the synch to skip this record the rest of the opportunities with this original error all synched to SBO. I'm not sure how or why this would affect the other opportunities but it must be related somehow.
I guess the lesson here is to resolve all previous errors, regardless of how unrelated they may seem before spending too much time on subsequent errors.
Steve -
Require netpoint 5.9?
could u tell me the link. where i find the net point 5.9 tool?
Hi
Netpoint is available to download at SAP Portal:
http://service.sap.com/sbo-swcenter -> SAP Business One Products -> SAP Business One 2005 -> SAP BUSINESS ONE WEB TOOLS 5.9 -> Installation -> MS SQL SERVER -> Downloads.
There you can find the package.
Beside that you can find the documentation for Netpoint and Webtools at:
http://service.sap.com/smb/sbo/webtools
I hope that helps.
Paulo Calado
SAP Business One Forums Team -
Access denied to NetPoint.PaymentProviderImplementation.dll
Hello,
I have set up the Bussiness One E-commerce and I have a problem when I am trying to make an order. After I press continue after the "Billing" step, the text below appears:
An Internal Error has occurred.
Version 2007.1.650.0
Message Could not load file or assembly 'C:\inetpub\wwwroot\B1WebTools\bin\NetPoint.PaymentProviderImplementation.dll' or one of its dependencies. Access is denied.
Source mscorlib
Stack at System.Reflection.AssemblyName.nGetFileInformation(String s)
at System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile)
at netpoint.provider.payment.PaymentPro
Our technical people have been notified.
We're sorry for the inconvenience.
Any idea what might have gone wrong?
Thanks in advance
Best Regards
Vassilis GiatilisUnfortunately I don't have any result yet about this one.
Please take a look at it by yourself.
If you log to http://www.conradel.com/
Try to order a product from http://www.conradel.com/catalog/partlist.aspx?CategoryID=202 and complete all the procedure.
You can use my trial login username: vgiatilis password: vassilis2
Maybe this will help you
Thanks again
Best Regards
Vassilis Giatilis -
Hello Experts,
I have a simple question for Webtools with users and salesman
I have 10 Salesmen. which exist in SAP as Salesmen and are linked to their BP.
They do not have a SAP user and do not need one since they will never be using SAP rather they will obtain there information through the WEBCRM.
Do these 10 Salemen need to have a User accociated to them? As of right now they do not have a user and are able to login. though i have 10 errors with OUSR in the syncro.
Thank you.i have performed a test in my development environment i have 2 users one being manager
the other being test1.
manager does not have a salesman
Test1 has a salesman called Test1
I removed Test1 completly from Users
but kept him as a salesman
i sync and have no errors
on th customer side i have the following error.
OUSR does not have a valid mapping to NetPoint.
at NetPoint.SynchSBO.SBOObjects.SBOUtility.GetSupportTableOtherID(String tablename, String npcode)
at NetPoint.SynchSBO.SBOObjects.SBOUtility.UserGetSBOID(String userid)
at NetPoint.SynchSBO.WebToolsChildObjects.AccountUser.SynchOUSR(NPUser u)
at NetPoint.SynchSBO.WebToolsChildObjects.AccountUser.NetPointToSBO(NPQueueObject qData)
at NetPoint.SynchSBO.SynchObjectBase.Synch()
Maybe you are looking for
-
Hi...i bought the new iphone 4 and would like to ask how can i transfer all my data from my old iphone to the new one? If I will do "synchronization" through itunes with the old phone and the plug in the new one will that be the case?
-
CSS layout question - height of outer DIV
Hopefully this is a quick one - In the past I've used CSS for the main layout of a page, but still used tables within a DIV. But I'm trying to be good and used DIVs there too. Anyway - I have a basic example here: http://www.learners-guide.co.uk/less
-
Error handling in DATA MIGRATION
hi i am a beginner in sap abap. i am learning data migration techniques . so i wanted to know that what are the possible error in bdc and lsmw apart from error of data in flat file.And how handle those errors. if anyone can share his/her experience b
-
The download from FF came automatically and was to help with the eval of FF4.0. Unfortunately I did not save the instruction page which had an uninstall link. It said all who used FF4.0 got it and there might be problems caused by it. I don't recall
-
Should I delete photoshop elements 9 from my computer since I now have Photshop elements 12. It takes up space. Will I lose anything?