Commit Graph
1959 Commits
Author SHA1 Message Date
David E. Jones 9dafec29fd No real functionality change, but consolidated exception handling for simpler and more consistent handling and so that unexpected exceptions don't derail the whole processing process
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566576 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 08:53:06 +00:00
David E. Jones 92719ec8e0 More testing and review, changes mostly to add validation where it was missing based on new test cases
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566504 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 06:51:22 +00:00
David E. Jones 527dd592e7 A few updates to handle some of the todos, support for multiple returns per file just in case, still doesn't support partial return processing but there is a comment about that and it is closer (need status management on ReturnItems first); also resolved some todos like constraining InventoryItem by serial number search to also include productIds
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566461 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 01:10:52 +00:00
David E. Jones 5fd1bd0eeb A few cleanups to make variables more local, etc; added some notes about special cases that we still need to handle
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566078 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 09:40:10 +00:00
David E. Jones 227f14d995 Changed process incoming message services to save error status and the message handler that checks for existing messages to look for errors and allow the call to go through passing in a parameter so the services know they are processing an error retry, and changed them to handle that as needed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566020 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 04:27:59 +00:00
David E. Jones bdb5efe60d Added status transitions for error recovery and reprocessing an incoming message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566019 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 04:22:38 +00:00
Anil Patel 87dad904bc Now moving ReturnHeader to completed in two steps as per the StatusValidChange Rule.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565990 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 00:51:56 +00:00
Anil Patel 93058d98ce If returned non serial inventory is not selable then createPhysicalInventoryAndVariance.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565978 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 23:55:08 +00:00
David E. Jones 031c28ccff A couple of small fixes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565730 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 12:52:41 +00:00
David E. Jones 036545cf84 Added template changes for serial numbers, assuming they are filled in properly of course
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565719 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 11:48:49 +00:00
David E. Jones 152c1ddaaa Added code to fill in serial number; this stuff is fairly tricky and will only work in limited circumstances, but here is a start at least
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565718 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 11:48:22 +00:00
David E. Jones c3bbddd916 Big refactoring of oagisReceiveDelivery service and template to structure properly, save interim status information, prepare proper name data, other cleanups; still need to write code to get serial numbers for returned items, as much as possible anyway
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565689 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 10:07:35 +00:00
David E. Jones 2291e3c440 Small change for better error message when returnId not found
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565641 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 06:45:58 +00:00
David E. Jones 2cd20bdf56 Fixed error message, looks like it was a copy/paste error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565615 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 03:36:47 +00:00
David E. Jones 5c5ff33c63 A few cleanups, added code to make sure serial number exists or doesn't exist based on property configuration
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565613 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 03:23:19 +00:00
David E. Jones f3ea2417fb Commented out this code that isn't used for PO ack dels, just setting the statusId to a constant now
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565596 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 01:14:27 +00:00
David E. Jones ae09ab3cfe Whoops, didn't want that test data in there
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565580 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 00:00:41 +00:00
David E. Jones a015f448c8 Changed the error message handling for incoming messages and sending outgoing CBOD messages; also cleaned up the services.xml file to eliminate unused service defs and organize the services better
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565576 13f79535-47bb-0310-9956-ffa450edef68
2007-08-13 23:50:59 +00:00
Anil Patel 6d04dc4bf0 added list of inventoryItemIds in result.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565555 13f79535-47bb-0310-9956-ffa450edef68
2007-08-13 22:18:55 +00:00
Anil Patel ad1593d4bf changed service to trigger processShipment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564979 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 21:45:44 +00:00
Anil Patel 7e61c1cf30 changed service to trigger processShipment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564972 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 20:49:37 +00:00
Anil Patel 14e7c38083 check if orderItems are on back order before sending process shipment and put eca in place (commented by default) call processShipment when inventory is received.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564842 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 07:31:49 +00:00
David E. Jones f17fd3cd16 Fixed bad field name for processingStatusId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564709 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 18:27:49 +00:00
Anil Patel cfb78c09de improvement to follow pattern of other similar services.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564706 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 18:25:45 +00:00
David E. Jones 50e9a82de4 Some updates to save OagisMessageInfo sooner, then update status; note leaving receiveRmaAcknowledge method alone as Anil is working on that
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564606 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 14:33:24 +00:00
David E. Jones 5c2f328cfc Changed everything to use the system userlogin instead of accepting one in the context; for the integration there generally isnt a user or the user is a customer with no permissions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564601 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 14:12:13 +00:00
David E. Jones 09d38bc5ac Small improvement in error message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564570 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 12:08:30 +00:00
David E. Jones 4446b73ef4 Changed a few calls from the message router to by async persisted; a few fixes for the process shipment service to not send when there is no shipping address or when there are no physical items in the order
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564523 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 09:10:27 +00:00
David E. Jones 91cbccf8d8 Set max-retry on these services as they will largely be called async persisted
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564522 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 09:09:21 +00:00
Anil Patel bf78c41070 Added a eca rule for calling oagisReceiveDelivery service when ReturnHeader moves to ACCEPTED status.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564407 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 22:26:28 +00:00
David E. Jones f2c4f2833e Added max retries because is now called async and persisted
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564073 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 02:02:01 +00:00
David E. Jones a7e023baba Changed to call showShipment async and persisted to effect a retry that will help with certain errors
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564072 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 02:01:30 +00:00
David E. Jones 90c31c97a7 Changed show shipment to handle multiple inventory reservation records for a given item and to actually use the quantity passed in the message (which was being ignored), also some refactoring and more validation checks and improved (hopefully) error handling
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@563713 13f79535-47bb-0310-9956-ffa450edef68
2007-08-08 01:03:00 +00:00
Anil Patel be55983071 Improved timestamp parsing using utility method.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@563645 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 20:30:17 +00:00
Anil Patel 1e8e0373ff clean ups based on code recent code pattern changes in other related services.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@563644 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 20:26:13 +00:00
Anil Patel 911416b4fa also campare with lower case strings, just to get effect of ingnore case.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@563412 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 07:37:18 +00:00
Anil Patel c50d6456e2 type error fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@563401 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 06:23:24 +00:00
David E. Jones 61fd2c7e95 Changed to look for multiple DATAAREA elements instead of multiple INVENTORY elements as per the OAGIS XSD file; kind of a funny structure, but that's how it is in the XSD from OAGIS
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@563381 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 03:22:55 +00:00
Anil Patel e17d82d433 Storing carrierPartyId in ShipmentRouteSegment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@563368 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 01:53:46 +00:00
David E. Jones c55e9da272 Insignificant import cleanups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@563363 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 01:07:57 +00:00
Anil Patel bc910060dc Added status change history saving and implemented TODO in routing service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@563292 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 21:50:40 +00:00
David E. Jones 937f83c4ca Added placeholders for a couple of new properties
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@563231 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 19:27:24 +00:00
Anil Patel 54ea1f8277 Removed shippingFacilityId and cleaned up inventory reservation code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@563208 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 18:01:59 +00:00
David E. Jones 30abdaea9a Small change, added comment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@563022 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 04:04:00 +00:00
David E. Jones edc122e831 A few cleanups in outgoing message files; big reformatting in the ReceiveDelivery.ftl file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@563018 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 03:38:13 +00:00
David E. Jones 0d5683c5b7 Cleaned up date handling and now saving sentDates reported by integration partner; also fixed some issues with Confirm BOD processing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@563017 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 03:33:58 +00:00
David E. Jones d237f791d2 Added origRef field for Confirm BOD messages; changed error description to be a very-long as it will often be more than 255 characters
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@563016 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 03:32:19 +00:00
David E. Jones 0f5e508202 Changed to use the prefix we want; should eventually change to look up prefix in header, but for now this is consistent with the rest
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@562999 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 01:57:29 +00:00
David E. Jones 7c436dfb94 Changed this message from info to warning to make sure it gets logged; also considering that this might be good to leave on permanently to help handle the weird cases that always seem to come up with integrations
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@562991 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 23:55:33 +00:00
Jacques Le Roux c0cb07d6bf A patch from Marco Risaliti "Two build files of specialpurpose applications has still 1.4 has source tag" (https://issues.apache.org/jira/browse/OFBIZ-1184)
I suppose that this was copied and nobody did care since then.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@562876 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 14:50:49 +00:00