Commit Graph
198 Commits
Author SHA1 Message Date
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
Marco Risaliti 157b52c1d2 PayPal IPN use the new Payment Gateway Config features (OFBIZ-2286)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764327 13f79535-47bb-0310-9956-ffa450edef68
2009-04-12 21:11:42 +00:00
Marco Risaliti a657adadf8 Move payment.properties to PaymentGatewayConfig entities (OFBIZ-2269)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763782 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 19:45:31 +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 a5042291f7 1st part of an effort to remove trailing spaces
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00
Jacopo Cappellato b8a2081d85 Applied patch from Nuttanart Pornprasitsakul (OFBIZ-1761): removed unused out parameter and variable.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761902 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 11:33:43 +00:00
David E. Jones 3eee2073cc Moved some party dependent services out of the framework
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757644 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 03:44:59 +00:00
Jacques Le Roux 29315e3798 all components
Following best practice.
Changed location="org/ofbiz/......... to location="component:// in the service location attribute.
using <service name=(.*)engine="simple"(.*)location="org/ofbiz => <service name=$1engine="simple"$2location="component://{componentName}/script/org/ofbiz 
with {componentName} done by hand

Also for bsh and groovy (services_test in copmmon). There is no longer any location="org/ofbiz in OFBiz

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755977 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 12:50: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
Marco Risaliti 9d6f5812d9 Edit party rates screen breaks because it has been not converted to BigDecimal (OFBIZ-2241)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754669 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 14:29:06 +00:00
Jacques Le Roux 6c863c92ee A modified old forgotten patch from Rashko Rejmer "Implementation of a service to compute the product average cost" https://issues.apache.org/jira/browse/OFBIZ-1742 - OFBIZ-1742
I changed :
* bsh to groovy (with up to date code : no entity-expr for instance)
* used engine="entity-auto" instead of simple-method (not tested but should be ok)
* Had to introduce encode-output="false" for display type="currency" in ListInventoryAverageCosts form (I will post a comment about that in dev ML)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@747364 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 13:04:31 +00:00
Jacques Le Roux bb5d178b08 Here are some complements for r743056
I don't know what to think for 
    sendMailMultiPart bodyParts (actually I did not look further, I think it should be done earlier - if ever - at this stage it's too late)
    sendMailFromScreen bodyParameters 
I don't think it's needed for 
    createEmailContent plainBody
    updateEmailContent plainBody

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743100 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 21:02:06 +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
Hans Bakker 7ec1fb6789 Rate refactoring, now can have a base rate with diffrent currencies which can be overridden on a party or workeffort level. see OFBIZ-2037 for more info
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@728894 13f79535-47bb-0310-9956-ffa450edef68
2008-12-23 07:26:55 +00:00
Jacques Le Roux d63b012d62 A patch from Sumit Pandit "A scheduled service to generate Invoice." (https://issues.apache.org/jira/browse/OFBIZ-1796) - OFBIZ-1796
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@726662 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 09:43:34 +00:00
Bilgin Ismet Ibryam b685dbd482 Added purposeEnumId field to UomConversionDated entity. This will allow having different currency exchange rates for different on purposea.
Also extended convertUom service to search rates by purpose. If a rate with specified purposeEnumId is not found, then the conversion is done based on rates w/o purpose.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@721431 13f79535-47bb-0310-9956-ffa450edef68
2008-11-28 11:16:07 +00:00
Adrian Crum d9ae0219fd Applied a patch from William Perng - https://issues.apache.org/jira/browse/OFBIZ-2025. This patch fixes a bug in PO receiving.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@710135 13f79535-47bb-0310-9956-ffa450edef68
2008-11-03 19:22:20 +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
Hans Bakker 7797279c61 now possble to apply a payment on an invoice of another currency, removed the convertinvoice service as suggested by jacopo.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@701022 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 07:33:43 +00:00
Hans Bakker f9caed82b3 it is now possible to apply 'home' currency payments to foreign curency invoices, converting the foreign invoice to the 'home' currency in the process and making an entry in the currency exchange table so it is still possble to display the invoice in the customer currency. To make this work, it is however required that the preferred currency of the parties are specified in the party entity. This will not affect the system if the payment and the invoice are in the same currency
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@699817 13f79535-47bb-0310-9956-ffa450edef68
2008-09-28 13:39:56 +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
Jacques Le Roux 92dacb9091 Remove
taxCategory
    taxVatCode
    taxDutyCode
fields from Product entity and all things related. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@690360 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 18:29:57 +00:00
Scott Gray cef6a0fb92 Thought I'd have a go at using the new entity-auto feature
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687676 13f79535-47bb-0310-9956-ffa450edef68
2008-08-21 09:53:22 +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
Jacopo Cappellato 68dfd57f01 Initial version of the supplier return implementation; thanks to Vikas Mayur for the patch that I have committed with two small changes from OFBIZ-1893
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680690 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29 13:28:52 +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
Jacopo Cappellato 795a920fe4 Moved the bi component from specialpurpose to the framework folder; moved artifacts from the bi component to the proper components.
Everything should be in place now, except for a convenience service (in the bi component) that quickly initializes the datawarehouse for demo purposes: this service calls two services from the applications (wrong dependency); I will fix this soon by moving it in some other places... however it is not a big deal for now because the service is really only useful to quickly test the prototype.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677587 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 14:12:38 +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
Jacopo Cappellato d3716b8353 Added missing input parameters.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@669845 13f79535-47bb-0310-9956-ffa450edef68
2008-06-20 10:12:42 +00:00
Jacques Le Roux 55a0a4d19f A fixing patch to rev. 662726 from Rashko Rejmer "Move Billing Account permissions to follow new the pattern" (https://issues.apache.org/jira/browse/OFBIZ-1811) - OFBIZ-1811
Sorry to have not spotted this one

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@664697 13f79535-47bb-0310-9956-ffa450edef68
2008-06-09 13:16:47 +00:00
Ashish Vijaywargiya 2f885778a0 Patch applied from JIRA issue # OFBIZ-1722.
Following things are covered in this patch :-
1) Create CRUD services for AgreementWorkEffortAppl. This should go in Accounting Component.
2) Create CRUD UI for AgreementWorkEffortAppl in Accounting --> Agreement to Add/Edit/Delete an AgreementWorkEffortAppl for an agreementId.
3) Create another CRUD UI in WorkEffort --> WorkEffort to Add/Edit/Delete an AgreementWorkEffortAppl for a workEffortId.
4) Create Lookups for Agreement and AgreementItems.

