Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Commerce Server SDK > OrderForm.Name ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 210 of 274
Post > Topic >>

OrderForm.Name values?

by "Dave2909" <dave@[EMAIL PROTECTED] > May 1, 2005 at 01:39 AM

Hello,

I'm trying to update some fields in the OrderFormLineItems table (since
PurchaseOrder.Save is waaay too slow) and seeing some things I don't quite
understand. Basically, the update I'm doing is this:

update OrderFormLineItems set MyExtendedColumn = 'foo' where orderform_id
= oid and lineitem_id = 1

The parameter for oid that I'm passing in is coming from the following:

PurchaseOrder po = MyOrderContext.GetPurchaseOrder(userID, orderGroupID);
foreach (OrderForm form in po.OrderForms)...
  foreach (LineItem li in form.LineItems)...
    oid = form.Name

Most of the time, form.Name has the GUID that appears in the orderform_id
column of OrderFormLineItems.  The problem is when form.Name has a value
of 'Default' or 'default'.  Can anyone tell me what this means?  Better
yet, how can I get an orderform_id to update in the OrderFormLineItems
table?  (or perhaps these line items are stored somewhere else entirely?)

Thanks,

Dave
 




 4 Posts in Topic:
OrderForm.Name values?
"Dave2909" <  2005-05-01 01:39:16 
RE: OrderForm.Name values?
=?Utf-8?B?UmF2aSBTaGFua2F  2005-04-30 23:19:39 
RE: OrderForm.Name values?
"Dave2909" <  2005-05-01 05:09:58 
RE: OrderForm.Name values?
nihitk@[EMAIL PROTECTED]   2005-06-01 23:41:46 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 12:49:59 CST 2008.