Commerce Server General - Multiple Shipment

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > December 2004 > Multiple Shipment





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Multiple Shipment
Jimut

2004-12-08, 8:46 pm

I am processing my basket via Splitter pipeline component :
As shown below :

PipelineInfo totalInfo = new PipelineInfo("total");
totalInfo.Profiles.Add("User", CommerceContext.Current.UserProfile);
basket.RunPipeline(totalInfo);


I need to access the Shipment object. How can I access the same from my
basket object ?
(I am using the following references in my project :
using Microsoft.CommerceServer.Runtime;
using Microsoft.CommerceServer.Runtime.Profiles;
using Microsoft.CommerceServer.Runtime.Orders;
using Microsoft.CommerceServer.Runtime.Pipelines;
using Microsoft.CommerceServer.Runtime.Catalog;
using Microsoft.CommerceServer.Runtime.Diagnostics;
using Microsoft.CommerceServer.Runtime.Caching;
using Microsoft.CommerceServer.Interop;
using Microsoft.CommerceServer.Interop.Orders;)

Also I am not able to get the transaction context, which I feel is very
much required to access shipments.
Any pointer to this will be of much help.

Regards,
Jimut.


Ravi Shankar

2004-12-17, 7:49 am

The document states that the shipments dictionary is created on the OrderForm
object so I guess the following would work

Dim oShipments as Dictionary =
basket.OrderForms("default").Item("shipments")

Regards.

"Jimut" wrote:

> I am processing my basket via Splitter pipeline component :
> As shown below :
>
> PipelineInfo totalInfo = new PipelineInfo("total");
> totalInfo.Profiles.Add("User", CommerceContext.Current.UserProfile);
> basket.RunPipeline(totalInfo);
>
>
> I need to access the Shipment object. How can I access the same from my
> basket object ?
> (I am using the following references in my project :
> using Microsoft.CommerceServer.Runtime;
> using Microsoft.CommerceServer.Runtime.Profiles;
> using Microsoft.CommerceServer.Runtime.Orders;
> using Microsoft.CommerceServer.Runtime.Pipelines;
> using Microsoft.CommerceServer.Runtime.Catalog;
> using Microsoft.CommerceServer.Runtime.Diagnostics;
> using Microsoft.CommerceServer.Runtime.Caching;
> using Microsoft.CommerceServer.Interop;
> using Microsoft.CommerceServer.Interop.Orders;)
>
> Also I am not able to get the transaction context, which I feel is very
> much required to access shipments.
> Any pointer to this will be of much help.
>
> Regards,
> Jimut.
>
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com