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 > Extending Order...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 209 of 274
Post > Topic >>

Extending OrderFormLineItem class?

by dave@[EMAIL PROTECTED] (Dave2909) Apr 25, 2005 at 05:52 PM

Hello,

I am trying to extend the OrderFormLineItem class to add a field that
can be read from SQL (from the commerce database), and written to by
pipeline components (Scriptors for now.)  I've added the column
(discounts_string) to the OrderFormLineItem table, and have added a
row to the memberdef table.  Obviously, I can access the new column
from SQL directly, but whenever I try to write to this column from my
pipeline component, I get an error (Object doesn't sup****t this
property or method: 'item' ).

  For Each item in orderform.items
    item("discounts_string") = "test"            'Either of these 2
lines will fail
    item("discounts_string").Value = "test"
  Next

Is there something different I need to do to access extended members
from pipeline scriptors (vbScript)? Or could it be the entry in
memberdef is incorrect?  (any suggestions as to common mistakes? 
I've got all of the basic columns set as in most examples I've seen)

Thanks,

Dave
 




 6 Posts in Topic:
Extending OrderFormLineItem class?
dave@[EMAIL PROTECTED] (  2005-04-25 17:52:13 
RE: Extending OrderFormLineItem class?
=?Utf-8?B?UmF2aSBTaGFua2F  2005-04-25 22:22:01 
re:Extending OrderFormLineItem class?
dave@[EMAIL PROTECTED] (  2005-04-26 11:39:28 
re:Extending OrderFormLineItem class?
=?Utf-8?B?UmF2aSBTaGFua2F  2005-04-26 22:32:10 
Re: re:Extending OrderFormLineItem class?
"Zoe Hart [MVP]"  2005-04-27 14:50:03 
Re: re:Extending OrderFormLineItem class?
"Dave2909" <  2005-05-01 01:19:06 

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 13:27:42 CST 2008.