Problem with custom Tax component
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
Problem with custom Tax component

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





Posted: Fri Feb 11, 2005 6:48 am    Post subject: Problem with custom Tax component Reply with quote

Hi,

We have built a custom Tax component. We update the values for
'_cy_tax_total' after some custom calculation.

The component is running fine with execution of total pipeline. In certain
cases as per the business rule I have to rerun this pipeline. At this stage
I am facing the following error :
---------------
Component Execution failed for component[0x6] hr: 0x80004005 ProgID:
Commerce.RequiredTaxCy.1 Error: '_cy_tax_total' and '_tax_total' are
inconsistent. This is most likely caused by running a legacy pipeline
component in the same stage as a newer pipeline component without proper
sychronization. Consult the documentation for more information.
(orderform=default
----

Neither am I getting any further documentation of this error. Why should I
bother about the _tax_total variables when I am not using the anywhere. I
am using only CS2002.

Pls provide any pointer for this error.

Regards,
Jimut.
Back to top
Vinod Kumar[MSFT]
Guest





Posted: Wed Feb 16, 2005 11:17 pm    Post subject: RE: Problem with custom Tax component Reply with quote

It seems that your component writes the _cy_tax_total key but does not write the _tax_total key. Both keys are same with the difference in format of data. _tax_total is for site server backward compatibility mode,
where currency type was not available so the value was put in after multiplying it with a precision constant (i.e. 100, 1000). When you are re-running the pipeline Commerce.RequiredTaxCy component validates the
synchronization of both keys but finds that both are set to different values and throws exception. You should try to set _tax_total key also in your component. That should fix the problem.

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2002 Microsoft Corporation. All rights
reserved.
--------------------
From: "Jimut" <jimutbasa@yahoo.com>
Newsgroups: microsoft.public.commerceserver.general
Subject: Problem with custom Tax component
Date: Thu, 10 Feb 2005 23:26:50 -0500
Organization: www.talkaboutsoftware.com
Message-ID: <9b27b3f5ae47f11436157f65dd16e291@localhost.talkaboutsoftware.com>
X-Newsreader: www.talkaboutsoftware.com
Content-Type: text/plain;
X-Complaints-To: abuse@supernews.com
Lines: 27
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-online.de!news.glorb.com!sn-xit-04!sn-xit-08!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.commerceserver.general:2199
X-Tomcat-NG: microsoft.public.commerceserver.general

Hi,

We have built a custom Tax component. We update the values for
'_cy_tax_total' after some custom calculation.

The component is running fine with execution of total pipeline. In certain
cases as per the business rule I have to rerun this pipeline. At this stage
I am facing the following error :
---------------
Component Execution failed for component[0x6] hr: 0x80004005 ProgID:
Commerce.RequiredTaxCy.1 Error: '_cy_tax_total' and '_tax_total' are
inconsistent. This is most likely caused by running a legacy pipeline
component in the same stage as a newer pipeline component without proper
sychronization. Consult the documentation for more information.
(orderform=default
----

Neither am I getting any further documentation of this error. Why should I
bother about the _tax_total variables when I am not using the anywhere. I
am using only CS2002.

Pls provide any pointer for this error.

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