Commit Graph
69 Commits
Author SHA1 Message Date
Jacques Le Roux 4ff22b46dc Improved: Convert getInvoicePaymentInfoListByDueDateOffset service from mini-lang to groovy DSL (OFBIZ-11486)
Thanks: Devanshu Vyas for report, Nitish Mishra for the patch
2020-08-09 20:14:10 +02:00
Jacques Le Roux cc61673198 Improved: Convert cancelCheckRunPayments service from mini-lang to groovy DSL (OFBIZ-11494)
Thanks: Devanshu Vyas for report, Yogesh Naroliya for the patch
2020-08-09 20:07:51 +02:00
Jacques Le Roux 2b04118690 Revert "Improved: Convert voidPayment service from mini-lang to groovy DSL (OFBIZ-11487)"
This reverts commit faa59b325f.

It introduced 3 errors in testIntegration, in:
testGlPostingOnCancelCheckRun
testGlPostingsOnVoidPayment
testVoidPayment
2020-07-25 16:06:34 +02:00
Jacques Le Roux faa59b325f Improved: Convert voidPayment service from mini-lang to groovy DSL (OFBIZ-11487)
Thanks: Sourabh Punyani
2020-07-25 10:33:17 +02:00
Jacques Le Roux 7c4a117448 Improved: Convert getPaymentGroupReconciliationId service from mini-lang to groovy DSL (OFBIZ-11496)
Thanks: Devanshu Vyas for report and Rohit Koushal for the patch

Improved: Convert createPaymentAndApplication service from mini-lang to groovy DSL (OFBIZ-11484)
Thanks: Devanshu Vyas for report and Anushi Gupta for the patch

