<?xml version="1.0" ?>
<rss version="2.0">

	<channel>
		<title>Interprise Suite API Questions</title>
		<link>http://www.connectedbusiness.com/FORUMS/DeveloperForum/tabid/105/forumid/7/view/topics/Default.aspx</link>
		<description>Interprise Suite API Questions</description>
		<language>en-US</language>
		<generator>ActiveForums  3.7</generator>
		<copyright>Interprise Software Systems International Inc.</copyright>
		<webMaster>connectedbusiness@interprisesolutions.com</webMaster>
		<item>
			<title>Sales Order UserCreated</title>
			<description>Hello,


We have multiple backoficce users in a callcenter (each one has its own login credentials), and we would like to know which one made a specific sale.


Currently, the &quot;admin&quot; user is User Account configured in the Configuration Tool.


But currently, the “CustomerSalesOrder” database table always has the “admin” value in the “userCreated” column, no matter the logged-in user is.


I was expecting that this column would store the user that created the SalesOrder and not the user configured in web.config.


After some research, I found that the saving mechanism is implemented in the file “\Integration.Interprise\InterpriseShoppingCart.cs” which contains the following piece of code:


---------------------
private void SaveSalesOrder()
{
string[] relatedTables = _facadeSalesOrder.get_RelatedTables(_facadeSalesOrder.TransactionType);
      string[][] commands = _facadeSalesOrder.CreateParameterSet(relatedTables);

      //Set this property to skip stock deallocation. This should fix the deadlock issue.
      _facadeSalesOrder.IsSkipStockDeallocation = true;
      _facadeSalesOrder.UpdateDataSet(commands, _facadeSalesOrder.TransactionType, string.Empty, false);
}
-------------


And it’s in the last line of code that the sales order is being saved. 

Is there any way I can interfere in this process in order to save the currently logged-in user as the one who really created the sales order?


Thanks in advance,

Ricardo Fernandes
</description>
			<link>http://www.connectedbusiness.com/FORUMS/DeveloperForum/tabid/105/forumid/7/postid/3829/view/topic/Default.aspx</link>
			<author>jfernandes</author>
			<pubDate>Thu, 04 Feb 2010 06:27:16 GMT</pubDate>
		</item>
		<item>
			<title>Customer -&amp;gt; Order</title>
			<description>Hi everyone.. I badly need your help.. Can someone help me with this issue?? 

