Multiple Shipment
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Multiple Shipment

 
Post new topic   Reply to topic    Windows Server Forum Index -> Commerce Server
Author Message
Jimut
Guest





Posted: Thu Dec 09, 2004 9:23 am    Post subject: Multiple Shipment Reply with quote

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.
Back to top
Ravi Shankar
Guest





Posted: Fri Dec 17, 2004 5:49 pm    Post subject: RE: Multiple Shipment Reply with quote

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:

Quote:
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.


Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Commerce Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB