howto assign order tracking number

Commerce Server 2007: How to use a predefined tracking number for placing an Order?

Howto Create Custom Payment Method in Commerce Server

Creating a Custom Payment Method For CS 2007http://msdn.microsoft.com/en-us/library/bb219356(CS.70).aspxAnother good post about extending order system entities such as OrderForm, .. etc of CS 2007 is at:http://blogs.msdn.com/sathishcg/archive/2006/11/08/extending-commerce-server-order-system.aspx

How to extend Commerce Server Payment Methods and Shipment Methods for CS 2007 http://blog.brianh.dk/2007/12/16/HowToExtendCommerceServerPaymentMethodsAndShipmentMethods.aspx ——————————————————————————-

createing a custom payment method, explained with screenshots, by technicalmultiverse

http://technicalmultiverse.blogspot.com/2009/10/commerce-server-2009-contemporary-site.html

Custom Payments in Commerce […]

Discount orders in Commerce Server

Regarding my friend’s question about CS 2002 discount interaction: —————————————————————————— Order Subtotal Discount The Order Subtotal Discount applies discounts to the order subtotal. An order subtotal discount is an order-level discount that applies to all products in a shopping basket. For example, free shipping is a type of order-level discount: you can give users […]

Violation of PRIMARY KEY constraint ‘PK_OrderForms’.

http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/898b5886-cb62-44d6-b64b-de719faf5b84Above we see a nice thread about the following problem:Error occurs while “Error on basket.SaveAsOrder()”Violation of PRIMARY KEY constraint ‘PK_OrderForms’. Cannot insert duplicate key in object ‘dbo.OrderForms’

nice post on pipeline scripting

“Pipeline problem with diferent pricing for different customer groups”http://objectmix.com/commerce-server/257885-pipeline-problem-diferent-pricing-different-customer-grou.html

‘The following entry points are available (shown in VBScript format):function MSCSExecute(config, orderform, context, flags) if Orderform.[shopper_type] = “1” then for each item in orderform.items item.[_product_list_price] = item.[_product_list_price] * .75 next else if Orderform.[shopper_type] = “2” then for each item in orderform.items item.[_product_list_price] = item.[_product_list_price] * .5 […]

Info about CS pipeline logs

Quoted from: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3642493&SiteID=1

“I had problems with this and tried to find something to assist. In the end I just opened the log in notepad/wordpad.

This is a snippet from a cuistom component I wrote and inserted:

1. PIPELINE:++ component[0x4] about to be called ProgID: Commerce.ShippingDis2. RootObject: ReadValue Items VT_DISPATCH PV=[0x4dd8220] VT_EMPTY __empty__3. RootObject: ReadValue […]

Extending Commerce Server Order System

http://blogs.msdn.com/sathishcg/archive/2006/11/08/extending-commerce-server-order-system.aspx Extending Commerce Server Order System

Orders Example: Extending the LineItem Class, CS2007 http://msdn.microsoft.com/en-us/library/bb219308(v=cs.70).aspx http://msdn.microsoft.com/en-us/library/aa544655(v=cs.70).aspx

Orders Extensibility Samples, CS2009 http://msdn.microsoft.com/en-us/library/dd451452(v=cs.90).aspx Orders Example: Extending the LineItem Class, CS2009 http://msdn.microsoft.com/en-us/library/dd328349(v=cs.90).aspx Orders Example: Adding Virtual Gift Certificates, CS2009 http://msdn.microsoft.com/en-us/library/dd452317(v=cs.90).aspx

“Underlying data provider ONLY supports AND-ing of clauses”

In Customer and Orders Manager source code we see following interesting comment—File: ProfilesSearchHelper.csMethod:public SearchClause CreateSearchCriteria(string profileType, SearchClauseFactory searchClauseFactory, SearchCriteriaItems criteriaList, bool isSimpleSearch)—

SearchClause fullClause = CreateClause(searchClauseFactory, criteriaList[0]);for (int i = 1; i < criteriaList.Count; i++){if (!string.IsNullOrEmpty(criteriaList[i].Condition) && !string.IsNullOrEmpty(criteriaList[i].FieldName) && !string.IsNullOrEmpty(criteriaList[i].Value)){SearchClause rightClause = CreateClause(searchClauseFactory, criteriaList[i]);// Underlying data provider ONLY supports AND-ing of clauses.fullClause = searchClauseFactory.IntersectClauses(fullClause, rightClause);}}

[…]