Ims still a newbie in IS.. </description>
			<link>http://www.connectedbusiness.com/FORUMS/DeveloperForum/tabid/105/forumid/7/postid/3799/view/topic/Default.aspx</link>
			<author>zigouster</author>
			<pubDate>Mon, 11 Jan 2010 18:46:43 GMT</pubDate>
		</item>
		<item>
			<title>wysiwyg question</title>
			<description>Hi madlang people,&lt;br&gt;&lt;br&gt;Just want to ask something regarding the WYSIWYG functionality if its possible to create a link to open another form.&lt;br&gt;&lt;br&gt;for instance on the activity WYSIWYG there is a link &quot;SO-00001&quot; sales order when i click that &lt;br&gt;it open the sales order form. Is that possible?&lt;br&gt;&lt;br&gt;&lt;br&gt;Can i use the same wysiwyg tool on my plugin? &lt;br&gt;&lt;br&gt;</description>
			<link>http://www.connectedbusiness.com/FORUMS/DeveloperForum/tabid/105/forumid/7/postid/3791/view/topic/Default.aspx</link>
			<author>melee</author>
			<pubDate>Mon, 28 Dec 2009 15:02:22 GMT</pubDate>
		</item>
		<item>
			<title>How to get No. of result listing for search</title>
			<description>I am using search and results are come in different Categories. I want to add a text No. of record found(Example: 100-Record for Department.........). How can I add this text on my search page.</description>
			<link>http://www.connectedbusiness.com/FORUMS/DeveloperForum/tabid/105/forumid/7/postid/3775/view/topic/Default.aspx</link>
			<author>seemant</author>
			<pubDate>Tue, 08 Dec 2009 07:17:37 GMT</pubDate>
		</item>
		<item>
			<title>Licen</title>
			<description>Copied an existing project to t new machine and get the below error...any help on this when trying to either build the project or view the visual form&lt;BR&gt;&lt;BR&gt;&lt;SPAN lang=EN-GB style=&quot;FONT-SIZE: 10pt; FONT-FAMILY: Verdana&quot;&gt;Error&#160;&#160; 14&#160;&#160;&#160;&#160;&#160; Exception occurred creating type 'Interprise.Presentation.Base.BaseForm, Interprise.Presentation.Base, Version=2007.1.2.0, Culture=neutral, PublicKeyToken=b8fe89ce8c5834af' System.ComponentModel.LicenseException: An instance of type 'Interprise.Presentation.Base.BaseForm' was being created, and a valid license could not be granted for the type 'Interprise.Presentation.Base.BaseForm'. Please,&#160; contact the manufacturer of the component for more &lt;/SPAN&gt;</description>
			<link>http://www.connectedbusiness.com/FORUMS/DeveloperForum/tabid/105/forumid/7/postid/3750/view/topic/Default.aspx</link>
			<author>apgourlay</author>
			<pubDate>Mon, 21 Sep 2009 11:51:28 GMT</pubDate>
		</item>
		<item>
			<title>Make Custom Report the Default</title>
			<description>I tried changing &#160;the IsDefault and IsDefaultFolder properties, and saved them.&lt;BR&gt;However it does not make the custom report the &quot;checked&quot; default report in the group, and when I reopen the designer, the changed property was not saved.&lt;BR&gt;&lt;BR&gt;How do you set a custom report as the default?&lt;BR&gt;</description>
			<link>http://www.connectedbusiness.com/FORUMS/DeveloperForum/tabid/105/forumid/7/postid/3737/view/topic/Default.aspx</link>
			<author>pluggedin</author>
			<pubDate>Mon, 07 Sep 2009 18:12:28 GMT</pubDate>
		</item>
		<item>
			<title>Plugin - uploading files</title>
			<description>Hi&lt;br&gt;&lt;br&gt;I'm trying to make a plugin for uploading files to the server (some product pdf documents, displayed on the web) but I can't find out how to transfer a file to the server.&lt;br&gt;&lt;br&gt;Can anyone show me a sample code or documentation?&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;&lt;br&gt;Radek&lt;br&gt;&lt;br&gt;</description>
			<link>http://www.connectedbusiness.com/FORUMS/DeveloperForum/tabid/105/forumid/7/postid/3661/view/topic/Default.aspx</link>
			<author>Vitovjak</author>
			<pubDate>Tue, 14 Jul 2009 03:43:38 GMT</pubDate>
		</item>
		<item>
			<title>Current Role</title>
			<description>I just started using this and am trying to find some information. The role managment system doesn't offer as granualr an interface as is required for me. As part of this, I am trying to work off and extend the user role for my needs.&lt;br&gt;&lt;br&gt;How can I find out what the currently logged-in user's Role is? There doesn't appear to be an existing API to get it, but it has to be available somewhere.&lt;br&gt;&lt;br&gt;Thanks.&lt;br&gt;&lt;br&gt;Jeff&lt;br&gt;</description>
			<link>http://www.connectedbusiness.com/FORUMS/DeveloperForum/tabid/105/forumid/7/postid/3591/view/topic/Default.aspx</link>
			<author>cuscutis</author>
			<pubDate>Thu, 04 Jun 2009 13:16:22 GMT</pubDate>
		</item>
		<item>
			<title>Get detail error message in NewCustomerDetailDatasetGateway</title>
			<description>I would really appreciate someone can point me to the right direction.&lt;br&gt;&lt;br&gt;I try to create a IS Customer with web contact in the ecommerce site.&#160; I modal after createaccount.aspx to create new users.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;code&gt;string message = &quot;An error has occured while creating your account....&quot;;&lt;br&gt;using (NewCustomerDetailDatasetGateway newCustomerDataset = new NewCustomerDetailDatasetGateway())&lt;br&gt;{&lt;br&gt;&#160;&#160;&#160; using (NewCustomerDetailFacade newCustomerFacade = new NewCustomerDetailFacade(newCustomerDataset))&lt;br&gt;&#160;&#160;&#160; {&lt;br&gt;&#160;&#160;&#160; &#160;&#160;&#160; try&lt;br&gt;&#160;&#160;&#160; &#160;&#160;&#160; {&lt;br&gt;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; ... Code ommitted.&lt;br&gt;&lt;br&gt;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; // Commit the records to the database....&lt;br&gt;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; newCustomerFacade.UpdateDataSet(commands,Interprise.Framework.Base.Shared.Enum.TransactionType.CustomerDetail,string.Empty,false);&lt;br&gt;&lt;br&gt;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; // NOTE : Every step here has to be successful!!!&lt;br&gt;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; if (newCustomerDataset.HasErrors) throw new CustomerRegistrationException(message);&lt;br&gt;&lt;br&gt;&lt;/code&gt;&lt;br&gt;&lt;br&gt;Here's my problem.&#160; The newCustomerDataset.HasErrors flags an error, and I need to figure out a way to get more specific feedback on the error, and take a corrective action.&lt;br&gt;&lt;br&gt;Can someon&lt;br&gt; </description>
			<link>http://www.connectedbusiness.com/FORUMS/DeveloperForum/tabid/105/forumid/7/postid/3560/view/topic/Default.aspx</link>
			<author>canonw</author>
			<pubDate>Fri, 29 May 2009 13:39:38 GMT</pubDate>
		</item>
		<item>
			<title>Plugin Registration Problem</title>
			<description>I started to create a new plug in on v5.3, and&#160;after it registers for 1st time, it will not recongize the updates I make to the plug in when I add it to a form-- it just keeps reverting to the 1st iteration of the plugin. I rebuild the solution, unregister the previous plugin, register the new one and re-added via the forms customize button. Tried&#160;removing the old plugin thru the&#160;Plugin Factory and from the&#160;IS&#160; plugin&#160;manager&#160;itself but is sill ignores the changes I made. So to isolate my problem I created the SDK hello world&#160;&#160;example and then changed the label to hello world 2, but it still only finds the original hello world plugin, even when I uninstalled it through the IS plugin manager.&lt;BR&gt;&lt;BR&gt;It must be something to do with where the plugin factory looks&#160;to find&#160;the DLL to register -- it seems so find the old version but not the new one.&lt;BR&gt;&lt;BR&gt;What am I missing?&lt;IMG height=20 src=&quot;http://www.connectedbusiness.com/DesktopModules/NTForums/themes/_default/emoticons/crying.gif&quot; width=20&gt;&lt;BR&gt;&lt;BR&gt;</description>
			<link>http://www.connectedbusiness.com/FORUMS/DeveloperForum/tabid/105/forumid/7/postid/3552/view/topic/Default.aspx</link>
			<author>pluggedin</author>
			<pubDate>Wed, 27 May 2009 17:56:17 GMT</pubDate>
		</item>
	</channel></rss>