Thanks Nitin Bhawsar,Ravindra Mandre for working on this.
Special thanks to Jacopo and Mridul for your helpful comments.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663966 13f79535-47bb-0310-9956-ffa450edef68
2008-06-06 14:40:39 +00:00
Jacques Le Roux 9adda56ce4 A patch from Rashko Rejmer "Move Billing Account permissions to follow new the pattern" (https://issues.apache.org/jira/browse/OFBIZ-1811) - OFBIZ-1811
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662726 13f79535-47bb-0310-9956-ffa450edef68
2008-06-03 10:06:21 +00:00
Vikas Mayur 7dd25b9f2c Crud services for AgreementRole - part of issue OFBIZ-1794
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660999 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 16:10:39 +00:00
Bilgin Ismet Ibryam b38f09d158 Applied the patch from JIRA Issue # OFBIZ-1798 "Service for Canceling ItemIssuance".
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658585 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 08:08:03 +00:00
Ashish Vijaywargiya 1bd0bca817 Applied patch from JIRA issue (Save an Invoice as Invoice Template) :- https://issues.apache.org/jira/browse/OFBIZ-1672
Here is the description :- 

Save Invoice as Template
1) Add Seed Invoice Type TEMPLATE.
2) Add two sub invoice Types SALES_INV_TEMPLATE and PUR_INV_TEMPLATE
3) Add [Save Invoice as Template] button on Create Invoice and Edit Invoice screens. On Click save Invoice data as Invoice Template.

Thanks Sumit Pandit for working on this.
Patched a typo.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655851 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 13:19:50 +00:00
Scott Gray cd79d93617 A few more clean ups from the artifact info logs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@653723 13f79535-47bb-0310-9956-ffa450edef68
2008-05-06 09:38:13 +00:00
Scott Gray 3b9cedb7c9 Fixed a bunch of bugs (mostly typos) that show up while generating the artifact information
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@653201 13f79535-47bb-0310-9956-ffa450edef68
2008-05-04 11:34:32 +00:00
Jacopo Cappellato 0336c0b08c Improved the gl mappings for parties; misc improvements to the ui for acctg transactions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@647808 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 14:16:03 +00:00
Jacopo Cappellato 3fabe825fe Applied patch from Sumit Porwal, with some changes I did, (OFBIZ-1632 "Refactor the getGlAccountFromAccountType minilang method so that all the entity-one calls are replaced by calls to minilang (inline) methods.") and patch from Rashko Rejmer (OFBIZ-1631, "Replace all the code that directly retrieves from the db a PartyAcctgPreference for an organizationPartyId with a call to the service implemented in OFBIZ-1630"); misc cleanups to gl forms and screens; implemented new service to manually run the mappings for acctg trans entries (useful also to test the gl setup for automatic transactions).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@646697 13f79535-47bb-0310-9956-ffa450edef68
2008-04-10 08:58:40 +00:00
Jacopo Cappellato bb047ce391 Applied patch by Rashko Rejmer to implement new service to get an aggregate set of accounting preferences for a company (and its parent organizations) OFBIZ-1630.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@643923 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 14:43:11 +00:00
Hans Bakker 67e3c6bfbd r640357 reversed because not wanted by the community
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@642287 13f79535-47bb-0310-9956-ffa450edef68
2008-03-28 16:37:22 +00:00
Hans Bakker 9e197ff2f9 in case of error no id is returned so made the outgoing service field optional
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@640357 13f79535-47bb-0310-9956-ffa450edef68
2008-03-24 09:50:23 +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
Jacopo Cappellato 6cac20425f Tentative fix to trigger the proper GL accounting transactions also for POS orders; needs more tests.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@619094 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 18:28:03 +00:00
Jacopo Cappellato 57f18ea61e Small cleanup.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@618966 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 11:24:42 +00:00
Jacopo Cappellato 144ab1f50f Implemented mapping logic for party specific gl account type/gl account id.
Still not tested.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@615161 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 09:49:59 +00:00