Commit Graph
72 Commits
Author SHA1 Message Date
Jacopo Cappellato 40757f357b Pretty big enhancements for the accounting processes and demo data:
1) completely refactored the trial balance report: now it is based on GLAccountHistory and no more on GlAccountOrganization records; the main advantage is that now it it possible to run the report per different financial time periods
2) big enhancements to the demo data: data was incomplete or wrong and this was affecting reports and the financial time period closing process
3) several fixes for the financial time period process
More fixes and enhancements will come, but now the closing process works fine and the financial reports make sense.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885256 13f79535-47bb-0310-9956-ffa450edef68
2009-11-29 18:32:31 +00:00
Ashish Vijaywargiya 7152b71548 Applied patch from jira issue OFBIZ-2783 - Cost Centers: implement new accounting screen to associate gl accounts to "cost centers"
Thanks Brajesh, Rishi, Anil.
Special thanks to Jacopo for providing wonderful notes for the implementation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816517 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 08:09:02 +00:00
Jacques Le Roux 9850bbd560 A patch from Chirag Manocha "Out Parameter showing under In Parameter head for createAcctgTransAndEntries service reference." (https://issues.apache.org/jira/browse/OFBIZ-2917) - OFBIZ-2917
In service createAcctgTransAndEntries, there is no need to IN acctgTranId. It is required as OUT parameter. So behavior should be overridden instead of defining acctgTransId again. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815350 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 14:51:19 +00:00
Ashish Vijaywargiya 7a28b8b75a Applied patch from jira issue OFBIZ-2877 - Add a new field nanmed - "statusId" to "GlReconciliation" entity.
Thanks Parimal & Sumit for the Contribution.

Please don't forget to update the info about migration on: http://docs.ofbiz.org/x/XxQ

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809984 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 11:51:29 +00:00
Anil Patel 3ed1848088 Enhancement to screen for editing cost center shares.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@805875 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 16:41:29 +00:00
Anil Patel 164f4f082f Enhancements to Income Statement. Patch from OFBIZ-2827. Thanks Sumit for the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803854 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 12:08:59 +00:00
Anil Patel 60a109302f Improvements in Cost Center report datafetching process and templates.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803415 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 08:38:21 +00:00
Anil Patel 8ab04fa7af Implement Inventory Valuation report. Patch from OFBIZ-2824. Thanks Surya, Sumit for implementation and Jacapo, Vince and Eva for review.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803363 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 04:54:50 +00:00
Anil Patel 1ed141d988 First pass of Cost Center report Gl Report. Patch from OFBIZ-2811. Thanks Brajesh for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802295 13f79535-47bb-0310-9956-ffa450edef68
2009-08-08 03:47:50 +00:00
Anil Patel 1324607e46 Keep history of changes to Cost Center config. GlAccountCategoryMember record Update call expires old record and creates new when amount value is changed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@800720 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 10:15:47 +00:00
Anil Patel 7d4f8f43e8 Initial version of screen to manage cost center share for organization glaccounts. More enhancements to come soon.
Brajesh, Thanks for putting up business requirements and helping with investments.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@799876 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 14:44:59 +00:00
Anil Patel 079af79e37 Adding Product Category and Member entity and related service and forms. Will be used for adding Cost Center reporting.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798447 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 08:48:48 +00:00
Anil Patel f299ed7386 Cleaning up code for posting accounting gl transaction when invoices is voided.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798193 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 15:42:54 +00:00
Anil Patel 1268699699 Enhanced Monthly trial balance report, added BigDecimal rounding and Internationalization.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@795331 13f79535-47bb-0310-9956-ffa450edef68
2009-07-18 09:36:14 +00:00
Anil Patel 5a57761f99 Report for Monthly trial balance.
Accounting > Organization GL settings > Accounting > Reports > Monthly Trial Balance.
Brajesh Patel (Guru Dev), Thanks for working on it.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@794667 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 13:30:45 +00:00
Anil Patel d90606a131 findPreviousTimePeriod service returns null if none exists.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792117 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 12:44:10 +00:00
Anil Patel 923314928b New report "GL Account Trial Balance"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792105 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 11:50:42 +00:00
Anil Patel e33e6b5e11 Service to find previous customtimeperiod. This service uses periodNum field value to find previous custometimeperid of same periodType.
Corrected demo data.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792097 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 11:00:42 +00:00
Jacopo Cappellato 397294cf92 Added support for purpose type for currency rates when entering gl transactions in foreign currencies. Thank you to Sumit Pandit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@786438 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 10:15:01 +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
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