Commit Graph
231 Commits
Author SHA1 Message Date
David E. Jones c592fb3dc4 Added max retries because is now called async and persisted
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@564073 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 02:02:01 +00:00
David E. Jones b00539565e 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/specialpurpose@564072 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 02:01:30 +00:00
David E. Jones 7648bfa590 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/specialpurpose@563713 13f79535-47bb-0310-9956-ffa450edef68
2007-08-08 01:03:00 +00:00
Anil Patel c87924d2d4 Improved timestamp parsing using utility method.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@563645 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 20:30:17 +00:00
Anil Patel 9e50439226 clean ups based on code recent code pattern changes in other related services.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@563644 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 20:26:13 +00:00
Anil Patel 07cfb5e203 also campare with lower case strings, just to get effect of ingnore case.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@563412 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 07:37:18 +00:00
Anil Patel ccf0714f34 type error fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@563401 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 06:23:24 +00:00
David E. Jones c654e95e23 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/specialpurpose@563381 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 03:22:55 +00:00
Anil Patel df25f467dc Storing carrierPartyId in ShipmentRouteSegment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@563368 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 01:53:46 +00:00
David E. Jones 11dc54ccd5 Insignificant import cleanups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@563363 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 01:07:57 +00:00
Anil Patel c21e72a2aa Added status change history saving and implemented TODO in routing service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@563292 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 21:50:40 +00:00
David E. Jones 61d317fb9c Added placeholders for a couple of new properties
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@563231 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 19:27:24 +00:00
Anil Patel ced61906d1 Removed shippingFacilityId and cleaned up inventory reservation code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@563208 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 18:01:59 +00:00
David E. Jones d427d5b792 Small change, added comment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@563022 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 04:04:00 +00:00
David E. Jones 98848965ff 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/specialpurpose@563018 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 03:38:13 +00:00
David E. Jones 8b3d3b157c 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/specialpurpose@563017 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 03:33:58 +00:00
David E. Jones 979fdb5a93 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/specialpurpose@563016 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 03:32:19 +00:00
David E. Jones a842e4bae7 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/specialpurpose@562999 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 01:57:29 +00:00
David E. Jones 5eb873a787 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/specialpurpose@562991 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 23:55:33 +00:00
Jacques Le Roux 2b424eecad 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/specialpurpose@562876 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 14:50:49 +00:00
David E. Jones 1d9afd8de2 Added temporary log message to show incoming message text, just in case it blows up somewhere (quite a few bugs in processing so far); also added check for empty verb/noun to avoid NPEs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@562836 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 05:48:11 +00:00
Anil Patel f7ca17d190 Support for possible different facility for serialized inventory. Also if the serialized Inventory shipped from partner warehouse does not exist in our system then create it instead of returning error.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@562755 13f79535-47bb-0310-9956-ffa450edef68
2007-08-04 18:59:41 +00:00
Jacques Le Roux 9e4495963d A patch from Bilgin Ibryam "POS order status error" (https://issues.apache.org/jira/browse/OFBIZ-1176)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@562693 13f79535-47bb-0310-9956-ffa450edef68
2007-08-04 11:15:14 +00:00
Anil Patel cd39122c36 fixed namespace prefix
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@562670 13f79535-47bb-0310-9956-ffa450edef68
2007-08-04 07:26:52 +00:00
Anil Patel 7e3d4d8c5c Removed a unused field from context.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@562664 13f79535-47bb-0310-9956-ffa450edef68
2007-08-04 06:12:51 +00:00
Anil Patel a4e8557972 Removed a unused field from context.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@562660 13f79535-47bb-0310-9956-ffa450edef68
2007-08-04 05:14:08 +00:00
Anil Patel 74e41b0c23 little clean up as In ofbiz we expect one serial number per InventoryItem.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@562659 13f79535-47bb-0310-9956-ffa450edef68
2007-08-04 04:57:06 +00:00
David E. Jones a534940437 Fairly small change so that shipmentId is saved with the OagisMessageInfo, so we know which we're dealing with!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@562645 13f79535-47bb-0310-9956-ffa450edef68
2007-08-04 03:00:03 +00:00
David E. Jones 76f06030c8 oagisMessageHandlerTest commented out by default for better security
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@562643 13f79535-47bb-0310-9956-ffa450edef68
2007-08-04 02:14:07 +00:00
David E. Jones 50beafe9fb Added code to set status and receivedDate and update status; other small fixes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@562610 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 23:09:05 +00:00
David E. Jones 7bb73739a8 Added code to handle bad shipmentIds coming in and return an error message instead of an NPE for the Show Shipment incoming message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@562591 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 21:37:12 +00:00
David E. Jones 536eb96a3a A few more error handling and development mode things
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@562461 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 13:29:40 +00:00
David E. Jones 84b6830ea8 Some code updates to handle errors better and save interim information, and clean up how certain things flow and are done for more consistent operation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@562455 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 13:05:18 +00:00
David E. Jones ce251d18b7 Updates message statuses as part of actually starting to use them
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@562454 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 13:04:12 +00:00
David E. Jones 64d52966d2 Changes to make sure OagisMessageInfo services are run in a new transaction for saving interim results
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@562449 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 13:02:46 +00:00
David E. Jones 20c0839855 Some important updates, well mostly just removing problematic foreign keys
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@562448 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 13:00:20 +00:00
David E. Jones 9359984651 Bit of change to figure out what happens when partial files are received; also a few error handling improvements
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@562322 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 03:55:28 +00:00
David E. Jones 8c6c172360 Changed to actually use settings from oagis.properties, and if it doesn't find an output mode then to return an error instead of the funny NPE
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@562298 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 00:17:25 +00:00
David E. Jones 868e2bd7ad Changed default, though still commented out, to run oagisProcessShipment async
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@562292 13f79535-47bb-0310-9956-ffa450edef68
2007-08-02 23:53:35 +00:00
David E. Jones 90177aa9c7 Changed to always use the system user, bad if it tries to use the customer which is what would happen on an eca trigger
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@562290 13f79535-47bb-0310-9956-ffa450edef68
2007-08-02 23:37:27 +00:00
David E. Jones d1a9fcd780 Changed to only retry 3 times for saving message info
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@562289 13f79535-47bb-0310-9956-ffa450edef68
2007-08-02 23:26:44 +00:00
David E. Jones a517fdf622 A change and a note for future change related to receiving duplicate messages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@562284 13f79535-47bb-0310-9956-ffa450edef68
2007-08-02 23:10:09 +00:00
David E. Jones 152f9380f9 Small formatting change
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@562283 13f79535-47bb-0310-9956-ffa450edef68
2007-08-02 23:02:05 +00:00
David E. Jones 52071482b5 Small changes for better error handling
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@562279 13f79535-47bb-0310-9956-ffa450edef68
2007-08-02 22:24:09 +00:00
David E. Jones 4462c491ed Small changes for better error handling
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@562278 13f79535-47bb-0310-9956-ffa450edef68
2007-08-02 22:23:38 +00:00
Jacques Le Roux 34a5926795 A patch from Arno Peters "javadoc creation broken" (https://issues.apache.org/jira/browse/OFBIZ-1162)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@560546 13f79535-47bb-0310-9956-ffa450edef68
2007-07-28 13:42:58 +00:00
David E. Jones 3d7e9098a1 Fixed entity def for error entity to match type of task field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@560189 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 10:40:47 +00:00
Anil Patel 9caae656e2 improvements to how date is parsed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@560137 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 08:23:19 +00:00
Anil Patel f68d8c32fc Fix the name space prefix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@560130 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 06:59:27 +00:00
David E. Jones 3be3537100 Changed back to support for serialized and non-serialized inventory for a given product, but now filters by inventoryItemTypeId to make sure there is no double counting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@560055 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 01:36:57 +00:00