Commit Graph
39 Commits
Author SHA1 Message Date
Gil Portenseigne 7c8aab3d9d Improved: Migrate checkCreateOrderRequirement service to groovy
(OFBIZ-9984)

This commit migrate also dependent method and remove createRequirementFromItemATP service
2020-06-19 16:59:00 +02:00
Suraj Khurana ffd6686220 Improved: Converted all RequirementRole related CRUD services from simple to entity-auto (#105)
(OFBIZ-11641)
It was using same permission for all CRUD operation, updated logical permissions corresponding to each action.
2020-05-08 09:31:53 +05:30
Suraj Khurana 112a5929e9 Improved: Converted all RequirementCustRequest related CRUD services from simple to entity-auto (#102)
(OFBIZ-11638)
Also, renamed associatedRequirementWithRequestItem to proper name and corrected occurences including tests.
2020-05-07 11:09:34 +05:30
Suraj Khurana a1647a7f63 Improved: Marked addRequirementTask as deprecated and make it entity-auto service as it was simply creating record of WorkRequirementFulfillment. (#100)
Improved: Marked addRequirementTask as deprecated and make it entity-auto service as it was simply creating record of WorkRequirementFulfillment.
(OFBIZ-11634)
We have already service createWorkRequirementFulfillment available to do this job so makring it as deprecated.

Thanks Jacques for review.
2020-05-02 17:26:24 +05:30
Suraj Khurana 1acfce32e3 Improved: RequirementStatus record should be created while creating or updating requirement.
(OFBIZ-10568)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1841654 13f79535-47bb-0310-9956-ffa450edef68
2018-09-22 06:34:34 +00:00
Jacques Le Roux f939ba4767 Improved: Replace deleteRequirement service by entity-auto
(OFBIZ-10400)

Also, introduces deleteRequirementAndRelated service which will delete all 
related entity records before deleting requirement. This new service is used 
in place of deleteRequirement for history compatibility reason

Thanks: Suraj

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1831542 13f79535-47bb-0310-9956-ffa450edef68
2018-05-14 07:46:50 +00:00
Jacques Le Roux 4099e7f049 Improved: Convert Requirement related services from simple to entity-auto
(OFBIZ-10395)

I was wrong to removes "useless" default optional="true" for auto-attributes.
What misleaded me is that optional="true" is the default for override attribute 
but it's the contrary for auto-attributes (which makes sense)

Also I used override instead of attribute to add the custRequestId and
custRequestItemSeqId fields :/


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1831501 13f79535-47bb-0310-9956-ffa450edef68
2018-05-12 21:15:30 +00:00
Jacques Le Roux c6e4737b03 Improved: Convert Requirement related services from simple to entity-auto
(OFBIZ-10395)

We missed the optional custRequestId and custRequestItemSeqId parameters

Also removes useless default optional="true" elsewhere

Thanks: Suraj and Rishi

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1831480 13f79535-47bb-0310-9956-ffa450edef68
2018-05-12 13:46:45 +00:00
Jacques Le Roux 8ec16c5b8d Improved: Convert Requirement related services from simple to entity-auto
(OFBIZ-10395)

There is nothing extra in these services and they can be made to entity-auto.

Thanks: Suraj Khurana

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1831467 13f79535-47bb-0310-9956-ffa450edef68
2018-05-12 11:23:29 +00:00
Arun Patidar 3584666dbc Implemented: Added CRUD services for ProdConfItemContentType, ProductAssocType, UserPrefGroupType, WebPreferenceType, WorkEffortAssocAttribute, WorkEffortAssocType, WorkEffortAssocTypeAttr, WorkEffortBilling, WorkEffortContentType, WorkEffortGoodStandardType, WorkEffortPurposeType, WorkEffortType, WorkEffortTypeAttr, WorkReqFulfType, UomType, UomGroup, ProductPricePurpose, ProductPriceType, ProductStoreGroupRole and ProductStoreGroupRollup entities.
(OFBIZ-8729)(OFBIZ-8730)(OFBIZ-8792)(OFBIZ-8793)(OFBIZ-8794)(OFBIZ-8795)(OFBIZ-8796)(OFBIZ-8797)(OFBIZ-8798)(OFBIZ-8799)(OFBIZ-8800)(OFBIZ-8801)(OFBIZ-8802)(OFBIZ-8803)(OFBIZ-8788)(OFBIZ-8789)(OFBIZ-8767)
(OFBIZ-8768)(OFBIZ-8769)(OFBIZ-8770)

Thanks: Chinmay Patidar, Amit Gadaley and Rishi Solanki for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1767965 13f79535-47bb-0310-9956-ffa450edef68
2016-11-03 20:30:52 +00:00
Arun Patidar c8b9825237 Implemented: Added CRUD services for RequirementCustRequest, OrderNotification, OrderProductPromoCode, OrderRequirementCommitment, OrderSummaryEntry, OrderTermAttribute, OrderType and OrderTypeAttr entities.
(OFBIZ-8313) (OFBIZ-8590) (OFBIZ-8591) (OFBIZ-8592) (OFBIZ-8593) (OFBIZ-8594) (OFBIZ-8595) (OFBIZ-8596)

Thanks: Amit Gadaley for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1767097 13f79535-47bb-0310-9956-ffa450edef68
2016-10-29 07:42:29 +00:00
Arun Patidar 815afa131e Implemented: Added CRUD services for QuoteTypeAttr, RejectionReason, ReorderGuideline, RequirementAttribute, RequirementBudgetAllocation, RequirementType, RequirementTypeAttr, RespondingParty, ReturnAdjustmentType and ReturnHeaderType entities.
(OFBIZ-8306) (OFBIZ-8308) (OFBIZ-8309) (OFBIZ-8310) (OFBIZ-8311) (OFBIZ-8314) (OFBIZ-8325) (OFBIZ-8326) (OFBIZ-8327) (OFBIZ-8328)

Thanks: Amit Gadaley for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1763306 13f79535-47bb-0310-9956-ffa450edef68
2016-10-04 17:24:12 +00:00
Arun Patidar 411fbfb43c Implemented: Added CRUD services for DocumentAttribute, Document and DesiredFeature entity.
(OFBIZ-8161) (OFBIZ-8162) (OFBIZ-8163)

Thanks: Amit Gadaley for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761193 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 11:03:20 +00:00
Deepak Dixit 89d5b0c300 (OFBIZ-7621) Applied patch from jira issue
================================
Add "changeByUserLoginId" field for RequirementStatus
================================
Thanks Nameet for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758035 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 13:58:22 +00:00
Divesh Dutta 8c1840dbde [OFBIZ-7478] Mark the requirements Ordered only when PO is approved. Earlier requirements were marked Ordered when PO is created. Applied slightly modifiend patch by Rahul Bhooteshwar. In this work new service:updateRequirementsToOrdered is introduced which will be triggered when PO is approved. Thanks Rahul Bhooteshwar for you patch and Swapnil Shah for reporting the ticket
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757964 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 08:06:24 +00:00
Deepak Dixit 834691742b (OFBIZ-6274) Renamed OFBiz artefacts from org.ofbiz.* to org.apache.ofbiz.*.Thanks to Taher for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752920 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 10:30:49 +00:00
Jacques Le Roux ec66e361e1 A big but straightforward commit for "Move minilang scripts from component://componentname/script/org/ofbiz to component://componentname/minilang" - https://issues.apache.org/jira/browse/OFBIZ-7267
I removed duplicate paths were componentname was uselessly repeated after component://componentname/script/org/ofbiz (projectmngr was the only one using there project instead)

I had few typos, easily fixed thanks to the tests. There could be still typos but they are unexpected and anyway no-brainer to fix 

I'm still wondering about specialpurpose/example/minilang/README.txt.
I changed its content to 
  "The minilang directory is for static resources that are interpreted at run time rather than being compiled. This goes on the classpath, but does not get built or put into a JAR file."
not sure it makes any sense, I don't see how this relates to the classpath. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747712 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 14:04:30 +00:00
Nicolas Malin b038416b9b I converted following services from simple to entity-auto :
createOrderNotificationLog
    createOrderItemBilling
    createOrderAdjustment
    updateOrderAdjustment
    createOrderAdjustmentBilling
    createOrderShipment
    updateOrderShipment
    deleteOrderShipment
    createCommunicationEventOrder
    removeCommunicationEventOrder
    createOrderItemShipGroup
    createOrderContactMech
    removeOrderContactMech
    createOrderTerm
    removeOrderTerm
    createOrderRequirementCommitment

And from java to entity-auto for createOrderPaymentPreference
Related issue OFBIZ-6854.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726542 13f79535-47bb-0310-9956-ffa450edef68
2016-01-24 19:06:32 +00:00
Jacques Le Roux 4b6a8d7172 order 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@755936 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 11:36:53 +00:00
Jacques Le Roux 572b7683e0 All tabs to 4 spaces in *.groovy, *.java, *.xml : less problems in future with that aspect...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737003 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 11:08:47 +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
Si Chen edc1c0398f Refactor ATP requirements based on minimum stock so that the service can be run on order status change rather than on inventory reservation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601039 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 19:03:31 +00:00
Si Chen 324ef70827 Instead of using an EECA to create auto order requirements, do it when order status changes from created to approved.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600629 13f79535-47bb-0310-9956-ffa450edef68
2007-12-03 18:45:37 +00:00
Jacopo Cappellato e5a2ec3744 Implemented services to quickly create inventory transfers from requirements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@561875 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 17:12:51 +00:00
Jacopo Cappellato 31ad7fe0ce Misc enhancements to the service that bulk creates requirements: suppressed annoying messages and cleared up a variable. Also added an optional input parameter for the default requirement method.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@547595 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 09:51:18 +00:00
Si Chen d7ed734fe4 getRequirementsForSupplier will now get any requirements instead of just Approved ones
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@546188 13f79535-47bb-0310-9956-ffa450edef68
2007-06-11 16:38:09 +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
Si Chen f4b7a01228 Add an amount total to the list of approved product requirements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@518369 13f79535-47bb-0310-9956-ffa450edef68
2007-03-14 22:56:51 +00:00
Jacopo Cappellato 1ad7a33dbd Implemented new service that can be scheduled to get a list of (purchase order) requirements for all the items the are low on stock.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@517602 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 09:16:42 +00:00
Si Chen a5322bc7f5 More requirements stuff: Add a summary showing the quantity of products to be ordered and the distinct product count. Required changing the in-form service call to bsh script called externally.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@501644 13f79535-47bb-0310-9956-ffa450edef68
2007-01-31 00:07:13 +00:00
Si Chen 75452c45e9 Improve the getRequirementsForSupplier service to include useful data about the supplier and product. Required replacing the simple method with a java service due to the complexity. Improved requirement forms as well.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@501216 13f79535-47bb-0310-9956-ffa450edef68
2007-01-29 22:51:57 +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
Jacopo Cappellato 266b41531b Implemented a new service that, when atp goes under minimum stock, creates a requirement for the reorder qty.
So now we have three different requirement services that look at inventory levels:
STOCK_QOH: when qoh goes under minimum stock a requirement is created for the reorder qty
STOCK_ATP (new): when atp goes under minimum stock a requirement is created for the reorder qty
ATP (was STOCK_ATP): creates a requirement on ATP levels and links it to the order item that caused the reservations


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@449366 13f79535-47bb-0310-9956-ffa450edef68
2006-09-24 06:48:27 +00:00
Jacopo Cappellato 3fd69dd536 Implemented searches by unassigned purchase requirements and added supplier id to requirement info.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@441441 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 08:55:29 +00:00
Jacopo Cappellato aef79c21cc Implemented services and ui to manage the RequirementRole entries.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@440284 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 07:14:53 +00:00
Jacopo Cappellato e4191038f1 Newly created purchasing requirements (i.e. requirements of type "PRODUCT_REQUIREMENT") are now automatically assigned to the main supplier (from the SupplierProduct entity) thru the RequirementRole entity.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@440103 13f79535-47bb-0310-9956-ffa450edef68
2006-09-04 15:08: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 dc9c759053 License change from MIT to ASL2.0 for the files of the order component.
Thanks to Ashish Vijaywargiya for the patch (Apache OFBIZ-87).


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422819 13f79535-47bb-0310-9956-ffa450edef68
2006-07-17 19:47:26 +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