Commit Graph
39 Commits
Author SHA1 Message Date
Jacopo Cappellato 454a39cc10 Moved eca for gl transactions for payment applications to the right xml file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808043 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 15:09:53 +00:00
Anil Patel ee49c47716 Create Gl transaction while creating financial transaction. Gl transaction is posted when finaccount transaction is reconciled.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@806276 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 17:51:30 +00:00
Anil Patel 6a282ce83d Improved process to create payment deposit batch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@805748 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 11:14:26 +00:00
Ashish Vijaywargiya bb983e2580 Applied patch from jira issue OFBIZ-2785 - Invoice can be canceled when associated payment is in Confirmed status.
Thanks Sumit for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804946 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 11:57:12 +00:00
Anil Patel 07b37baf87 Adding service to check valid payment before create a new batch for payments. Patch from OFBIZ-2774. Thanks Awdesh for patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803572 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 15:56:29 +00:00
Anil Patel aee7dd4ddc Fix for
1) PartyId is missing when create FinAccountTrans record.
2) PaymentGroup should not be created  when " Deposit Payment in: finAcount" is checked.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803499 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 13:30:27 +00:00
Anil Patel fcd7462572 Added create new deposit payment and create new withdrawal payment option in Financial Account --> deposit/withdraw tab.
Patch from OFBIZ-2768. Thanks Rishi and Arpit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@800209 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 06:22:37 +00:00
Anil Patel dac348b258 Adding ability to create Commission invoice from sales invoices. Patch from OFBIZ-2713. Thanks Rishi, Sumit, Awdesh, Amit for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798854 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 10:54:02 +00:00
Anil Patel 4b5873808d This commit covers following improvements
1) Set  "Group in one Transaction" checkbox selected by default. 
2) When user check "Group in one Transaction" checkbox then  system crete payment group of type "batch of payments") with PaymentGroupMembers.
3) Added condition on batch payment search .
4) On cancel of finAccountTrans we are expiring payment and PaymentGroup Association .

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798775 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 04:30:06 +00:00
Vikas Mayur 4acae79c8f Payment capture is now triggered when invoice status is moved to Ready status. This event is removed from createInvoiceForOrder service. This work in following manner.
(Modified notes from Jacopo on dev list)
a) if ProductStore.autoApproveInvoice = Y then the invoice will be automatically moved to the ready status, this will trigger the capturePaymentsByInvoice service 
   and everything will work as now.
b) if ProductStore.autoApproveInvoice = N then the invoice will stay in the in-process status and payments will not be captured.

Redesigned the ECA rules as

updateShipment --> PICKED: trigger createInvoicesFromShipment (invoice in status IN PROCESS is created)
ProductStore.autoApproveInvoice = Y: calls setInvoiceStatus to move the invoice status to READY. setInvoiceStatus trigger capturePaymentsByInvoice.
updateShipment --> PACKED: trigger createInvoicesFromShipment and setInvoicesToReadyFromShipment. The former creates invoice(s) for missing ones and the latter moves the 
status of invoice to READY using setInvoiceStatus service. The setInvoiceStatus trigger capturePaymentsByInvoice.

Patch applied from OFBIZ-2740 (https://issues.apache.org/jira/browse/OFBIZ-2740)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@795809 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 12:59:57 +00:00
Anil Patel 2cf53b438e Add statusId field to the FinAccountTrans entity and verify that existing functionality is not broken. Patch from Jira issue #OFBIZ-2720
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@793969 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 16:39:25 +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
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
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
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 7a66684a43 Moved gl auto posting secas to the secas_ledger.xml file.
Thanks to Scott Gray for the bug report.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601258 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 09:07:15 +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
Anil Patel 64a29f4bc1 New verifyCreditCard service which will be called as an ECA on createCreditCard and updateCreditCard services
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@598608 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 11:52:45 +00:00
David E. Jones 430d114b6f A number of improvements to FinAccount processing and error messages; most significant one is fixing the updating of the FinAccount balances after a replenishment that was a result of some lazily written code that updated the database using a stale object in memory instead of calling a service to update it, or at least doing a refresh before update, now does the right thing and calls the service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567568 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 07:09:47 +00:00
Jacopo Cappellato c27d2fd99d Formatting fixes: tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@561712 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 08:49:40 +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
Si Chen f6d4f5d5d2 Automated commission invoices should run as system user to be distinguished from manually created ones
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@557705 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 17:45:33 +00:00
Andrew Zeneski b7f27fc805 implemented auto-replenish when changing replenish level or replenish payment iD
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@547500 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 02:41:09 +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
Andrew Zeneski 4fc1e92b6e updated service definitions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@532504 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 22:19:16 +00:00
Andrew Zeneski 7660bbe0df fixed financount status service, now does the right compareTo; removed code to mark frozen accounts in auth, now accounts are only frozen during withdraws (not auths) and moved the trigger to the eeca
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523483 13f79535-47bb-0310-9956-ffa450edef68
2007-03-28 22:34:35 +00:00
Andrew Zeneski 990a87c3a2 auto-replenish now working, capture now allows going negative
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522998 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 17:04:07 +00:00
Andrew Zeneski e150d4231d added very simple fin account test (will try to add more later) moved entity eca to entitydef (pattern in other applications) added fin account ecas ** NOTE the replenish eca is disabled due to the fact is does not work yet.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522927 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 14:27:55 +00:00
David E. Jones 63c2b3bceb To help with integrating efforts and to get the FinAccount balance field maintenance services in places committing all of this; note that the GL posting service is NOT yet complete, but is benign right now and shouldn't interfere with anything (ie it doesn't change anything in the database yet)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522728 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 03:44:30 +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 ae0e4c666c Commented out the automatic setting of commission invoices to READY. Usually commission invoices are reviewed and approved
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@453431 13f79535-47bb-0310-9956-ffa450edef68
2006-10-05 23:51:47 +00:00
David E. Jones 5f62c3ab4a Basics in place for sample customer affiliate commission service, with commented out ECA rule to trigger; just need to implement the invoice creation now
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@449224 13f79535-47bb-0310-9956-ffa450edef68
2006-09-23 12:29:54 +00:00
Si Chen b2ad0620ff Fixed bug with generating sales commission invoices. Patch from Vinay Agarwal. OFBIZ-80
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@438976 13f79535-47bb-0310-9956-ffa450edef68
2006-08-31 16:27:22 +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 7d203d1573 Disabled commission calculation, breaks order creation for digital products; see OFBIZ-80 for details
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@419413 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 02:37:22 +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