| Author |
Order adapter isue
|
|
| Stephane 2006-07-26, 7:19 am |
| I’m trying to use the Order adapter to save the basket XML file received in
BTS into CS. I have configured the adapter using the message type “Accept
Baskets” with the default pipeline “acceptbasket.pcf”.
When I submit the message the Commerce Pipeline is executed but the order is
not saved. I have no error in the Pipeline log file, the pipeline is
executed and the inventory is updated also. No messages in the event log or
in BTS. If I remove all the component from the pipeline then my order is
successfully saved in CS.
I have notice in the pipeline log some component returning “IErrorLevel=2”,
not sure if this is the issue.
Thanks
Stephane
| |
| Alan Faulkner 2006-07-27, 7:23 am |
|
Hey Stephane,
What's the AcceptBasket Send Adapter's response message look like? Do you
have response message from the adapter in this case? Most likely, the
pipeline is issuing a warning, which will cause the order not to be saved.
The response from the adapter should contain "Basket_Errors" or
"Purchase_Error" in the response.
Let me know,
Thanks
Alan
http://blogs.msdn.com/akfaulkner
This posting is provided "AS IS" with no warranties, and confers no rights
| |
| Stephane 2006-07-29, 7:23 am |
| Thanks for the info I didn't know that the XML received was including the
errors from the pipeline.
I fixed all the errors but now when I set the Flag "Save Baskets as POs" to
True My PO is saved correctly but if I set the flag to false the Basket is
not saved. There is no errors in the XML received from the adapter and no
error in the event log.
How can I save my basket has a basket object and not has a PO using the
adapter?
Thanks
stephane
| |
| Alan Faulkner 2006-07-29, 7:23 am |
|
Great to hear that you fixed the problem. The AcceptBasket is only meant
to run the Basket through the configured pipeline and either return the
Basket Xml or Save it as a PurchaseOrder (when SaveAsPO is true). You
cannot save the Basket through this AcceptBasket scenario. AcceptBasket
was meant to import Orders while running the associated pipeline for
verification or just for verifying the Basket (when SaveForPO is false).
I hope this helps and let me know if you need anything else.
Thanks
Alan
http://blogs.msdn.com/akfaulkner
This posting is provided "AS IS" with no warranties, and confers no rights
|
|
|
|