I'm integrating CS2K2 with our ERP app. I am trying to understand what
approach I should take with a couple of things.
First I've been changing orderstatus for completed orders and that
works well for orders that are canceled or ****pped but not very well
for orders which are short ****pped or returned.
I don't have Biztalk deployed, but I've been poking through the
Retail2002b2b code and if it's a good fit I'll use it, otherwise I'll
hand code.
I have an xml do***ent from our erp system which has each line and one
or more status's ( <line number="1" status="****pped"/><line number="1"
status="returned"/> etc.. ) and I can take that and update the status
in the appropriate lineitem
currentPurchaseOrder.OrderForms["Default"].LineItems[0]["Line_Status"]
= "****pped"
or something like that.
It seems to me that if I want to proceess a return I should add a line
item (with negative qty) to the purchaseorder and run my "total"
pipeline then save the po back to the ordersystem.
Does this make sense? Does anyone have any suggestions / guidance on
how to proceed?
How do other people do this? I have a vague notion that once a PO is
captured it shouldn't be modified, but rather canceled and a new one
created. Anyone?