Commit Graph
48 Commits
Author SHA1 Message Date
Suraj Khurana 3c3147d745 Improved: Converted all FixedAssetMeter services from simple to entity-auto. (#82)
* Improved: Converted all FixedAssetMeter services from simple to entity-auto.
* Improved: Added seca rule for creating maints from meter reading, earlier it was called inline while creating or updating FixedAssetMeter record.

(OFBIZ-11611)
2020-05-01 14:15:49 +05:30
Suraj Khurana f527bf4dc0 Improved: Converted cancelFixedAssetStdCost service from simple to entity-auto. (#80)
* Improved: Converted cancelFixedAssetStdCost service from simple to entity-auto.
(OFBIZ-11612)
2020-04-29 18:47:34 +05:30
Arun Patidar 070def5e5d Implemented: Added CRUD services for TestingSubtype,TestingType, UserAgentType, UserAgentMethodType, FinAccountRole, BrowserType, PlatformType, ProtocolType, ServerHitType, UserAgent, FinAccount, FinAccountTypeGlAccount, VarianceReasonGlAccount, FixedAssetTypeGlAccount, InvoiceTerm, InvoiceContactMech, InvoiceContent entities.
(OFBIZ-8785)(OFBIZ-8786)(OFBIZ-8790)(OFBIZ-8791)(OFBIZ-8805)(OFBIZ-8834)(OFBIZ-8835)(OFBIZ-8836)(OFBIZ-8837)(OFBIZ-8839)(OFBIZ-8881)(OFBIZ-8888)(OFBIZ-8892)(OFBIZ-8894)(OFBIZ-8916)(OFBIZ-8923)(OFBIZ-8928)

Thanks: Rahul Singh, Rohit Koushal, Amit Gadalay and Rishi Solanki for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768163 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 08:44:44 +00:00
Arun Patidar bcb81a0ba6 Implemented: Added CRUD services for FinAccountTransType, FinAccountTransTypeAttr, FinAccountType, FinAccountTypeAttr, FixedAssetAttribute, FixedAssetIdentType, FixedAssetProductType,
FixedAssetStdCostType,FixedAssetType, FixedAssetTypeAttr, GlAccountClass, GlAccountGroup, GlAccountGroupMember, GlAccountGroupType, GlAccountRole, GlAccountType, GlBudgetXref, FacilityCarrierShipment,
FacilityLocationGeoPoint and ExampleType entities.

(OFBIZ-8205) (OFBIZ-8206) (OFBIZ-8207) (OFBIZ-8209) (OFBIZ-8210) (OFBIZ-8211) (OFBIZ-8212) (OFBIZ-8213) (OFBIZ-8214) (OFBIZ-8215)
(OFBIZ-8216) (OFBIZ-8217) (OFBIZ-8218)  (OFBIZ-8219) (OFBIZ-8220) (OFBIZ-8221) (OFBIZ-8233) (OFBIZ-8234) (OFBIZ-8235)  (OFBIZ-8236)

Thanks: Rahul Singh Kushwah and Rishi Solanki for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1765077 13f79535-47bb-0310-9956-ffa450edef68
2016-10-15 14:37:51 +00:00
Arun Patidar 564125a1b4 Applied patch from jira issue - OFBIZ-7839 - Added CRUD services for AccommodationMap entity . Thanks Rishi Solanki and Pratik Kulshreshth for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758030 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 13:31:26 +00:00
Arun Patidar 1f7a4c2ccb Applied patch from jira issue - OFBIZ-7837 - Added CRUD services for AccommodationMapType entity . Thanks Rahul Singh Kushwah for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758024 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 13:08:23 +00:00
Arun Patidar 1684e6f4fc Applied patch from jira issue - OFBIZ-7831 - Added CRUD services for AccommodationClass entity . Thanks Rishi Solanki and Rohit Koushal for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758020 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 12:52:27 +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 34b0954c9b (OFBIZ-5992) Convert following entities CRUD service from simple to entity-auto :
FixedAsset                                                          
FixedAssetProduct                                                   
FixedAssetStdCost
FixedAssetIdent
FixedAssetRegistration
FixedAssetMaint
FixedAssetMaintOrder
PartyFixedAssetAssignment
FixedAssetTypeGlAccount

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652608 13f79535-47bb-0310-9956-ffa450edef68
2015-01-17 13:47:00 +00:00
Adam Heath ac2299c50e Fix a bunch of no final newline issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965918 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:15:21 +00:00
Vikas Mayur d20b0eb9b7 Moved the accounting permission services to a separate file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930233 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 10:52:06 +00:00
Jacopo Cappellato e1c5750551 Initial support for semi automatic accounting transactions for fixed asset depreciations.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912661 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 17:09:33 +00:00
Jacopo Cappellato d9283fecf6 Modified depreciation services to compute and return the next depreciation amount based on actual history of depreciations. Added information in the "depreciation" screen of fixed asset about depreciation parameters.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903321 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 16:56:26 +00:00
Jacopo Cappellato 8c4dd5cb6e First step in the implementation of automatic transactions for fixed assets:
* new entity to setup account mappings for all assets, by asset type or for a specific asset
* screen to setup mappings for a specific asset



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900727 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 11:24:34 +00:00
Jacopo Cappellato 6d215a87db Improved error handling of fixed asset depreciation algorithm in the "Depreciation" tab.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900329 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 10:24:07 +00:00
Jacopo Cappellato 2274fd1504 When accounting transactions for depreciation of a fixed asset are posted to the GL, the total depreciation amount is updated in the corresponding FixedAsset entity.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899603 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 11:52:24 +00:00
Jacopo Cappellato 04548bee96 Refactored fixed asset depreciation screen and improved data preparation service; replaced (poorly implemented) ftl template with a simple form definition.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899142 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 10:14:46 +00:00
Jacopo Cappellato bb17b94670 First step in the implementation of the screens and services to setup depreciation formulae for fixed assets.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898869 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 18:22:14 +00:00
Vikas Mayur 6a135c5dbf Added CRUD services for GeoPoint and FixedAssetGeoPoint entity. Additional changes are done to avoid possible NPE.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@891248 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 14:27:50 +00:00
Vikas Mayur 6330cc21ee Fixed input parameter type.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890782 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 12:56:49 +00:00
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