Author: pawan
Date: Thu Oct  3 12:05:21 2019
New Revision: 1867930

URL: http://svn.apache.org/viewvc?rev=1867930&view=rev
Log:
Fixed: Check run payment(A/P) transactions not getting available for 
reconciliation
(OFBIZ-10796)

Check run payment group transactions don't get available for Financial Account 
reconciliation. Though the financial account balance gets updated during the 
A/P check run process, the system must allow the user with an additional step 
of reconciling the transactions.

The cause of this is that the financial account transaction doesn't get created 
in the 'Created' status and has an 'Approved' status. An approved status 
financial transaction directly updates the financial account balance and thus 
don't appear in the list of the transactions to be reconciled.

Thanks: Chinmay Patidar for your contribution and Pierre Smits for the review.

Modified:
    
ofbiz/ofbiz-framework/trunk/applications/accounting/minilang/payment/PaymentServices.xml

Modified: 
ofbiz/ofbiz-framework/trunk/applications/accounting/minilang/payment/PaymentServices.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/minilang/payment/PaymentServices.xml?rev=1867930&r1=1867929&r2=1867930&view=diff
==============================================================================
--- 
ofbiz/ofbiz-framework/trunk/applications/accounting/minilang/payment/PaymentServices.xml
 (original)
+++ 
ofbiz/ofbiz-framework/trunk/applications/accounting/minilang/payment/PaymentServices.xml
 Thu Oct  3 12:05:21 2019
@@ -742,7 +742,7 @@ under the License.
         <set field="createFinAccountTransMap.partyId" 
from-field="parameters.organizationPartyId"/>
         <now-timestamp field="createFinAccountTransMap.transactionDate"/>
         <now-timestamp field="createFinAccountTransMap.entryDate"/>
-        <!-- set field="createFinAccountTransMap.statusId" 
value="CREATE"/>--><!-- TODO: It will uncomment when status Id field will add 
in FinAccountTrans Entity. -->
+        <set field="createFinAccountTransMap.statusId" 
value="FINACT_TRNS_CREATED"/>
         <set field="createFinAccountTransMap.comments" value="Pay to 
${parameters.partyId} for invoice Ids - ${parameters.invoiceIds}"/>
         <call-service service-name="createFinAccountTrans" 
in-map-name="createFinAccountTransMap">
             <result-to-field result-name="finAccountTransId"/>


Reply via email to