Sorry due to a bad handling there are 2 commits in one (squashed)
2020-07-09 14:18:05 +02:00
Priya Sharma 18b21c1e94 [Improved] Convert getInvoicePaymentInfoList service from mini-lang to groovy DSL (#148)
(OFBIZ-11485)

Done following:
- removed the mini-lang implementation of the service
- updated the service definition to point the groovy service
- added the groovy implementation of the service
2020-07-04 14:57:53 +05:30
Pawan Verma 6de4b73074 Improved: Convert getPayments service from mini-lang to groovy DSL(OFBIZ-11495)
Thanks: Devanshu for the report and Yogesh for the patch.
2020-07-01 16:13:33 +05:30
Pawan Verma 20ba868b7d Improved: Convert cancelPaymentBatch service from mini-lang to groovy DSL(OFBIZ-11489)
Thanks: Devanshu for report, Kirti for patch and Jacques for the review.
2020-07-01 15:48:49 +05:30
Jacques Le Roux 5880859c7c Implemented: Convert voidPayment service from mini-lang to groovy DSL (OFBIZ-11487)
Thanks: Devanshu Vyas for report and Sourabh Punyani for implementation
2020-07-01 12:05:22 +02:00
Jacques Le Roux 8fc41cb9ae Improved: Convert createFinAccoutnTransFromPayment service from mini-lang to groovy DSL (OFBIZ-11492)
Fixes previous commit, I used a 1st patch and did not see it was wrong

Thanks: Anushi Gupta for the 2nd patch
2020-06-27 12:17:16 +02:00
Jacques Le Roux f421af33a3 Improved: Convert createFinAccoutnTransFromPayment service from mini-lang to groovy DSL (OFBIZ-11492)
Thanks: Devanshu Vyas  for report, Anushi Gupta for the patch
2020-06-27 12:06:46 +02:00
Suraj Khurana 15bcc92dd1 Improved: Converted updatePayment service from mini-lang to groovy.
(OFBIZ-11480)
Thanks Devanshu Vyas for reporting and Priya Sharma for the patch.
2020-05-23 17:48:54 +05:30
Suraj Khurana 9e194b0e9a Improved: Converted createPaymentAndApplicationForParty service from mini-lang to groovy
(OFBIZ-11491)
Thanks Devanshu Vyas for reporting and Sourabh Punyani for providing the patch.
2020-05-23 15:57:21 +05:30
Suraj Khurana 21a8bfaef7 Improved: Converted massChangePaymentStatus service from mini-lang to groovy.
(OFBIZ-11498)
Thanks Devanshu Vyas for reporting and Rushikesh Mawal for initial patch.
2020-05-23 15:23:13 +05:30
Suraj Khurana c21683e30b Improved: Converted createPaymentContent, updatePaymentContent services from mini-lang to groovy. (#155)
(OFBIZ-11501)(OFBIZ-11502)
Thanks Devanshu Vyas for reporting and Sourabh Punyani for providing the patch.
2020-05-23 12:38:07 +05:30
Suraj Khurana 89016fa71e Improved: Converted getPaymentRunningTotal service from mini-lang to groovy DSL
(OFBIZ-11488)
Thanks Nitish Mishra for the patch and Devanshu Vyas for reporting and review.
2020-05-23 10:27:50 +05:30
Jacques Le Roux b8848355d1 Implemented: Convert createPayment service from mini-lang to groovy DSL
(OFBIZ-11479)

jleroux: I have only changed the MODULE name (and uppercased it)

Thanks: Priya Sharma
2020-04-09 11:13:09 +02:00
Deepak Dixit 3eca8d6aad Improved: Added generic permission service for following
- facility
- marketting
- return
- entitysync
Also moved  the permission check from implementation level to service defination level

(OFBIZ-8673)(OFBIZ-8673)(OFBIZ-8674)(OFBIZ-8739)(OFBIZ-8823)(OFBIZ-8825)(OFBIZ-8827)(OFBIZ-8850)(OFBIZ-8876)(OFBIZ-8875)(OFBIZ-8824)(OFBIZ-8826)(OFBIZ-8851)

Thanks Nameet Jain for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768188 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 11:10:57 +00:00
Arun Patidar 47af3ccef1 Fixed: Moved CRUD service of PaymentMethodType in specific file.
(OFBIZ-8648)

Thanks: Jacques for reviewing and reporting.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768151 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 05:35:50 +00:00
Arun Patidar 47e5f93d78 Implemented: Added CRUD services for PartyClassificationType, PartyContentType, PartyGeoPoint, PartyIcsAvsOverride, PartyIdentificationType, PartyQualType, PartyType, PartyTypeAttr, PaymentAttribute, PaymentBudgetAllocation, PaymentContentType, PaymentGroupType, PaymentMethodType, PaymentType, PaymentTypeAttr, PerfRatingType, PerfReviewItemType, PeriodType, PriorityType and ProdCatalogCategoryType entities.
(OFBIZ-8606)(OFBIZ-8607)(OFBIZ-8608)(OFBIZ-8609)(OFBIZ-8610)(OFBIZ-8611)(OFBIZ-8612)(OFBIZ-8613)(OFBIZ-8614)(OFBIZ-8615)(OFBIZ-8616)(OFBIZ-8647)(OFBIZ-8648)(OFBIZ-8649)(OFBIZ-8650)(OFBIZ-8651)(OFBIZ-8724)
(OFBIZ-8725)(OFBIZ-8726)(OFBIZ-8727)

Thanks: Amit Gadaley and Rishi Solanki for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1767953 13f79535-47bb-0310-9956-ffa450edef68
2016-11-03 19:27:07 +00:00
Arun Patidar 3539ea7ed9 Implemented: Added CRUD services for DeductionType, Deliverable and DeliverableType entity.
(OFBIZ-8047) (OFBIZ-8048)(OFBIZ-8049)

Thanks: Amit Gadaley for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761140 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 07:44:56 +00:00
Arun Patidar d8562e4821 Implemented: Added CRUD services for Deduction, DataTemplateType and CustomMethodType entity.
(OFBIZ-8035) (OFBIZ-8045)(OFBIZ-8046)

Thanks: Amit Gadaley for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761136 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 07:17:36 +00:00
Arun Patidar 7872d23119 Applied patch from jira issue - OFBIZ-7873 - Added CRUD services for BillingAccountTermAttr entity . Thanks Chinmay Patidar and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759521 13f79535-47bb-0310-9956-ffa450edef68
2016-09-07 00:42:08 +00:00
Deepak Dixit 834691742b (OFBIZ-6274) Renamed OFBiz artefacts from org.ofbiz.* to org.apache.ofbiz.*.Thanks to Taher for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752920 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 10:30:49 +00:00
Jacques Le Roux ec66e361e1 A big but straightforward commit for "Move minilang scripts from component://componentname/script/org/ofbiz to component://componentname/minilang" - https://issues.apache.org/jira/browse/OFBIZ-7267
I removed duplicate paths were componentname was uselessly repeated after component://componentname/script/org/ofbiz (projectmngr was the only one using there project instead)

I had few typos, easily fixed thanks to the tests. There could be still typos but they are unexpected and anyway no-brainer to fix 

I'm still wondering about specialpurpose/example/minilang/README.txt.
I changed its content to 
  "The minilang directory is for static resources that are interpreted at run time rather than being compiled. This goes on the classpath, but does not get built or put into a JAR file."
not sure it makes any sense, I don't see how this relates to the classpath. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747712 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 14:04:30 +00:00
Jacques Le Roux 10b1eef855 Patches from Pierre Smits for <<rename AccountingConfig.properties to accounting.properties>> https://issues.apache.org/jira/browse/OFBIZ-6954
Currently many properties files in various components are named after the component, i.e. the bi component has bi.properties.
In order to have consistency from component to component the AccountingConfig.properties file must be renamed to accounting.properties and all references in other components should reflect the change.

jleroux: I also changed a bunch of accountingconfig names in comments/descriptions/etc. And of course as ever I forgot to update the view before committing (or to save sources) here are missing parts from previous commit



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736736 13f79535-47bb-0310-9956-ffa450edef68
2016-03-27 11:21:17 +00:00
Nicolas Malin 0c865c8970 I converted CreditCardTypeGlAccount crud service from simple to entity-auto engine.
I also convert updatePaymentMethodType and removePaymentContent service

Related Issue OFBIZ-6852

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726334 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 22:26:09 +00:00
Hans Bakker 7ba19d4b9f make status an optional field in the creation of a payment and provide a default value of 'not paid'
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1534478 13f79535-47bb-0310-9956-ffa450edef68
2013-10-22 03:58:16 +00:00
Hans Bakker c98ffafa00 add entity and services to be able to add content to payments
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1525495 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 03:13:04 +00:00
Hans Bakker a47a06a4b1 when a sales order is completed and no payment is created, this will create a payment in the 'not paid' status which can be disabled in the accounting properties file, when it is a order in foreign currency it will use the same exchange rate as when will be used for the related invoice
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1494464 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 05:53:20 +00:00
Hans Bakker badd567bf3 remove the possibility to update payment applications: is too complicated and can cause posting problems, only allow add and delete, this is at the payment side
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1186102 13f79535-47bb-0310-9956-ffa450edef68
2011-10-19 11:19:21 +00:00
Anil Patel 5cb27bb0e6 Bug fix in GL posting of customer refund payment. Its disbursement but not a payment to vendor so it should be treated differently.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001849 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 18:14:20 +00:00
Jacques Le Roux 08bb61d661 Fix a bug introduced at r943788
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944201 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 10:54:34 +00:00
Hans Bakker 6f77879bc9 if an invoice is approved or a payment is set to sent or received this service will try to find a matching payment/invoice and when found create the payment application
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@943417 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 09:20:44 +00:00
Hans Bakker 9a39192005 Create a payment with the status 'not-paid' when a purchase order is approved setting the payment date according agreements
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@941132 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 01:43:45 +00:00
Ashish Vijaywargiya ae9d9ff482 Applied patch from jira issue OFBIZ-3310 - Cancel Pyament Group issue - Can't cancel reconciled payment batch and issued payment check.
Steps to reproduce -
Issue : -1
1.Create few payments in AR .
2.Create a batch payment for newly created payments from screen https://localhost:28443/ar/control/batchPayments (where finAccountId=SC_CHECKING).
3.Go to Financial Account screen and click on transaction tab https://localhost:28443/accounting/control/FindFinAccountTrans?finAccountId=SC_CHECKING.
4.Select GlReconciliationId as "Not Assigned" and click on serach button.
5.Select newly created FinAccountTrans from checkbox.Then select GlReconciliationName from selectbox and click on button "Assign TO reconciliation".
6.This process will associate fin account transaction with reconciliation.
7.Now click on Reconciliation tab and select the FinAccountTransaction.
8.Reconcile the transaction by clicking on Reconcile button.
9.Now the status of reconciliation will be "Reconciled".
10.Status of transaction will be "Approved".
11.Now go to Payment Group or Deposit slip tab, the created payment group will appear with Cancel button in list form.

    * This is not correct.
    * User can not cancel reconciled deposit slip.
      Similiar changes will reflect on following screens : -
      1) https://localhost:8443/ar/control/FindArPaymentGroups
      2) https://localhost:8443/accounting/control/FindPaymentGroup
      3) https://localhost:28443/accounting/control/FindDepositSlips?finAccountId=SC_CHECKING&organizationPartyId=Company

Issue : -2
1) Now go to PurchaseInvoices screen https://localhost:28443/ap/control/FindPurchaseInvoices.
2) Click on search button and select Invoices using checkbox.
3) Select "Issue Check" from select box.
4)Click on Run button.
5)Performing this action fin account transaction will be created in Apporved status .
5) Now go to to https://localhost:28443/ap/control/FindApPaymentGroups screen the created payment group will appear with Cancel button in list form.

    * This is not correct.
    * User can not cancel issued check .

Similiar changes will reflect on following screens : -
1) https://localhost:28443/ap/control/FindApPaymentGroups
2) https://localhost:8443/accounting/control/FindPaymentGroup

Thanks Awdesh & Sumit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887520 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 09:04:53 +00:00
Ashish Vijaywargiya 1a80ba8a09 Applied patch from jira OFBIZ-3241 - Cancel Payment Batch - Need to correct error message.
At https://demo.ofbiz.org/ar/control/FindArPaymentGroups
When try to cancel a payment batch which is associated to active reconciliation. Then it is showing success message that "Action is performed successfully", instead of this, it must show error message which inform user that Payment batch associated to Reconciliation can not be cancelled. It is needed to show right message.

Thanks Surya & Sumit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883628 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 09:10:21 +00:00
Anil Patel 74d9d9bf56 Adding mass payment status change to find screen. Also added few more details in payments list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833636 13f79535-47bb-0310-9956-ffa450edef68
2009-11-07 06:27:52 +00:00
Anil Patel 6589d8a4e2 Updated Check Run process to use PaymentMethod of paying organizationParty instead of FinAccount. finAccountId is now fetched from PaymentMethod and finAccount Transaction is created.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@831637 13f79535-47bb-0310-9956-ffa450edef68
2009-11-01 04:08:22 +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 d65507493d User can not cancel batch of payment if it is associated in Reconcilation process. Patch from OFBIZ-2825. Thanks Parimal contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803362 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 04:32:37 +00:00
Anil Patel e6493f1d64 Now deposit slip can be printed from finAccountTransaction. Thanks Chirag, Rishi OFBIZ-2727.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@799547 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 08:51:17 +00:00
Anil Patel 0ec732e3bb On cancelling a check run, finaccount balance is updated accordingly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798513 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 13:03:34 +00:00
Anil Patel 62e2dfc109 Show currency with running total.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@797731 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 09:37:39 +00:00
Anil Patel c02d992ae9 Updates to create finaccount transaction when a payment is associated with finaccount. Thanks Sumit for implementation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@793971 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 16:48:42 +00:00
Ashish Vijaywargiya 21ce1b770c Applied patch from jira issue OFBIZ-2718 - Cancel Check Run payments.
This patch includes:
-- Cancel all the payments and associated payment applicability with invoices.
-- Setting thruDate for associated paymentGroupMembers.

