Creating New Purchase Orders
To create a new purchase order record, use code like the
following. In the background, the custom tag will insert a new record
into the PurchaseOrder table.
<CF_OrangeWhipPurchaseOrder Action="Create" Comments="Per conversation with Jerry" PaymentMethod="Visa" SendOvernight="Yes">
Canceling a Purchase Order
To cancel an existing purchase order, use code like the
following. This will flag the purchase order as "cancelled" in the
database (the record is not actually deleted).
<CF_OrangeWhipPurchaseOrder Action="Cancel" OrderNumber="56" Reason="No more units in inventory.">