Commit Graph
28 Commits
Author SHA1 Message Date
Ashish Vijaywargiya b2dd527c06 Moving service definition and implementation to appropriate place - part of jira issue OFBIZ-2887.
Thanks Parimal for the patch.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810078 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 14:45:50 +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 8f0c9f4c40 A 1s set of changes in accounting
Following best practice.
Changed location="org/ofbiz/......... to location="component:// in the service location attribute.
I used <service name=(.*)engine="simple"(.*)\R(.*)location="org/ofbiz => <service name=$1engine="simple"$2\R$3location="component://accounting/script/org/ofbiz 
More to follow... (component by component)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755925 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 11:19:14 +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
Marco Risaliti fd329edfbc Some cleanup on accounting component (Part of issue OFBIZ-1982)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@701848 13f79535-47bb-0310-9956-ffa450edef68
2008-10-05 18:58:29 +00:00
Adrian Crum eb4a7f550f Added permission checking to some fixed asset services.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@698242 13f79535-47bb-0310-9956-ffa450edef68
2008-09-23 16:53:04 +00:00
Adrian Crum ba81bf9919 A couple of improvements to fixed asset maintenance:
1. When a fixed asset maint status is changed to Completed, the associated work effort status is changed to Completed as well. In addition, work effort party assignment thruDates are updated.

2. A scheduled job looks for fixed asset product maints set up on time intervals and automatically creates maintenances when the specified time interval passes. Right now it only supports day, month, and year intervals. More can be added if needed.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@683418 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 21:22:29 +00:00
Adrian Crum 1eda8f35c8 Simplified the code that was moved in rev 681711 - changed SECA to a direct call.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681992 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 14:56:49 +00:00
Adrian Crum 973fd64442 Moved the auto-assign fixed asset party to fixed asset maintenance feature from the Asset Maint component to the Accounting component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681711 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 15:03:31 +00:00
Adrian Crum 4af5ce6a9b Small improvements to Fixed Asset Maintenance services: return oldStatusId on update, create workeffort description on create.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681227 13f79535-47bb-0310-9956-ffa450edef68
2008-07-30 22:24:28 +00:00
Adrian Crum 9a079d4499 Better integration of the WorkEffort calendar into the Fixed Asset component. This also includes some bug fixes.
Internationalization note: this commit contains a new UI label.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677731 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 21:23:43 +00:00
Adrian Crum 1f4e8de91d Fixed Asset Meter refactor, based on the patch in https://issues.apache.org/jira/browse/OFBIZ-1851.
This commit replaces the FixedAssetMaintMeter entity with a more generic FixedAssetMeter entity. There is a service available to migrate data in existing installations - migrateFixedAssetMaintMeter. The original FixedAssetMaintMeter behavior has been maintained - nothing changes from the user's perspective.

Meter readings will trigger the creation of a fixed asset maintenance if the fixed asset has been set up with product maintenances.

Many thanks to David Jones and Anil Patel for their help with this.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@673842 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03 22:10:55 +00:00
David E. Jones 6503cd1cb8 Removed a bunch of services never really written, appear to be a copy/paste and search/replace only
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@633401 13f79535-47bb-0310-9956-ffa450edef68
2008-03-04 09:27:52 +00:00
Vikas Mayur 2ceb0c9e3b Applied Patch from Sumit Pandit and Santosh Malviya "Implement fixed asset depreciation (methods) (https://issues.apache.org/jira/browse/OFBIZ-1539)"- OFBIZ-1539 with few modifications.
Thanks to Sumit Pandit, Santosh Malviya for the patch and many thanks to Jacopo, Jacques for there review & help.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@611416 13f79535-47bb-0310-9956-ffa450edef68
2008-01-12 14:11:54 +00:00
Adrian Crum 88ccb8cb22 Some preliminary work on converting the Accounting component permission checking to the new permission service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600198 13f79535-47bb-0310-9956-ffa450edef68
2007-12-01 21:26:55 +00:00
Adrian Crum ab0d1de8d3 Converted Fixed Asset service permission checking to use the new permission service method. Also fixed up the service descriptions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@574734 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 23:52:58 +00:00
Anil Patel d8241af7ab Make fromDate optional in createFixedAssetRegistration service. If fromDate is null then set it to now timestamp.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569861 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 19:16:10 +00:00
Hans Bakker 555c9bda61 delete service createFixedAssetAndLinkToProduct (is moved to product)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566702 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 13:14:25 +00:00
Hans Bakker ce107c64ca automatically create and link a fixed asset when a 'asset_usage' type product is created.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@561708 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 08:37:31 +00:00
Anil Patel 62a3c6c815 Forms, Screens and Services for FixedAssetPartyAssignment. Mridul, Thanks for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541934 13f79535-47bb-0310-9956-ffa450edef68
2007-05-26 20:38:46 +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
Jacques Le Roux 4d04769104 A patch from Anil K Patel "FixedAssetMaintOrder, default to first item on PO" https://issues.apache.org/jira/browse/OFBIZ-827
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521333 13f79535-47bb-0310-9956-ffa450edef68
2007-03-22 16:38:56 +00:00
David E. Jones 8dc8d47e1c Applied patch from Anil Patel to add feature to create product maint plan based on template workeffort, in Jira #OFBIZ-679
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@503298 13f79535-47bb-0310-9956-ffa450edef68
2007-02-03 20:14:53 +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
David E. Jones c5ff197fd7 Applied patch from Anil Patel with a new FixedAssetMaintOrder entity and related artifacts; Jira #OFBIZ-598
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@498756 13f79535-47bb-0310-9956-ffa450edef68
2007-01-22 19:24:43 +00:00
Jacopo Cappellato 636110c028 Fixed bad service definitions for the operations on the FixedAssetStdCostentity (pk fields were defined as optional parameters)): thanks to Anil K Patel for the bug report and patch (OFBIZ-347); I have applied a slightly different version of the patch.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@451716 13f79535-47bb-0310-9956-ffa450edef68
2006-10-01 05:33:21 +00:00
Jacopo Cappellato 0151f032dd Conversion from MIT to ASL2.0 for the files of the accounting component.
Many thanks to Scott Gray for the patch (Apache OFBIZ-87).

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