Adrian Crum
9a753b9865
Fixed a problem where service definitions were using "GenericValue" as attribute types, but that threw exceptions because the service definitions needed the full class name - "org.ofbiz.entity.GenericValue". The problem was reported in https://issues.apache.org/jira/browse/OFBIZ-2268 and https://issues.apache.org/jira/browse/OFBIZ-2311 .
...
I checked the commit logs and I don't see what changed to cause these services to stop working, so I took the shotgun approach and changed all occurrences of GenericValue service attributes.
If anyone has a better solution, please feel free to revert this commit and change it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765864 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 06:33:43 +00:00
Jacques Le Roux
b9c3ddef08
2d part and end of an effort to remove trailing spaces
...
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg )
Of course this effort to remove trailing spaces has no functional implications.
Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {
So these changes are also in this commit, should not be a problem anyway.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Jacques Le Roux
c5ec5c207a
manufacturing component
...
Following best practice.
Changed location="org/ofbiz/......... to location="component:// in the service location attribute.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755930 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 11:23:31 +00:00
Ashish Vijaywargiya
b3483f7ab3
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755830 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 04:26:20 +00:00
David E. Jones
874f02e9da
Manual merge of typecheckcleanup200810 branch as of rev 731346 in that branch, resolved all conflicts; with this BigDecimal is not the native type for many entity fields and is used for many calculations; some work is still needed in certain areas of the project but this covers the most critical ones; thanks especially to Scott for his work on this
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@731851 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 07:13:36 +00:00
Jacopo Cappellato
1a06fcea92
Small enhancements to the algorithm that computes start/end dates of production runs.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662779 13f79535-47bb-0310-9956-ffa450edef68
2008-06-03 13:11:22 +00:00
Jacopo Cappellato
a375370814
Added ability to specify the primare/alternative locations for materials when using the quick produce form in the production run screen.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@649532 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 13:24:47 +00:00
Jacopo Cappellato
cb86dcdd30
Implemented quick way to declare products produced by the production run: when the form is submitted, all the tasks are updated and, if required, materials are issued as well.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@648703 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 14:15:31 +00:00
Jacopo Cappellato
4b3889553d
Increased timeout (temp fix) to avoid errors when there are a lot of inventory item details.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@648170 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 08:27:37 +00:00
Jacopo Cappellato
5a0938e0f7
Enhanced the service that pulls materials for production runs out of inventory: some bug fixes plus the ability to specify if reservations can be overriden; useful for materials that are also sold.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@644805 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04 18:10:10 +00:00
Jacopo Cappellato
7eb08a6233
Misc fixes for the MRP algorithm (including two reported by Daniel Riquelme in the dev list).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@613599 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 16:31:05 +00:00
Jacopo Cappellato
fdd81e72eb
Refactored the entities (and supported code) that are used by the MRP. This is a step part of a more general review and enhancement of the manufacturing component.
...
There is still a lot to do.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603280 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 15:44:25 +00:00
Scott Gray
10961769e7
A few changes to the way auto marketing packages are handled:
...
1. No longer producing for the current order only, all orders are taken into account, so we're now trying to produce whatever will get the ATP back to zero.
2. Only producing what the available components will allow, ie. if we need to produce 10 units but only have enough components for 5 then that's all we'll produce.
3. Because of (1) no longer associating the production run to the order item via WorkOrderItemFulfillment.
4. Moved the call to createProductionRunForMktgPackage so that it is called when an order is edited as well (Fixes OFBIZ-714, the marketing package was decomposed when cancelling inventory reservations but not reproduced afterwards).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590004 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 09:34:58 +00:00
Jacopo Cappellato
42f265d970
Implemented service that computes the actual/real production run routing task's costs.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583200 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 15:47:23 +00:00
Jacopo Cappellato
3a4f47f3ef
Iissuance of materials for productions: added ability to specify a secondary location; added flag to return an error message if materials are not available.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@579947 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 08:49:35 +00:00
Jacopo Cappellato
e0cbf4c3fc
Misc cleanups and refactoring for the issueProductionRunComponent* services; added ability to specify the location from where the materials are issued.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577408 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 18:11:58 +00:00
Si Chen
e051142315
Improve service to changing production run task statuses: It should pass the original statusId before change so that SECAS can check whether there was an actual change in status.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567872 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 23:10:44 +00:00
Jacopo Cappellato
789fb40faf
Misc fixes and improvements to the services related to production run creation:
...
- better error handling
- fixes for npe
- better handling of production runs for products that can be manufactured or purchased: if a manual production run is issued, and we have enough information for the manufacturing process, ignore the supplier product info
- fix for a complex date related issue happening when a production run for a product with WIP (Work In Process) components was issued: from a requirement: the start date of the requirement could be wrong
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@563823 13f79535-47bb-0310-9956-ffa450edef68
2007-08-08 11:56:39 +00:00
David E. Jones
7d70c41c12
Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Jacopo Cappellato
44cac636e5
Implemented service to set the estimated ship dates for order items that need production, based on scheduled outstanding production runs.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@532685 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 09:48:00 +00:00
Jacopo Cappellato
df2a50a3c1
Added reasonEnumId field to the InventoryItemDetail entity to optionally categorize the reasons for the inventory item detail records. Added an example of its usage in the production run management screen.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530811 13f79535-47bb-0310-9956-ffa450edef68
2007-04-20 13:57:27 +00:00
Jacopo Cappellato
a699b8ecc3
Added 'description' field to the InventoryItemDetail entity; the field can be used to further describe the detail record (such as the reason for an issuance).
...
Implemented code and artifacts to populate this new field when production run issuances are done.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529589 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 13:05:44 +00:00
Jacopo Cappellato
d86168ea4a
Added optional parameter to the mrp for the default number of years offset for orders without dates.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@527134 13f79535-47bb-0310-9956-ffa450edef68
2007-04-10 13:35:38 +00:00
Jacopo Cappellato
3393200f7f
Implemented new production run's subscreen to view and add inventory item issuances.
...
Modified the existing issuance service to be more flexible.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@527108 13f79535-47bb-0310-9956-ffa450edef68
2007-04-10 12:41:46 +00:00
Si Chen
8a3973bdde
set long time out for initlowlevelcode service
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@524372 13f79535-47bb-0310-9956-ffa450edef68
2007-03-31 05:03:53 +00:00
Jacopo Cappellato
02f45a6255
Fix for bug in the service that updates the product's low level codes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523734 13f79535-47bb-0310-9956-ffa450edef68
2007-03-29 15:02:21 +00:00
Jacopo Cappellato
31ff833f32
Misc fixes to the way routings are retrived by the MRP.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523700 13f79535-47bb-0310-9956-ffa450edef68
2007-03-29 13:32:28 +00:00
Jacopo Cappellato
9cbc330a23
Now the mrp screen used to manually run the MRP will submit the job as async since it can be a long running job; the user can now monitor the status of the process from the new screen in the WorkEffort application.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@520324 13f79535-47bb-0310-9956-ffa450edef68
2007-03-20 08:40:33 +00:00
Jacopo Cappellato
65e8d7ef6b
Added to production runs support for serialized inventory creation.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@517636 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 10:33:43 +00:00
Jacopo Cappellato
0bc263c468
Improved the mrp event log with information about facilityId:
...
- new facilityId field in the InventoryEventPlanned entity
- removed the facility drop down box from the find event screen, now the correct facility is pulled by the event
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516875 13f79535-47bb-0310-9956-ffa450edef68
2007-03-11 08:56:45 +00:00
Jacopo Cappellato
c3f7bfd75d
Added support for facility groups in MRP: if a facility group is specified (instead of a facility id) the MRP will use the facilities in the group as warehouse facility (WAREHOUSE) and manufacturing facility (PLANT).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516798 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 22:24:01 +00:00
Jacopo Cappellato
13beb693df
Improved support for WIP (Work In Process) components in bill of materials, MRP and requirements.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516229 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 23:45:48 +00:00
Jacques Le Roux
dad67935f7
A (large) patch from Scott Gray "Update ASL header" ( https://issues.apache.org/jira/browse/OFBIZ-637 ).
...
I put also some svn:ignore for shark build and lib diretories and assetmaint/build
I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.
I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Si Chen
aae0ecf9a4
Turned off transactions for the getBOMTree because it does not store any data, and wrapping it in transactions caused timeouts when doing a large BOM
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@494910 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 18:04:56 +00:00
Jacopo Cappellato
a725fa0890
Applied patch from Ricardo Chavez (OFBIZ-343) to move some WorkEffort generic services from the manufacturing to the workeffort component.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@464572 13f79535-47bb-0310-9956-ffa450edef68
2006-10-16 17:13:37 +00:00
Jacopo Cappellato
abdf709cca
Applied patch that allows to override the default routing when a manual production run is created.
...
Thanks to Scott Gray for the patch (OFBIZ-190).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@464217 13f79535-47bb-0310-9956-ffa450edef68
2006-10-15 15:53:54 +00:00
Jacopo Cappellato
171b9372f9
New screens and services to set up multi fixed assests for routing tasks and production run tasks.
...
Thanks to Ricardo Chavez for contributing this patch (OFBIZ-343 with some minor mods I did while reviewing).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@464154 13f79535-47bb-0310-9956-ffa450edef68
2006-10-15 10:51:31 +00:00
Jacopo Cappellato
0f56db7b9e
Approved product requirements are now considered as approved purchase orders by the MRP.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@454305 13f79535-47bb-0310-9956-ffa450edef68
2006-10-09 08:06:05 +00:00
Si Chen
d0066ddc22
Comments on the marketing package production run service
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@451359 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 17:40:02 +00:00
Jacopo Cappellato
51d3e4c4f3
In the (long and slow) process of reviewing the design decisions taken when the manufacturing component was very young, I've removed now the two special types for the requirements generated by MRP.
...
Using the existing ones:
*) PRODUCT_REQUIREMENT for purchasing needs
*) INTERNAL_REQUIREMENT for production run needs
is a better way to go (better integration with the rest of the system etc...).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@434062 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 15:14:12 +00:00
Jacopo Cappellato
d8f8f58e0c
The "Approve Requirements" screen has been moved from the manufacturing to the order component.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431867 13f79535-47bb-0310-9956-ffa450edef68
2006-08-16 09:28:12 +00:00
Jacopo Cappellato
02a73406cf
Added out parameter useful for ecas.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429009 13f79535-47bb-0310-9956-ffa450edef68
2006-08-05 15:53:23 +00:00
Jacopo Cappellato
e8d67e9998
the decompose mkt pkg packages service now returns the list of inventory item ids created for the components.
...
Also, now the decompose task is no more a "production run" and it's status is set to COMPLETED.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429008 13f79535-47bb-0310-9956-ffa450edef68
2006-08-05 15:36:12 +00:00
Si Chen
afbfb1fd09
More comments about how standard cost services and the decompose inventory item service costing work
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428853 13f79535-47bb-0310-9956-ffa450edef68
2006-08-04 19:33:23 +00:00
Jacopo Cappellato
8980295790
Misc temp fixes for the mkt pkg stuff; this should fix the bug reported by Leon Torres and Si Chen (error receiving inventory); I still have to complete the mkt pkg processes related to cancelling an order item.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@421114 13f79535-47bb-0310-9956-ffa450edef68
2006-07-12 04:26:53 +00:00
Jacopo Cappellato
3480678f05
First version of the implementation of de-composition of new marketing packages.
...
When a return recive for a marketing package is done, a seca is run to decompose the marketing package.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@419201 13f79535-47bb-0310-9956-ffa450edef68
2006-07-05 10:17:18 +00:00
David E. Jones
94fe6d1cda
Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00