Commit Graph
53 Commits
Author SHA1 Message Date
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
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 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
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
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
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
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
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
Vikas Mayur 3ab66ede73 Implement ability to map parties to GlAccounts
Applied patch from Shankar Soni, part of the issue OFBIZ-1541 (https://issues.apache.org/jira/browse/OFBIZ-1541) 

Thanks to Shankar Soni for the patch and Jacopo, Ashish for there help.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@613389 13f79535-47bb-0310-9956-ffa450edef68
2008-01-19 13:36:42 +00:00
Jacopo Cappellato e55adb996e Misc fixes for the gl auto posting services.
Very first and incomplete version of the comparative balance sheet.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@609356 13f79535-47bb-0310-9956-ffa450edef68
2008-01-06 17:59:05 +00:00
Ashish Vijaywargiya 88396f539b Applied patch from OFBIZ-1492.
Description :- Auto posting: Implement an automatic GL posting service for payment applications
It was not implemented correct.
I did patch work as per as the requirements.
Removed the iterate block.
We should fetch the PaymentApplication record from the input parameter "paymentApplicationId".
And then the related record from the Payment table.

Thanks to all who has contributed in this task.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@609252 13f79535-47bb-0310-9956-ffa450edef68
2008-01-06 02:19:45 +00:00
Jacopo Cappellato 1a351d5b9a First experimental version of the Balance Sheet report.
OFBIZ-1502

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607206 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 11:12:38 +00:00
Ashish Vijaywargiya 898f787e6b Applied recent patch from the JIRA Issue # OFBIZ-1487
Thanks to Sachin,Rishi and others to help in the implementation.

Special thanks to Pranay Pandey for working on Jacopo's comments.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@606519 13f79535-47bb-0310-9956-ffa450edef68
2007-12-22 23:52:24 +00:00
Ashish Vijaywargiya e31317f277 Applied patch from JIRA Issue # OFBIZ-1491.
Thanks to Pranay Pandey and Jyotsna Rathore for your valuable patch.

 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@606500 13f79535-47bb-0310-9956-ffa450edef68
2007-12-22 21:49:54 +00:00
Jacopo Cappellato ddc260a7ab Added missing parameter.
Part of issue OFBIZ-1482

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@606147 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 09:36:35 +00:00
Ashish Vijaywargiya 03b8c2ddfe Applied patch from JIRA Issue # OFBIZ-1482.
Thanks to Shubham Goyal for your patch.

Thanks Mridul Pathak for understanding requirements in the right way and helping shubham in correcting it by useful comments.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@606046 13f79535-47bb-0310-9956-ffa450edef68
2007-12-20 22:52:11 +00:00
Jacopo Cappellato 89cbe395df Very simple (and beta) version of the Income Statement.
OFBIZ-1501

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605973 13f79535-47bb-0310-9956-ffa450edef68
2007-12-20 16:30:30 +00:00
Jacques Le Roux 1420f0ee40 Replaced permission checking (check-permission) in simple method by permission-service in calling service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605018 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 22:10:39 +00:00
Ashish Vijaywargiya 6e3c9e573d Applied patch from JIRA Issue # OFBIZ-1483 with Minor Changes.
Thanks to Alok Agnihotri for your patch .

I initialized the "amountFromOrder" to "0".

Also we are thankful to Pranay Pandey,Mridul Pathak,Pankaj Savita,Vikas Mayur & others for helping Alok for finishing this work.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@604522 13f79535-47bb-0310-9956-ffa450edef68
2007-12-15 22:33:47 +00:00
Ashish Vijaywargiya 26f46d0d60 Applied patch from JIRA Issue # OFBIZ-1490 with Minor Changes.
Thanks to Brajesh Patel for your patch .
Brajesh I did an entry for "AcctgTransType" entity for the "INCOMING_PAYMENT" that somehow you had missed in your patch.

Also we are thankful to Pranay Pandey,Mridul Pathak and Vikas Mayur for helping Brajesh for finishing this work.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@604505 13f79535-47bb-0310-9956-ffa450edef68
2007-12-15 20:24:06 +00:00
Jacopo Cappellato 6c2f73518f First experimental implementation of the closeFinancialTimePeriod service.
OFBIZ-1522
Several misc improvements.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@604156 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 10:50:26 +00:00
Jacopo Cappellato bcac45ecfb Enhanced the account type/id mapping service to support the upcoming posting services for payment, payment applications and invoices.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602841 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 10:20:07 +00:00
Jacopo Cappellato 142641af9c Removed deprecated/never used service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602521 13f79535-47bb-0310-9956-ffa450edef68
2007-12-08 17:57:56 +00:00
Anil Patel cf3051280f Implement an automatic GL posting service triggered when inventory is issued for fixed asset maintenance
Thanks Paranay Panday for providing implementation And also our thanks to Vikas Mayur, Ashish Vijaywargiya, Mridul Pathak, Pankaj Savita and others for managing and helping the team implementing these services.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601855 13f79535-47bb-0310-9956-ffa450edef68
2007-12-06 21:01:31 +00:00
Anil Patel f00dd61326 Implement an automatic GL posting service triggered when inventory is issued to a work effort, Jira issue 1473 and 1474.
Thanks Sachin Chourasia for providing implementation And also our thanks to Vikas Mayur, Ashish Vijaywargiya, Mridul Pathak, Pankaj Savita and others for managing and helping the team implementing these services.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600844 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 08:57:55 +00:00
Anil Patel b18bd13c70 Implement an automatic GL posting service triggered when the ownerPartyId of an inventory item is changed
Thanks Rishi Solanki for providing implementation And also our thanks to Vikas Mayur, Ashish Vijaywargiya, Mridul Pathak, Pankaj Savita and others for managing and helping the team implementing these services.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600769 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 02:01:04 +00:00
Anil Patel ec08b029b5 Implement an automatic GL posting service triggered when an actual cost record is created for a work effort
Thanks Brajesh Patel for providing implementation And also our thanks to Vikas Mayur, Ashish Vijaywargiya, Mridul Pathak, Pankaj Savita and others for managing and helping the team implementing these services.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600766 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 01:47:51 +00:00
Anil Patel 601af1c664 Adding service declaration removed by previous commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600764 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 01:29:40 +00:00
Anil Patel 9993f102a1 Cleaned up my mess. Adrian thanks for reporting it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600762 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 01:19:32 +00:00
Anil Patel d567bb8efd Implement an automatic GL posting service triggered when a physical inventory variance is performed.
Sachin Chourasia , Thanks for providing implementation. And also our thanks to Vikas Mayur, Ashish Vijaywargiya, Mridul Pathak, Pankaj Savita and others for managing and helping the team implementing these services.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600738 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 00:12:27 +00:00
Anil Patel e67ee53a18 Implement an automatic GL posting service triggered when InventoryItem.unitCost is changed.
Jyotsna Rathore, Thanks for providing implementation. And also our thanks to Vikas Mayur, Ashish Vijaywargiya, Mridul Pathak, Pankaj Savita and others for managing and helping the team implementing these services.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600730 13f79535-47bb-0310-9956-ffa450edef68
2007-12-03 23:39:14 +00:00
Adrian Crum eb1175eb6b Accounting GL permissions work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600381 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 21:41:24 +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
Jacopo Cappellato aac952955a Enhanced the service that translates GL account types to account id to support variance reasons.
Misc enhancements to the createAcctgTransAndEntries service.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@599874 13f79535-47bb-0310-9956-ffa450edef68
2007-11-30 17:04:50 +00:00
Jacopo Cappellato a8cb6670b7 Applied patch from Mridul Pathak (OFBIZ-1437) to modify the getProductOrgGlAccount service to also consider the new ProductCategoryGlAccount entity.
I've also refactored the service (new name, different input parameters): it will now work as a generic service for getting the glAccountId out of a glAccountTypeId for a given organization.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@599828 13f79535-47bb-0310-9956-ffa450edef68
2007-11-30 14:19:07 +00:00
Anil Patel 61ec3ec63b New setup screen and CRUD services for managing organization's VarianceReasonGlAccount entries
Vikas, thanks for your contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@599710 13f79535-47bb-0310-9956-ffa450edef68
2007-11-30 07:21:15 +00:00
Jacopo Cappellato 94769b1165 Implemented gl auto posting service for shipment/inventory receipts.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@599365 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 10:18:11 +00:00
Jacopo Cappellato 74f81da7f8 Refactored way auto posting is done for gl transactions of sales shipment: now an accounting transaction is created everytime inventory is issued.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@599351 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 09:14:12 +00:00
Anil Patel 8d8c3868eb Ashish, thanks for contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@599172 13f79535-47bb-0310-9956-ffa450edef68
2007-11-28 22:37:25 +00:00
Jacopo Cappellato 0e92e6dfc0 Refactored the createAcctgTransAndEntries and postAcctgTrans services to perform different tasks: data preparation is done in createAcctgTransAndEntries, data validation is done in postAcctgTrans.
Added new parameter to postAcctgTrans to perform a validation without posting.
New links to verify/post accounting transactions.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@599044 13f79535-47bb-0310-9956-ffa450edef68
2007-11-28 16:01:48 +00:00
Jacopo Cappellato c94513735f Misc cleanups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@598639 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 13:37:06 +00:00
Jacopo Cappellato 100f64aecb Improved the createAcctgTransAndEntries service:
- it automatically retrieves the glAccountId (if it is not passed) from the glAccountTypeId field;
- it automatically converts the origAmount from origCurrencyUomId to amount in currencyUomId;
- some misc improvements

Implemented the *first* service (as a proof of concept) that uses it to automatically create (triggered by a seca, for now disabled) an accounting transaction for sale shipment issuances.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@598582 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 10:05:02 +00:00
Si Chen cb59ee5ba3 Fix rounding issues in general ledger posting routines because they did not have configurable BigDecimal rounding properties.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@570894 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 18:39:40 +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 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 ce16e2c4ca Changed transaction-timout to transaction-timeout.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@432688 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 19:22:49 +00:00