¿Why I lost the shipments that I created when the total pipeline runs?


hi all,


i'm using startersite, , in the  payment wizard when client choose singleshipment, create shipment , assign shippingmethodid , shippingmethodname, , clasified products need , remove products shipmentcollection(obviously , there 1 shipment) of orderform , add products need in new shipment add shipmentcollection.

when debug application can see shipmentcollection of orderform have 2 shipments should have. when application runs totalpipeline lost other shipment created.... after pipeline ends check shipmentcollection , there shipment, , debug component inside totalpipeline created , there 1 shipment. ¿what happening?


thanks!

jotamarios

the commerce.splitter pipeline component in total pipeline doesn't evaluate current shipments , lineitem indexes or methodids. evaluates shippingmethodid, shippingaddressid on lineitems in order create shipments while running total pipeline.

therefore, if have same shippingmethodid , shippingaddressid on lineitems, 1 shipment after total pipeline run. responsible setting lineitemindexes.

your business logic excluded should set lineitems shippingmethodid of shippingmethod indexed @ 1. exclude lineitemindexes.remove/add logic you sent in example and see additional shipment after run total pipeline.

enjoy.


mark mccrimmon - www.devwerx.com - chicago based commerce server experts


Commerce Server  >  Commerce Server 2009



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

BizTalk Server 2013 Azure VM Log Shipping and HA for hosts

How to send non-standard Content-Type header ?