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


|