Thanks Chirag, Sumit & Rishi for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@793473 13f79535-47bb-0310-9956-ffa450edef68
2009-07-13 07:07:37 +00:00
Ashish Vijaywargiya a478063080 Applied patch from jira issue OFBIZ-2699 - Create Payment Batches for Ar Payment.
Now createPaymentGroupAndMember is available to create Payment Group & Member records.
So used the same.

Thanks Rishi for your contribution on this.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792953 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 13:48:34 +00:00
Ashish Vijaywargiya d33653792b Applied patch from jira issue OFBIZ-2706 - Create a screen under AP -> Invoice, which will search for a PURCHASE_INVOICE between dates.
Following thing is covered in this patch:
-- Patch for issue checks functionality for AP Invoices.

Thanks Chirag, Sumit, Rishi & Anil for the contribution.
 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792888 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 11:28:21 +00:00
Ashish Vijaywargiya 012b5ab921 Applied patch from jira issue OFBIZ-2699 - Create Payment Batches for Ar Payment
Following thing is covered in this patch:
-- functionality to cancel payment group and expire association with payment. 
Thanks Awdesh & Rishi for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792526 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 12:24:13 +00:00
Ashish Vijaywargiya 7c30434958 Applied patch from jira issue OFBIZ-2699 - Create Payment Batches for Ar Payment
Following things are covered in this section:
– Added running total functionality .
– Improvement in existing code and service logic 

Thanks Awdesh, Rishi, Sumit & Anil for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791883 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 15:57:44 +00:00