Example code on how to integrate with xTuple ERP