My company does a lot of work with customers on terms, I need to determine what the "proper" verbiage is for pulling the purchase order information from a customers order for use in an email.
I am currently trying: $order.PurchaseOrder, but that is not working. I assume that everything after the . is the name of the field, and I don't have a copy of the schema to know what this field really is.
Thanks,
Margie
Quick nVelocity question regarding purchase orders
Re: Quick nVelocity question regarding purchase orders
You need to check this information upon each payment.
Code: Select all
#foreach ($payment in $order.Payments)
#if ($payment.PaymentMethod.PaymentInstrument== "PurchaseOrder")
//DO YOUR STUFF HERE
#end
#end
-
- Lieutenant (LT)
- Posts: 77
- Joined: Mon Apr 19, 2010 4:52 pm
Re: Quick nVelocity question regarding purchase orders
mm,
Regarding your comment about not having the DB Schema...
You will want to look at this http://wiki.ablecommerce.com/index.php/Database
The AC schema is specifically at http://wiki.ablecommerce.com/images/3/3 ... Schema.pdf
but looking at the DataPort Utility is helpful, too.
Regarding your comment about not having the DB Schema...
You will want to look at this http://wiki.ablecommerce.com/index.php/Database
The AC schema is specifically at http://wiki.ablecommerce.com/images/3/3 ... Schema.pdf
but looking at the DataPort Utility is helpful, too.
Re: Quick nVelocity question regarding purchase orders
Actually I think Margie was not asking about Database schema but about the structure of our API. NVelocity simply provides you access on different API variables those in turn provide you access on different information. We have a document about our API at following location ftp://ftp.ablecommerce.com/evals/Commer ... 7_Help.zip
I am just not sure whether its updated or not. Even in case its old I think most of things will work.
I am just not sure whether its updated or not. Even in case its old I think most of things will work.
- mmackrell
- Lieutenant, Jr. Grade (LT JG)
- Posts: 50
- Joined: Sun Mar 28, 2010 7:41 pm
- Location: Zelienople, PA
- Contact:
Re: Quick nVelocity question regarding purchase orders
I'll check all of it out and see what I can find. Thanks both of you 
