bednar
nlapiLogExecution('DEBUG', 'Found result - ' + docid + ' (' + id + ') - paymentmethod = ' + paymentMethod + '.');