View source | View content page | Page history | Printable version   

Projects:Funds Transfer Hook

This project adds a new hook at the end of the Funds Transfer process

Implementation example

In this example we log information about all transactions created by the Funds Transfer process.

import java.util.List;
import org.apache.log4j.Logger;
import org.openbravo.advpaymentmngt.FundsTransferPostProcessHook;
import org.openbravo.model.financialmgmt.payment.FIN_FinaccTransaction;
public class FundsTransferExampleHook implements FundsTransferPostProcessHook {
  static Logger log4j = Logger.getLogger(FundsTransferExampleHook.class);
  public void exec(List<FIN_FinaccTransaction> transactions) {
    // log all transactions
    for (FIN_FinaccTransaction trans : transactions) {"Transaction created by Funds Transfer: " + trans.getIdentifier());

Retrieved from ""

This page has been accessed 923 times. This page was last modified on 17 November 2016, at 13:29. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.