Dev - do invoices get set to PAID when payment is SENT?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Dev - do invoices get set to PAID when payment is SENT?

Si Chen-2
Hans,

Does setting a payment to SENT now cause purchase invoices to be PAID?  
Or are there some problems with it?

I saw this code:
     <!-- update invoices to PAID when payment is SENT (e.g., vendor
payments) -->
     <eca service="setPaymentStatus" event="commit">
        <condition field-name="statusId" operator="equals"
value="PMNT_SENT"/>
        <condition field-name="oldStatusId" operator="not-equals"
value="PMNT_SENT"/>
        <action service="checkPaymentInvoices" mode="sync"/>
     </eca>

But I had one case where it may not have happened.

Si
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev