Commit Graph
17 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
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
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
Jacopo Cappellato ae97a7ff02 Implemented very simple screens to search for invoices by due date; they will be enhanced soon.
OFBIZ-1530

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@604964 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 18:48:45 +00:00
Jacopo Cappellato d28cfcb26a First step in the implementation of past due date invoices: created a service that computes the due date(s) and outstanding amount(s) based on the Invoice terms; added initial support for multiple payment terms per invoice (e.g. 'pay after 30 days the 50% of the invoice, pay after 60 days the 40%, pay after 90 the 10%').
Part of issue OFBIZ-1530
Modified the getDayEnd util method to be usable in Minilang.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@604922 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 16:40:35 +00:00
Adrian Crum 8453ecffc0 Accounting Invoice permissions and UI work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600357 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 19:09:17 +00:00
Jacopo Cappellato 39e0e0b363 Fix for my last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@574964 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 14:12:40 +00:00
Jacopo Cappellato 86049f4298 Implemented service to create a payment and fully apply it in one step.
Added ability to the billing account payment screen to quickly create and associated a payment to the billing account.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@574962 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 14:11:50 +00:00
Jacopo Cappellato 9cb0f5a85b Moved paymentapplication service definitions from services_invoice.xml to services_payment.xml.
No functional changes.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@540867 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 07:16:23 +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 9b70e009a0 Allow the createPaymentApplication service to accept overrideGlAccountId as an optional parameter
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@504637 13f79535-47bb-0310-9956-ffa450edef68
2007-02-07 18:27:50 +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 2ac4a45a30 OFBIZ-132: Make paymentMethodTypeId optional and get it from paymentMethod. If neither is supplied, then return an error. Thanks to Ashish Vijaywargiya
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428529 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 21:14:58 +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