Using: Commerce Server 2000
Visual Studio 2002/C#
Trying to get hold on ordergroup-table columns...
---Code:---
CS_Req._OrderGroupManager myTOrder=new CS_Req.OrderGroupManagerClass();
CS_Req._SimpleFindSearchInfo mySearch=new
CS_Req.SimpleFindSearchInfoClass();
CS_Req._SimpleFindResultInfo mySearchRes=new
CS_Req.SimpleFindResultInfoClass();
myTOrder.Initialize (ref oConn);
//mySearch.set_order_number(ref oOrdergroupid);
myTOrder.SimpleFind((CS_Req.SimpleFindSearchInfo)mySearch,
(CS_Req.SimpleFindResultInfo)mySearchRes,ref oTest_2);
---Code---
That works ok and returns _all_ rows in ordergroup table. Now that I would
like to have only one, so I try to set order_number in search but it
always
gives:
[COMException (0x800a000d): Type mismatch]
CS_Req.SimpleFindSearchInfoClass.set_order_number(Object& order_number)
+0
DictItem.WebForm1.Page_Load(Object sender, EventArgs e) in
c:\inetpub\wwwroot\dictitem\dictitem.aspx.cs:41
System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain()