Basket.Add(PurchaseOrder) misbehaviour ?
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
Basket.Add(PurchaseOrder) misbehaviour ?

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





Posted: Tue Oct 26, 2004 9:11 pm    Post subject: Basket.Add(PurchaseOrder) misbehaviour ? Reply with quote

I was using this call (Basket.Add(PurchaseOrder)) to implement a Order
Modification processs and found that post this call, calls to the total &
checkout pipelines failed with component execution errors from standard
components.

Upon detailed investigation I found that this call copies all
keys/dictionaries from the PurchaseOrder into the Basket EXCEPT the
"Addresses" dictionary. Because of this address id's are available inder
billing_address and shipping address but the "Splitter" component failed to
create a "Shipments" dictionary with no sub-entries. This cause the
multi-ship architecture components to fail.

Can someone please verify this. Is this behaviour by design or a bug ?

Regards.
--
Ravi Shankar
Back to top
Jason Xu
Guest





Posted: Wed Oct 27, 2004 9:22 pm    Post subject: RE: Basket.Add(PurchaseOrder) misbehaviour ? Reply with quote

Thansk for your message Ravi.

I am not very clear about your question.

Is this the issue - the addess dictionary is not added to basket when you
call Basket.Add(PurchaseOrder)?

The Splitter does not work you think is because there is no address
dictionary passed into the pipeline, right?

Just want to clarify the question first.

Thanks,
Jason

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.

--------------------
Thread-Topic: Basket.Add(PurchaseOrder) misbehaviour ?
thread-index: AcS7dmOx9rICZE55TbiQk3EIKtAXNQ==
X-WBNR-Posting-Host: 15.211.169.100
From: =?Utf-8?B?UmF2aSBTaGFua2Fy?= <shankycheil@newsgroup.nospam>
Subject: Basket.Add(PurchaseOrder) misbehaviour ?
Date: Tue, 26 Oct 2004 09:11:02 -0700
Lines: 17
Message-ID: <6B336122-5371-4A85-8981-50783A26150E@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.commerceserver.general:15023
X-Tomcat-NG: microsoft.public.commerceserver.general

I was using this call (Basket.Add(PurchaseOrder)) to implement a Order
Modification processs and found that post this call, calls to the total &
checkout pipelines failed with component execution errors from standard
components.

Upon detailed investigation I found that this call copies all
keys/dictionaries from the PurchaseOrder into the Basket EXCEPT the
"Addresses" dictionary. Because of this address id's are available inder
billing_address and shipping address but the "Splitter" component failed to
create a "Shipments" dictionary with no sub-entries. This cause the
multi-ship architecture components to fail.

Can someone please verify this. Is this behaviour by design or a bug ?

Regards.
--
Ravi Shankar
Back to top
Ravi Shankar
Guest





Posted: Wed Oct 27, 2004 9:55 pm    Post subject: RE: Basket.Add(PurchaseOrder) misbehaviour ? Reply with quote

Yes on both counts Jason.

Because the address dictionary was not copied into the basket from the
purchaseorder object.. in the total pipeline the splitter components created
an empty shipments directory which cause a lot of other components to fail.
That is how I backtracked to notice that the addresses dictionary was not
copied :)

Regards.

"Jason Xu" wrote:

Quote:
Thansk for your message Ravi.

I am not very clear about your question.

Is this the issue - the addess dictionary is not added to basket when you
call Basket.Add(PurchaseOrder)?

The Splitter does not work you think is because there is no address
dictionary passed into the pipeline, right?

Just want to clarify the question first.

Thanks,
Jason

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.

--------------------
Thread-Topic: Basket.Add(PurchaseOrder) misbehaviour ?
thread-index: AcS7dmOx9rICZE55TbiQk3EIKtAXNQ==
X-WBNR-Posting-Host: 15.211.169.100
From: =?Utf-8?B?UmF2aSBTaGFua2Fy?= <shankycheil@newsgroup.nospam
Subject: Basket.Add(PurchaseOrder) misbehaviour ?
Date: Tue, 26 Oct 2004 09:11:02 -0700
Lines: 17
Message-ID: <6B336122-5371-4A85-8981-50783A26150E@microsoft.com
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.commerceserver.general:15023
X-Tomcat-NG: microsoft.public.commerceserver.general

I was using this call (Basket.Add(PurchaseOrder)) to implement a Order
Modification processs and found that post this call, calls to the total &
checkout pipelines failed with component execution errors from standard
components.

Upon detailed investigation I found that this call copies all
keys/dictionaries from the PurchaseOrder into the Basket EXCEPT the
"Addresses" dictionary. Because of this address id's are available inder
billing_address and shipping address but the "Splitter" component failed to
create a "Shipments" dictionary with no sub-entries. This cause the
multi-ship architecture components to fail.

Can someone please verify this. Is this behaviour by design or a bug ?

Regards.
--
Ravi Shankar
Back to top
Jason Xu
Guest





Posted: Fri Oct 29, 2004 3:04 am    Post subject: RE: Basket.Add(PurchaseOrder) misbehaviour ? Reply with quote

This is by design. When calling Basket.Add(PurchaseOrder), Addresses are
not copied.

Thanks,
Jason

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.
--------------------
Thread-Topic: Basket.Add(PurchaseOrder) misbehaviour ?
thread-index: AcS8RbSWQMnZi35FSSuIvpxW6xg9Tw==
X-WBNR-Posting-Host: 15.211.169.100
From: =?Utf-8?B?UmF2aSBTaGFua2Fy?= <shankycheil@newsgroup.nospam>
References: <6B336122-5371-4A85-8981-50783A26150E@microsoft.com>
<Dm5OhEEvEHA.2384@cpmsftngxa10.phx.gbl>
Subject: RE: Basket.Add(PurchaseOrder) misbehaviour ?
Date: Wed, 27 Oct 2004 09:55:04 -0700
Lines: 73
Message-ID: <B8DAAAD9-343C-4D6D-ACE6-C754D6A81297@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 8bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.commerceserver.general:15030
X-Tomcat-NG: microsoft.public.commerceserver.general

Yes on both counts Jason.

Because the address dictionary was not copied into the basket from the
purchaseorder object.. in the total pipeline the splitter components
created
an empty shipments directory which cause a lot of other components to fail.
That is how I backtracked to notice that the addresses dictionary was not
copied :)

Regards.

"Jason Xu" wrote:

Quote:
Thansk for your message Ravi.

I am not very clear about your question.

Is this the issue - the addess dictionary is not added to basket when you
call Basket.Add(PurchaseOrder)?

The Splitter does not work you think is because there is no address
dictionary passed into the pipeline, right?

Just want to clarify the question first.

Thanks,
Jason

This posting is provided "AS IS" with no warranties, and confers no
rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All
rights
reserved.

--------------------
Thread-Topic: Basket.Add(PurchaseOrder) misbehaviour ?
thread-index: AcS7dmOx9rICZE55TbiQk3EIKtAXNQ==
X-WBNR-Posting-Host: 15.211.169.100
From: =?Utf-8?B?UmF2aSBTaGFua2Fy?= <shankycheil@newsgroup.nospam
Subject: Basket.Add(PurchaseOrder) misbehaviour ?
Date: Tue, 26 Oct 2004 09:11:02 -0700
Lines: 17
Message-ID: <6B336122-5371-4A85-8981-50783A26150E@microsoft.com
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.commerceserver.general:15023
X-Tomcat-NG: microsoft.public.commerceserver.general

I was using this call (Basket.Add(PurchaseOrder)) to implement a Order
Modification processs and found that post this call, calls to the total &
checkout pipelines failed with component execution errors from standard
components.

Upon detailed investigation I found that this call copies all
keys/dictionaries from the PurchaseOrder into the Basket EXCEPT the
"Addresses" dictionary. Because of this address id's are available inder
billing_address and shipping address but the "Splitter" component failed
to
create a "Shipments" dictionary with no sub-entries. This cause the
multi-ship architecture components to fail.

Can someone please verify this. Is this behaviour by design or a bug ?

Regards.
--
Ravi Shankar
Back to top
Ravi Shankar
Guest





Posted: Fri Oct 29, 2004 1:30 pm    Post subject: RE: Basket.Add(PurchaseOrder) misbehaviour ? Reply with quote

Any specific Reason ?
OR
Is it that one is supposed to load them afresh from the profiles ?
The ID's for addresses as in Billing_address & shipping address are retained.

Regards.

"Jason Xu" wrote:

Quote:
This is by design. When calling Basket.Add(PurchaseOrder), Addresses are
not copied.

Thanks,
Jason

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.
--------------------
Thread-Topic: Basket.Add(PurchaseOrder) misbehaviour ?
thread-index: AcS8RbSWQMnZi35FSSuIvpxW6xg9Tw==
X-WBNR-Posting-Host: 15.211.169.100
From: =?Utf-8?B?UmF2aSBTaGFua2Fy?= <shankycheil@newsgroup.nospam
References: <6B336122-5371-4A85-8981-50783A26150E@microsoft.com
Dm5OhEEvEHA.2384@cpmsftngxa10.phx.gbl
Subject: RE: Basket.Add(PurchaseOrder) misbehaviour ?
Date: Wed, 27 Oct 2004 09:55:04 -0700
Lines: 73
Message-ID: <B8DAAAD9-343C-4D6D-ACE6-C754D6A81297@microsoft.com
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 8bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.commerceserver.general:15030
X-Tomcat-NG: microsoft.public.commerceserver.general

Yes on both counts Jason.

Because the address dictionary was not copied into the basket from the
purchaseorder object.. in the total pipeline the splitter components
created
an empty shipments directory which cause a lot of other components to fail.
That is how I backtracked to notice that the addresses dictionary was not
copied :)

Regards.

"Jason Xu" wrote:

Thansk for your message Ravi.

I am not very clear about your question.

Is this the issue - the addess dictionary is not added to basket when you
call Basket.Add(PurchaseOrder)?

The Splitter does not work you think is because there is no address
dictionary passed into the pipeline, right?

Just want to clarify the question first.

Thanks,
Jason

This posting is provided "AS IS" with no warranties, and confers no
rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All
rights
reserved.

--------------------
Thread-Topic: Basket.Add(PurchaseOrder) misbehaviour ?
thread-index: AcS7dmOx9rICZE55TbiQk3EIKtAXNQ==
X-WBNR-Posting-Host: 15.211.169.100
From: =?Utf-8?B?UmF2aSBTaGFua2Fy?= <shankycheil@newsgroup.nospam
Subject: Basket.Add(PurchaseOrder) misbehaviour ?
Date: Tue, 26 Oct 2004 09:11:02 -0700
Lines: 17
Message-ID: <6B336122-5371-4A85-8981-50783A26150E@microsoft.com
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.commerceserver.general:15023
X-Tomcat-NG: microsoft.public.commerceserver.general

I was using this call (Basket.Add(PurchaseOrder)) to implement a Order
Modification processs and found that post this call, calls to the total &
checkout pipelines failed with component execution errors from standard
components.

Upon detailed investigation I found that this call copies all
keys/dictionaries from the PurchaseOrder into the Basket EXCEPT the
"Addresses" dictionary. Because of this address id's are available inder
billing_address and shipping address but the "Splitter" component failed
to
create a "Shipments" dictionary with no sub-entries. This cause the
multi-ship architecture components to fail.

Can someone please verify this. Is this behaviour by design or a bug ?

Regards.
--
Ravi Shankar

Back to top
Jason Xu
Guest





Posted: Tue Nov 02, 2004 4:33 am    Post subject: RE: Basket.Add(PurchaseOrder) misbehaviour ? Reply with quote

Basket.Add(OrderPurchase) is designed to copy LineItems only. No other data
should be copied.

Do you have a PipelineInfo object defined before your run the basket
pipeline?

Thanks,
Jason

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.
--------------------
Thread-Topic: Basket.Add(PurchaseOrder) misbehaviour ?
thread-index: AcS9kX7xJFqaQovaQTiL8w9wDiqAwg==
X-WBNR-Posting-Host: 15.211.169.100
From: =?Utf-8?B?UmF2aSBTaGFua2Fy?= <shankycheil@newsgroup.nospam>
References: <6B336122-5371-4A85-8981-50783A26150E@microsoft.com>
<Dm5OhEEvEHA.2384@cpmsftngxa10.phx.gbl>
<B8DAAAD9-343C-4D6D-ACE6-C754D6A81297@microsoft.com>
<5FCrMoTvEHA.3152@cpmsftngxa10.phx.gbl>
Subject: RE: Basket.Add(PurchaseOrder) misbehaviour ?
Date: Fri, 29 Oct 2004 01:30:07 -0700
Lines: 122
Message-ID: <59522377-0F0E-4C4F-8D8B-A1AE1A286CC7@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 8bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.commerceserver.general:15037
X-Tomcat-NG: microsoft.public.commerceserver.general

Any specific Reason ?
OR
Is it that one is supposed to load them afresh from the profiles ?
The ID's for addresses as in Billing_address & shipping address are
retained.

Regards.

"Jason Xu" wrote:

Quote:
This is by design. When calling Basket.Add(PurchaseOrder), Addresses are
not copied.

Thanks,
Jason

This posting is provided "AS IS" with no warranties, and confers no
rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All
rights
reserved.
--------------------
Thread-Topic: Basket.Add(PurchaseOrder) misbehaviour ?
thread-index: AcS8RbSWQMnZi35FSSuIvpxW6xg9Tw==
X-WBNR-Posting-Host: 15.211.169.100
From: =?Utf-8?B?UmF2aSBTaGFua2Fy?= <shankycheil@newsgroup.nospam
References: <6B336122-5371-4A85-8981-50783A26150E@microsoft.com
Dm5OhEEvEHA.2384@cpmsftngxa10.phx.gbl
Subject: RE: Basket.Add(PurchaseOrder) misbehaviour ?
Date: Wed, 27 Oct 2004 09:55:04 -0700
Lines: 73
Message-ID: <B8DAAAD9-343C-4D6D-ACE6-C754D6A81297@microsoft.com
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 8bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.commerceserver.general:15030
X-Tomcat-NG: microsoft.public.commerceserver.general

Yes on both counts Jason.

Because the address dictionary was not copied into the basket from the
purchaseorder object.. in the total pipeline the splitter components
created
an empty shipments directory which cause a lot of other components to
fail.
That is how I backtracked to notice that the addresses dictionary was not
copied :)

Regards.

"Jason Xu" wrote:

Thansk for your message Ravi.

I am not very clear about your question.

Is this the issue - the addess dictionary is not added to basket when
you
call Basket.Add(PurchaseOrder)?

The Splitter does not work you think is because there is no address
dictionary passed into the pipeline, right?

Just want to clarify the question first.

Thanks,
Jason

This posting is provided "AS IS" with no warranties, and confers no
rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All
rights
reserved.

--------------------
Thread-Topic: Basket.Add(PurchaseOrder) misbehaviour ?
thread-index: AcS7dmOx9rICZE55TbiQk3EIKtAXNQ==
X-WBNR-Posting-Host: 15.211.169.100
From: =?Utf-8?B?UmF2aSBTaGFua2Fy?= <shankycheil@newsgroup.nospam
Subject: Basket.Add(PurchaseOrder) misbehaviour ?
Date: Tue, 26 Oct 2004 09:11:02 -0700
Lines: 17
Message-ID: <6B336122-5371-4A85-8981-50783A26150E@microsoft.com
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.commerceserver.general:15023
X-Tomcat-NG: microsoft.public.commerceserver.general

I was using this call (Basket.Add(PurchaseOrder)) to implement a Order
Modification processs and found that post this call, calls to the total
&
checkout pipelines failed with component execution errors from standard
components.

Upon detailed investigation I found that this call copies all
keys/dictionaries from the PurchaseOrder into the Basket EXCEPT the
"Addresses" dictionary. Because of this address id's are available
inder
billing_address and shipping address but the "Splitter" component
failed
to
create a "Shipments" dictionary with no sub-entries. This cause the
multi-ship architecture components to fail.

Can someone please verify this. Is this behaviour by design or a bug ?

Regards.
--
Ravi Shankar

Back to top
Ravi Shankar
Guest





Posted: Tue Nov 02, 2004 2:14 pm    Post subject: RE: Basket.Add(PurchaseOrder) misbehaviour ? Reply with quote

Actually it copies the OrderForm object also. The bevaiour is flaky if an
orderform exists.. Anyways, I copied all the missing items across into the
cart and then reran the total pipeline to recreate the totals.

Thanks.

"Jason Xu" wrote:

Quote:
Basket.Add(OrderPurchase) is designed to copy LineItems only. No other data
should be copied.

Do you have a PipelineInfo object defined before your run the basket
pipeline?

Thanks,
Jason

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.
--------------------
Thread-Topic: Basket.Add(PurchaseOrder) misbehaviour ?
thread-index: AcS9kX7xJFqaQovaQTiL8w9wDiqAwg==
X-WBNR-Posting-Host: 15.211.169.100
From: =?Utf-8?B?UmF2aSBTaGFua2Fy?= <shankycheil@newsgroup.nospam
References: <6B336122-5371-4A85-8981-50783A26150E@microsoft.com
Dm5OhEEvEHA.2384@cpmsftngxa10.phx.gbl
B8DAAAD9-343C-4D6D-ACE6-C754D6A81297@microsoft.com
5FCrMoTvEHA.3152@cpmsftngxa10.phx.gbl
Subject: RE: Basket.Add(PurchaseOrder) misbehaviour ?
Date: Fri, 29 Oct 2004 01:30:07 -0700
Lines: 122
Message-ID: <59522377-0F0E-4C4F-8D8B-A1AE1A286CC7@microsoft.com
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 8bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.commerceserver.general:15037
X-Tomcat-NG: microsoft.public.commerceserver.general

Any specific Reason ?
OR
Is it that one is supposed to load them afresh from the profiles ?
The ID's for addresses as in Billing_address & shipping address are
retained.

Regards.

"Jason Xu" wrote:

This is by design. When calling Basket.Add(PurchaseOrder), Addresses are
not copied.

Thanks,
Jason

This posting is provided "AS IS" with no warranties, and confers no
rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All
rights
reserved.
--------------------
Thread-Topic: Basket.Add(PurchaseOrder) misbehaviour ?
thread-index: AcS8RbSWQMnZi35FSSuIvpxW6xg9Tw==
X-WBNR-Posting-Host: 15.211.169.100
From: =?Utf-8?B?UmF2aSBTaGFua2Fy?= <shankycheil@newsgroup.nospam
References: <6B336122-5371-4A85-8981-50783A26150E@microsoft.com
Dm5OhEEvEHA.2384@cpmsftngxa10.phx.gbl
Subject: RE: Basket.Add(PurchaseOrder) misbehaviour ?
Date: Wed, 27 Oct 2004 09:55:04 -0700
Lines: 73
Message-ID: <B8DAAAD9-343C-4D6D-ACE6-C754D6A81297@microsoft.com
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 8bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.commerceserver.general:15030
X-Tomcat-NG: microsoft.public.commerceserver.general

Yes on both counts Jason.

Because the address dictionary was not copied into the basket from the
purchaseorder object.. in the total pipeline the splitter components
created
an empty shipments directory which cause a lot of other components to
fail.
That is how I backtracked to notice that the addresses dictionary was not
copied :)

Regards.

"Jason Xu" wrote:

Thansk for your message Ravi.

I am not very clear about your question.

Is this the issue - the addess dictionary is not added to basket when
you
call Basket.Add(PurchaseOrder)?

The Splitter does not work you think is because there is no address
dictionary passed into the pipeline, right?

Just want to clarify the question first.

Thanks,
Jason

This posting is provided "AS IS" with no warranties, and confers no
rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All
rights
reserved.

--------------------
Thread-Topic: Basket.Add(PurchaseOrder) misbehaviour ?
thread-index: AcS7dmOx9rICZE55TbiQk3EIKtAXNQ==
X-WBNR-Posting-Host: 15.211.169.100
From: =?Utf-8?B?UmF2aSBTaGFua2Fy?= <shankycheil@newsgroup.nospam
Subject: Basket.Add(PurchaseOrder) misbehaviour ?
Date: Tue, 26 Oct 2004 09:11:02 -0700
Lines: 17
Message-ID: <6B336122-5371-4A85-8981-50783A26150E@microsoft.com
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.commerceserver.general:15023
X-Tomcat-NG: microsoft.public.commerceserver.general

I was using this call (Basket.Add(PurchaseOrder)) to implement a Order
Modification processs and found that post this call, calls to the total
&
checkout pipelines failed with component execution errors from standard
components.

Upon detailed investigation I found that this call copies all
keys/dictionaries from the PurchaseOrder into the Basket EXCEPT the
"Addresses" dictionary. Because of this address id's are available
inder
billing_address and shipping address but the "Splitter" component
failed
to
create a "Shipments" dictionary with no sub-entries. This cause the
multi-ship architecture components to fail.

Can someone please verify this. Is this behaviour by design or a bug ?

Regards.
--
Ravi Shankar



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